/srv/irclogs.ubuntu.com/2017/12/19/#cloud-init.txt

catmandohey all15:29
rharperhowdy15:35
catmandodoes anyone have experience with cloud-init on power?15:39
rharpercatmando: yeah;  though cloud-init's python, it's generally the same everywhere; is there a specific environment ?15:54
catmandoyes, ubuntu 16.04 on ppc. the issue is likely in documentation15:56
catmandoi am trying to work out how to set the hostname of a new instance to be the name of the instance if the dns reverse lookup does not work15:57
rharpercatmando: interesting problem16:02
catmandopowervc has a custom module that allows set_hostname_from_dns16:04
rharpercloud-init isnt going to do any hostname reverse lookup validation; none that I'm aware of16:04
catmando(and also set_hostname_from_interface // set_dns_shortname)16:04
catmandohttps://www.ibm.com/support/knowledgecenter/SSXK2N_1.4.0/com.ibm.powervc.standard.help.doc/powervc_custom_modules.html16:04
catmandobut I am wondering how to deal with the case when that module failes16:05
catmando s/failes/fails16:05
smoserblackboxsw: did you want to talk about ssh keys ?16:13
blackboxswyeah will rejoin. thought powersj needed to be there but let's chat16:14
blackboxswhrm, was just deploying azure bionic and I expected to see the traceback about ifdown/ifup not working.... but the bionic images in azure have net-tools now. hmm17:42
smoserblackboxsw: are you sure ?17:43
smoseri have absolutely seen the warn before17:43
smoseroh. yeah, we talked about htis yesterday17:43
smoserbyobu17:43
smoser:)17:43
* blackboxsw checks what brought that in https://pastebin.ubuntu.com/26216372/17:43
blackboxswohh right17:43
blackboxswbut I'm wondering why this failed before... didn't we always have byobu on artful when you filed  https://bugs.launchpad.net/cloud-init/+bug/172266817:44
ubot5`Launchpad bug 1722668 in cloud-init (Ubuntu) "Azure: bouncing of network device/publishing of hostname fails on artful" [Critical,Confirmed]17:44
blackboxswnevermind17:45
blackboxswI crossed my stream17:45
blackboxswI crossed my streams17:45
blackboxswthat's from ifupdown which byobu doesn't depend on17:45
blackboxswand still isn't in the bionic images17:45
* blackboxsw will find another reason why bionic azure images didn't traceback like in the bug above.17:46
smoserbionic images (lxc) definitely do have net-tools17:47
blackboxswmaybe I just need to provide a hostname in cloud-config to reproduce the issue with bounce17:47
smoserhttp://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-arm64.squashfs.manifest17:48
smoserbut id' think you'd still see a warning or something17:48
smoseras even if it weret there the bounce would use it17:49
=== r-daneel_ is now known as r-daneel
blackboxswhttps://pastebin.ubuntu.com/26216469/18:06
blackboxswok able to reproduce if my cloud-config contains a hostname different than the hostname I created the vm with on the cmdline18:06
blackboxswpaulmey: have a couple mins for some Azure questions? The datasource currently bounces the network interface across hostname changes (from user-data) to update DDNS with the new hostname record on the interface. It relies on ifdown ifup utils that are now abset(deprecated) in artful and bionic because ifupdown package is no longer in cloud images in factor of moving to the iproute2 package in a systemd world.21:28
blackboxswThe question is, it seems in artful and and bionic a simple call to hostname (without the ifdown ifup) has properly updated ddns as I can nslookup <mynewhostname> and get the authoritative answer.21:28
blackboxswI mean the question is can we drop the bounce in the systemd world because my only understanding about the hostname bounce was that it was used to inform DDNS, which seems to work.21:29
blackboxswI'll run through xenial test without the bounce versus artful test without the bounce and see if anything differs. What I have found is that even if we get a Traceback on missing ifdown/ifup cmdline utils, hostname of the machine is still set properly, and nslookup <myhostname> is being properly reported by ddns21:30
* powersj is in vpc hell21:37
rharperpowersj: nuke it21:37
powersjheh21:37
blackboxswpowers nukes hell.... story at 1121:46
blackboxswjust noted on xenial if we set hostname via #cloud-config, DDNS is not updated properly. artful and bionic do handle it (despite the ifdown/ifup Traceback)22:10
blackboxswmight open a bug against xenial azure for this22:10
blackboxswhrm de-opped because of my nick registration maybe?22:51
blackboxswpowersj: rharper can you op me again?22:51
rharperyeah22:51
blackboxswI think I've sorted IRC nick registration22:51
powersjhow does on OP someone22:51
blackboxswlike that ;)22:51
powersjso if my nick is registered does that mean I keep op?22:51
blackboxswfor us powersj click their nick on the right and click 'op'22:51
rharper /OP <nick>22:51
rharperpowersj: the ChanServ handles that22:52
blackboxswor that ;)22:52
blackboxsw:)22:52
powersjah22:52
rharperonce you have a registered nic via NickServ, then the channel owner says the following registered nics have these ops, etc22:52
* rharper regrets giving too much power to blackboxsw 22:52
powersjah so if smoser has it setup to give us OP it will auto-give us op?22:53
rharperyeah22:53
rharperprolly needs to poke some config in the ChanServ bot22:53
blackboxswmy children regret the same.... and their fighting against the "dad power" ever since22:53
powersjhe should do that for #curtin as well22:54
rharperyeah22:55
blackboxswrharper: are yahoo employees covered under our CLA?23:11
blackboxswwe just got a branch from someone at yahoo23:12
rharperblackboxsw: not sure23:46

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