While setting up my chef automate server i get the error yum_repository already exists and also no such file or directory @ rb_sysopen - admin.pem

45 views
Skip to first unread message

somya tayal

unread,
Aug 4, 2017, 7:38:24 AM8/4/17
to learnchef-fundamentals-webinar
[2017-08-04T11:29:31+00:00] INFO: Forking chef instance to converge...
[2017-08-04T11:29:31+00:00] INFO: *** Chef 12.19.3 ***
[2017-08-04T11:29:31+00:00] INFO: Platform: x86_64-linux
[2017-08-04T11:29:31+00:00] INFO: Chef-client pid: 6921
[2017-08-04T11:29:35+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/nodes/automateserver.com
[2017-08-04T11:29:35+00:00] INFO: Setting the run_list to ["recipe[delivery::delivery_setup]"] from CLI options
[2017-08-04T11:29:35+00:00] INFO: Run List is [recipe[delivery::delivery_setup]]
[2017-08-04T11:29:35+00:00] INFO: Run List expands to [delivery::delivery_setup]
[2017-08-04T11:29:35+00:00] INFO: Starting Chef Run for automateserver.com
[2017-08-04T11:29:35+00:00] INFO: Running start handlers
[2017-08-04T11:29:35+00:00] INFO: Start handlers complete.
[2017-08-04T11:29:35+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
[2017-08-04T11:29:37+00:00] INFO: Loading cookbooks [deli...@0.4.27, enter...@0.10.2, ru...@3.0.0, packag...@0.2.5, yum-...@1.0.2, y...@4.1.0]
[2017-08-04T11:29:37+00:00] INFO: Storing updated cookbooks/delivery/resources/elasticsearch_backup_repository.rb in the cache.
[2017-08-04T11:29:37+00:00] WARN: Chef::Provider::YumRepository already exists!  Cannot create deprecation class for LWRP provider yum_repository from cookbook yum
[2017-08-04T11:29:37+00:00] WARN: YumRepository already exists!  Deprecation class overwrites Custom resource yum_repository from cookbook yum
[2017-08-04T11:29:38+00:00] ERROR: Running exception handlers
[2017-08-04T11:29:38+00:00] ERROR: Exception handlers complete
[2017-08-04T11:29:38+00:00] FATAL: Stacktrace dumped to /var/opt/delivery/embedded/cookbooks/cache/chef-stacktrace.out
[2017-08-04T11:29:38+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2017-08-04T11:29:38+00:00] ERROR: No such file or directory @ rb_sysopen - admin.pem
[2017-08-04T11:29:38+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Reply all
Reply to author
Forward
0 new messages