/srv/irclogs.ubuntu.com/2017/05/23/#cloud-init.txt

=== rangerpb is now known as rangerpbzzzz
askbwhere can I get the latest srpm for 0.7.9 ?07:44
=== sambetts_ is now known as sambetts
=== rangerpbzzzz is now known as rangerpb
=== smatzek_ is now known as smatzek
powersjhttps://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/32449015:48
powersjsmoser: ^15:48
smoserpowersj, i know i ran tox before pusing yesterday15:56
powersjdefault tox run doesn't include pycodestyle15:56
powersj(I can't remember why we did it that way)15:56
powersjI believe because we run the tip version and not tied to a specific release15:57
smoseryeah. ok. right. it doesnt run tip things for style15:58
smoserpowersj, the change isnt new or is iot?16:00
smoser#startmeeting ubuntu-server-team16:01
smoserbah16:01
powersjthat area of the code wasn't touched since Jan16:01
blackboxswsmoser: rharper who or what delivers /etc/cloud/templates/ on a system16:28
blackboxswpart of the cloud-init deb right?16:29
blackboxswdo any vendors overwrite this content?16:29
blackboxswjust wanted to confirm they are fully under out control (in the ./templates dir of cloudinit)16:32
=== mariusv is now known as lunarlamp
smoserblackboxsw, yes. under cloud-init control outside of someone having a patched cloud-init16:49
smoserpowersj, https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/32449016:50
smoserwait.16:50
smoserthinking16:50
powersjWanna update tox too?16:50
powersjOr at least run pycodestyle of a specific version now that we have cleaned things up16:51
smoserpowersj, yeah, that was the thought. i'mlooking at doing that. its really flake8 that we'd move.17:19
smoserpowersj, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/32449717:21
powersjsmoser: ok let me play with that and I'll ack in a bit17:23
rharperblackboxsw: there is a built in template;  there is precedence for overriding a template (aka the apt-configure module where user-data can define the template, but I don't think we added support for that in the ntp module at this time)17:30
larskssmoser: I just added a note to https://code.launchpad.net/~akaris/cloud-init/+git/cloud-init/+merge/324196 with result of testing on rhel6.  Let me know if that is sufficient.17:32
smoser larsks thank you!17:43
powersjsmoser: acked the flake8 upgrade, I'll pull my merge18:00
blackboxswsmoser: thanks for the review. I've responded to comments and I'm adding unit test for the real template render file. will ping when done18:00
smoserblackboxsw, ...18:02
smoseris_ec2_explicit_datasource18:02
smosermakes me have a 80 char line18:02
blackboxswhahaha18:02
blackboxswrejected :)18:02
blackboxsw+118:02
smosergood enough.18:03
larskssmoser: do you think that +merge/324196 is ready at this point?18:50
smoserlarsks, yes. i want to pull that.18:58
larskssmoser: thanks, just wanted to confirm.  I have some internal pressure to get a build out but want to make sure the patch was in good shape.18:59
powersjsmoser: when you are bored ;) thoughts on https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/32443019:10
smoserpowersj, i guess thats fine .19:14
powersjsmoser: thx19:24
powersjthat pulls 2 more out of the review lane \o/19:24
smoserharlowja, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/32449719:55
smoserhelp ?19:55
smoserpowersj, see that. interesting.19:55
powersjsmoser: you ran pip check on your system though right? not the tox venv?19:57
smoserwell, no. i ran it in 'tox-venv flake8 pip check'19:57
smoserbut yes, that wasnt clear19:57
powersjso hacking pulls in pep8 it looks like; are you concerned about the requirement version mismatches?20:01
harlowjahey hey20:02
smoserharlowja, is that safe ?20:04
smoserwhy is hacking needing those old versions. it seems to work with newer.20:04
harlowjathe asssertEqual -> assertIsNone should be fine20:04
harlowjaunsure about why hacking needing old version20:05
smoseryeah, thats the question i have.20:06
smosermy tox works, but i didn't think i'd have pep820:06
smoserand then went looking as to why (as it should be replaced by pycodestyle)20:07
smoserand hacking is what pulled it in20:07
smoseras hacking has specific versions20:07
harlowjagot me :-/20:08
harlowjathrow email to openstack-dev ?20:08
=== sambetts is now known as sambetts|afk
smoser https://bugs.launchpad.net/hacking/+bug/160794220:09
ubot5Ubuntu bug 1607942 in hacking "hacking not compatible with flake8 3.0.x" [Undecided,New]20:09
blackboxswsmoser: have you noticed that we have different distro naming conventions for hosts tmpl vs ntp nmpl in templates?20:13
blackboxswhosts.suse.tmpl  vs ntp.conf.sles.tmpl20:13
blackboxswshall we align those20:13
blackboxswit'd be nice if we had a std convention for attempting <thing>.<distro-specific>.tmpl if exists and  fallback to <thing>.tmpl when no distro scoped  tmpl is avail20:14
blackboxswbut, not sure if there are other users besides hosts, ntp and sources20:15
blackboxsws/users/usecases/20:15
smoser:-(20:15
smoserblackboxsw, yes please.20:15
blackboxswok will file a bite-size bug20:15
blackboxswwhat's your preference "sles" or "suse"?20:16
blackboxswlooks like we have a lookup OSFAMILIES in cloudinit/distros/__init__.py20:17
smoseryeah.20:17
smosercloudinit/distros/sles.py:        self.osfamily = 'suse'20:17
blackboxswsuse it is thx20:18
blackboxswok https://bugs.launchpad.net/cloud-init/+bug/169302020:23
ubot5Ubuntu bug 1693020 in cloud-init "Cloud.get_template_filename should start with distro-specific template and fallback to generic template files before warning !found" [Low,Triaged]20:23
blackboxswsmoser: addressed your review comments and pushed https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/32445020:33
blackboxswdo we want to make all unit tests logged ? 2min 20 second runtime vs 1min 30?20:33
smoserblackboxsw, good judgement21:01
smoserno need to log all21:01
blackboxswok will use the with_logs = True where needed then21:01
blackboxswthx smoser21:01
blackboxswall review comments addressed then21:02
blackboxswwill have the real branch up in a few. adding a couple extra unit tests for test_schema21:02
blackboxswso it'll sit for tomorrow. and I am in review debt21:02
=== rangerpb is now known as rangerpbzzzz
powersjblackboxsw: smoser: https://jenkins.ubuntu.com/server/job/cloud-init-build/183/console22:39
powersjDid python3-pycodestyle get added some how as a depends?22:40
powersjThat test attempts to build cloud-init's master in a xenial sbuild env.22:40
blackboxswchecking22:40
blackboxswpowersj: those deb package deps are generated automatically based on what's in requirements.txt and test-requirements.txt. hmm I'm not finding what pulls that in ATM.22:45
blackboxswmaybe my branch needs updating.22:46
blackboxswit should be pulled in via ./tools/read-dependencies and python(3)?- prefix attached automagically22:47
powersjsmoser: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324497 that updated test-requirements.txt22:52
powersjwhich updated build deps then22:52
powersjso you can't build on xenial atm22:52
powersjtbh I didn't look hard enough I thought you updated the versions in the tox file22:53
powersjLooks like python3-pycodestyle is only in yakkety and newer too22:53
blackboxswyeah I haven't found it in xenial either, we'd have to backport and host the package maybe in a cloud-init-deps ppa.22:54
blackboxswpowersj: do we have a cloud-init-deps ppa I don't see any ppas listed at https://launchpad.net/~cloud-init associated w/ the cloud-init team ?22:56
powersjblackboxsw: I don't believe so22:57
blackboxswor do we just rely on <series>/updates etc for newer bits?22:57
powersjblackboxsw: that22:57
blackboxsw+122:57

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