Monday, 2016-11-28

openstackgerritJoshua Hesketh proposed openstack-infra/nodepool: Merge branch 'master' into feature/zuulv3  https://review.openstack.org/40053600:19
*** jamielennox is now known as jamielennox|away01:26
*** jamielennox|away is now known as jamielennox02:15
*** saneax-_-|AFK is now known as saneax06:16
openstackgerritTobias Henkel proposed openstack-infra/zuul: Ignore .idea directory  https://review.openstack.org/40352206:44
*** willthames has quit IRC07:04
*** abregman has joined #zuul07:24
*** hashar has joined #zuul08:27
*** hashar has quit IRC08:28
*** hashar has joined #zuul08:42
openstackgerritTobias Henkel proposed openstack-infra/zuul: Cloner: More robust infrastrastructure detection  https://review.openstack.org/40355908:46
openstackgerritTobias Henkel proposed openstack-infra/zuul: Cloner: Better infrastructure failure handling  https://review.openstack.org/40355908:56
*** Cibo has joined #zuul10:56
*** Cibo_ has quit IRC10:57
*** hashar has quit IRC11:02
*** hashar has joined #zuul11:03
*** hashar has quit IRC11:48
*** hashar has joined #zuul13:05
openstackgerritMerged openstack-infra/zuul: Ignore .idea directory  https://review.openstack.org/40352213:33
openstackgerritMerged openstack-infra/nodepool: Re-enable test: test_alien_list_fail  https://review.openstack.org/40042213:37
openstackgerritMerged openstack-infra/nodepool: Re-enable TestWebApp tests  https://review.openstack.org/39971613:37
openstackgerritMerged openstack-infra/nodepool: Remove waitForBuiltImages() / JobTracker() from nodepool.py  https://review.openstack.org/39972713:40
openstackgerritMerged openstack-infra/nodepool: Enable test_delete / test_delete_now tests  https://review.openstack.org/39973413:40
Shrewspabelanger: odd. for the json issue, how exactly did you "delete" it?13:55
pabelangerShrews: used the CLI, dib-image-delete centos-7-000000000113:57
pabelangerlet me see if I can reproduce it13:58
Shrewspabelanger: ah. so, this smells like another race where one thread has one view of the zk nodes, while another deletes one of them out from under it13:58
pabelangerShrews: Yup, think you are right. Just reproduced it again14:00
pabelangerdib-image-delete existing built image14:01
Shrewsoh, actually...14:01
pabelangerdib-image-list a few times14:01
pabelangerexception14:01
*** Cibo has quit IRC14:05
Shrewsi'm actually not sure how that is happening. perhaps after more coffee14:07
Shrewspabelanger: so, in order to get that json failure, there would have to be a path where a build node could exist w/o any data. I cannot conceive of such a path. When it's created, it's created with a value. When it's updated, it's updated with a new value. This one has me perplexed14:25
Shrewsbecause that path obviously exists, as you've demonstrated14:26
pabelangerShrews: some more history, uploads aren't actually working right now. Because my clouds.yaml file is not correct14:27
pabelangerso upload workers are just failing14:27
pabelangerlet me see if I can get some debug logs14:27
Shrewsthat's something else we should do something about (bad configured cloud). not sure how we should handle that14:30
Shrewspabelanger: what's wrong with your clouds.yaml?14:30
pabelangerShrews: bad username /passwork14:30
pabelangerso uploads fail14:31
pabelangerI'm going to disable uploads14:31
pabelangerto see if that might be the issue14:31
pabelangerok, rebuilding image14:32
Shrewsmaybe we need a new ProviderManager method to validate connection before we do stuff14:33
Shrews*shrug*14:34
pabelangerGoing to work on pause field this morning too14:35
pabelangereasier then deleting 1/2 my nodepool.yaml file14:35
Shrewsi'm going to complete my RH training this morning so they quit bugging me about it14:38
pabelangerHa14:42
pabelangerI should do that too14:42
*** saneax is now known as saneax-_-|AFK15:11
*** herlo has joined #zuul15:21
*** herlo has joined #zuul15:21
*** phschwartz has quit IRC16:01
*** gothicmindfood has quit IRC16:01
*** leifmadsen has quit IRC16:01
*** gothicmindfood has joined #zuul16:02
*** phschwartz has joined #zuul16:02
*** leifmadsen has joined #zuul16:02
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Add pause support for diskimages  https://review.openstack.org/40378016:05
pabelangerShrews: jeblair: ^ first pass at pass support for diskimages.16:06
pabelangerhappy to rework the test_dib_image_pause test too16:06
pabelangerneed a better way to detect the image isn't actually built16:07
pabelangersince waitForBuild() loops for ever16:07
*** abregman has quit IRC16:12
timrcpabelanger: did you mean test_db_image_delete?16:24
timrcdib*16:25
timrcOh oops nm...16:25
pabelangerI named it test_dib_image_pause16:25
pabelangerbut that can change16:25
timrcI confused waitForBuild with waitForImage. Nevermind me!16:26
timrcI see what you're saying now about the implementation of test_dib_image_pause.16:26
*** hashar has quit IRC17:10
*** Shuo has joined #zuul17:13
Shrewspabelanger: left a suggestion on the pause change17:18
Shrewsooh, had another thought, too17:20
Shrewsleft another comment17:21
pabelangerShrews: re: manual build requests, where is that done? I found the only 2 places we called _buildImage(), _checkImageForScheduledImageUpdates() and _checkImageForManualBuildRequest()17:41
Shrewspabelanger: by the client. cmd/nodepoolcmd.py17:42
pabelangerah17:42
pabelangerchecking17:42
Shrewspabelanger: if you prevent the client from submitting a request, you probably don't need the check in checkImageForManualBuildRequest17:44
Shrewssince hasBuildRequest() would return false. but, it also doesn't hurt17:45
Shrewsbut i do think we should tell the user "hey, this image is paused so you can't ask for a build right now"17:46
pabelangerI'll keep paused just to be safe17:46
pabelangerand ya, added a log statement17:46
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Add pause support for diskimages  https://review.openstack.org/40378017:47
Shrewspabelanger: that message doesn't get back to the user though, does it?17:49
pabelangershould, depending on logging settings17:49
pabelangerlet me confirm the defaults17:49
Shrewsi ask b/c some things use print, others use log17:50
*** abregman has joined #zuul17:52
*** abregman has quit IRC17:53
*** abregman has joined #zuul17:54
pabelangerShrews: yup, works. But problem with code17:57
pabelangerI'll create a test too17:57
pabelangerAlso17:57
SpamapSzomg17:57
pabelangeractually, never mind17:57
SpamapSI'm healthy17:57
SpamapSmy kids are healthy17:58
SpamapSI might actually like.. get work done17:58
auggyWhat time is the zuul meeting today?18:06
SpamapS1400 PST18:07
auggyI keep mixing up the times so I want to double check so I don't miss it18:07
SpamapSauggy: I highly recommend subscribing to the openstack meetings ical.18:07
auggyOk! That's what I had put in my calendar! *whew*18:07
SpamapSIt's a nice overlay.. and if you use google cla, it's really easy to copy things onto your personal calendar.18:07
SpamapSs/cla/cal18:08
auggyYeah, it's not always up to date or something18:08
auggyI had some issues with it18:08
auggyOr maybe I subscribed to the wrong OpenStack ical18:08
auggyI like to put things on my calendar and set alarms :)18:09
SpamapSYeah I do that too, the ical just serves as a source of truth when I'm not sure my calendar is right.18:11
morgan_SpamapS: i ma jealous of "healthy"... i'm still recovering from an awful cold.18:20
SpamapSmorgan_: me, wife, and all 4 children, all got a stomach bug, in sequence.18:22
SpamapSactually the sequence was baby (who felt it the least), 4 year old, wife, 7 year old, me, 13 year old18:23
SpamapSluckily was 24 hours, but still.. brutal18:23
morgan_SpamapS: ah my cold was ~7 days... started weekend before thanksgiving...18:24
*** abregman has quit IRC18:28
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Add pause support for diskimages  https://review.openstack.org/40378018:41
pabelangerShrews: ^ decided to raise an exception, it does make testing easier18:42
pabelangerjeblair: Shrews: so, even though nodepool-builder doesn't need database access, nodepoolcmd still does.  Which is causing some issues on nb01.o.o, since we are missing a database.  How do we want to handle that?19:25
Shrewswhat's it need a db for?19:26
pabelangerwe still use it for online nodes19:26
pabelangerso, nodepool list19:26
jeblairpabelanger: can we just not run those commands on nb01?19:27
jeblairi'm okay if it just errors out there for those commands19:28
mordred++19:28
pabelangerissue is, we first try to configureDatabase(), which fails because our secret.conf is using localhost. This is from nb0119:29
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: [WIP] Re-enable test: test_image_upload_fail  https://review.openstack.org/40097019:29
jeblairpabelanger: oh, maybe we can move that call to only happen if we need to?19:29
pabelangerYa, that is what I am doing now19:30
Shrewsi've just spent the last few hours trying to get that test ^^^ to work. the provider manager uploadImage() still doesn't get the updated fake client19:30
Shrewsimma bout to give up on it19:30
jeblairShrews: ok, i'll take a look later, unless mordred beats me to it19:34
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Use database for non-zookeeper commands  https://review.openstack.org/40386919:38
pabelangerjeblair: Shrews: ^ should do what we need19:39
pabelangernb01 also has 1024 SATA drive for /opt too19:40
pabelangerSo, we should be able to start our first builds shortly19:40
pabelangerokay, just added nb01.o.o to puppetmaster.o.o, puppet should start to running on the server shortly20:04
*** hashar has joined #zuul20:23
openstackgerritAdam Gandelman proposed openstack-infra/zuul: Re-enable test_success_pattern as test_success_url  https://review.openstack.org/40045520:28
pabelangerjeblair: mordred: Shrews: do you mind taking a quick peak at https://review.openstack.org/#/c/403869/ is needed for nb01.o.o20:33
mordredShrews: wow, that really is calling REAL CREATE IMAGE isn't it?20:40
clarkbpabelanger: looks like that broke a bunch of tests20:41
pabelangerclarkb: boo20:41
pabelangerchecking20:41
clarkbpabelanger: so my +2 was probably too early :) but I think generally that idea is what we want20:41
pabelangerokay, let me clean up20:42
Shrewsmordred: yeah. the manager's uploadImage() method uses self._client, which is always a FakeOpenStackCloud (i.e., it never gets set to a FakeUploadFailCloud)20:42
Shrewsmordred: that's the part that confuses me b/c resetClient() is supposed to set it. so my current theory is that we're working with copies of managers which don't permanently store the new client20:43
mordredShrews: so - we're monkey patching FakeProviderManager - but we do that after the provider exists20:46
mordredShrews: I think you'd need to monkeypatch the instant of ProviderManager at that point in the flow20:46
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Use database for non-zookeeper commands  https://review.openstack.org/40386920:46
pabelangerclarkb: ^local tests happy now20:47
mordredShrews: like, instead of monkeypatching the class, after provider = pool.config.providers['fake-provider'] - do a provider._getClient = get_fake_client perhaps?20:47
Shrewsmordred: i think so, but we don't have a way to get the real instance now. i think using 'pool' there is wrong, b/c it's now the BuildWorkers which have the config things20:48
clarkbpabelanger: thanks will look again20:48
mordredShrews: is it possible to do the monkey patch before starting the pool?20:48
Shrewsmordred: no, because we need the first upload (happens automagically) to succeed20:48
Shrewsmordred: we are trying to fail the second upload20:49
Shrewsmordred: oh wait... maybe we don't need that first upload. lemme try20:49
mordredoh - right - but also yeah20:49
mordredShrews: also, this is the first thing I was trying to say: http://paste.openstack.org/show/590711/20:51
mordredif it turns out we do need the first thing20:51
openstackgerritPaul Belanger proposed openstack-infra/nodepool: Clean up zookeeper usage in nodepoolcmd  https://review.openstack.org/40390220:58
pabelangerShrews: ^what do you think about using nodepool.getZK() for nodepoolcmd.py?  Help reduce some duplicate logic20:59
clarkbShrews: mordred if you are patching and patching the class, any existing objects of that class will already have the old thing iirc21:00
clarkbbecause each object has its own __dict__ in python21:00
Shrewsmordred: got it working with the "patch before starting" thing (and discovering that we weren't properly recording failed uploads)21:04
Shrewsmordred: thx21:04
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Re-enable test: test_image_upload_fail  https://review.openstack.org/40097021:05
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Re-enable test: test_image_upload_fail  https://review.openstack.org/40097021:07
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Re-enable test: test_image_upload_fail  https://review.openstack.org/40097021:10
Shrewspabelanger: let me make some tea before i look at your reviews... sorry, got a bit wrapped up there21:11
jeblairjamielennox: i left a reply to your comment on https://review.openstack.org/39168121:12
mordredShrews: yay!21:13
openstackgerritMerged openstack-infra/zuul: Update webapp status json to support tenants  https://review.openstack.org/39168121:14
pabelangerShrews: sure, np21:15
openstackgerritMerged openstack-infra/zuul: Add tenant support to zuul client  https://review.openstack.org/39385021:16
openstackgerritMerged openstack-infra/zuul: Remove includes and parameter functions  https://review.openstack.org/39464421:18
Shrewspabelanger: I don't think we want to do that. It would tie any use of the client to having a nodepoold daemon running locally. In the new world order (where the pieces don't have to share a local DB), we may have builders, uploaders, and nodepool daemons all separated21:25
clarkbisnt it explicitly decoupling from the db21:26
pabelangerHmm21:28
pabelangerI thought nodepoold wasn't running when I tested21:28
pabelangerjust a dependency on nodepool/nodepool.py21:29
Shrewspabelanger: oh, maybe i misread the code there... 1 sec21:29
pabelangernot a major deal if we want to abandon it21:29
Shrewspabelanger: yeah, i misread (looked too quickly). that seems ok21:31
clarkbis this not related to the fix nodepoolcmd change?21:31
Shrewsclarkb: not sure what change you're refering to21:32
pabelanger403869 is what I was talking about21:32
clarkb40390221:32
pabelangerwhich I just rechecked for database drop issue21:32
pabelangerOh21:32
pabelanger40390221:33
pabelangerya21:33
jeblairi think we may eventually want to consider that class to just be the nodepool daemon, but we can reorg that later21:33
Shrewspabelanger: also, fyi, 970 will change the status of the failed uploads you've been seeing in testing to 'failed'21:40
pabelangerlooking21:40
pabelangerShrews: okay, cool21:41
pabelangerI'll test again once that merges21:41
jeblairpabelanger, clarkb: https://review.openstack.org/399775 could use a couple +2s21:43
openstackgerritMerged openstack-infra/nodepool: Add test to validate when a node build is disabled  https://review.openstack.org/39964221:44
jeblairShrews: re our zk sequence number conversation -- did we come to this conclusion:  do not assume anything about the seqno in code, okay to assume it starts at 1 in tests for now, but likely remove those assumptions after our initial production push (and probably around the time we make a decision about what to do about build/upload ids in the user interface)21:46
openstackgerritMerged openstack-infra/nodepool: Re-enable test_hold test  https://review.openstack.org/39975821:47
Shrewsjeblair: i don't remember the "remove after init prod" part, but pretty much, yeah21:47
clarkbjeblair: before I approve, should name be of string and not int type? it doesnt matter here but that could be confusing later21:47
jeblairShrews: okay.  do you want to modify your vote on https://review.openstack.org/399974 then?21:48
Shrewsjeblair: done21:49
jeblairclarkb: i don't think we need to assume it's an int -- i think anything that's stringable is okay21:49
clarkbwell its set to int values in that change eg 021:50
jeblair(now i want to write a generator that returns 'alice', 'bob', ....)21:50
jamielennoxjeblair: yep, and i agree, with a lot of tenants just generating a full status.json would get too heavy, was just looking to point out our current  case and if we find anything we really want we can add it later21:52
jeblairjamielennox: cool.  also, let me know if my comments on https://review.openstack.org/401019 are confusing21:55
openstackgerritMerged openstack-infra/nodepool: Log each worker thread separately  https://review.openstack.org/39977521:56
*** hashar has quit IRC21:57
openstackgerritMerged openstack-infra/nodepool: Add test to validate rebuilds are scheduled  https://review.openstack.org/39997422:00
jlkIs there a zuul meeting happening today?22:01
jeblairi think there is!22:01
jeblairover in #openstack-meeting-alt22:01
jheskethMorning22:01
jlkseems there is another meeting happening there22:01
jlkoh they just ended22:01
openstackgerritMerged openstack-infra/nodepool: Delete test_handle_dib_build_gear_disconnect test  https://review.openstack.org/39865522:07
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Re-enable test: test_list_nodes  https://review.openstack.org/40095522:31
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Re-enable alien-image-list command and tests  https://review.openstack.org/40083622:31
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Re-enable test: test_image_upload_fail  https://review.openstack.org/40097022:31
jamielennoxianw: it's not that, we're running nodepool via systemd unit which only points at the application entry, there's no way (i could see) to source the activate file first22:46
jamielennoxianw: so PATH is hard set to systemd's defaults at that point22:46
jamielennoxwe can set our own path, symlink things into real path, a whole bunch of options22:47
clarkbianw: pabelanger jamielennox iirc the issues are dib specific22:48
clarkbso potentially you could fix those bugs in dib22:48
ianwjamielennox: hmm, ok ... i guess calling an app via it's entry-point like /path/to/venv/bin/app doesn't set the PATH inside the app22:49
clarkbiirc you can't reliably do path/to/venv/bin/disk-image-create either22:49
clarkb(regardless of whether or not nodepool is over the top of it)22:49
ianwso, with dib v2, disk-image-create has moved to a standard entry point22:49
ianwwhich means instead of calling it just as an external program, we could import diskimage_builder and call it from python22:50
ianwthat would ensure we get the version in the virtualenv22:50
jamielennoxclarkb: oh, i hadn't noticed the problem go that far - if you can't call /path/to/venv/bin/disk-image-create then there's no point22:50
jamielennoxhowever i'm inclined to say that if dib v2 has a python API then nodepool should start using that and the problem goes away22:50
clarkbjamielennox: it may not be a problem any longer (I would have to double check) but I know in the past that I have just given up and installed dib globally because of this22:50
clarkbjamielennox: you ahve to source the venv and run dib or install globally to make it work22:51
clarkband thats a dib thing nothing to do with nodepool22:51
pabelangerjamielennox: clarkb: ianw: http://git.openstack.org/cgit/openstack/windmill/tree/playbooks/templates/nodepool-builder/usr/local/bin/disk-image-create.j2 is how I solved it. Just created a disk-image-create wrapper script, dropped into /usr/local/bin. Since I didn't source venv for nodepool-builder in systemd22:51
ianwclarkb: that is probably right, it maybe couldn't find it's elements.  in v2, we have moved all the elements under diskimage_builder python, rather than have them as data files22:52
ianwclarkb: that means that we can find them always by using pkg_resources22:52
ianwat the moment, it does horrible, horrible hacks trying to figure out where it's installed relative to the elements22:52
jamielennoxpabelanger: we just hacked path into /etc/default/nodepool https://github.com/BonnyCI/hoist/blob/master/roles/nodepool/templates/etc/default/nodepool#L1022:53
pabelangeroh, it was dib-run-parts that fails too, with symlinks22:53
pabelangerthat's why it didn't work22:53
ianwpabelanger: hmm, that's an interesting one.  the shell would still be calling out to that.  i wonder if we should be setting the PATH to the current virtualenv in disk-image-create in https://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/disk_image_create.py?h=feature/v222:55
ianwahh, no maybe more to the point, disk-image-create should make sure it activates the virtualenv if it is one ...22:57
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Re-enable test: test_list_nodes  https://review.openstack.org/40095522:59
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Re-enable test: test_image_upload_fail  https://review.openstack.org/40097023:00
SpamapSjeblair: should we be tracking nodepool-only stories on the board too?23:03
SpamapSfeels like we should23:03
jlkianw: having the app activate the venv itself it it happens to be in one feels somewhat wrong.23:04
SpamapSexplains why I haven't necessarily seen much work going on if those tasks are happening under the radar.23:04
SpamapSjlk: agreed23:04
jeblairSpamapS: yes -- i think the current effort just came in at a place where it didn't make sense to make stories for it23:04
ianwjlk: yeah, on second thought that's not necessary.  because diskimage_builder.disk_image_create:main() calls sys.exec() with the current environ, the virtualenv PATH will be correct for the invoked script, so it will find dib-run-parts (and anything else in the environ)23:04
jeblairSpamapS: nothing is happening under the radar23:05
SpamapSjeblair: that's fine. I just want to make sure people can find meaningful work todo23:05
SpamapSeh, under the radar was a poor choice of words23:05
jeblairSpamapS: yeah, there isn't much fruit there, it's mopping up now23:05
SpamapShappening outside the view of sauron's evil eye? ;)23:05
SpamapSjeblair: ok, if there's not much for people to pick up, I'll just keep watch for more23:06
pabelangerianw: Ya, it works for now. But could be a better way to do it23:06
pabelangerianw: but I only spent 5mins on solving it23:06
jeblairSpamapS: ++23:06
SpamapSapparently the storyboard folks are working on work boards that automatically build themselves from stories of a specific tag, btw, and have a lane per task status.23:06
SpamapSwhich would be _amazing_23:06
jeblairSpamapS: oh yes23:06
jeblairthat would be great23:07
SpamapSI've promised to be their first beta customer. :)23:07
pabelangerokay, if we can land https://review.openstack.org/#/c/403869/ we'll have nb01.o.o closer to working.  But, now I run away for some food23:07
ianwpabelanger: i think calling it from python directly will work, but obviously exec'ing the nodepool-builder process won't.  so we'll have to provide some sort of forking wrapper that gives access to the output23:07
pabelangerianw: yup23:07
jeblaircause i think the main deficiency here is new stories or tasks not showing up in the board automatically23:07
SpamapSthough one thing that lacks is there's no "on hold" status in tasks.23:07
SpamapSjeblair: yeah I'm having to just police the stories in the zuulv3 tag manually. No fun.23:08
jeblairi have to run an errand; back to finish reviews later23:09
SpamapSanyway, hopefully people can use what's there to find work.23:09
*** saneax-_-|AFK is now known as saneax23:09
clarkbjamielennox: ya would be good to confirm dib in general works if you just start the executable out of a venv before merging that23:13
clarkbjamielennox: but also if v2 is going to do python imports I think that negates a need for it in the first place too23:13
jamielennoxclarkb: yea, i'm inclined to just wait for dib2 and to have it all in python23:14
ianwclarkb: i imagine it won't, because it won't find dib-run-parts unless it's in the regular path23:14
ianwsourcing the venv, then running will though23:14
ianwwhich i realise is the whole problem :)23:14
clarkbianw: ya thats my experience23:14
SpamapShonestly, sourcing the venv is always required for anything more "scripty" than "library-y"23:15
ianwjamielennox: yeah, i'll look at making some sort of forking interface nodepool can use to invoke23:15
jamielennoxunless someone wants to teach systemd about venvs :)23:16
ianwSpamapS: that's why my changes were on a topic "pythonic-dib" :)  trying to make it more library-y23:16
SpamapSjamielennox: systemd can bash -c '. /venv/bin/activate ; program'23:16
clarkbShrews: starting to review your nodepool stack at https://review.openstack.org/#/c/400836/2 and the way to create an alien image is to have the fake image list return an image called foo with $uuid23:17
clarkbShrews: if the image doesn't have the right name/metadata nodepool treats it as alien23:17
jamielennoxyea, that's true, anyway we do have this solved by setting VIRTUAL_ENV and PATH in the /etc/default file so it's not a big deal23:17
jlkIs there anyway to externally poke at gearman to see if it's running properly?23:27
pabelangerjamielennox: ya, best I did today was PREFIX in /etc/default, which is updated to point to venv/bin/nodepool-builder, then wrapper script for /usr/local/bin/disk-image-create. But going to revisit some of the other suggestions here23:30
pabelangerthen ExecStart=/bin/sh -c "${PREFIX}/bin/nodepool-builder -d ${ARGS}"23:31
pabelangerfor systemd23:31
jamielennoxjlk: yea, nc 127.0.0.1 4730 then status23:31
jamielennoxpabelanger: so all venv should do is set the PATH and the VIRTUAL_ENV env vars, so i think setting those in /etc/default is reasonable23:33
clarkbShrews: ok managed to review that change23:33
jamielennoxyou can't do PATH=/path/to/venv/bin:$PATH in systemd, but PATH is static so you can know in advance what it is and set the whole line23:33
clarkbjlk: yes telnet/nc to it then you can run the admin commands23:34
clarkbjlk: 'status' and 'workers' are the two I know off the top of my head23:34
clarkbjlk: should be documented inthe protocol docs though23:34
pabelangerjamielennox: yup, I've also floated the idea to myself to just call a big ole wrapper script to start nodepool-builder, over trying to write things the systemd way. But, I'm trying to give systemd a chance and do the right(?) thing23:35
*** saneax is now known as saneax-_-|AFK23:39
clarkbShrews: ok I have reviewed those three changes, comments on two of them though I only -1'd the one23:53

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