/srv/irclogs.ubuntu.com/2020/01/20/#cloud-init.txt

mkrai_Hi cloud-init team. I am trying to deploy a node when an infiniband card with OpenStack. cloud-init fails complaining that the MAC address of the infiniband card is not know. OpenStack provides fake 6bytes MAC address in format mac[36:-14] + mac[51:].08:02
mkrai_Can someone please help me?08:02
meenamkrai_: hello good morning10:12
mkrai_meena, Hi, good morning10:13
meenan.b.: most cloud-init committers live somewhere across the north american continent. The help that i can provide is probably not going to be of the same quality.10:13
meenamkrai_: can you show us the exact error message?10:14
mkrai_It didn't log any error, but I debugged it and found the error https://github.com/canonical/cloud-init/blob/master/cloudinit/sources/helpers/openstack.py#L67710:16
mkrai_meena, ^10:19
meenamkrai_: that's very recent code, i *think* which version are you running?10:20
meenanope, never mind, confusing it with… something else.10:20
mkrai_meena, same error but I am running 18.510:22
meenaoh, it actually is from there: https://github.com/canonical/cloud-init/pull/12210:23
meenathis is where the discussion happens: https://github.com/canonical/cloud-init/pull/122#pullrequestreview-33932798410:23
meenamkrai_: do you, per chance, work with the author of that patch?10:24
meenamaybe you two should talk :P10:25
mkrai_meena, I am trying to reach him ;)10:26
meenafrom their av at Github it would be "her"10:26
meenaanyway, it seems madhuri-rai07 hit a similar problem, and decided to deal with it outside of cloud-init. The question whether the problem is OpenStack or Cloud-Init is hard to say without access to such (expensive?) hardware…10:29
mkrai_meena, i am madhuri-rai07 ;) sorry i misunderstood12:03
meenamkrai_: duuh, sorry 😅12:44
meenamkrai_: so, am i understanding you correctly, you've narrowed down the issue to: infiniband or, infiniband thru OpenStack?13:05
meenaor is the issue _also_ in Cloud-Init?13:06
Odd_Blokeakik: Are you still looking for help with your default user question?15:03
akikOdd_Bloke: yes, please15:06
akiki had user section in my cloud-config but i removed it, and then i got that default centos account15:06
Odd_Blokeakik: So I believe it is `users: - default` that is creating the default user (because generally people _do_ want a user created, even if they haven't explicitly specified it).  Are you looking to create _no_ users, or to create only the users you specify?15:08
akikOdd_Bloke: i'd like cloud-init not to create users15:09
Odd_Blokeakik: If you're passing user-data, then I believe `users: []` would do the trick.15:10
akikOdd_Bloke: oh right, thanks15:11
Odd_BlokeIf you want to do it via /etc/cloud, then I think `users: []` in a /etc/cloud/cloud.cfg.d/ snippet would do it too (though I haven't tested that).15:12
akikOdd_Bloke: what would i remove from /etc/cloud/cloud.cfg to do the same?15:13
akiki see the users: there15:13
akikoh ok cloud.cfg.d might be better15:13
Odd_Blokeakik: I think removing the users stanza would do it, but I'd recommend using a snippet so you aren't manually editing a config file that a package installed.15:13
Odd_Bloke(Because on Debian/Ubuntu at least, if you change that file then you'll be prompted to resolve conflicts any time that config file changes on upgrade.  The snippet doesn't have that issue.)15:14
akikyes i'm using user-data via cloudsigma's api15:18
Odd_BlokeOK, cool, then that's your best option. :)15:33
Odd_Blokerharper: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860046 is the RPi bug we were waiting for, FYI.17:25
ubot5Ubuntu bug 1860046 in cloud-init (Ubuntu) "Race to mount seed device" [Undecided,New]17:25
meenaOdd_Bloke: hello, welcome back, have you considered refactoring cloudinit/net today?17:56
Odd_Blokemeena: I haven't, and as I'm (a) catching up from Friday, and (b) all the US folks are on vacation, I probably won't today I'm afraid.19:39
meenaOdd_Bloke: no stress… just (daily) nagging.19:46
Odd_Bloke:)19:48

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