[2.1] Node commissioning failure - 'cloudinit' running config-ntp when node does not have route to the archive

Bug #1629578 reported by Nobuto Murata
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
MAAS
New
Undecided
Unassigned

Bug Description

Commissioning fails with:
Node commissioning failure - 'cloudinit' running config-ntp with frequency once-per-instance
Node commissioning failure - 'cloudinit' running modules for config

It looks like APT HTTP proxy (maas-proxy) is not applied when running ntp module in cloud-init. The MAAS DHCP network does not have default gateway (isolated network), but MAAS itself has Internet access and offer an access to archive.ubuntu.com / security.ubuntu.com through maas-proxy.

See. attached rsyslog output.

[module ntp]
Oct 1 15:35:46 nearby-husky [CLOUDINIT] stages.py[DEBUG]: Running module ntp (<module 'cloudinit.config.cc_ntp' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ntp.py'>) with freque
ncy once-per-instance
...
Oct 1 15:35:47 nearby-husky cloud-init[992]: Err:6 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Oct 1 15:35:47 nearby-husky cloud-init[992]: Cannot initiate the connection to security.ubuntu.com:80 (91.189.88.162). - connect (101: Network is unreachable) [IP: 91.189.88.162 80]
...
Oct 1 15:35:48 nearby-husky [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-ntp: FAIL: running config-ntp with frequency once-per-instance

[module scripts-user]
Oct 1 15:35:52 nearby-husky [CLOUDINIT] stages.py[DEBUG]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scr
ipts_user.py'>) with frequency once-per-instance
...
Oct 1 15:36:04 nearby-husky cloud-init[1195]: Get:21 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [42.3 kB]

Revision history for this message
Nobuto Murata (nobuto) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.