/srv/irclogs.ubuntu.com/2015/01/30/#juju.txt

bloodiceI have different physical servers i want to use for specific packages.  Is there a way to link the MAAS name and setup to a specific machine in Juju?  This would allow me to allocate the charms to the appropriate servers.00:55
blahdeblahbloodice: We use MAAS tags for that01:32
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
thumperlazyPower: damn... elasticsearch is failing the install hook now02:03
thumperapt.cache.FetchFailedException: W:Failed to fetch http://packages.elasticsearch.org/elasticsearch/1.2/debian/dists/stable/main/binary-amd64/Packages  403  Forbidden02:03
thumperlazyPower: I hope it is intermittent and temporary02:04
josethumper: that looks like an error server-side, probably moved files or changed to https02:21
josenot moved files, but changed paths02:21
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== Guest8948 is now known as jam
lazyPowerhttps://askubuntu.com/questions/576500/juju-bundle-deploy-in-one-machine-in-lxc/579585#57958507:47
seallazyPower: o/08:39
lazyPowero/ seal08:39
sealis there a particular order in which to execute the flannel-docker?08:40
sealI was unable to communictae with other host08:40
sealwill post the order which I ran it in a sec08:40
lazyPowerseal: the order dependencies were resolved in the latest iteration of the charm i do believe.08:41
sealhttp://paste.ubuntu.com/9952491/08:41
* lazyPower looks08:41
lazyPowerhmm, that looks correct to me - can you get me the output of `juju run --service docker 'ifconfig -a'` ?08:42
lazyPowersorry, docker-api, in your given example.08:43
lazyPowerhmm, that looks correct to me - can you get me the output of `juju run --service api-docker 'ifconfig -a'` ?08:43
sealsorry this the correct code http://paste.ubuntu.com/9952527/08:43
lazyPowerso, you've got a single docker host, and you've made the connections to ETCD and flannel - which should have setup the docker0 bridge. This is why i want to take a peek at ifconfig -a to see whats going on with the docker0 bridge adapter.08:44
sealok one sec will set it up quickly and ping you if you are still around08:45
sealdestroyed the last environment :)08:45
lazyPowerok, np seal08:59
=== lazyPower is now known as lp|Metrics
=== liam_ is now known as Guest51703
rbasaksinzui: src/bitbucket.org/kardianos/osext/LICENSE is wrong. It's been fixed upstream though.14:08
sinzui:/14:08
rbasaksinzui: can you arrange to pull the latest in please, assuming that doesn't break any dependants?14:08
sinzuiI will14:09
rbasaksinzui: it might be worth instituting a licence review policy before permitting changes to dependencies.tsv.14:09
rbasakThanks14:09
sinzuirbasak, I think it will be after the fact, engineers change deps all the time. I think we need a report of what change for review every week14:09
rbasaksinzui: OK14:12
rbasaksinzui: this isn't a blocker. Logically I think it's acceptable as it's fixed upstrema, and I've written a note accordingly.14:13
sinzuirbasak, I reported bug 1416425 and am handing it off to developers14:21
mupBug #1416425: src/bitbucket.org/kardianos/osext/LICENSE is wrong <licensing> <packaging> <juju-core:Triaged> <juju-core 1.21:Triaged> <juju-core 1.22:Triaged> <https://launchpad.net/bugs/1416425>14:21
rbasaksinzui: thanks. Next...14:25
rbasaksinzui: why has juju/cmd changed license?14:25
rbasaksinzui: I don't mind particularly, but I do have to update the copyright file to follow all these changes, and it's not optimal for me to discover these all in the diffs.14:26
rbasakIt's driving me up the wall a little right now.14:26
sinzuirbasak, I don't know about the change, sorry. I will ask14:27
rbasaksinzui: it's not so much that it changed, but more that it feels like these changes are almost slipping past me. We should sort out a process so that I can follow licensing issues and changes more easily.14:28
sinzuirbasak, Noted. I will bring this up as an issue in the release meeting in 2 hours. We will need a policy to catch and review licensing changes before we *consider* a release14:30
rbasakThanks.14:31
rbasaksinzui: github.com/juju/syslog has an incorrect LICENSE file.14:39
rbasakGoogle's third clause has been removed.14:40
sinzui:(14:40
rbasakNot fixed upstream. Can I leave this one with you? I think if it's fixed upstream it's OK to take it.14:41
rbasak(without updating it, for now)14:41
sinzuirbasak, I am confused https://github.com/juju/syslog/blob/master/LICENSE shows me a bsd 2-clause license. How does this relate to google?14:44
rbasaksinzui: right, but for example https://github.com/juju/syslog/blob/master/syslog.go refers to the Go LICENSE which hasn't been shipped.14:47
sinzuiah14:48
sinzuithank you rbasak14:48
rbasaksinzui: it seems that the author derived from Go, but just included some arbitrary LICENSE file instead of the Go LICENSE file.14:48
rbasakNo problem.14:48
rbasakI'll keep slogging through.14:48
rbasaksinzui: next question. https://github.com/juju/testing/issues/32 hasn't been addressed. Is this reported to the right place?14:49
sinzuirbasak, possibly not. I report bugs against https://bugs.launchpad.net/juju-core when I want core engineers to fix the issue. I don't think the team reads github issues unless pressed14:50
skaywe are sedding some juju status output to get the instance id, and I was wondering if there is a nicer way to do that? juju status <service> <field> doesn't exist but would it be nice?14:53
rbasakOK, I'll copy it over.14:53
rbasakCopied to https://bugs.launchpad.net/juju-core/+bug/1416430, thanks.14:54
mupBug #1416430: Some files refer to an include license file that is not included <licensing> <juju-core:New> <https://launchpad.net/bugs/1416430>14:54
rbasaksinzui: next issue. juju/utils introduced a bunch of files claiming AGPLv3, refering to a LICENSE file, when all other files are LGPLv3 and so is the LICENSE file.14:55
rbasakShould these be LGPLv3?14:55
sinzuiI don't know, but I agree that LGPLv3 is right.14:56
sinzuirbasak, I suspect someone moved code and didn't check the license when they moved it14:57
rbasakYeah that sounds likely.14:57
rbasakI'm going to stop now. I'll carry on later. Probably next week.14:58
* skay discovers --json and is much happier14:58
* skay means --format not --json14:58
sinzuirbasak, I will report a bug about the utils issue. For each licensing bug, I have target 1.23, 1.22, and 1.21, and we can see people are working on them https://bugs.launchpad.net/juju-core/+milestone/1.21.215:01
jamespagerick_h_, hey - is there a way to use juju-gui in a do what I tell you mode15:09
jamespageupdating bundles that use lxc containers etc... is a pita right now as I appear to have to use  MAAS environment todo the updates15:10
rbasaksinzui: thanks15:11
rick_h_jamespage: not following. You mean without the commit stage?15:14
jamespagerick_h_, I really just want a demo environment where I can tweak things15:14
jamespagerick_h_, but the demo online appears to ignore machine placements15:14
rick_h_jamespage: you mean have it work like the demo url?15:14
jamespagerick_h_, yup15:15
rick_h_jamespage: oh, hmmm, how are you defining machines? it should support what it exports.15:15
rick_h_jamespage: so to put it in the same mode there's a sandbox setting on the gui to set15:15
rick_h_jamespage: looking for exact config attr15:15
rick_h_jamespage: juju set juju-gui "sandbox=true"15:16
jamespagerick_h_, this bundle - https://jujucharms.com/u/openstack-charmers/openstack/15:16
rick_h_jamespage: so few things. One, that sandbox setting should get you into a 'demo mode' and the bundle.yaml you dump out from the gui should reimport with drag/drop.15:22
rick_h_jamespage: looking your bundle doesn't show in the old api so not sure what's up. looking into it15:22
aisraelIs there a safe way to compact juju's monodb database?15:24
rick_h_jamespage: loading up for flight but if you need anything hit up hatch or frankban and they'll help out.15:26
=== roadmr is now known as roadmr_afk
jamespagehatch, frankban: when I import/export that bundle through a gui in sandbox mode, I lose the machine placement - any ideas?15:57
hatchjamespage: sorry that's not yet implemented15:58
jamespagehatch, its not implemented in the sandbox mode?15:58
frankbanjamespage: the GUI does not support machine placement in bundles yet15:58
jamespagefrankban, really?15:58
hatchfrankban:  I thought that was only in sandbox mode15:59
jamespagefrankban, but I created this bundle on a MAAS deployment using juju-gui ?15:59
frankbanhatch: oh, so we have machine placement (as defined by the new bundle spec) in real env in the GUI?16:00
hatchhmm - I'm not actually confident on that now :)16:01
hatchlet me look at the source16:01
frankbanhatch: thank you16:02
hatchfrankban: looks like it just passes the bundle file through so as long as the deployer supports it...16:04
hatchjamespage: is it not working for you in a real env or just in sandbox mode?16:04
jamespagehatch, it worked ok on a MAAS environment (import/export)16:04
jamespagehatch, but that's a pita for doing a small change to a bundle16:05
hatchthat's a good point - you are able to modify the file manually though16:05
jamespagehatch, but not for sandbox - as soon as I import the bundle it looses its placement data16:05
jamespagehatch, I was able to modify the file manually16:05
hatchyeah sandbox is definitely not supported for those machines16:05
hatcher machine placement16:05
hazmathatch, gui doesn't export placement data?16:06
hatchhazmat: it doesn't support placement data on import in sandbox mode. I'm just tracing the export code now (it's been a bit since I've been in there)16:07
=== roadmr_afk is now known as roadmr
hatchhazmat: if I'm reading the code correctly it should be exporting machine placement data as well16:11
hatchjamespage: so you would like to import a bundle file into sandbox so that you can modify it without hacking on the yaml file directly?16:12
jamespagehatch, +1 yes please16:22
hatchjamespage: would you be able to create a bug to that effect?16:23
jamespagehatch, I can do that16:26
hatchjamespage: thanks!16:31
hazmathatch, its annotating x/y gui placement, but machine placement?16:32
hatchI don't understand the question16:33
hazmathatch, its not exporting unit to machine placement, just service x/y on canvas16:34
hatchhazmat: ok I'll have to look into that because according to the export code it should be exporting the machine placement details16:36
hazmathatch, not sure how, unless its storing placement as annotation, that info is loss and would have to be inferred. anyways, not seeing that on demo.jujucahrms.com16:37
rick_h_hazmat: jamespage we decided not to implement deployer logic in JS for importing with placement hoping we were going to get core support and skip that.16:37
=== kadams54 is now known as kadams54-away
hatchhazmat: https://github.com/juju/juju-gui/blob/develop/app/models/models.js#L232016:37
rick_h_hazmat: jamespage but as priorities go that's a decision from last sprint we should look at again as it's something we should give users16:38
jamespageexport is ok16:38
rick_h_jamespage: correct, and atm there's a bug in export hatch is looking at. I think we missed an update as we've upgraded to the new charmstore api and that should be a quick fix hopefully.16:39
hazmathatch, interesting, might be a bug, that looks like its trying to infer it, but its not triggering on demo site in sandbox16:39
hatchhazmat: ok I'll be sure to check that out - I'm now fixing an export bug which was just discovered16:42
=== kadams54-away is now known as kadams54
=== roadmr is now known as roadmr_afk
bloodiceI have different physical servers i want to use for specific packages.  Is there a way to link the MAAS name and setup to a specific machine in Juju?  This would allow me to allocate the charms to the appropriate servers.18:18
=== roadmr_afk is now known as roadmr
=== lp|Metrics is now known as lazyPower
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
bloodiceI have different physical servers i want to use for specific packages.  Is there a way to link the MAAS name and setup to a specific machine in Juju?  This would allow me to allocate the charms to the appropriate servers.21:38
stokachubloodice: --to option21:38
bloodiceThat lets me select the machine, but there doesnt seem to be a way for me tell juju when i create a machine which server to take from MAAS21:39
stokachubloodice: when you juju bootstrap?21:40
bloodicewell, when i bootstrapped, it just grabbed a server21:43
stokachubloodice: yep do juju bootstrap --to <maas-hostname>21:43
bloodicebut after the gui is up and running, there doesnt seem to be a way to say "i want this specific server in MAAS"21:44
stokachunot sure about the gui, but cli you use --to <hostname>21:44
bloodiceso after Juju is online, i can go into the console and create a machine with the --to command using the maas hostname?21:44
stokachubloodice: yep21:45
=== kadams54 is now known as kadams54-away
bloodicehrm21:46
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== zz_CyberJacob is now known as CyberJacob
bloodicei ran this command "juju deploy --to c7yra.maas mysql" and i get: invalid --to parameter "c7yra.maas"22:43
bloodicei tried "juju add-machine --to c7yra.maas" and got: error: flag provided but not defined: --to22:44
bloodiceack, ok, i got it to work, but i really dont like it...  i needed to use the tag feature, so "juju add-machine --constraints tags=c7yra.mass"22:53
bloodiceit just adds a machine with a number, but i have no way of seeing that 8 is server c7yra.mass in the gui.  Status does show the server name though.22:55
bloodicewelp, that doesnt work anyhow... status says:  ({"tags": ["No such tag(s): ''c7yra.maas''."]})'22:57
heartonescan any one help with JuJu installation I am getting not able to connect: Permission denied (publickey,password).23:08
sebas5384just passing to drop something I did the other night for Juju + Vagrant https://github.com/sebas5384/vju23:19

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