/srv/irclogs.ubuntu.com/2019/08/19/#cloud-init.txt

otuborharper, just a quick question from last week's issue: I can't define which datasource cloud-init SHOULD NOT look for, only a data source it SHOULD look for, right? My question basically is: If I don't want cloud-init to spend so much time trying yo find network-based datasources, I should have different ds-identify configuration files for every cloud provider we (as in Red Hat) support.10:47
otuborharper, Am I correct? If I deploy a vm with only openstack it shouldn't spend time looking for EC2 configuration and taking a long time to eventually timeout in the end10:48
Odd_Blokeotubo: Do you know about ds-identify?  It's used early in boot to determine what data source applies to the current instance (without using the network), and writes out configuration so cloud-init will only run that data source.13:13
otuboOdd_Bloke, I know ds-identify and that's exactly what I mean by one configuration per cloud provider. For OpenStack I should have it set to search for OpenStack and nothing else, if the VM is on EC2 I should set it to search for EC2 and nothing else, right?13:18
Odd_Blokeotubo: Oh, I'm sorry, I skipped over the word "ds-identify" in your question. >.<13:18
otubo:-D13:19
Odd_Blokesomething something monday morning something ;)13:19
Odd_Blokeds-identify doesn't use the network, so you shouldn't need to configure it differently per provider.13:19
otuboOdd_Bloke, So basically I should just list all RHEL supported cloud providers on ds-identify.cfg and we're good? Neat :-)13:20
otuboOdd_Bloke, hard question now: We're on cloud-init-18.5 shall that be ok, or should I update to a newer version?13:21
Odd_BlokeSo if you're talking _configuration_ then you might be configuring an _override_.13:21
otuboNo specific reason to stay on cloud-init 18.5, we just do a downstream rebase on demand.13:22
Odd_BlokeAh, no, you presumably mean configuring datasource_list, not the other option I was thinking of.13:22
Odd_Blokeotubo: I'd recommend taking the latest if you're putting in effort to move to a newer version, but obviously that's your call!13:24
otuboOdd_Bloke, I mean defining the 'datasource' attribute on the file /etc/cloud/ds-identify.cfg13:24
otuboOdd_Bloke, ok cool, I'll run some tests and check if we get it going. :-)13:25
Odd_Blokeotubo: OK, "datasource" _will_ override, I think.13:25
otuboOdd_Bloke, ok, I'll give it a try. Thanks!13:26
Odd_BlokeYou probably want to use datasource_list.13:26
Odd_BlokeThat way you can ship the same list on every platform, and ds-identify will work it out at first boot.13:27
Odd_Bloke(OTOH, if you already ship per-platform images, it doesn't necessarily hurt to hardcode the specific platform you know they're used for.)13:27
otuboOdd_Bloke, we don't have specific packages for specific environments, it's a single rpm for all environments.13:29
otuboOdd_Bloke, but 'datasource' on ds-identify.cfg also accepts a list, right? At lease that's my understanding from ds-identify13:30
Odd_Blokeotubo: I think it can, yes, but that will set the list of datasources that cloud-init iterates through.13:31
Odd_BlokeSo if you put a network data source in there, cloud-init will attempt to hit the network for that data source.13:31
otubooh I see13:31
Odd_Blokedatasource_list defines the list of datasources that _ds-identify_ iterates through.13:31
otuboYes, right, right, I remember now.13:32
Odd_BlokeAnd then when it finds one, it sets that as the one DS that cloud-init will "iterate through".13:32
otuboOdd_Bloke, then I'm not really sure where to set datasource_list.13:32
Odd_Blokeotubo: It's configurable in the same location, I believe.13:33
otuboOdd_Bloke, ok I'll give it a try.13:33
otubothanks a lot :-)13:34
Odd_BlokeHappy to help!13:36
=== blackboxsw changed the topic of #cloud-init to: Reviews: http://bit.ly/ci-reviews | Meeting minutes: https://goo.gl/mrHdaj | Next status meeting Aug 19 16:15 UTC | cloud-init v 19.2 (07/17) | https://bugs.launchpad.net/cloud-init/+filebug
blackboxswrharper: Odd_Bloke if either of you get a chance to re-review the ubuntu-drivers branch, here is the debconf based approach to latelink setup. https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/37136916:12
blackboxsw#startmeeting Cloud-init bi-weekly status16:18
meetingologyMeeting started Mon Aug 19 16:18:48 2019 UTC.  The chair is blackboxsw. Information about MeetBot at http://wiki.ubuntu.com/meetingology.16:18
meetingologyAvailable commands: action commands idea info link nick16:18
blackboxswHi guys and girls, welcome to cloud-init biweekly status meeting16:19
blackboxsw#chair rharper16:19
meetingologyCurrent chairs: blackboxsw rharper16:19
blackboxsw#chair Odd_Bloke16:19
meetingologyCurrent chairs: Odd_Bloke blackboxsw rharper16:19
blackboxswcloud-init upstream uses this meeting as a platform for community updates, feature/bug discussions, and an opportunity to get some extra input on current development.16:19
blackboxswAll discussions and interjections are welcome16:19
blackboxswour format is the following topics: Previous Actions, Recent Changes, In-progress Development, Office Hours16:19
blackboxswlast meeting's minutes are herer16:20
blackboxsw#link https://cloud-init.github.io/status-2019-08-05.html#status-2019-08-0516:20
rharpero/16:20
blackboxswwe host the meeting every two weeks at the date and time indicated in the IRC channel topic ^16:20
* blackboxsw changes that topic now, since we(I) forgot last time 16:20
blackboxsw#topic cloud-init Reviews: http://bit.ly/ci-reviews | Meeting minutes: https://goo.gl/mrHdaj | Next status meeting Sept 2 16:15 UTC | cloud-init v 19.2 (07/17) | https://bugs.launchpad.net/cloud-init/+filebug16:20
blackboxswnext meeting in two weeks16:21
blackboxsw#topic Previous actions16:21
blackboxswI see no previous actions raised during last meeting. Woo hoo!16:21
blackboxsw#topic Recent Changes16:22
blackboxswthe following are commits that16:22
blackboxswhave landed in tip of master for cloud-init since the last meeting: git log --since 2019-08-0416:22
blackboxsw    - cloudinit/distros/parsers/sys_conf: add docstring to SysConf16:22
blackboxsw      [Daniel Watkins]16:22
blackboxsw    - pyflakes: remove unused variable [Joshua Powers]16:22
blackboxsw    - Azure: Record boot timestamps, system information, and diagnostic events16:22
blackboxsw      [Anh Vo]16:22
blackboxsw    - DataSourceOracle: configure secondary NICs on Virtual Machines16:22
blackboxsw      [Daniel Watkins]16:22
blackboxsw    - distros: fix confusing variable names [Daniel Watkins]16:22
blackboxsw    - azure/net: generate_fallback_nic emits network v2 config instead of v116:22
blackboxsw      [Chad Smith]16:22
blackboxsw    - Add support for publishing host keys to GCE guest attributes16:22
blackboxsw      [Rick Wright]16:22
blackboxsw    - New data source for the Exoscale.com cloud platform [Chris Glass]16:22
blackboxsw    - doc: remove intersphinx extension [Daniel Watkins]16:22
blackboxsw    - cc_set_passwords: rewrite documentation [Daniel Watkins] (LP: #1838794)16:22
ubot5Launchpad bug 1838794 in cloud-init "Set Passwords documentation describes incorrect behaviour for `password` config key" [Low,Fix committed] https://launchpad.net/bugs/183879416:22
blackboxswWe have also published commits though "    - Azure: Record boot timestamps, system information, and diagnostic events"   to Ubuntu Eoan (19.10) (cloud-init v.19.2-13) if folks want a glimpse of those features16:24
blackboxswMany thanks to Azure and GCE folks for their commits and a hi five to tribaal for adding Exoscale16:24
blackboxsw#topic In-progress Development16:25
blackboxswAs always, we try to keep most of our work up to date in trello16:25
blackboxsw#link https://trello.com/b/hFtWKUn3/daily-cloud-init-curtin16:25
blackboxswcards in the "Reviewing" column should represent the work we expect to have up for review in the short term.16:26
blackboxswrharper is mid-stream on some investigations that will likely lead to significant speed improvements for cloud-init16:27
blackboxswOdd_Bloke: is working on some significant improvements for Oracle's datasource rendering network config16:28
blackboxswand I'm working on getting OpenStack and Ec2 datasources to talk network config v2.16:29
blackboxswbeyond that work we have a pretty healther active review queue16:29
blackboxsw#link https://code.launchpad.net/cloud-init/+activereviews16:29
blackboxswof note, some freebsd work is in flight, gce dns improvements, udev triggers and OVF handling user-defined scripts.16:31
blackboxswWe16:31
blackboxswwill spend the latter part of this meeting looking over the review queue to see that open branches are in the proper state16:32
blackboxswAlso, our plan for this week is to cut a Cloud-init SRU (Stable release update) for upload into xenial, bionic and disco.16:33
blackboxswexpectation is that those Ubuntu series will see an update for cloud-init after our ~7 days of testing and verification16:34
blackboxswrharper: Odd_Bloke anything else in flight that we should note here?16:34
rharperthat looks like everything16:34
blackboxswwithout further ado, we can transition to office hours16:35
blackboxsw #topic Office Hours (next ~30 mins)16:35
blackboxswWe're here for any questions, bugs, discussions people would like to have around cloud-init. This block of time is available for any discussions or requests people may have.16:36
blackboxswWe will also spend this time grooming the active review queue to make sure developers get any needed feedback on their active branches.16:37
blackboxswIf there are any branches that need more eyes, please bring them up here or make sure they are in the 'Needs review' state in Launchpad16:37
tribaalblackboxsw: thanks!16:38
blackboxswtribaal: good work. I think Odd_Bloke landed the followup work to enable exoscale datasource config to cloud-init.templates to 'enable' it. And looks like that has landed16:40
tribaalblackboxsw: I'm happy to help verify SRU bugs when the process is kicked - just let me know16:40
blackboxswso it's 'on' in Eoan, once SRU is kicked off, it'll be in there16:40
tribaalyep, I need to push an Eoan template to our preprod environment tomorrow to kick the tires, but I don't expect anything funny16:41
blackboxswtribaal: will do. I think the only thing we are waiting on before SRU is landing this ubuntu-drivers branch  https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/37136916:41
blackboxswany feedback on behavior your in Eoan from you tribaal would be helpful.16:42
blackboxswlet's try that in English this time:  any feedback on the behavior in your Eoan environment would be helpful tribaal.16:43
tribaalblackboxsw: haha that's what I inferred :)16:43
blackboxsw:) /me hits the review queue16:43
blackboxswrharper: if you get a chance: you've landed https://git.launchpad.net/cloud-init/commit/?id=b3a87fc0.   Do we also still need the following branch? https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/36357116:47
blackboxswIf so, I'll spend this time trying to write up unit tests for this if possible16:48
rharperblackboxsw: I don't think so; my branch should include all the needs of that branch16:48
rharperand the branch tests the wait_for_physdev as well as updates the opensuse net render paths to account for the udev rule number change16:49
blackboxswthat's kindof what I was thinking/hoping.  I'll mark it rejected in favor of your commit, and we'll see what robjo thinks on that. We can reopen and try to address the unit test aspect of his branch if still needed.16:50
rharperI think we can mark that branch closed16:50
rharperrobjo: had already looked at the branch before landing16:50
blackboxswok done16:52
blackboxswthanks Florian for your first commit! https://code.launchpad.net/~florian-mueller-v/cloud-init/+git/cloud-init/+merge/371298  ... doc update approved16:54
robjoI don't recall having looked at https://git.launchpad.net/cloud-init/commit/?id=b3a87fc0 and there was no entry in the bug to remind me that I did. Anyway, I've done so now and yes, this obsoletes https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/36357116:58
blackboxswthank you robjo for that17:00
rharperrobjo: https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/366667  ;  yes, I should have linked to the bug in my MP17:04
rharperyou did take a look a while back though17:04
robjorharper: I believe you, just cannot remember....17:06
rharperheh, it was a while back17:06
blackboxswI think we should probably wrap up the meeting for this week.  I've got one more review to clear.17:24
blackboxswThanks again all for joining. minutes will be posted to github17:24
blackboxsw#link https://cloud-init.github.io/17:25
blackboxsw#endmeeting17:25
meetingologyMeeting ended Mon Aug 19 17:25:18 2019 UTC.17:25
meetingologyMinutes:        http://ubottu.com/meetingology/logs/cloud-init/2019/cloud-init.2019-08-19-16.18.moin.txt17:25
Odd_Blokerharper: https://code.launchpad.net/~daniel-thewatkins/cloud-init/+git/cloud-init/+merge/371350 <-- happy with this now?18:15
rharperOdd_Bloke: yes18:43
Odd_Blokesmoser: Do you want to change your review on https://code.launchpad.net/~daniel-thewatkins/cloud-init/+git/cloud-init/+merge/371403 or shall I just Approved it?  (Does the lander check the reviews?)19:55
Odd_Blokeblackboxsw: There's a typo, I'm afraid.19:57
smoserthat wasnt the right link i think19:57
smoserwas it ?19:57
smoserhttps://code.launchpad.net/~daniel-thewatkins/cloud-init/+git/cloud-init/+merge/37140319:59
rharperyeah19:59
smoseri approved therel19:59
rharperthx20:00
powersj\o/20:04
powersjrharper, blackboxsw Odd_Bloke did someone take notes?20:04
rharperI can do a mental brain dump; and Odd_Bloke summed up the next steps at the end20:05
blackboxswpowersj: rharper admittedly brief notes https://pastebin.canonical.com/p/Tm3QBsvwSx/20:08
blackboxswOdd_Bloke: ^  could use second set of eyes to decode what that means in terms of followup branches20:09
Odd_Blokepowersj: So there are a couple of sets of decisions to be made.  The20:09
rharperblackboxsw: thanks20:09
Odd_Bloke*nods sagely* I meant to press Return then.20:09
blackboxswthat didn't capture what pre-flight network configuration/interrogation needs to be20:09
Odd_Blokepowersj: So there were a couple of sets of decisions to be made.  We decided that we _do_ need to parse the network config that the initramfs produces, because anything else is likely to break assumptions that other tools make about system configuration being accurate (or it will just flat out break!).  We also decided that it probably makes sense for the initramfs network configuration determination to20:11
Odd_Blokemove to be part of the fallback network config source.20:11
Odd_BlokeBecause the correct network configuration to fall back to on, e.g., an iSCSI root system is _not_ DHCP-on-first-interface, it's to use the network configuration the initramfs generated.20:12
Odd_BlokeThe fact that the initramfs network config source is separate now means that we can continue along our current implementation path (i.e. land my change, and put dracut parsing into the "initramfs" network config source) and once that's done, we can address moving the initramfs network config source into the fallback network config source.20:13
Odd_Bloke(Some Oracle DS changes will be required at that point, but they should be minimal so we won't be throwing any significant work away.)20:13
Odd_Blokerharper: blackboxsw: smoser: Does ^ represent what you think we agreed on?20:15
blackboxswthat is much clearer than my abbreviated notes Odd_Bloke +1.  1. your branch lands 2. dracut parsing 3. fallback config handling initramfs config on appropriate platforms20:23
blackboxswI *think*20:23
smoser+120:23
powersjexcellent :)20:23
rharperOdd_Bloke: +120:23
blackboxswgah Odd_Bloke sorry about that. endswidth :)20:57
* blackboxsw runs tox this time20:58
Odd_Blokeblackboxsw: CI was +1, so we're probably missing a test.20:58
blackboxswyeah I'll add that test now20:58
blackboxswit's all mocked in tests20:58
blackboxswOdd_Bloke: pushed a fix21:09
blackboxsw8b8401cd5f99e907a944b05e2a1caf1e889ecbbf21:09
smoseronce i saw a program (or possibly imagined) that allowed you to do:21:12
smoser some-long-running-command | that-program21:13
smoserand it would hand back a url that you could share with someone else21:13
smoserso they could see status or "watch" it21:13
smosersomething like 'pastebinit' but with progress21:13
smosermy google is failing now21:13
smoseranyone's brain do better?21:14
Odd_Blokeblackboxsw: LGTM, Approved.21:14
Odd_BlokeThat sounds familiar.21:14
Odd_Blokesmoser: https://seashells.io/ <-- this?21:14
Odd_Bloke(I feel like that isn't what I was remembering, but looks like it would do the trick.)21:15
smoseri think so21:15
smoseror maybe21:16
smoserhttps://github.com/anishathalye/seashells/issues/221:25
smoserprovides some alternatives too.21:25
smoserthanks Odd_Bloke21:25
blackboxswrharper: do you recall how we describe global dns in network v2?22:03
rharperthere is no global dns22:04
* blackboxsw thought there was a bug on this22:04
rharperdns is always per interface22:04
rharperthere is a v1 bug where we will decorate v2 with v1 's "global" values if the target interface isn't configured already22:04
blackboxsw rharper: network_data.json describes a global 'services' key (outside of specific network/interfaces) which can contain dns type items22:04
rharperyes, the easiest thing to do is repeat that on each interface22:04
blackboxswwhat shall we do with such 'global' service definitions22:04
blackboxswok will do22:04
rharperhttps://bugs.launchpad.net/cloud-init/+bug/175088422:06
ubot5Ubuntu bug 1750884 in cloud-init "[2.4, bionic] /etc/resolv.conf not configured correctly in Bionic, leads to no DNS resolution" [Medium,Fix released]22:06
rharperhttps://git.launchpad.net/cloud-init/commit/?id=d29eeccd22:06
blackboxswah thanks!22:06
rharperwe may want to follow that same logic22:06
rharperthat is, devices getting DHCP are likely to get DNS from that response;22:07
rharperif you've got static IPs, then dns away22:07

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