/srv/irclogs.ubuntu.com/2017/09/29/#cloud-init.txt

=== shardy_afk is now known as shardy
=== shardy is now known as shardy_afk
=== shardy_afk is now known as shardy
nakulHi all12:40
nakuldoes cloud-init supports Debian 7 (wheezy) ?12:40
nakulspecially 32 bit arch12:41
nakuli have created an deb 7 (32bit) kvm based image and installed cloud-init cloud-utils and cloud-initramfs-growroot packages from "http://ftp.debian.org/debian wheezy-backports main" repo12:45
nakuland uploaded in glance to work with userdata and config drive but its not accepting any credentials either12:45
nakulbut i can curl to metadata url http://169.254.169.254 and can see the config drive as well12:47
nakuli am not sure whats wrong here and i dont have such issues with debian 8 and debian 9 release12:49
powersjnakul: and you please share the logs in /var/log/cloud-init*?13:11
nakul[....] Starting Cloud service: cloud-init[....] Starting NFS common utilities: statd idmapd[?25l[?1c7[1G[[32m ok [39;49m8[?25h[?0c. [....] Starting rpcbind daemon...[....] Already running.[?25l[?1c7[1G[[32m ok [39;49m8[?25h[?0c. [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[1G[[32m ok [39;49m8[?25h[?0c. [....] Starting ACPI services...[?25l[?1c7[1G[[32m ok [39;49m8[?25h[?0c. [....] Starting deferred execution scheduler: atd13:19
nakulhi powersj13:19
nakuli am able to share the full logs here13:20
nakulnot*13:20
nakulTraceback (most recent call last):   File "/usr/bin/cloud-init", line 509, in <module>     sys.exit(main())   File "/usr/bin/cloud-init", line 505, in main     return functor(name, args)   File "/usr/bin/cloud-init", line 256, in main_init     iid = init.instancify()   File "/usr/lib/python2.7/dist-packages/cloudinit/stages.py", line 311, in instancify     return self._reflect_cur_instance()   File "/usr/lib/python2.7/dist-package13:21
nakul@powerj : do you have any mail id to share the logs ?13:22
nakuli followed this url for image creation : https://thornelabs.net/2014/04/07/create-a-kvm-based-debian-7-openstack-cloud-image.html13:23
blackboxswnakul: if possible to redact the /var/log/cloud-init.log  to something that could be shared it would be helpful to file a bug at https://bugs.launchpad.net/cloud-init/+filebug with any information you can provide13:25
blackboxswso others could benefit from the fix too. we can contact you with more requests if the bug filed doesn't have enough information to understand the problem13:26
nakulblackboxsw: ok but i am not sure weather its a bug or some misconfiguration  or something else13:32
blackboxswnakul: that howto is really dated (2014)... maybe this would help https://asciinema.org/a/13200913:39
blackboxswrewriting that cloud.cfg file is potentially dated/broken in that howto you referenced13:40
nakuldont think so..still let me try once more else i'll post the issue in +filebug site13:44
nakulthanks blackboxsw13:44
nakulohh..thanks Chad Smith13:44
blackboxswno problemo nakul  that'd be smoser to thank13:52
blackboxsw:013:53
blackboxsw:)13:53
=== shardy is now known as shardy_mtg
=== shardy_mtg is now known as shardy
utlemmingsmoser: around?15:38
utlemminghttps://gist.github.com/utlemming/288607e974f597d89d940474874551df15:38
utlemmingsmoser: looks like SysConfig rendering for network configuration is broken for IPv6 default routs15:39
utlemmingI can't tell whether its Fedora/RH or Debian/Ubuntu that is not following the spec15:39
utlemmingsince network_data.json is not well documented15:39
robjosmoser: Could you please give https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/331149 another look? Would like to get this finished so I can put the patch into the 17.1 SUSE package.15:59
blackboxswwill give it a pass robjo16:00
robjoblackboxsw: thanks, I just fixed the alpha order issue I hope, as I couldn't reproduce that locally, so the bot will need to do another run16:01
benrayHope it's OK to ask a general question here. How to populate ifcfg file with 'DHCP_HOSTNAME=<hostname>' prior to network start? If I use bootcmd it gets overwritten18:07
rharperbenray: we don't currently have a way to do that;  ifupdown doesn't support DHCP_HOSTNAME, but it doe support hostname <hostname value> which should get passed to the client18:15
benrayThanks! I might be able to live with rc.local18:15
rharper*ifupdown in ubuntu at least18:15
benrayRHEL in this case18:16
benrayI believe ubuntu is a little more elegant in this regard18:16
rharperok; so for the sysconfig backend18:16
rharperbut generally, it appears there are some client dhcp options we should support (hostname, lease, client, vendor) strings that dhcp clients would submit in their request IIUC18:17
benrayThat would be cool. Thought I would ask in case it was just hiding somewhere18:17
benray:)18:18
rharperbenray: ok, I filed a bug https://bugs.launchpad.net/cloud-init/+bug/172042618:21
ubot5Ubuntu bug 1720426 in cloud-init "network-config should allow dhcp client option values" [Undecided,New]18:21
benrayNice! Thanks for looking into it18:21
rharperbenray: sure, thanks for pointing it out18:22
benrayKeep up the great work18:22
rispahello. I'm trying to figure out how to disable different cloud-init datasources. Not sure why, but I can't seem to figure out from the docs.19:24
rispaBasically, we're using cloud-init on internal vms with a cloud-config drive. When the cloud-config drive isn't there or is misconfigured, cloud-config tries to hit a bunch of metadata urls and eventually times out19:25
rispathis really slows down boot time -- takes around 10 minutes19:25
blackboxswrispa:  on your vms you can either dpkg-reconfigure cloud-init  to enable/disable20:53
blackboxswrispa:  on your vms you can either dpkg-reconfigure cloud-init  to enable/disable datasources....20:54
blackboxswor you can edit your /etc/cloud/cloud.cfg.d/90_dpkg.cfg datasource_list20:54
blackboxswand remove any datasources in your images you don't want to try20:54
blackboxswrispa: I'll add a work item for additional docs on this as I can't find them either20:55
rispablackboxsw: datasource_list is working great -- thanks very much!21:02
smoserrispa, just fwi, there really should not be a reason to do that.21:02
smoserif it is timing out, its due to the ec2 datasource, which should be done last.21:02
smoserwonder if you could post a cloud-init.log21:02
smoserrispa, oh. yes. if you remove the disk it will do that.21:04
smoseryou can set in the image "manual_cache_clean: true"21:05
smoserand that means that if there is a cached datasource cloud-init will not go looking again21:05
smoserso you can boot once with the disk, and then take it away21:05
smoserbut if you do that then you have to clean yourself, or cloud-init will never go looking again.21:05
rispasmoser: thanks! it's definitely only a problem when the cloud config drive is missing or broken. more of annoyance than anything else21:08

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!