-
Notifications
You must be signed in to change notification settings - Fork 908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no error message to console when cloud-config-url fails to load #2440
Comments
Launchpad user James Troup(elmo) wrote on 2014-04-07T17:55:59.596968+00:00 Launchpad attachments: console output |
Launchpad user Scott Moser(smoser) wrote on 2014-06-03T13:31:22.885799+00:00 I have to mark this as fix-released. I'm not really sure how you could have seen the output you saw, and I just verified that cloud-init in trusty gives a saner message. Heres how: this shows on stderr: Jun 3 13:27:10 inst-trusty-20140602-191433 [CLOUDINIT] util.py[DEBUG]: No instance datasource found! Likely bad things to come!#012Traceback (most recent call last):#12 File "/usr/bin/cloud-init", line 242, in main_init#012 init.fetch()#12 File "/usr/lib/python2.7/dist-packages/cloudinit/stages.py", line 308, in fetch#012 return self._get_data_source()#12 File "/usr/lib/python2.7/dist-packages/cloudinit/stages.py", line 236, in _get_data_source#012 pkg_list)#12 File "/usr/lib/python2.7/dist-packages/cloudinit/sources/init.py", line 260, in find_source#012 raise DataSourceNotFoundException(msg)#012DataSourceNotFoundException: Did not find any data source, searched classes: (DataSourceAzureNet) See here, the 'searched classes' is not empty. The other part of this bug (what I actually think happened) is that cloud-init did not sanely warn that it tried to read something from the cloud_config_url and was unable to get it. I'm just going to re-purpose this bug to that. |
Launchpad user Scott Moser(smoser) wrote on 2014-06-03T13:34:46.699833+00:00 The fix as I see it is just that we need to scream fairly loudly t read_write_cmdline_url |
Launchpad user mahmoh(mahmoh) wrote on 2015-05-31T17:42:00.502736+00:00 I think I just hit this problem with MAAS 1.7.2 with a trusty virtual setup on my laptop, I'll hopefully keep this for a few days to test a Chef bug so let me know if you need any more information: ubuntu@maas-node-1: ^^^ Interesting bit, I'm switching between two MAASes (testing 1.8 which is [powered off] at 192.168.101.2) root@maas-node-1:/var/lib/cloud/instances/node-bec4d2f6-0652-11e5-b1c1-525400cad0ca# cat datasource ubuntu@maas17: |
Launchpad user mahmoh(mahmoh) wrote on 2015-05-31T18:34:32.889041+00:00 Upon further investigation, this is going to seem odd but I had two disks per VM (for Autopilot) of differing types (for testing) and the Deployed root disk was set to sdb, whereas sda was used for the initial Deploingt target (new/different bug?)(note: I renamed the nodes vs. above to avoid confusion for me but these are the same nodes as above): Deploying: overlayroot on / type overlayfs (rw,lowerdir=/media/root-ro/,upperdir=/media/root-rw/overlay) Deployed: /dev/sdb1 on / type ext4 (rw) So I'm unsure if the renaming fixed it and/or the disk reconfiguration (two identical SATA emulations) but now it works. |
Launchpad user Alireza Nasri(sysnasri) wrote on 2020-12-02T06:54:23.594865+00:00 probably this error relates to name resolution as it was in my case. |
Today cloud-init has more standardized and stronger user alerting mechanisms. Since this causes a warning which produces error level 2, I'm going to mark this as closed. |
This bug was originally filed in Launchpad as LP: #1303934
Launchpad details
Launchpad user James Troup(elmo) wrote on 2014-04-07T17:55:59.596968+00:00
When booting an Ubuntu 12.04 ephmeral into MAAS commissioning on a
node which was unable to reach the region controller, I got the
following traceback:
Fuller log attached.
The text was updated successfully, but these errors were encountered: