/srv/irclogs.ubuntu.com/2020/02/13/#cloud-init.txt

=== vrubiolo1 is now known as vrubiolo
AnhVoMSFTHi folks, typically I see Looking for data source in: ['Azure'], via packages ['', u'cloudinit.sources'] that matches dependencies ['FILESYSTEM'] in a working image. We have some cloud-init package created by a distro that is showing in log "Looking for data source in: ['Azure', 'None'], via packages ['', u'cloudinit.sources'] that matches14:14
AnhVoMSFTdependencies ['FILESYSTEM'] and it's not working as expected. Where should I begin to look at? /etc/cloud/cloud.cfg.d/ has the same file between two deployment and indicating Azure in the datasource list. How did 'None' get in there?14:14
AnhVoMSFTI kept getting disconnected from this webirc and keep losing messages. Is there anyway to configure webirc to not disconnect?14:57
meenaahosmanMSFT: uhm, you coud pay for cloud-irc?15:10
AnhVoMSFTSwitched to a client. Hopefully this works better.15:12
* meena uses thelounge15:19
Odd_BlokeAnhVoMSFT: My guess is that the issue is not to do with that line, but something else.  Could you file a bug and attach the `cloud-init collect-logs` tarball from an affected instance, please?15:25
AnhVoMSFTOdd_Bloke: he's generating another package for it. I felt like something else was wrong too; but from the log line that was the only thing difference up until that point. We will test the new package later today and see if issue persists.15:27
AnhVoMSFTI am curious though, on how the datasource list is constructed, when does None get added?15:27
Odd_BlokeAnhVoMSFT: OK, cool, let us know. :)15:27
Odd_BlokeIf it isn't in the datasource_list configuration in /etc/cloud/..., then I'm not sure off the top of my head.15:30
rharperOdd_Bloke: blackboxsw:  https://github.com/canonical/cloud-init/pull/20516:36
Odd_Blokerharper: Approved, had to merge master so waiting for CI to land.16:47
Odd_Bloke(Thanks!)16:47
rharperOdd_Bloke: \o/16:47
pfakany tips for troubleshooting why static ip address informatin isnt being set? my localDS specificies eth0 in 'network-config' but cloud-init is writing out ens18 to /etc/netplan/*19:00
pfakand using dhcp instead of static19:00
pfakof course i figured it out,now .. curtin wrote something out to /etc/cloud/cloud.cfg.d/ .19:03
rharperpfak: curtin will write out the network-config that maas provided;19:44
pfakrharper: this was the -live dvd19:46
pfakbut yeah, i blew that away and now cloud-init is working perfectly with new ifnames disabled19:46
rharpersubiquity writes network config directly to /etc/netplan/  IIRC, I don't believe subiquity provides network-config to curtin to write through19:46
pfak/etc/cloud/cloud.cfg.d/50-curtin-networking.cfg was writen out by the ubuntu live installer19:47
rharperwhich version of subiquity ?19:47
pfakwhatever is shipped with 18.04 installer19:47
pfak18.04.319:47
rharperhrm, ok19:47
pfakidk how to tell, the package isnt installed19:47
pfakand i blew away /var/log/installer19:47
rharperok19:48
pfaksorry i couldnt be more helpful19:48
rharperno worries19:48
Odd_Blokerharper: blackboxsw: powersj: I have a branch to convert cloud-init to use pytest (instead of the long-deprecated nose).  Given that it may cause unexpected issues, I propose aiming to land it soon after we cut 19.1.  What do you think?22:08
rharper20.1 ?22:09
Odd_BlokeYes.22:09
rharperI think makes sense to me22:09
powersjI'm good with it22:09
rharperOdd_Bloke: what impact do you think this will have on existing branches which add/modify unittests ?22:09
Odd_Blokerharper: I haven't changed any test code in my branch, so I believe it will be minimal.22:10
Odd_Bloke(I will send an email out to the list, but figured that shouldn't be the first that anyone else had heard of it. ;)22:10
powersjOdd_Bloke, what would come of say... the xenial branch?22:11
powersjthe packaging branches22:11
Odd_BlokeWe would need to update Build-Depends there, at least.22:11
powersjdeps are in main?22:11
rharperOdd_Bloke: ok22:13
Odd_BlokeThis is just changing Build-Depends, so they don't need to be.22:13
Odd_Bloke(They do for trusty, but we don't need to worry about that for cloud-init.)22:13
powersjaahh right22:13
powersjthanks!22:13
rharperOdd_Bloke: and they are available on xenial (out side of main) at levels that work ?22:14
Odd_Blokerharper: I have Travis passing, which includes the xenial package build for cloud tests.22:15
rharper\o/22:15
rharperperfect22:15
rharperthat's a big +1 for landing post 20.1; definitely mention that for downstreams22:15
Odd_BlokeThat's using bddeb, but I would be surprised if we saw anything different in the packaging branches.22:15
rharperI wonder about non-ubuntu though22:15
rharperlikely worth seeing what robjo and otubo think of the branch22:15
Odd_Blokepytest was in main in trusty, so it's been Around for long enough that we're probably fine.22:15
rharperyeah22:15
robjorharper: Odd_Bloke What branch?22:17
Odd_Blokerobjo: Converting to pytest for testing.22:17
Odd_BlokeThe branch is not yet proposed, I'm about to do that then send an email out to the list notifying and asking for feedback.22:17
robjoThat should be fun22:17
robjoGlad I have no active work :D22:18
Odd_BlokeCan anyone remind me how to build a cloud-init package from the packaging branches?22:26
Odd_BlokeI don't have an orig tarball, and make-tarball produces something that includes .tox.22:26
rharperOdd_Bloke: one sec;22:29
rharper https://launchpad.net/ubuntu/+source/cloud-init  has links to orig tarballs;22:34
rharperand then I use build-package after checking out the release branch,  https://github.com/CanonicalLtd/uss-tableflip/blob/master/doc/ubuntu_release_process.md  , search for "build-package"22:34
rharperit has references to downloading an orig tarball and build-package script and example usage22:35
Odd_BlokeOH, I had forgotten about build-package.22:35
rharperOdd_Bloke: I'm surprised make-tarball included .tox22:35
rharperit didn't for me22:35
rharperOdd_Bloke: I've also done:  git checkout -b mybuid; git merge origin/ubuntu/$release; ./tools/bddeb;22:36
Odd_BlokeDoesn't bddeb generate its own debian/ dir?  Or does it skip that if one is already present?22:36
rharperOdd_Bloke: it looks like it copies from the topdir, so if you merge over it; then it should be the "release branch" version of debian/22:43
rharperand you should bddeb --release $release22:43
Odd_BlokeOK, I've drafted the email but I'm well EOD now, so I'll reread it with fresh eyes in the morning and send it then.23:31
blackboxswtiny tiny pr for doc update related to swapfile and cc_mounts configuration.23:45
blackboxswhttps://github.com/canonical/cloud-init/pull/21223:45
* blackboxsw is reviewing the netbsd branch, I think Goneri got back to the review comments23:45
blackboxswhttps://github.com/canonical/cloud-init/pull/62 for me23:46
blackboxswhrm I think there are more commits to come there, like consolidation of FreeBSD and NetBSD distro modules into a common parent class maybe. I'm not sure there, will ping the author23:49

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