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

jchevalier(I'll let my computer on non-stop to avoid any message lost)00:00
jchevalierIf anyone has more infos, I try to install cloud-init on SLES to create an cloud-init ready image on AZure00:07
amitprakashCan someone please help me make sense of why cloud-init is failing? https://gist.github.com/291e61880cfdc6c9e1bc46b243d47760 I've verified that /bin/ip exists11:19
amitprakashModifying net/*.py with abspath to binaries allows it to find ip/resize2fs etc commands11:20
amitprakashany ideas why the path is broken for cloud-init11:20
smoseramitprakash: where is this ?14:14
smoserwhat environment ? cloud-init just gets the PATH that init gives it. one would think that systemd would have a sane PATH (including /bin)14:16
amitprakashsmoser, custom ami for ec214:27
amitprakashgentoo14:27
amitprakashbrb14:28
jchevalierHello everyone16:28
jchevalierI can't run a script at boot on my vm16:28
jchevalierBut here what I have16:28
jchevaliertest10:~ # cat /var/lib/cloud/instance/user-data.txt16:28
jchevalierContent-Type: multipart/mixed; boundary="===============1572917255304427428=="16:28
jchevalierMIME-Version: 1.016:28
jchevalier--===============1572917255304427428==16:28
jchevalierContent-Type: text/x-shellscript; charset="us-ascii"16:28
jchevalierMIME-Version: 1.016:29
jchevalierContent-Transfer-Encoding: 7bit16:29
jchevalierContent-Disposition: attachment; filename="jchevalier.sh"16:29
jchevalier#!/bin/bash16:29
jchevaliertouch /tmp/jchevalier16:29
jchevalier--===============1572917255304427428==--16:29
jchevaliertest10:~ # cloud-init init16:29
jchevalierCloud-init v. 0.7.8 running 'init' at Thu, 08 Feb 2018 16:22:46 +0000. Up 335.54 seconds.16:29
jchevalierci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++16:29
jchevalierci-info: +--------+------+-----------------------------+---------------+-------+-------------------+16:29
jchevalierci-info: | Device |  Up  |           Address           |      Mask     | Scope |     Hw-Address    |16:29
jchevalierci-info: +--------+------+-----------------------------+---------------+-------+-------------------+16:29
jchevalierci-info: |   lo   | True |          127.0.0.1          |   255.0.0.0   |   .   |         .         |16:29
jchevalierci-info: |   lo   | True |           ::1/128           |       .       |  host |         .         |16:29
jchevalierci-info: |  eth0  | True |           10.0.0.8          | 255.255.255.0 |   .   | 00:0d:3a:1a:82:f1 |16:29
jchevalierci-info: |  eth0  | True | fe80::20d:3aff:fe1a:82f1/64 |       .       |  link | 00:0d:3a:1a:82:f1 |16:29
jchevalierci-info: +--------+------+-----------------------------+---------------+-------+-------------------+16:29
jchevalierci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++16:29
jchevalierci-info: +-------+-----------------+----------+-----------------+-----------+-------+16:29
jchevalierci-info: | Route |   Destination   | Gateway  |     Genmask     | Interface | Flags |16:29
jchevalierci-info: +-------+-----------------+----------+-----------------+-----------+-------+16:29
jchevalierci-info: |   0   |     0.0.0.0     | 10.0.0.1 |     0.0.0.0     |    eth0   |   UG  |16:30
jchevalierci-info: |   1   |     10.0.0.0    | 0.0.0.0  |  255.255.255.0  |    eth0   |   U   |16:30
jchevalierci-info: |   2   |  168.63.129.16  | 10.0.0.1 | 255.255.255.255 |    eth0   |  UGH  |16:30
jchevalierci-info: |   3   | 169.254.169.254 | 10.0.0.1 | 255.255.255.255 |    eth0   |  UGH  |16:30
jchevalierci-info: +-------+-----------------+----------+-----------------+-----------+-------+16:30
jchevaliertest10:~ # Le script seemed to be loaded, and cloud-init does not raise an error, but the file is not created...16:30
jchevalierAny idea?16:30
dpb1jchevalier: use a pastebin next time. :)16:42
jchevalierRight my bad :)16:43
smoserjchevalier: can you post /run/cloud-init/status.json ?17:40
smoseri assume that one of the stages has not run.17:40
jchevalierhttps://paste.ubuntu.com/26542228/17:45
jchevalierhmm indeed17:45
blackboxswsmoser: did you already write an sru test case for one of the SRU features we are releasing? maas oauth maybe of OVF related. I thought I recalled something18:16
blackboxswbut I can't find the link18:16
smoserblackboxsw: i did the grub-legacy-ec2 one18:20
smoser https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/158141618:21
ubot5Ubuntu bug 1581416 in cloud-init (Ubuntu Xenial) "grub-legacy-ec2 installs files in /etc/kernel/kernel/post(inst|rm).d" [Low,Fix committed]18:21
blackboxswahh thank you18:21
smoseri will test that now18:22
* blackboxsw will ping the authors on the SRU related bugs18:30
blackboxswand pushing up my sru bug verification docs ubuntu-sru.18:30
blackboxswthink I'm missing a couple still18:31
blackboxswalmost there18:31
jchevalierSeems that the setup_disk module crashed the thing19:20
jchevalierbut now I have to manually run cloud-init modules -m final19:20
jchevalierOtherwize the script in custom-data in not tun19:21
jchevalierrun*19:21
smoserjchevalier: /var/log/cloud-init.log ?19:21
jchevalierhttps://paste.ubuntu.com/26542654/19:23
smoserjchevalier: what made you thnk setup_disk failed ?20:03
blackboxswsmoser: rharper found an SRU-blocker the identity doc stuff we landed  in ec2 doesn't work on upgrade path. self.identity doesn't exist on the pickled datasource23:40

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