/srv/irclogs.ubuntu.com/2018/02/06/#cloud-init.txt

paulmeyjchevalier: yep, that's the issue00:54
paulmey[   59.017405] cloud-init[1306]: 2018-02-05 23:05:12,405 - util.py[WARNING]: agent command '['service', 'walinuxagent', 'start']' failed.00:54
paulmeyI'm deploying a SUSE:SLES:12-SP2:latest vm to see if that service even exists (or maybe it's called something else)00:59
rharperhttps://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/174755401:01
ubot5Ubuntu bug 1747554 in cloud-init (Ubuntu) "cloud-init status in bionic stack traces" [Undecided,New]01:01
rharperblackboxsw: ^^01:01
paulmeyjchevalier: it's called 'waagent'01:05
paulmeyin 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:06
paulmeyhttps://www.irccloud.com/pastebin/QwTiV5GT/01:07
paulmeyor you can also add a new file in /etc/cloud/cloud.cfg.d with this content01:08
blackboxswrharper: that's fixed and landed already :/ still waiting on cloud images to build :)02:58
* blackboxsw marks as duplicate. need to find the original02:58
blackboxsw#174479602:59
blackboxswbug #174479602:59
ubot5bug 1744796 in cloud-init "cloud-init status traceback on successful Ec2" [Medium,Fix committed] https://launchpad.net/bugs/174479602:59
Arianrhodhi to all13:50
Arianrhodcan i set on cloud init file a specific release for red hat SO?13:50
Arianrhodi 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:51
smoserArianrhod: specific release ?13:58
Arianrhodyes13:59
smoserrelease of what?13:59
Arianrhodsorry13:59
Arianrhodfor my new instance, that is red hat14:00
smoseryou're wanting to tell14:00
smoseryou're wanting to tell cloud-init what release of cloud-init ? or of redhat ?14:01
Arianrhoduh.. ok sorry cloud-init 0.7.9 and red hat 7.314:21
Arianrhodwhen 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"15:06
PsyRabbitHi, 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. Thanks16:38
smoserPsyRabbit: interesting.16:52
smoserwe 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
smoserthey do use the OVF datasource (a cdrom attached with ovf-environment.xml on it)16:53
PsyRabbitThank you for the hint. Do you know where the code is contributed? Maybe I can figure out how they did their setup.17:07
ybaumyhttps://github.com/number5/cloud-init/tree/master/doc/sources/ovf17:09
PsyRabbitThank you very much!17:11
ybaumyafter reading a little bit i still dont get it.. i must say17:13
ybaumybut look at the code maybe you will figure it out17:13
PsyRabbitI 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 basement17:18
smoserPsyRabbit: if they were around, Sankar Tanguturi is stanguturi and Maitreyee Saikia is msaikia17:24
smoserbut neither is currently here.17:25
ybaumystanguturi: are you psychic?17:31
PsyRabbitI will look out for them... Thank you, you helped me alot.17:32
stanguturiybaumy: Sorry. I didn't understand.17:33
ybaumystanguturi: we were just talking about you17:33
ybaumy;)17:33
ybaumyand then you joined17:33
dpb1heh17:33
stanguturiybaumy: Oh ok. Yeah about what?17:33
stanguturiybaumy: May I ask the topic?17:33
dpb1that might have had something to do with the email scott sent17:33
ybaumydpb1: ahh ok17:34
ybaumy:D17:34
dpb1:)17:34
ybaumystanguturi: PsyRabbit has questions about ovf datasource17:34
smoserstanguturi: thanks for joining.17:35
stanguturiybaumy: ok. will chat with PsyRabbit.17:35
PsyRabbitWe 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 datasource17:35
stanguturiPsyRabbit: 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-init17:37
=== r-daneel_ is now known as r-daneel
=== r-daneel_ is now known as r-daneel
jchevalierHello, I'm back with my sles cloud-init image on Azure21:14
jchevalierStill, I can only connect to the vm on the root user, and the script or config file given to custom-data is totally ignored21:16
paulmeyjchevalier: did you see my messages from yesterday?21:17
jchevalierHello paulmey, about the logs on azure?21:17
paulmeyjchevalier: Add this to a .cfg file in /etc/cloud/cloud.cfg.d : https://www.irccloud.com/pastebin/QwTiV5GT/21:18
jchevalierI was off a few hours, and my PC was out of battery, so I didn't got the messages unfortunately21:18
jchevalierThx I'll try this now21:18
paulmeyon SUSE, the service is named differently, so the command to start the agent needs to be slightly modified21:19
paulmeywe should probably log a bug for the SUSE cloud-init package if that's how you installed it21:20
jchevalierwhen you say "to a config file" it has to have specific name?21:23
jchevalierOk for the waagent service name21:23
jchevalier(my VM is booting, I crashed the last one)21:23
paulmeyiirc, it needs to end in '.cfg' for cloud-init to pick it up21:25
paulmeyjchevalier: 1:25 PM <paulmey> iirc, it needs to end in '.cfg' for cloud-init to pick it up21:25
jchevalierok so just the .cfg is important thx21:26
paulmeyyep: https://git.launchpad.net/cloud-init/tree/cloudinit/util.py#n94621:29
jchevaliergood to know21:30
jchevalierprep:/home/jchevalier # systemctl status waagent21:39
jchevalier● waagent.service - Azure Linux Agent21:39
jchevalier   Loaded: loaded (/usr/lib/systemd/system/waagent.service; enabled; vendor preset: disabled)21:39
jchevalier   Active: active (running) since Tue 2018-02-06 21:32:39 UTC; 6min ago21:39
jchevalierwaagent seems to be an available service in suse21:39
jchevalieris it this service you talk about paulmey?21:40
paulmeyjchevalier: correct, but your logs from yesterday showed that cloud-init was trying to start walinuxagent instead of waagent21:40
jchevalieryes ok21:41
jchevalierI'm looking for walinuxagent in config files just in case21:46

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