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

jchevalierHello10:34
jchevalierI struggle configuring cloud-init on azure with a SLES image, can anyone help me please?10:35
jchevalierAnyone is user cloud-init on azure ? I'd need some help to make it work!13:27
jchevalierthx13:27
Odd_Blokejchevalier: It's better to just describe the problem you're having, rather than asking for help.14:50
Odd_BlokePeople may come online later and be able to respond when you are idle.14:50
Odd_BlokeOr people may not want to respond without knowing the scope of what they're offering to help with. :)14:51
mgerdtsI'm confused.  https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1667735 says that a fix was released, but I don't see anything in the bug that suggests in what release was fixed and I don't see anything in git log or git grep that mentions this bug.16:49
ubot5Ubuntu bug 1667735 in cloud-init (Ubuntu Trusty) "cloud-init doesn't retry metadata lookups and hangs forever if metadata is down" [Medium,Confirmed]16:49
mgerdtsI certainly don't see the flush+negotiate in there, but that seems to be a separate issue from a timeout.16:50
paulmeyjchevalier: I can help, hope you're still here... :-)17:32
paulmeysmoser: is there an ETA for an SRU to get some of the bugfixes from the last two months into trusty/xenial/artful?17:33
smoserpaulmey: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/174705917:41
ubot5Ubuntu bug 1747059 in cloud-init (Ubuntu Artful) "sru cloud-init (17.1.46-g7acc9e86-0ubuntu1) update to 17.2.30-gf7deaf15-0ubuntu1" [Medium,Confirmed]17:41
smoserpaulmey: ^ that bug is the sru bug, so... its in progress.17:41
blackboxswpaulmey:  I'd guess ~2 weeks as that's how long our last SRU took17:42
blackboxswand this is a pretty big SRU17:42
paulmeysmoser: blackboxsw: yeah, we saved up a lot... :-)17:52
paulmeyhence the question...17:52
paulmeybut thanks, easy to track now17:52
smoserblackboxsw: i wrote a template for https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/158141618:36
ubot5Ubuntu bug 1581416 in cloud-init (Ubuntu Xenial) "grub-legacy-ec2 installs files in /etc/kernel/kernel/post(inst|rm).d" [Low,Confirmed]18:36
smoseri thikn we're good on bug statenow18:36
blackboxswthanks smoser18:36
mgerdts@smoser - any comments on the bug I mentioned earlier?  It was closed by you.  https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/166773518:43
ubot5Ubuntu bug 1667735 in cloud-init (Ubuntu Trusty) "cloud-init doesn't retry metadata lookups and hangs forever if metadata is down" [Medium,Confirmed]18:43
mgerdtsI don't know if was accidentally closed or I am just showing how much of a newbie I am with launchpad.18:44
smoserhm.18:50
smosermgerdts: it looks in the right state.18:51
mgerdtsThe last comment says: Changed in cloud-init (Ubuntu):18:51
mgerdtsstatus:Fix Released → Confirmed18:51
mgerdtsbut above, it lists lots of releases where it's not fixed.  I'm having troubles decoding that.18:52
mgerdtsI think an experiment I did last week suggests it's not fixed.18:52
mgerdts(not fixed in the 17.10 image for SmartOS, that is)18:53
smoserok. so i think this is in the right state, a bit of launchpad education needed (i agree, it is confusing)18:54
mgerdtsperhaps "Confirmed" is an earlier state than "fix released"18:55
mgerdtswas accidentally set to fix released, then updated?18:55
smoserthe 'cloud-init' task is the upstream project.  its not fixed in upstream, 'Confirmed' is the right state.18:55
smoseryeah, it was accidently changed i think.18:55
smoserthe 'cloud-init (Ubuntu)' tracks if this bug affects "Ubuntu". which by default means "in the development release", which is currently bionic.18:56
mgerdtsgot it.  I had read that as it was fixed, then some testing was done to confirm that it was really fixed.18:56
smoserthen there are 'Precise' and 'Trusty' tasks that are also Confirmed...18:56
smoserwe could "also affects distribution/package" to add 'Xenial' and 'Bionic' specifically, but we dont really have to18:56
smoserand honestly i should just remove Precise becase we're never going to fix it there.18:56
smoserand probably not in trusty18:56
* mgerdts needs to find the decoder ring for Ubuntu versions.18:57
smoserfor your info... it'd take some pushing to get this fixed in trusty.18:57
smoserjust due to age.18:57
smoserhttps://wiki.ubuntu.com/Releases18:58
mgerdtsthanks... I didn't mean to suggest I was asking you to answer what google can answer quickly.19:00
smosermgerdts: fix commit message to20:28
smosera.) be Subject-Line\n<blank-line>\nmore-description20:28
smoserb.) reference your bugs with:20:29
smoser LP: #BUG20:29
smoser(see examples in 'git log')20:29
mgerdtsok20:29
jchevalierI am trying to install cloud-init on SLES image for azure, but whatever I try 1- I can't connect through ssh keys ans 2- can't run a script with the custom-data parameter22:19
jchevalierWhat I tried :22:20
jchevalierCreate a vm with the image SUSE:SLES:12-SP2:latest22:20
jchevalierThen install cloud-init following this: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/cloudinit-prepare-custom-image22:21
jchevalierSet cloud-init enabled through systemctl22:21
jchevalierInstall packages to access ntfs partitions (I had errors in cloud-init log)22:22
jchevalierThen I deprovision the user with waagent22:22
jchevalierFinally, deallocate the vm, generalize it and create a image from it22:23
paulmeyjchevalier: sounds like you're doing the right things...22:24
jchevalierThx for answering22:24
paulmeyenable boot diagnostics when you deploy your new cloud-init VM and take a look at the console output to see if there is anything interesting in there22:25
jchevalierI can do that from CLI?22:25
paulmeyfor some reason they have not implemented that yet22:26
paulmeyyou can enable it later, but that doesn't help you much22:26
jchevalierI'll try to create my vm from the dashboard22:27
paulmeyor you can take a look at this example: https://github.com/Azure/azure-quickstart-templates/tree/master/101-vm-from-user-image22:27
paulmeyI think you can also deploy that directly from github, but ymmv...22:27
jchevalierI get a look at the example22:30
jchevalierRe, sorry my connection is not as stable as I want22:56
jchevalierHere is the boot diagnostic result23:12
jchevalier[    0.000000] Initializing cgroup subsys cpuset [    0.000000] Initializing cgroup subsys cpu [    0.000000] Initializing cgroup subsys cpuacct [    0.000000] Linux version 4.4.103-92.56-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) ) #1 SMP Wed Dec 27 16:24:31 UTC 2017 (2fd2155) [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.4.103-92.56-default root=UUID=223f6e86-5f3c-46e4-84ec-fb8b064219af root=/dev/disk/by-23:12
jchevalierOh, cr*p23:12
jchevaliertoo long23:12
rharperjchevalier: you may want to use paste.ubuntu.com  or other simple paste services for sharing23:14
=== jchevalier_ is now known as jchevalier
jchevalierHere the log23:18
jchevalierhttps://paste.ubuntu.com/26527141/23:18
jchevalierI can see that cloud-init has issues to find waagent23:18

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