Skip to content

cloud-init fails to start after updating to latest version #550

@narmitag

Description

@narmitag

cloud-init was running quite happily from the ISO. Once it was updated to the latest version in the repo it fails to start

Oct 31 13:01:28 photon cloud-init[728]: Cloud-init v. 0.7.6 running 'init' at Mon, 31 Oct 2016 13:01:28 +0000. Up 3.78 seconds.
Oct 31 13:01:28 photon cloud-init[728]: 2016-10-31 13:01:28,866 - util.py[WARNING]: Unable to change the ownership of /var/log/cloud-init.log to user syslog, group adm
Oct 31 13:01:28 photon cloud-init[728]: ci-info: +++++++++++++++++++++++Net device info++++++++++++++++++++++++
Oct 31 13:01:28 photon cloud-init[728]: ci-info: +--------+-------+-----------+-----------+-------------------+
Oct 31 13:01:28 photon cloud-init[728]: ci-info: | Device |   Up  |  Address  |    Mask   |     Hw-Address    |
Oct 31 13:01:28 photon cloud-init[728]: ci-info: +--------+-------+-----------+-----------+-------------------+
Oct 31 13:01:28 photon cloud-init[728]: ci-info: |   lo   |  True | 127.0.0.1 | 255.0.0.0 |         .         |
Oct 31 13:01:28 photon cloud-init[728]: ci-info: |  eth0  | False |     .     |     .     | 00:50:56:88:73:49 |
Oct 31 13:01:28 photon cloud-init[728]: ci-info: +--------+-------+-----------+-----------+-------------------+
Oct 31 13:01:28 photon cloud-init[728]: ci-info: ++++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++
Oct 31 13:01:28 photon cloud-init[728]: ci-info: +-------+-------------+---------+---------+-----------+------------------+
Oct 31 13:01:28 photon cloud-init[728]: ci-info: | Route | Destination | Gateway | Genmask | Interface | IsDefaultGateway |
Oct 31 13:01:28 photon cloud-init[728]: ci-info: +-------+-------------+---------+---------+-----------+------------------+
Oct 31 13:01:28 photon cloud-init[728]: ci-info: +-------+-------------+---------+---------+-----------+------------------+
Oct 31 13:01:29 photon systemd[1]: Started Initial cloud-init job (metadata service crawler).
-- Subject: Unit cloud-init.service has finished start-up
-- Unit cloud-init.service has finished starting up.
Oct 31 13:01:29 photon cloud-init[748]: Cloud-init v. 0.7.6 running 'modules:config' at Mon, 31 Oct 2016 13:01:29 +0000. Up 4.53 seconds.
Oct 31 13:01:30 photon cloud-init[757]: Cloud-init v. 0.7.6 running 'modules:final' at Mon, 31 Oct 2016 13:01:29 +0000. Up 4.89 seconds.
Oct 31 13:01:46 rep-dhcp-1 cloud-init[757]: 2016-10-31 13:01:46,539 - templater.py[WARNING]: Cheetah not available as the default renderer for unknown template, reverting to the basic renderer.
Oct 31 13:01:46 rep-dhcp-1 cloud-init[757]: Cloud-init v. 0.7.6 finished at Mon, 31 Oct 2016 13:01:46 +0000. Datasource DataSourceNone.  Up 21.49 seconds
Oct 31 13:01:46 rep-dhcp-1 cloud-init[757]: 2016-10-31 13:01:46,541 - cc_final_message.py[WARNING]: Used fallback datasource

root@rep-dhcp-1 [ ~ ]# tdnf update

Upgrading:
systemd                                                                          x86_64                        228-31.ph1                                                      29.06 M
shadow                                                                           x86_64                        4.2.1-8.ph1                                                      3.85 M
rpm                                                                              x86_64                        4.11.2-11.ph1                                                    4.28 M
python2                                                                          x86_64                        2.7.11-7.ph1                                                     1.82 M
python2-libs                                                                     x86_64                        2.7.11-7.ph1                                                    15.30 M
python-xml                                                                       x86_64                        2.7.11-7.ph1                                                   318.67 k
procps-ng                                                                        x86_64                        3.3.11-3.ph1                                                     1.04 M
pcre                                                                             x86_64                        8.39-1.ph1                                                     960.35 k
openssl                                                                          x86_64                        1.0.2j-1.ph1                                                     5.23 M
openssh                                                                          x86_64                        7.1p2-4.ph1                                                      4.23 M
open-vm-tools                                                                    x86_64                        10.0.5-13.ph1                                                    2.42 M
nss                                                                              x86_64                        3.25-1.ph1                                                       3.87 M
iptables                                                                         x86_64                        1.6.0-5.ph1                                                      1.46 M
linux                                                                            x86_64                        4.4.26-1.ph1                                                    44.72 M
initramfs                                                                        x86_64                        1.0-5.11330561.ph1                                              11.48 M
glibc                                                                            x86_64                        2.22-9.ph1                                                      50.97 M
filesystem                                                                       x86_64                        1.0-8.ph1                                                        7.14 k
docker                                                                           x86_64                        1.11.2-1.ph1                                                    57.25 M
curl                                                                             x86_64                        7.47.1-3.ph1                                                     1.23 M
cloud-init                                                                       x86_64                        0.7.6-11.ph1                                                     1.93 M

Total installed size: 241.41 M
Is this ok [y/N]:y

Downloading:
cloud-init                              507313    100%
curl                                    882348    100%
docker                                17964511    100%
filesystem                               16357    100%
glibc                                 19396323    100%
initramfs                             11980631    100%
linux                                 18868042    100%
iptables                                416848    100%
nss                                    1591172    100%
open-vm-tools                           901351    100%
openssh                                1853448    100%
openssl                                3192392    100%
pcre                                    383441    100%
procps-ng                               458368    100%
python-xml                               86405    100%
python2-libs                           5651338    100%
python2                                 741729    100%
rpm                                    1761294    100%
shadow                                 2002202    100%
systemd                               11871462    100%
Testing transaction
Running transaction
Creating ldconfig cache

Complete!

systemctl daemon-reload
systemctl restart cloud-init


Oct 31 12:51:55 photon cloud-init[808]: Cloud-init v. 0.7.6 running 'init' at Mon, 31 Oct 2016 12:51:55 +0000. Up 372.81 seconds.
Oct 31 12:51:55 photon cloud-init[808]: 2016-10-31 12:51:55,289 - util.py[WARNING]: Unable to change the ownership of /var/log/cloud-init.log to user syslog, group adm
Oct 31 12:51:55 photon cloud-init[808]: ci-info: ++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++
Oct 31 12:51:55 photon cloud-init[808]: ci-info: +--------+------+-----------------+---------------+-------------------+
Oct 31 12:51:55 photon cloud-init[808]: ci-info: | Device |  Up  |     Address     |      Mask     |     Hw-Address    |
Oct 31 12:51:55 photon cloud-init[808]: ci-info: +--------+------+-----------------+---------------+-------------------+
Oct 31 12:51:55 photon cloud-init[808]: ci-info: |   lo   | True |    127.0.0.1    |   255.0.0.0   |         .         |
Oct 31 12:51:55 photon cloud-init[808]: ci-info: |  eth0  | True | 192.168.125.134 | 255.255.248.0 | 00:50:56:88:77:02 |
Oct 31 12:51:55 photon cloud-init[808]: ci-info: +--------+------+-----------------+---------------+-------------------+
Oct 31 12:51:55 photon cloud-init[808]: ci-info: ++++++++++++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++++++++++
Oct 31 12:51:55 photon cloud-init[808]: ci-info: +-------+---------------+---------------+-----------------+-----------+------------------+
Oct 31 12:51:55 photon cloud-init[808]: ci-info: | Route |  Destination  |    Gateway    |     Genmask     | Interface | IsDefaultGateway |
Oct 31 12:51:55 photon cloud-init[808]: ci-info: +-------+---------------+---------------+-----------------+-----------+------------------+
Oct 31 12:51:55 photon cloud-init[808]: ci-info: |   0   |    0.0.0.0    | 192.168.120.1 |     0.0.0.0     |    eth0   |       yes        |
Oct 31 12:51:55 photon cloud-init[808]: ci-info: |   1   | 192.168.120.0 |    0.0.0.0    |     0.0.0.0     |    eth0   |        no        |
Oct 31 12:51:55 photon cloud-init[808]: ci-info: |   2   | 192.168.120.1 |    0.0.0.0    | 255.255.255.255 |    eth0   |        no        |
Oct 31 12:51:55 photon cloud-init[808]: ci-info: +-------+---------------+---------------+-----------------+-----------+------------------+
Oct 31 12:51:55 photon systemd[1]: cloud-init.service: Main process exited, code=exited, status=1/FAILURE
Oct 31 12:51:55 photon systemd[1]: Failed to start Initial cloud-init job (metadata service crawler).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions