yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64158
[Bug 1692424] [NEW] util.py[WARNING]: Failed to disable password for user centos
Public bug reported:
We are 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 passed as user_data, while bring up openstack instance using
simple heat template.
Here is the link to the heat template used also has the user_data:
https://github.com/opendaylight/releng-builder/blob/master/openstack-hot/generic-server.yaml
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
However, the user_data script never gets executed, which fails on running the initialization script.
Here is the [code snippet](https://github.com/number5/cloud-
init/blob/master/cloudinit/distros/__init__.py#L545-L561) which is
causing the failure. What is causing this issue ?
Thanks.
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1692424
Title:
util.py[WARNING]: Failed to disable password for user centos
Status in cloud-init:
New
Bug description:
We are 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 passed as user_data, while bring up
openstack instance using simple heat template.
Here is the link to the heat template used also has the user_data:
https://github.com/opendaylight/releng-builder/blob/master/openstack-hot/generic-server.yaml
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
However, the user_data script never gets executed, which fails on running the initialization script.
Here is the [code snippet](https://github.com/number5/cloud-
init/blob/master/cloudinit/distros/__init__.py#L545-L561) which is
causing the failure. What is causing this issue ?
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1692424/+subscriptions
Follow ups