/srv/irclogs.ubuntu.com/2016/09/21/#cloud-init.txt

=== cpaelzer_ is now known as cpaelzer
=== shardy is now known as shardy_lunch
=== shardy_lunch is now known as shardy
=== rangerpbzzzz is now known as rangerpb
smoserjwilx, how did you see this failure ?13:24
smoseri laucnhed a vm, and it has 0.7.6 , which is not new enough to see the errors you were seeing.13:24
jwilxsmoser: I had to update it15:13
jwilxpacman -Syu15:13
jwilxafter I did that15:13
jwilxit broke15:13
jwilxwhen i rebooted15:13
smoserah. ok.15:14
jwilxsmoser: did you try it?15:33
smoserno. not tired updating. that makes sense though.15:34
smoserjwilx, do you know.. is there openstack api access to luna ?15:34
smoseror is it just their api, which i think is different.15:34
jwilxidk15:34
jwilxyou can make a ticket and ask15:34
=== Guest22006 is now known as GordonTX
harlowjasmoser so what was the thoughts on better 'in-image' testing19:07
harlowja@nrezinorn ^19:07
smoserin-image ?19:07
smoserjwilx, i did open a ticket.19:08
smoser"We use openstack as our backend, but the api is not exposed to public."19:08
smoserwhich i responded to with something like "kind of pointless to advertise 'openstack' to someone if you're not exposing the API". i can't think of anything else that would make someone care if you were running openstack19:09
harlowjasmoser like say, building an image with a cloud-init release, then starting it, then, putting it through a few validations, then saying good/bad19:26
smoserharlowja, so id' really like to not build an image.19:27
smoserbut be able to start from an image19:27
smoserbuilding is possible, but .. .just a lot less crap if i can pull one.19:27
harlowjakk19:27
harlowjafair19:27
harlowjanrezinorn yt19:28
smoserso i have a short term hack plan...19:28
smoserto get lxc working19:28
smosergenerally to allow us to use lxc to pull images, then run arbitrary commands in those images (such as apt-get install) and then to snapshot that and run some tests on it.19:29
smoserthen, a larger long term goal to generalize such that lxc is just a "backend"19:29
smoserand able to plug in other backends19:29
harlowjaok, i wonder if nrezinorn and i can pull some strings to get a testing cloud account on godaddy cloud19:41
harlowjanrezinorn has been at godaddy longer, might know some folks19:41
harlowjathen we could just use some real images19:41
harlowja*godaddy public cloud19:41
smoserharlowja, there are centos images too publicly19:43
smoserand we could make a backend that tested them with nocloud19:44
smoserbut, yeah, for an openstack coud test, we'd need an openstack. :)19:44
harlowjaya, nrezinorn is eating or something19:45
harlowjaso maybe he has strings that i don't have19:45
smoserharlowja, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/30639119:47
smoserdoes that look sane to you19:48
harlowjalooks sane to me19:48
harlowjai've been using plumbum recently19:48
harlowjaits sorta neat19:49
harlowjait sorta abstracts subprocess19:49
harlowjaand makes it work on remote machines also19:49
harlowjahttps://github.com/tomerfiliba/plumbum/#plumbum-shell-combinators19:49
nrezinornharlowja: i dont have magic powers to get hookups on accounts lol19:49
harlowjawtf19:49
harlowjanrezinorn ma19:49
harlowja*man19:49
harlowjalol19:49
harlowjahave u completed the magic power quest19:50
harlowjai guess not19:50
nrezinornalso the public cloud doesnt expose the openstack apis...  :P19:50
harlowjai can work through that19:50
harlowjait doesn't, but it exposes 'close-enough'19:50
nrezinornlol19:50
nrezinornwhat do we need to ask for?  "can we get free vms"  lol19:50
harlowjaa free account for cloud-init CI19:51
harlowjawith limited quota19:51
nrezinornok ill ask this week19:51
smoserchain = ls["-a"] | grep["-v", "\\.py"] | wc["-l"]19:51
smoserhow is that a thing ?19:51
harlowjanrezinorn see u do know people19:51
harlowja:)19:51
smoseris | an operator ?19:51
harlowjayup19:51
harlowja>>> 1 | 219:51
harlowja319:51
harlowjabit-wise or19:52
harlowjahttps://github.com/tomerfiliba/plumbum/#remote-commands-over-ssh is the neat part imho19:52
harlowjamakes the same stuff work on remote machines19:52
harlowjawhich i'm using to build out https://github.com/harlowja/multi-devstack smoser19:52
harlowja(yes yes i shoudl just use juju)19:53
harlowjai know u about to say that19:53
harlowjalol19:53
smoserharlowja, or you couild use anvil19:53
smoseri think i read about that somewhere19:53
harlowjanah19:53
harlowjathere was only one maintainer of it19:54
harlowjaand he got tired of being the only one19:54
harlowjalol19:54
harlowja(swimming against a stream...)19:54
harlowja(got boring pretty quick)19:54
harlowjawell not pretty quick, since i guess i started it 3 years ago19:54
harlowjabut quick enough19:54
harlowjalol19:54
harlowjaquick like a turtle19:55
smoserah..19:56
smosermakes sense.19:56
smoserbut multi-devstack, that will be different!19:56
harlowjalol19:57
harlowjaya, its overdue19:57
harlowjai need to figure out how to create a overlay network though19:58
harlowjabecause how this works is that it spins up VMs in an existing openstack cloud19:58
harlowjathen starts targeting each VM as a specific 'kind'19:58
harlowjaand gets devstack cloned on each VM19:58
harlowjathen tells devstack to make this node a hypervisor, or make this node a DB19:59
harlowjaand out pops a mini-openstack19:59
harlowjawhich is running in your other openstack19:59
harlowjaso u could theortically boot VMs inside this mini-openstack19:59
harlowja(but networking is gonna be tricky)20:00
smoserharlowja, can you tell me why 'tox -e py3' fails, but20:01
smoser tox-venv py3 nosetests tests/unittests/test_util.py20:01
smoseris fine20:01
smoserie, just runnin the one file is good. but the whole thing bad.20:01
harlowjaits prob u20:02
harlowjalol20:02
harlowjaj/k20:02
harlowjaseems weird :-P20:02
harlowjawhich `nosetests` is the last one running20:02
harlowjais it really running inside the venv?20:02
smoser tox -e py3 tests/unittests/test_util.py20:03
smoserthat fails too.20:03
smoserbut tox -e py320:03
smoserer... wait20:03
smoser tox -e py3 tests/unittests/test_util.py20:03
smoserworks20:03
smoser tox -e py320:03
smosershows failure20:03
harlowjaweird20:03
smoserhttp://paste.ubuntu.com/23212980/20:05
smosersomething is mucking with os.environ20:05
harlowjawasn't me20:05
smosercc_growpart module is messing it up20:18
harlowjawho wrote that crap20:20
harlowjalol20:20
harlowjahahahaa20:20
smoserharlowja, is that mock.patch going to be sufficiently old to run on cent ?20:31
smoseror will you not care because unit tests would run in tox ?20:32
harlowjaya, unittests in tox20:34
harlowjaeverything is old on cent20:34
harlowjaits the nature of the game20:34
harlowjaold == more stable remember20:34
harlowjalol20:34
smoserharlowja, https://code.launchpad.net/~harlowja/cloud-init/+git/cloud-init/+merge/30628321:00
smoserthat seems sane..21:00
smoseryou've tested that it has some affect ?21:00
=== rangerpb is now known as rangerpbzzzz
harlowjasmoser cancel that one for now21:20
harlowjanrezinorn is coming up with those patches21:20
harlowjagonna let him submit up21:20
harlowjaoh, nm21:20
harlowjawell he may have a new set anyway21:21
harlowjalol21:21
harlowjabut yes that change should be fine, smoser though i don't think its the full thing21:21
harlowjamight be better to have a cloud-init-local-rhel.service21:21
harlowjabecause there are also stupid name differences21:21
harlowjanrezinorn will have a few more changes soonish21:21
harlowjasmoser did u ever hear back from the amazon folks that dropped by once?21:30
harlowjadid they go silent again21:30
nrezinornsoonish, lol  - im ocd and unless i am happy with it i will have nothing :P21:57
harlowjanotttthing!22:09
harlowjalol22:09
harlowjasmoser do u know if there is someone who can send a folk here our copy of the signed godaddy + canonical CLA22:19
harlowjathe folks here don't seem to have one, and when i was checking to make sure nrezinorn was on it, they were like we never got a copy, but nrezinorn should be fine to go ahead and submit stuff22:20
harlowjaso anyone u know who can send a guy here an email :-P22:20
harlowja(with that copy or whatever)22:20

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