I am running into below errors (from /var/log/cloud-init-outputs.log) with cloud-init on centos7 before it could get to run the initialization test script while bring up openstack instance using simple heat template. Bringing up an ubuntu instance does not have below issues and the same template goes through without any issues.

The script is copied onto /var/lib/cloud/instance/scripts/part-001

Cloud-init v. 0.7.5 running 'init-local' at Thu, 18 May 2017 23:00:31 +0000. Up 8.39 seconds.
Cloud-init v. 0.7.5 running 'init' at Thu, 18 May 2017 23:00:52 +0000. Up 28.93 seconds.
....
2017-05-18 23:00:53,931 - util.py[WARNING]: Failed forking and calling callback NoneType
2017-05-18 23:00:54,059 - util.py[WARNING]: Failed to disable password for user centos
2017-05-18 23:00:54,062 - util.py[WARNING]: Running users-groups (<module 'cloudinit.config.cc_users_groups' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_users_groups.pyc'>) failed

Here is the code snippet which is causing the failure.

Is there a work around for this issue ?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.