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

hipolitoHi!, cloud-init writes permanent interface rules in udev. Is there a way to disable it? So the system uses the systemd predictable interface names instead of eth*08:26
meenahipolito: yeah, there's a setting… lemme look that up08:56
=== vrubiolo1 is now known as vrubiolo
hipolitothanks meena09:25
meenahipolito: never mind, i have *nod* idea.09:40
meenanod? no.09:42
meenai just looked it up in the code, there doesn't seem to be a switch09:42
meenaand here i thought it was just not (badly?) documented.09:43
meenai don't even know how you would override that in the user-config…09:43
meenayou wouldn't09:43
hipolitomeena: well I guess I have to live with that10:47
hipolitomeena: thanks a lot!10:47
meenahipolito: thought this was an answer from someone in ##rust trying to help me lolol10:47
hipolitomeena: that I didn't understand, I guess I missed something11:07
amansi26Hi.. I have a query for cloud-init v19.1 . I am trying to install. Initially it came to disable status . Then I ran cloud-init clean and cloud-init init . So now the status is in running state. But when I do capture and deploy a new VM, the deployed VM get assigned with the base VM IP.13:28
amansi26I check /etc/network/interface it has the base VM IP. but /etc/network/interfaces.d/50-cloud-init.cfg file has correct IP. How can I make the IP up?   I am using ubuntu 16.04 with ConfigDrive datasource13:30
amansi26Deployed VM status is disabled13:30
amansi26And it says http://paste.openstack.org/show/788920/ on running cloud-init init13:34
Odd_Blokerharper: blackboxsw: If I could get a review of https://github.com/canonical/cloud-init/pull/199 sooner rather than later, that'd be good.15:16
Odd_BlokeWe have contributions that need CLA signatures; having a working link is somewhat important for that. ¬.¬15:16
meenai hope the CLA checker emails those PRs to your legal department15:52
smoserhttps://github.com/canonical/cloud-init/pull/12815:52
smoseri can land that... but whatam i supposed to push15:52
smoseroh. squash and merge is the only option.15:53
Odd_Blokesmoser: I can land it with a +1 from you, I think, sorry I didn't think to ping you!  But, yeah, squash and merge is The Button.15:54
smoseroh fudge15:55
smoser"CLA not signed"15:55
smoserwell, the label says that, but he has signed it.15:56
Odd_Blokesmoser: I think we have the link between GitHub and Launchpad, but not the actual signature on the LP account.16:02
Odd_BlokeBut maybe I'm misremembering.16:02
Odd_BlokeWill check in a bit.16:02
rharperblackboxsw: ok, I've updated my two PRs for ubuntu/xenial and ubuntu/bionic using the new-upstream-snapshot as we discussed and leaving the debian/changelog entry as UNRELEASED;16:58
blackboxsw+1 rharper checking now17:33
rharperblackboxsw: and I'm not sure about the merge ;  I don't think we want to squash merge for release branches, right ?17:33
blackboxswrharper: +1 no squash merge for those17:33
blackboxswwe want the separate debian/changelog commits so we can (in theory) apply the functional patches to a separate ubuntu/<release>17:34
blackboxswthough that doesn't truly make sense for this case17:34
blackboxswas we patched the series-specific debian/patches/X17:34
blackboxswahh right rharper, and we don't want to collapse the separate  merge commits pulled in from new-upstream-snapshot either17:35
blackboxswnow that I see the PR17:36
blackboxswrharper: so, I'd have expected the debian/changelog post the new-upstream-snapshot to contain all the commits listed in the single squashed debian/changelog entry, but I still only see your original debian/changelog individual entry https://github.com/canonical/cloud-init/blob/5ff6b663d75b02ff6d8ff0b824488d99a876ae00/debian/changelog17:40
rharperhrm17:40
rharperI just ran new-upstream-snapshot17:40
rharperso why would changelog not be correct ?17:40
blackboxswI'll paste a diff or what I get after new-upstream-snapshot17:41
blackboxswhrm, checking17:41
rharperit looks to be there to me17:41
rharperlemme look at github files17:41
blackboxswUI github might be stale17:41
blackboxswI'm refreshing git on cmdline to be sur17:41
blackboxswor *fetch*ing rather17:41
rharperstrange17:41
rharperI see that was well17:41
rharperbut locally it's modified17:42
rharperthat's messed up17:42
blackboxswahh you didn't push to your rharper-github-origin maybe?17:42
rharperI force pushed to my github branch17:43
blackboxswok fetching again17:43
rharperI see what you're seeing on the UI17:43
rharperbut my local repo shows correct debian/changelog with all entries17:43
blackboxswoops I was diffing my bionic vs your xenial too :)17:43
rharperno17:43
rharperI see the problem17:43
blackboxswhttps://paste.ubuntu.com/p/6YD39PkyYj/ yeah still a problem17:44
rharperI think I forgot the local commit steps17:44
blackboxswright right17:44
rharperthanks, lemme do those17:44
* rharper starts over 17:45
rharperyeah, it complains about no SRU bug number, so I think it doesn't do the normal commit it would17:47
blackboxswahh when I dch -i added by entry, I incorrectly forgot to add the ~18.04 series designator so =I didn't get the SRU_BUG prompt. .... ok I have the steps working on my side rharper ( and I don't think we need/or want to fully run new-upstream-snapshot)18:06
rharperalmost there18:06
rharperI've fixed up my xenial branch18:06
rharperjust about done with bionic18:06
blackboxswpasting what I did: (using your branch as reference)18:06
rharpermostly not committing the debian/changelog change the SRU bug ref being not added (which I think in this case don't want to put anything in there yet)18:07
blackboxswrharper: https://pastebin.ubuntu.com/p/nywt73xSVp/ is what I did18:11
blackboxswrharper: that is a good alternative to allow us to avoid adding the SRU_BUG_NUMBER_HERE if we know we are not yet releaseing18:11
rharperblackboxsw: yeah, i;ve updated bionic now as well18:11
rharperoh, I see18:12
rharperinstead of the new-upstream-snapshot  use the refresh patches only path18:12
rharperwill that update the changelog correctly ?18:12
blackboxswthough if you truly performed the new-upstream-snapshot and pulled in the upstream commits, then we would want those commits in the debian/changelog as the don't get found and collated again18:12
rharperright, that's what I was thinking18:12
rharperso, I suspect we just have to deal with the SRU bug noise in this exceptional path18:13
rharperit only triggers if an upstream commit modifies files that are patched in the release branch18:13
blackboxswrharper: yes --update-patches-only left me with a single dch entry about 'refreshing patches' once I applied your fix to the debian/patches/ua...tip file18:13
rharperyeah, I think what I did now is the right thing18:14
rharperand this is the missing commit you wanted, https://github.com/canonical/cloud-init/pull/196/commits/a444f4d4fbb7b24627bf86166724edeedd491e8d18:14
blackboxsw+1 rharper works for me. so do we have a work item for new-upstream-snapshot to 'ignore SRU_BUG_NUMBER_HERE' that we need to do then?18:15
blackboxswsince we aren't yet releasing in SRU18:15
rharperblackboxsw: maybe18:16
rharperonce we land these two PRs, and new upstream commits, we can test/verify what new-upstream-snapshot does in that case18:16
rharperI suspect that its OK to have SRU_BUG in changelog as long as the top clog entry is still UNRELEASED18:16
blackboxswotherwise we could have used just new-upstream-snapshot --update-patches-only route with a manual fix to debian/patches/ubuntu-avantage*tip18:17
rharperwell, I think we said we want to keep debian/changelog up-to-date with state of the branch, so18:17
blackboxswwe can either way: 1: only run new-upstream-snapshot --update-patches-only (and manually fix the debian/patch as you did in your original diff) and leave the branch alone at that point     OR18:18
rharperblackboxsw: stand-up hangout real quick ?18:19
blackboxsw2. perform the full new-upstream-snapshot and manually patch the debian/patch/debian/patches/ubuntu-advantage-revert-tip.patch  and make sure the upstream commits that got add are all present in debian/changelog and we leave it in UNRELEASED state18:19
blackboxswyeah definitely18:19
blackboxswwas thinking the same18:19
blackboxswrharper: https://github.com/canonical/cloud-init/pull/197 and https://github.com/canonical/cloud-init/pull/196 are approved if you wanted to git push origin/ubuntu/xenial  from your fix branches21:12
blackboxswrharper: we avoid squash merge in the github UI at the moment so I think we'd have to do this commandline21:12
blackboxsw*on the command line*21:12
rharperblackboxsw: yes, I can push to origin I think21:15

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