/srv/irclogs.ubuntu.com/2018/04/26/#cloud-init.txt

=== Majost_ is now known as Majost
smoserrharper: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/344546 is ready18:07
smoseri'll look at yours now18:07
rharpersmoser: reviewing18:23
rharpersmoser: reviewed, and i've updated my detect branch with your changes19:01
smoserhttp://paste.ubuntu.com/p/FWkpmcPRpB/19:11
mgerdtsWhat amount of begging do I need to do to get my fixes into trusty?  rmadison tells me that trusty is stuck at 0.7.5.19:11
smoserrharper: ^19:11
rharperwhoa19:11
smosermy ^ was for the pastebin there19:12
rharperheh19:12
rharperok19:12
smosermgerdts: trusty though..19:12
rharpermgerdts: drops a bomb on release day no less =)19:12
mgerdtssorry. :-)19:12
rharpernah19:12
smoserits going to remain stuck at 0.7.5... we'd have to do a SRU and cherry pick your changes.19:12
rharperit's a fair question19:12
dpb1at least he didn't ask that in #ubuntu-release19:12
smoseri'd support helping you out there if you wanted to19:12
dpb1:)19:12
rharperdpb1: lol19:12
rharpersmoser: re paste, can I just take your test_util. change?  I think I've just pushed the others19:13
smoserie, if you want to get your datasource into a state your happy with and propose a merge to trusty, i'd be willing to help.19:13
mgerdtsIf you can shine a light down the right path, I'm happy to wander down it.19:13
mgerdtsok.  I have a couple more changes that are pending.19:14
smoserrharper: probably yeah. as in i dont need you to take exactly my changes in the test cases if you have the same.19:14
rharperok, I do19:14
mgerdtsWe need to figure out what to do about the post-first-boot network configuration.  That bit one of our early adopters this week.19:14
* rharper notices we have tests/unittests/test_util.py and cloudinit/tests/test_utils.py 19:14
mgerdtsDeployed a VM, booted once, then added a network.  Was surprised it didn't work.19:15
smoseryeah, cloudinit/tests/ is new19:15
smoserand the preferred path to add things too19:15
rharperI thought that was for new files, but I guess we'll never migrate if we don't start putting stuff there19:16
smosermgerdts: so... going down the trusty path19:18
smoserthe first thing to do would be to checkout ubuntu/trusty19:18
smoserthen in order to  make changes, you have to do the debian/patches route.19:20
mgerdtsok, that path seems to be lit well enough for me to get started.19:21
smosermgerdts: get code into a state your happy with, and then bug me, and i can help with the sort of busywork that it will entail19:24
mgerdtssounds good.  I'll pick that up after my last two changes are are settled.19:24
mgerdtsHappy release day, btw.19:24
smoserrharper: you'll push the udevadm_settle tests on top ther e?19:27
rharperdid I not ?19:28
rharperah, tox is done19:28
rharpernow I'll push19:28
rharpersmoser: it's there now was waiting on tox to finish19:29
smoserk19:29
smoserrharper: you've done some actual test with the code path ?19:30
rharperI've not revalidated with the refactor of calling util.udevadm_settle() vs subp([udevadm, settle])19:31
rharperI can fire that up if you like19:31
rharpersmoser: ^19:32
smoserwell before we upload it to bionci lets have *some* run :)19:32
rharperok19:32
rharperdo you want to land and we push a trunk package into some instances ?19:32
rharperor would you prefer a positive test on gce before landing with the current branch ?19:32
rharperit won't take long either way19:32
dpb1some run or some fun?19:32
smoserwell, just make sure not obviously broken. build a deb, install it, run some reboots.19:33
rharperk19:34
rharperok, I've got two instances in reboot loop on europe-west1;  hoping to catch a positive detection and a handful of continuously successful reboots with networking.20:05
paulmeyHi all, I have a bug and MP for the NTFS mounting issues we've seen on RHEL when using cloud init on Azure: https://bugs.launchpad.net/cloud-init/+bug/1767002 and https://code.launchpad.net/~paul-meyer/cloud-init/+git/cloud-init/+merge/34453820:08
ubot5`Ubuntu bug 1767002 in cloud-init "When stop(deallocate) and then start a RHEL 7.5 VM, cloud-init cannot mount /dev/sdb1 to /mnt." [Undecided,New]20:09
paulmeyWhen you have time, PTAL and let me know what you need...20:09
paulmeythis is blocking RH from supporting cloud-init on Azure...20:10
rharperpaulmey: isn't that kernel missing the ntfs module or possible the mount tools?20:14
rharperwe have ntfs-3g package installed on ubuntu20:15
paulmeyprobably, but neither RH or SUSE want anything to do with NTFS20:15
rharperand of course ntfs kernel module loaded20:15
paulmey(for good reasons)20:15
rharperso, what's the alternative? isn't that what you format the filesystem with on azure ?20:15
paulmeyway back when animals could still talk, Microsoft thought that they would only ever host Windows20:16
paulmeyso they 'prepare' the ephemeral drive by partitioning and formatting it NTFS and putting some files on it to warn for data loss20:16
rharperbut this is part of how one can detect whether the disk is "new" or not, right ?20:17
paulmeycloud-init uses that to detect a 'freshly prepared' ephemeral drive before nuking it and putting ext4 on there, because ntfs is silly20:17
rharperso I don't think it's so easy to ignore20:17
rharperfor sure, but users could have put something on it20:17
rharperand we don't want to lightly nuke data20:17
paulmeynot on RHEL or SUSE they can't20:18
paulmeybecause they have no way of mounting  it20:18
rharperok, then we'll need some distro related override here20:18
paulmeyalternatively, I was thinking of making this a datasource config flag? (whether or not to ignore mount errors)20:19
paulmeybut as you say, we could also have this as a flag on the distro class20:19
paulmeyor even move the method to the distro class?20:20
paulmeyif its datasource config, RHEL and SUSE can bake the config in their images ...20:21
rharperthe datasource get's a distro object20:24
rharperso you can just ask distro.name20:24
rharpers/ask/use20:25
paulmey:-) ok, so then if RHEL or SUSE, ignore errors?20:25
paulmeyerrors being this specific 'NTFS not supported' error20:26
smoserpaulmey: can you look in /proc/filesystesm ?20:26
smoserrather than going by distro?20:26
paulmeynot really20:26
smoseror did i tell you not to do that :)20:26
paulmeybecause if the module is not loaded, it doesn't show up there yet20:26
paulmeyalso, I think some distros now mount ntfs via fuse20:27
smoseroh. hm.20:27
paulmeyWhen I get time, I'll go and fix my time machine, go back to when animals could still speak and then tell MS that they are also going to run Linux on their cloud (duh) and that they should just attach a raw disk... let the OS do the preparation20:29
rharperlol20:29
paulmey*sigh*20:30
rharpersmoser: I've not had the gce instances trip down the udevadm settle path yet; but I've 20 reboots on the branch just fine20:30
smoser:)20:30
smoserok. lets land taht.20:30
paulmeydo you need some time to think on this bug/MP?20:31
rharpersmoser: ok20:32
smoseri'm landing it.20:34
smoseri just updated the sl bug with some info (and the ticket)20:34
rharperk20:36
rharpersmoser: should I make a bionic upload branch then? is everything in master ?20:42
paulmeyrharper: smoser: are you happy with switching the 'ignore' behavior on the distro name? If so, I'll make that change in the MP20:47
rharperpaulmey: my preference would be to also check if it wasn't possible; like no kernel module and no tools;20:48
rharperthat woudl be slightly better in case someone rolls their own20:48
rharpersmoser: I've landed your ibmcloud branch, and I've put up a MP for master into ubuntu/devel, https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/34456021:37
paulmeyrharper: is there a good way to check that then?23:00
paulmeyrharper: plus, isn't 'mount' the ultimate authority on whether or not it is possible? Available modules should be loaded automatically, correct?23:38
paulmeythe current MP tries to mount and only ignores the error when mount says it can't because ntfs is not supported23:39
paulmeywhat else should I check on top of mount's fstype=auto logic?23:40

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