/srv/irclogs.ubuntu.com/2019/07/15/#cloud-init.txt

tombeeHey, does anyone have any examples on how to set up LVM for mounted disks (non-root partitions) with cloud-init?12:32
rharperhttps://canonical.my.salesforce.com/5003z00001yXYRIAA415:51
rharperOdd_Bloke: so for the Oracle Datasource issue; I believe this is what they see _on_ OracleLinux using updated cloud-init datasource15:51
rharperhence the "dracut" initramfs fix at the bottom15:51
Odd_BlokeRight, I think I understand the issue there, based on a quick scan through.15:54
AnhVoMSFTrharper any concern in landing this https://code.launchpad.net/~vtqanh/cloud-init/+git/cloud-init/+merge/369785 ? I looked at current analyze code and it looks like it's only finding events that are of type start: or finish:, so these events won't be even touched by analyze (which is what we want)17:06
AnhVoMSFTfor stacking azure-ds events nicely within analyze (which will be another PR), I think one possible way to handle it would be to make an educated guess of which cloud-init phases we're in when we see those events (during analyze) based on the timestamps. Otherwise we would have to refactor the code to make args.reporter global so that other reporte17:08
AnhVoMSFTrs can find it as the parent17:08
rharperAnhVoMSFT: do you have a cloud-init analyze show/blame output with those new events in place ?17:44
AnhVoMSFTrharper https://paste.ubuntu.com/p/mfc4YSbFQQ/17:52
rharperAnhVoMSFT: right; we still have to do something for  https://bugs.launchpad.net/cloud-init/+bug/183373117:55
ubot5Ubuntu bug 1833731 in cloud-init "cloud-init analyze output not formatted cleanly on Azure" [Undecided,New]17:55
rharperAnhVoMSFT: but the diagnostic event doesn't contribute to the formatting issue;  we should land something for the current formatting and your additional events as well17:56
AnhVoMSFTyep, we do need to fix that, but like you said it shouldn't be the blocker for those additional events17:56
AnhVoMSFTI'm trying to explore the options for fixing it17:56
rharperok17:59
samgilsonhey Odd_Bloke, on my MP you just approved the CI bot flagged my commit message for not meeting the style standards. I just fixed it, but is there any way to re-run it from my side to make sure it is correct?19:40
rharpersamgilson: no, we can poke it again19:41
rharpersamgilson: ok, I've remarked approved19:43
AnhVoMSFTrharper What do you think about this fix for analyze? https://paste.ubuntu.com/p/zHyDKCbWVr/ - it's relatively simple. WIP branch: https://code.launchpad.net/~vtqanh/cloud-init/+git/cloud-init/+ref/UpdateReporterForAnalyze19:43
samgilsonrharper thanks so much!19:44
AnhVoMSFTthe names are now showing up correctly, but I think we need to land your fix that would let analyze process more than 2 level deep to be able to render it correctly19:44
AnhVoMSFTAlso I updated the merge proposal for the additional telemetry addressing your comments19:44
rharperthanks;19:45
AnhVoMSFTrharper if I apply your commit here https://paste.ubuntu.com/p/y3JskPgtg8/ on top of that UpdateReporterForAnalyze WIP branch and run cloud-init analyze show I get this nicely formatted output: https://paste.ubuntu.com/p/y3JskPgtg8/20:34
rharperAnhVoMSFT: \o/ ;  though I think we shoudl somehow get a DataSourceAzure prefix in those somehow20:36
AnhVoMSFTwrong link to the commit : https://git.launchpad.net/~raharper/cloud-init/commit/?id=fe1d854dbb63fa6c8219547473cdc02a7fb0270920:36
rharperthat does look much better20:36
rharperwould like to get a init-local/datasource/_get_data  which would give us one more indent level I think;20:37
rharperwell, s/datasource/$name_of_the_Datasource;  but I think it may be easy enough to set that in your event wrappers rather than some how read it from the current ds object20:38
AnhVoMSFTyeah, the event wrapper can probably inject azure_ds: in there20:39
Odd_Blokerharper: https://code.launchpad.net/~xiaofengw/cloud-init/+git/cloud-init/+merge/368902 <-- did you accidentally kick off the autoland test job manually for this MP?20:44
Odd_Bloke(It's not a problem if you did, just trying to understand the error message!)20:44
rharperpossibily20:44
rharperhrm;  I know I added a ci run; but maybe I also submitted an autoland20:45
rharperthe comments are off20:46
rharpernet: skip bond interfaces in get_interfaces (detail)20:46
rharperI did marked that branch approved20:46
rharperbut I don't see how it updated the vmware MP20:46
Odd_Bloke:/20:47
rharperindeed20:47
samgilsonhey Odd_Bloke rharper the CI bot came back around and set my MP back to needs review, the commit message should be correct now.21:10
rharpersamgilson: thanks21:11
Odd_Blokesamgilson: Thanks!  Convincing the bot to accept your commit message is a rite of passage for cloud-init development, so welcome to the club. ;)21:11
samgilsonOdd_Bloke Glad to see its not just me who messes this up '=D21:27
Odd_Blokesamgilson: For reference, I normally do `git commit --allow-empty`, compose in $EDITOR (vim, in my case), and then `:w /tmp/commit-msg` and use that.21:28
Odd_Bloke(My vim is configured to wrap git commits correctly, so it solves the problem.)21:29
samgilsonOdd_Bloke thanks! I will try it for the next one and hopefully it works =D21:30
Odd_BlokeFingers crossed!21:30
AnhVoMSFTrharper https://code.launchpad.net/~vtqanh/cloud-init/+git/cloud-init/+merge/370156 - I "stole" your commit (cherry-picking it) into my branch on top of my changes for the MP21:33
rharperAnhVoMSFT: nice21:34

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