/srv/irclogs.ubuntu.com/2020/04/03/#cloud-init.txt

=== tds8 is now known as tds
rharperblackboxsw: Sounds good, I'll +1 the branch01:59
rharperblackboxsw: it looks like there's a package build failure related to pytest not in the build-reqs ...02:01
rharperdo we need to sort that out ?02:01
blackboxswrharper: we do unfortunately02:33
blackboxswI'm trying to work that now02:33
Gonerirharper, I just tested on the 3 BSD, if two interfaces use DHCP, the system uses the default route of the first NIC.02:37
blackboxswrharper: yeah I think we also need to cherry-pick the tox pytest deps changes02:41
blackboxswcherry-pick 986f37b0102:42
blackboxswredoing that branch now to test02:42
blackboxswrharper: finally repushed PR 303. and added new manual steps to the PR description. basically I cherry-pick the already released 6600c642, then the tox pytest  986f37b01, then the rest of the picks02:52
blackboxswhrm I think the build fails again the issue is that sbuild "Install cloud-init build dependencies (apt-based resolver)" gets dependencies direct from test-requirements.txt before the cpick is applied to drop nose and add pytest. So, it's not present in the sbuild image.03:08
blackboxsweven though the end result has a proper test-requirements.txt file once patches are applied03:09
blackboxswbummer, may have to fix this tomorrow.03:09
=== tds1 is now known as tds
=== tds4 is now known as tds
=== hjensas|afk is now known as hjensas
rharperblackboxsw: I think the github CI build is just a package/bddeb; so I doesn't have any patches applied, so I think it's a funny state;14:44
=== hjensas is now known as hjensas|afk
=== hggdh is now known as hggdh_
=== hggdh_ is now known as hggdh__
=== hggdh__ is now known as hggdh-msft
=== eggbean is now known as paradroid
=== paradroid is now known as delta2
=== delta2 is now known as eggbean
=== eggbean is now known as paradroid_
rharperblackboxsw:  https://github.com/canonical/cloud-init/pull/306  is up16:57
blackboxswahh that makes sense rharper17:14
blackboxswmaybe we can change that too in a separate pr against cloud-init17:14
blackboxswlooking over 30617:14
PodioSpazWhen using cloud-init multi-part MIME with multipass, I receive "error loading cloud-init config: yaml-cpp: error at line 5, column 13: illegal map value".17:15
PodioSpaz1 Content-Type: multipart/mixed; boundary="===============8832723955843212272=="2 MIME-Version: 1.03 4 --===============8832723955843212272==5 Content-Type: text/cloud-config; charset="utf-8"6 MIME-Version: 1.07 Content-Transfer-Encoding: base6417:17
Saviqhi PodioSpaz, we only currently support plain user data in the --cloud-init argument17:23
Saviqthere's a handful of feature requests for more complex scenarios on our github17:25
Saviqhttps://github.com/canonical/multipass/issues/55717:25
Saviqhttps://github.com/canonical/multipass/issues/129517:25
Saviqhttps://github.com/canonical/multipass/issues/104017:26
Saviqhttps://github.com/canonical/multipass/issues?q=is%3Aissue+is%3Aopen+cloud-init17:26
Saviqplease file one for multi-part if none of those fits your use case17:26
PodioSpazThanks17:27
blackboxswrharper: approved 306, needs a rebase against master17:30
blackboxswand can land17:30
blackboxswrharper: I'll rebase and push.17:30
rharperblackboxsw: thanks!17:34
blackboxswci running on it. will merge it when I see that green17:35
blackboxswalmost have new manual steps for you on release (it'll take into account your PR which we will land momentarily17:35
rharperOK17:36
blackboxswrharper: just landed https://github.com/canonical/cloud-init/pull/30617:58
blackboxswI'll get you the steps for focal release17:58
blackboxswokay rharper new manual steps and push for focal release to include your 306 https://github.com/canonical/cloud-init/pull/30318:11
rharperblackboxsw: ok, running them now19:06
blackboxswrharper: might want to refresh the pull request UI I updated the description19:06
rharperyes19:06
rharperthx19:06
blackboxswbuilding package now to test19:06
blackboxswI had missed a couple things in adding my additional quilt patch19:06
rharperwhat's the ./picks.sh ??  is that our wrapper  you're working on ?19:10
blackboxswrharper: that is just a script to automate the first half of the manual operations to avoid having to cut and paste each step19:11
blackboxswso you should be able to run that directly as is.... and manually continue with =     cd cloud-init and beyond19:11
rharperhrm19:11
blackboxswcd /tmp; bash ./picks.sh19:11
rharperwhy do I need it?  I've created all of the cpicks;  then I push them on19:11
rharperfix up the unittest19:12
rharperetc.19:12
rharperI don't see why I need it? (or is it automating all of the cpick work I did following your steps?)19:12
rharpersorry, I see it now19:12
blackboxswif you've already created the cpicks. then you only need additionally to:19:12
blackboxswcherry-pick 09fea85fd1f6fd944f4cdd8b97e283090178ae88  # your PR 30619:12
blackboxswand the quilt push -a .... .steps below19:13
rharpergotcha19:13
blackboxswthe problem you have with your branch is that you've already updated and commited for release in debian/changelog. so you might was to get reset HEAD~1 to back off of that19:13
rharperYou forgot an EOF19:13
rharperthat's why19:13
blackboxswahh bad paste.19:13
rharperI reset to upstream/ubuntu/devel first19:13
rharperso I was replaying all of the picks from the beginning but I didn't notice it was a heredoc  ...19:14
rharperno worries.  I'm on it now19:14
rharperdid you delete the trailing whitespace after removing the unittest  ?19:14
rharperoh there's the EOF ... hehe19:14
blackboxswrharper: my EOF is middle of that description as I kicked it out during the quilt header as I figured there'd be some other wrangling19:14
rharperpicks calls itself =)19:14
blackboxswrharper: picks doesn't call itself the EOF was above that just before calling bash ./picks.sh19:16
blackboxswI'll update the description and include the entire script within the picks.sh19:16
rharperyour last git commit -am pulls in local cruft, lemme try again19:18
rharperblackboxsw: I'm pretty close; the only delta I have is in the last quilt patch (how you describe editing the unittest file)19:29
rharperhttps://paste.ubuntu.com/p/PDmfQ2HQwv/19:30
rharperblackboxsw: ^19:30
blackboxswrharper: I just finally pushed again19:30
blackboxswand updated description19:30
rharperok, let me replay pick.sh19:30
rharperit does speed things up =)19:31
blackboxswrharper: man , lintian is still comiing up with an error on the branch :/19:31
blackboxswE: cloud-init changes: inconsistent-maintainer Chad Smith <chad.smith@canonical.com> (changes vs. source) Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>19:31
blackboxswE: cloud-init: mismatch-translated-choices cloud-init/datasources choices-c19:31
rharpereww19:31
blackboxswI'll try applying that Author instead of me19:31
blackboxswwhen editing the header19:32
rharperoh, I bet you missed a file19:34
rharperthe datasources choices breaks when the distro values aren't matching19:34
rharperwe pulled out netbsd/openbsd  from the unittst19:34
rharperbut where else are they ?19:34
rharperoh, datasource isn't distro, but when we add/remove a datasource;  isn't there some manual release branch updates ?19:35
rharperblackboxsw: ok, diff looks good, once you sort out the lintian failure19:36
rharpertesting out my source package build right now19:38
blackboxswgreat rharper, I'm rebuilding now with Author: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> in the dep3 header19:41
blackboxswto check19:41
rharperthat's what I've got in mine now after your update19:42
blackboxswrharper: looks like this https://bugs.launchpad.net/ubuntu/+source/lintian/+bug/186278719:43
ubot5Ubuntu bug 1862787 in lintian (Ubuntu) "inconsistent-maintainer error not applicable to Ubuntu" [Undecided,Fix released]19:43
rharperah, yes19:44
blackboxswhrm, what does this 'mean'.  does it mean our focal images in sbuild don't yet have that released version of lintian?19:45
blackboxswI'll ask in ubuntu-devel19:47
rharpernot sure19:51
rharperLintian: fail19:51
rharperStatus: successful19:51
rharperVersion: 20.1-10-g71af48df-0ubuntu1319:51
rharper 19:51
rharperthe package builds just fine19:52
rharperlintial errors are non-fatal to package builds19:52
rharperI know I recently asked about this when I was testing out probert packaging changes19:52
rharperblackboxsw: so, I can reproduce your branch, git diff is OK, and sbuild is OK from my perspective;19:52
rharperis your build-and-push sbuild completing with Success ?19:53
blackboxswahh right. ok cool. I was worried this'd break things19:53
rharperme too19:53
blackboxswrharper: ok. then I think we are good19:53
blackboxswI will build-and-push19:54
rharperone sec19:54
blackboxswI have commented those operations out19:54
rharperare you going to leave the author as you or ubuntu ?19:54
blackboxswok holding. (and reperforming changes to track Author: chad.smith@c.com19:54
rharperI'd like to get a clean diff against your branch and I'll comment with that19:54
rharperok19:54
rharperI'll replay and diff19:54
blackboxswyeah that was unrelated change that didn't fix anything19:54
blackboxswsame19:54
blackboxswthe issue was related the the generate *dsc file I think not the dep3 header on the patch19:55
blackboxswsooo many cherry-picks19:55
blackboxswrharper: force pushed and updated PR description19:59
blackboxswbuilding  oone more time19:59
blackboxswrharper: +1 successful build. with latest changes.20:03
blackboxswI won't build-and-push until you compare diffs against what I've pushed20:03
rharperblackboxsw: same here, I'm approving ;  but you push from cli, not from gui.    Do we mark approved or something else in the UI ?20:04
blackboxswrharper: yep we push releases from cli, not github20:04
rharperis marking approve OK? it won't autoland20:04
blackboxswto perform dput, tag and push to origin/ubuntu/devel20:04
blackboxswcorrect, no auto-land in github20:05
blackboxsw... YET. muhahhaa20:05
rharperheh, also CI will fail due to the no-patch-bddeb20:05
rharperso that'll block merging via UI20:05
rharperok, I've Approved it20:05
rharperthanks for working on this20:05
blackboxswschweet. rharper thanks  for the counsel here. also, I'm thinking I'll put up a tiny separate PR against ubuntu/devel now to add the debian/cloud-init-cherry-picks so we can use the uss-tableflip 'cherry-pick --pop-all' to fix daily builds20:07
rharpernice20:08
blackboxswmerged thx rharper https://github.com/canonical/cloud-init/pull/30320:16
blackboxswpowersj: rharper [ubuntu/focal-proposed] cloud-init 20.1-10-g71af48df-0ubuntu3 (Waiting for approval)20:18
rharper\o/20:23
powersjsweet20:23

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