Comment 36 for bug 1648732

Revision history for this message
Harish Surabhi (harishrao99) wrote :

Just sharing my experience, Hope it will help someone.

While I am trying to deploy OpenStack by using Fuel 9, provisioning of servers is successfully completed but deployment is failed with below errors.

At the time of deployment, I ssh to one of the controller and in $ tail -f /var/log/puppet.log i found below error message.

" Execution of '/bin/systemctl enable atop' returned 1: Failed to issue method call: No such file or directory "

In MOS9 dashboard, One of the controller puppet log is showing below error.

(/Stage[main]/Osnailyfacter::Atop/Service[atop]/enable) change from false to true failed: Execution of '/bin/systemctl enable atop' returned 1: Failed to issue method call: No such file or directory

With these error messages deployment fails, with in 15 mins.

I followed below steps to resolve this issue.
Step 1:

[root@fuel /]# find -name openstack.yaml

./usr/lib/python2.7/site-packages/nailgun/fixtures/openstack.yaml

./usr/share/fuel-openstack-metadata/openstack.yaml

[root@fuel /]# vim /usr/lib/python2.7/site-packages/nailgun/fixtures/openstack.yaml

For me in line number 2136 below "ruby-stomp" add "systemd-shim" package and save.

Do the same in /usr/share/fuel-openstack-metadata/openstack.yaml file also.

Step 2:

remove everything in /var/www/nailgun/targetimages location.
Step 3:

In MOS9 dashboard In "Settings→ General" Page, At he bottom of the page you will see a heading "Provision" below that you will see "Initial packages" subheading.

Here you will see a small box with bunch of packages added, here you can add your own packages ( First time I realized), so add "systemd-shim" package below "ruby-stomp"

so once you add the package, Start Provisioning and deployment, if environment is already Provisioned reset the environment.

so after fixing this issue deployment went very smoothly without single error.