Cloud-init does not work on "util.py [WARNING]: Failed to disable password for centos users"

I am encountering errors (from / var / log / cloud-init-outputs.log) with cloud init on centos7 before it can run the script initialization test while it calls the openstack instance using a simple heat pattern. Casting an ubuntu instance does not have problems below, and the same template passes without any problems.

the script is copied to /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 a piece of code that causes a crash.

Is there a problem with this problem?

0
source share

Source: https://habr.com/ru/post/1609187/


All Articles