[00:54] jchevalier: yep, that's the issue [00:54] [ 59.017405] cloud-init[1306]: 2018-02-05 23:05:12,405 - util.py[WARNING]: agent command '['service', 'walinuxagent', 'start']' failed. [00:59] I'm deploying a SUSE:SLES:12-SP2:latest vm to see if that service even exists (or maybe it's called something else) [01:01] https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1747554 [01:01] Ubuntu bug 1747554 in cloud-init (Ubuntu) "cloud-init status in bionic stack traces" [Undecided,New] [01:01] blackboxsw: ^^ [01:05] jchevalier: it's called 'waagent' [01:06] in the /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg file that you created, you can add this yaml snippet to change the command it tries to execute: [01:07] https://www.irccloud.com/pastebin/QwTiV5GT/ [01:08] or you can also add a new file in /etc/cloud/cloud.cfg.d with this content [02:58] rharper: that's fixed and landed already :/ still waiting on cloud images to build :) [02:58] * blackboxsw marks as duplicate. need to find the original [02:59] #1744796 [02:59] bug #1744796 [02:59] bug 1744796 in cloud-init "cloud-init status traceback on successful Ec2" [Medium,Fix committed] https://launchpad.net/bugs/1744796 [13:50] hi to all [13:50] can i set on cloud init file a specific release for red hat SO? [13:51] i found how to set user and passwd to register a vm when i create it... buit can i force to use a specific release? [13:58] Arianrhod: specific release ? [13:59] yes [13:59] release of what? [13:59] sorry [14:00] for my new instance, that is red hat [14:00] you're wanting to tell [14:01] you're wanting to tell cloud-init what release of cloud-init ? or of redhat ? [14:21] uh.. ok sorry cloud-init 0.7.9 and red hat 7.3 [15:06] when i create a new instance by horizon, i add a file with an additional conf to specify user and pèassword to register the instance... i tried to use the key "release" but it tell me that "release is not a valid key" [16:38] Hi, I have a VMWare V-Cloud Director and want to use cloud init with it. What is the best way to get the meta data delivered to the VM? I'm starting from scratch and read all from the documentation... The configuration itself shoulnt be a problem I just dont understand how to get the metadata into the machine like instance id. Would be nice if someone can provide a useful link. Thanks [16:52] PsyRabbit: interesting. [16:53] we have two contributors from vmware that have focused on this, and contributed code, but i honeslyt do not know how it is all set up. [16:53] they do use the OVF datasource (a cdrom attached with ovf-environment.xml on it) [17:07] Thank you for the hint. Do you know where the code is contributed? Maybe I can figure out how they did their setup. [17:09] https://github.com/number5/cloud-init/tree/master/doc/sources/ovf [17:11] Thank you very much! [17:13] after reading a little bit i still dont get it.. i must say [17:13] but look at the code maybe you will figure it out [17:18] I hope so... I think they created a new VM and some external stuff communicated with the API, get the data, built the image and then the first VM start shuld be triggered via API... This will be a long night in my employers basement [17:24] PsyRabbit: if they were around, Sankar Tanguturi is stanguturi and Maitreyee Saikia is msaikia [17:25] but neither is currently here. [17:31] stanguturi: are you psychic? [17:32] I will look out for them... Thank you, you helped me alot. [17:33] ybaumy: Sorry. I didn't understand. [17:33] stanguturi: we were just talking about you [17:33] ;) [17:33] and then you joined [17:33] heh [17:33] ybaumy: Oh ok. Yeah about what? [17:33] ybaumy: May I ask the topic? [17:33] that might have had something to do with the email scott sent [17:34] dpb1: ahh ok [17:34] :D [17:34] :) [17:34] stanguturi: PsyRabbit has questions about ovf datasource [17:35] stanguturi: thanks for joining. [17:35] ybaumy: ok. will chat with PsyRabbit. [17:35] We were talking about V-Cloud Director and how to get the metadata inside. I'm starting from scratch and read all from the documentation... The configuration itself shoulnt be a problem I just dont understand how to get the metadata into the machine like instance id. smoder and ybaumy told me you did something and provided me a link to your ovf datasource [17:37] PsyRabbit: Have a VM with latest open-vm-tools installed and host it in V-Cloud Director. Apply the configuration spec, when the VM gets powered on, the open-vm-tools daemon picks up the necessary configuration from the hypervisor and hands over the content to cloud-init === r-daneel_ is now known as r-daneel === r-daneel_ is now known as r-daneel [21:14] Hello, I'm back with my sles cloud-init image on Azure [21:16] Still, I can only connect to the vm on the root user, and the script or config file given to custom-data is totally ignored [21:17] jchevalier: did you see my messages from yesterday? [21:17] Hello paulmey, about the logs on azure? [21:18] jchevalier: Add this to a .cfg file in /etc/cloud/cloud.cfg.d : https://www.irccloud.com/pastebin/QwTiV5GT/ [21:18] I was off a few hours, and my PC was out of battery, so I didn't got the messages unfortunately [21:18] Thx I'll try this now [21:19] on SUSE, the service is named differently, so the command to start the agent needs to be slightly modified [21:20] we should probably log a bug for the SUSE cloud-init package if that's how you installed it [21:23] when you say "to a config file" it has to have specific name? [21:23] Ok for the waagent service name [21:23] (my VM is booting, I crashed the last one) [21:25] iirc, it needs to end in '.cfg' for cloud-init to pick it up [21:25] jchevalier: 1:25 PM iirc, it needs to end in '.cfg' for cloud-init to pick it up [21:26] ok so just the .cfg is important thx [21:29] yep: https://git.launchpad.net/cloud-init/tree/cloudinit/util.py#n946 [21:30] good to know [21:39] prep:/home/jchevalier # systemctl status waagent [21:39] ● waagent.service - Azure Linux Agent [21:39] Loaded: loaded (/usr/lib/systemd/system/waagent.service; enabled; vendor preset: disabled) [21:39] Active: active (running) since Tue 2018-02-06 21:32:39 UTC; 6min ago [21:39] waagent seems to be an available service in suse [21:40] is it this service you talk about paulmey? [21:40] jchevalier: correct, but your logs from yesterday showed that cloud-init was trying to start walinuxagent instead of waagent [21:41] yes ok [21:46] I'm looking for walinuxagent in config files just in case