util.py[WARNING]: Failed to disable password for user centos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Undecided
|
Unassigned |
Bug Description
We are running into below errors (from /var/log/
Here is the link to the heat template used also has the user_data:
https:/
The script is copied onto `/var/lib/
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.
However, the user_data script never gets executed, which fails on running the initialization script.
Here is the [code snippet](https:/
Thanks.
cat /var/log/ cloud-init. log 7---java- builder- --20170517- 2244 cloud-init: Cloud-init v. 0.7.5 running 'init-local' at Thu, 18 May 2017 04:36:25 +0000. Up 8.38 seconds. 7---java- builder- --20170517- 2244 cloud-init: Cloud-init v. 0.7.5 running 'init' at Thu, 18 May 2017 04:36:46 +0000. Up 28.95 seconds. 7---java- builder- --20170517- 2244 cloud-init: ci-info: +++++++ +++++++ +++++++ +++++Net device info+++ +++++++ +++++++ +++++++ +++ 7---java- builder- --20170517- 2244 cloud-init: ci-info: +------ --+---- --+---- ------- ---+--- ------- -----+- ------- ------- ----+ 7---java- builder- --20170517- 2244 cloud-init: ci-info: | Device | Up | Address | Mask | Hw-Address | 7---java- builder- --20170517- 2244 cloud-init: ci-info: +------ --+---- --+---- ------- ---+--- ------- -----+- ------- ------- ----+ 7---java- builder- --20170517- 2244 cloud-init: ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | 7---java- builder- --20170517- 2244 cloud-init: ci-info: | eth0: | True | 10.29.12.230 | 255.255.252.0 | bc:76:4e:04:92:56 | 7---java- builder- --20170517- 2244 cloud-init: ci-info: +------ --+---- --+---- ------- ---+--- ------- -----+- ------- ------- ----+ 7---java- builder- --20170517- 2244 cloud-init: ci-info: +++++++ +++++++ +++++++ +++++++ +++Route info+++ +++++++ +++++++ +++++++ +++++++ 7---java- builder- --20170517- 2244 cloud-init: ci-info: +------ -+----- ------- -+----- ------- +------ ------- --+---- ------- +------ -+ 7---java- builder- --20170517- 2244 cloud-init: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | 7---java- builder- --20170517- 2244 cloud-init: ci-info: +------ -+----- ------- -+----- ------- +------ ------- --+---- ------- +------ -+ 7---java- builder- --20170517- 2244 cloud-init: ci-info: | 0 | 0.0.0.0 | 10.29.12.1 | 0.0.0.0 | eth0 | UG | 7---java- builder- --20170517- 2244 cloud-init: ci-info: | 1 | 10.29.12.0 | 0.0.0.0 | 255.255.252.0 | eth0 | U | 7---java- builder- --20170517- 2244 cloud-init: ci-info: +------ -+----- ------- -+----- ------- +------ ------- --+---- ------- +------ -+ 7---java- builder- --20170517- 2244 cloud-init: 2017-05-18 04:36:47,944 - util.py[WARNING]: Failed forking and calling callback NoneType 7---java- builder- --20170517- 2244 cloud-init: 2017-05-18 04:36:48,071 - util.py[WARNING]: Failed to disable password for user centos 7---java- builder- --20170517- 2244 cloud-init: 2017-05-18 04:36:48,074 - 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
May 18 04:36:25 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:46 centos-
May 18 04:36:47 centos-
May 18 04:36:48 centos-
May 18 04:36:48 centos-