/srv/irclogs.ubuntu.com/2015/09/03/#juju-gui.txt

firlanyone able to help me validate if my constraints tag is proper? juju-gui doesn’t seem to be respecting my constraints13:09
firlin a v4 bundle 13:09
rick_h_firl: what's the constraint?13:10
firlrick_h_ http://pastebin.com/ULBjUtiy13:10
firl constraints: tags=compute13:10
firlmaas tag specifically13:11
firlit fails completely when I try to put it on the service layer13:11
rick_h_firl: looking sec13:11
firlty13:11
rick_h_firl: did you try putting " " around it?13:12
firlI did, but I can try again13:12
rick_h_firl: see https://jujucharms.com/docs/stable/charms-bundles#local-deploy-via-command-line13:12
firlyeah the service constraints didn’t work at all13:12
firllet me rebootstrap and try with quotes around it13:13
rick_h_firl: I was looking at the machine one vs service ones13:13
rick_h_firl: can have Makyo look when he's in, next 20ish13:13
firlcool; yeah just trying to create a repeatable way to just tag systems and deploy to them in the lab13:14
rick_h_firl: oh, but is that just the part of the file?13:15
firlwhat?13:15
rick_h_firl: never mind, ignore me13:15
firlhaha ok13:15
firlI don’t see the tags constraint in the juju-gui, but I assume it’s supposed to still respect it in the bundle file right?13:16
rick_h_firl: checking13:16
rick_h_firl: yea, it's there https://github.com/juju/juju-bundlelib/blob/master/jujubundlelib/validation.py#L2713:17
firlcool13:17
rick_h_firl: ok so how are you deploying the bundle?13:17
rick_h_firl: juju-quickstart "filename"?13:17
firlno, drag and drop13:18
rick_h_ah ok13:18
firli can try the juju-quickstart file name13:18
rick_h_no, that's ok. 13:18
firlkk13:18
rick_h_ahhhhhhhhh13:18
rick_h_oh no...you're dragging/dropping in a real enviornment right?13:18
firlyeah13:18
firljuju bootstrap --to machine.name13:18
rick_h_ok cool13:19
firljuju deploy juju-gui --to 0 && juju expose juju-gui13:19
rick_h_cool, yea that should all work. 13:20
firlkk13:20
firl( I had an issue with quickstart originally I think, don’t remember why, that’s why I went the juju-gui route )13:21
rick_h_firl: ah but they both use the same path13:21
rick_h_juju-guickstart just passes it to the gui 13:21
firlthat’s what I figured; but still for some reason didn’t like it13:22
firlI can try to replicate via juju quickstart13:22
rick_h_that's ok, what's the exact error you get?13:22
* rick_h_ can search for it13:22
firl1s let me replicate13:22
Makyofrankban: http://pastebin.com/ULBjUtiy13:24
firlrick_h_: An error occurred while deploying the bundle: json: cannot unmarshal string into Go value of type []string13:24
firldrag and drop into the UI works I think13:24
firlrick_h_: http://pastebin.com/5McramHp13:25
firlsame error with juju-deployer, dragging and dropping seems to “work"13:26
firlbut ignores constraints13:26
firlrick_h_: even with “ ’s around it, no dice13:35
rick_h_firl: thansk for trying. Makyo and frankban are looking into duplicating it and chasing it down13:42
firlcool, if you want me to try any specific versions / patches let me know13:42
rick_h_firl: will do, <313:43
firlI can open a bug also if it warrants it and I am not just using it wrong13:43
Makyofrankban: app.db.machines.item(4)13:43
firlafk for a bit13:44
Makyofrankban_: app.env.get('ecs').changeSet13:45
=== alexpilotti_ is now known as alexpilotti
frankbanuiteam, Makyo: https://code.launchpad.net/~frankban/juju-deployer/fix-tags-constraint/+merge/27007014:28
frankbantvansteenburgh: could you please take a look?14:28
frankban^14:28
frankbanfirl: hey we investigated and found two bugs in how the tags constraints are provided to juju, on ein the GUI and one in the deployer. The fix for the deployer already landed on trunk, and we are working on the GUI side14:58
frankbantvansteenburgh: thanks for the review!14:59
tvansteenburghfrankban: np, let me know if/when you need a new release14:59
=== alexpilotti_ is now known as alexpilotti
firlfrankban: woohoo! thanks16:47
firlfrankban: how can i test it on the deployer side?16:47
=== rogpeppe2 is now known as rogpeppe
rick_h_marcoceppi: you ever used mojo?20:03
firlrick_h_ , frankban , Makyo : I just tried the latest deployer, it deployed, but I think it didn’t respect the tags again. Should I also have a different version of the juju to go with the new deployer?20:46
rick_h_firl: no, just the deployer, but not through the GUI21:02
firlrick_h_: Yeah I used juju-deployer, and I no longer get the error, however doesn’t respect the tags21:03
marcoceppirick_h_: I know enough about it but I haven't actually used it much in depth23:18

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