/srv/irclogs.ubuntu.com/2020/08/07/#cloud-init.txt

cgdHi everyone I am trying to troubleshoot an issue. I am hoping that a cloud-init 'Elder' can impart some wisdom!12:27
cgdI am trying to install some packages but I get an error, according to output log file that it failed to connect to package server for download. I have had this issue more than once, I read it could have something to do with dynamically assigned IP addresses on network12:30
cgdHappy to give log output and yml file12:31
jeeebzHello !12:39
jeeebzI'm not in the cloud domain, but someone asks for the cloud-init package. I wrote the spec and build the package for our distro, and I would like to know if there are other things to do more than compiling, packaging.12:41
Odd_Blokecgd: What distro are you running?  How did you acquire/create the image?13:23
jeeebzI just got an answer, cloud-init is already integrated in the distro, but I didn't found it first... I spent time for nothing xD The distro is Mageia13:24
jeeebz(already for 6 years integrated in Mageia https://svnweb.mageia.org/packages/cauldron/cloud-init/current/SPECS/cloud-init.spec?view=log )13:25
Odd_Blokejeeebz: Oh no, always frustrating when that happens!  Still, let us know if there's anything else we can help you with. :)13:25
jeeebzOdd_Bloke: I've no question about cloud-init now. An ISP provides box with embedded OSs,13:26
jeeebzone would like to port Mageia on their box (freebox delta)13:27
jeeebznow I'm learning about qcow2 images. Normaly, it's done with the cloud-init part.13:27
jeeebzBut, Odd_Bloke, maybe updating the repo mentionning that Mageia also is supported ?13:29
Odd_Blokejeeebz: Could you run `cloud-init query distro` on a Mageia instance and let me know what it returns?13:33
jeeebzHum... I've no instance, (it is just my desktop OS now). Should I do the whole process, creating a VM etc ?13:34
jeeebzOr just installing it would be enough ?13:34
Odd_Blokejeeebz: I wouldn't suggest installing it on a desktop, it might behave unexpectedly.  I've actually answered my own question by looking at the source you just pasted: it looks like Mageia support is patched into cloud-init at package build time in Mageia.  So I don't think we should update the upstream docs, because Mageia isn't supported upstream.  That said, if you have a way of reaching out to Mageia13:37
Odd_Blokefolks, we'd be glad to accept a PR which added such support.13:37
Odd_Bloke(It's specifically this line: https://svnweb.mageia.org/packages/cauldron/cloud-init/current/SPECS/cloud-init.spec?view=markup#l69 which installs this file: https://svnweb.mageia.org/packages/cauldron/cloud-init/current/SOURCES/mageia.py?revision=553373&view=markup)13:37
jeeebzOK, I will wrote an email to this mageian member https://svnweb.mageia.org/packages/cauldron/cloud-init/current/SOURCES/mageia.py?revision=553373&view=markup#l1013:44
Odd_Blokeblackboxsw_: I've either responded to or addressed all your review comments on https://github.com/canonical/cloud-init/pull/49314:27
blackboxsw_Odd_Bloke: thanks for the review do you have a dump of cloud-init query --all available from an oracle instance using your pr?16:32
* blackboxsw_ can't find my creds and --compartment-id as it's been a long time since I've touched oracle api16:32
Odd_Blokeblackboxsw_: Yep, let me quickly pastebin.16:39
Odd_Blokeblackboxsw_: https://paste.ubuntu.com/p/hss7cG77Nq/ is what calling the datasource file (i.e. __main__) gives us, and https://paste.ubuntu.com/p/SvKkyg6JFP/ is what `cloud-init query -a` emits.16:42
Odd_BlokeI notice that the subplatform there is incorrect, I guess that must be cached from the initial boot of the instance somehow.16:43
blackboxsw_Odd_Bloke: I'm +1 on oracle v117:33
blackboxsw_thanks17:33
blackboxsw_needs rebase/ci/merge etc17:34

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