/srv/irclogs.ubuntu.com/2013/09/26/#juju.txt

=== gary_poster is now known as gary_poster|away
=== freeflying_away is now known as freeflying
freeflyingI released a node from maas, which has been deployed with service by juju, is it possible to  destroy the service now00:35
davecheneyfreeflying: cn you say what you did another way00:42
davecheneyi am not a maas expert00:42
freeflyingdavecheney, I have a environment running, deployed ceph charms, it fails due to lack of a second hd, then some one reinstalled aubuntu on one of the machine, I tried to destroy -service,00:44
freeflyingdavecheney, I can't achieve it, use destroy-unit -> resolved -> destroy-machine,  all turned to fail too, then I release the node from maas, but juju status still hows its there00:45
davecheneyfreeflying: yes, sorry this is a known issue00:45
freeflyingdavecheney, any workaround so far00:46
davecheneyhttps://bugs.launchpad.net/juju-core/+bug/120653200:47
_mup_Bug #1206532: --terminate option for destroy-unit <juju-core:Triaged> <https://launchpad.net/bugs/1206532>00:47
davecheneyfreeflying: apart from ignoring the entry in status00:47
davecheneyno00:47
davecheneyhttps://bugs.launchpad.net/juju-core/+bug/108928900:48
_mup_Bug #1089289: remove-unit --force <doc> <juju-core:Triaged> <https://launchpad.net/bugs/1089289>00:48
davecheneyand several others00:48
freeflyingdavecheney, can we delete the status from mongodb00:48
davecheneyfreeflying: possibly, but utterly not recommended00:49
=== defunctzombie is now known as defunctzombie_zz
=== scuttlemonkey_ is now known as scuttlemonkey
=== freeflying is now known as freeflying_away
mrzhaving problems getting juju bootstrap to work on a fresh ubuntu instance04:03
mrznot sure if i have my config set correctly.04:03
mrzand for whatever reasons, juju -e tosses an error too04:04
mrzerror: error parsing environment "hpcloud": no public ssh keys found04:08
mrzwhat am I missing?04:09
mrzauthorized-keys-path is missing from the default config.04:14
mrzappears to work (well returns nothing) after I added that04:14
=== freeflying_away is now known as freeflying
=== defunctzombie_zz is now known as defunctzombie
=== thumper is now known as thumper-afk
=== CyberJacob|Away is now known as CyberJacob
AskUbuntujuju credential error masage | http://askubuntu.com/q/35018706:38
=== freeflying is now known as freeflying_away
=== defunctzombie is now known as defunctzombie_zz
AskUbuntuDoes juju helps to build own private cloud | http://askubuntu.com/q/35022609:26
=== thumper-afk is now known as thumper
=== CyberJacob is now known as CyberJacob|Away
=== gary_poster|away is now known as gary_poster
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
AskUbuntuProblem with upload images openstack | http://askubuntu.com/q/35024312:58
arosalesmrz, did you get your hp config working?13:03
mgzarosales: thought you'd tyoped me then...13:05
arosalesmgz, ha I also initially thought you were also asking an hp question, and I thought that couldn't be right :-)13:06
jcsackettorangesquad: can i get a review of https://code.launchpad.net/~jcsackett/charmworld/askubuntu-job/+merge/187758 and https://code.launchpad.net/~jcsackett/charmworld/askubuntu-in-review-queue/+merge/187771 please? neither are very long.14:20
sinzuijcsackett, I am in meetings for the next 3 hours. I can look after then14:21
epafrashg_hi all14:27
jcastrohey utlemming14:27
epafrashg_where are you come from?14:28
_mup_Bug #1229275 was filed: juju destroy-environment also destroys nodes that are not controlled by juju <juju:New> <juju-core:Triaged> <maas (Ubuntu):Triaged> <https://launchpad.net/bugs/1229275>14:37
marcoceppihey epafrashg_ anything we can help you with?14:52
jcastrojamespage: sinzui: arosales: hah! 12.04.3 fresh install ... did the updates, installed the PPA, apt-get install juju-core juju-local ...15:48
jcastroand ... everything is working15:48
sinzui\o/15:49
mrzarosales: more or less. i ran into a service group limitiation15:53
arosalesmrz, ah yes that has bitten me too15:53
mrzthe osx brew keeps bailing on me so i gave up and spun up an ubuntu instance15:53
arosalesan HP ticket should resolve that15:53
mrzi have to fill out a form to get it increased15:54
arosalesmrz, funn you mention that I was just talking to marcoceppi and sinzui about the juju osx client15:54
arosalesmrz I have asked HP support to just give a general bump the the sec group limit15:54
mrz10's small15:54
arosalesmrz, agreed. They really didn't give me an answer. They are evaluating it for bumps across the board15:55
mrzi haven't played with it much but how does scaling work? is thats some hook wihtin the charm that shoves things behind ha-proxy or something?15:55
mrzi have access to the East coast beta but that's no better15:55
arosalesadd-unit spins up another instance and mongo keeps track of it in relation to the service15:56
arosaleshttps://juju.ubuntu.com/docs/charms-scaling.html15:56
arosalesbut it doesn't go into the "how"15:56
arosalesmrz https://juju.ubuntu.com/resources/overview/ goes into the "how" Under "Scaling services horizontally"15:57
mrzthe example walked through adding 100 instances of mysql but it's really only magic if those are read-only slaves behind a load balancer15:57
arosaleshazmat, marcoceppi what is the command to disable sec groups?15:58
mrzoh cool, i'll read that today15:58
arosalesmrz, I think the mysql charm itself can set up a cluster with slaves15:58
arosalesand you can add-unit behind that15:58
mrzbut it read like it was just master/slave and not some sort of load balancing between slaves15:59
hazmatarosales, disable sec groups?16:00
hazmatarosales, oh.. firewall global mode16:00
arosaleshazmat, thats it16:00
arosaleshazmat, ya to get around hp sec group limits16:00
hazmatits an undocumented config... evilnickveitch it would be good to capture that one16:00
gumangoatlast, Juju for Azure :D16:00
mrzhazmat: yes, for cases where all my stuff is behind a load balancer or just internal.16:00
marcoceppihazmat: firewall-mode: global16:00
arosalesmrz, put that into your HP stanza in environments.yaml _if_ and only if you want to side step security16:01
arosalesie doing some dev16:01
hazmatarosales, we didn't need to use it for the training.. hp up'd our limits, and we split the class across two zones. i had a nightly setup to clear out the unused groups and env resets.16:01
arosaleshazmat, thanks16:01
evilnickveitcharosales, I spoke to the HP people about that, oh gosh, about 3 months ago, but they never got back to me either16:02
arosalesevilnickveitch, ya . .16:02
* arosales sighs16:02
evilnickveitchhazmat, thanks16:03
arosaleshazmat, good to hear for the training, but a nice option to have in your back pocket for development education purposes16:03
hazmatarosales, absolutely16:03
* arosales strongly notes for education and development purposes :-)16:07
jcastroarosales: https://bugs.launchpad.net/juju-core/+bug/1229903/comments/316:07
_mup_Bug #1229903: Default to local provider <juju-core:Triaged> <https://launchpad.net/bugs/1229903>16:07
mrz"firewall-mode: global" does what exactly?16:08
mrzdoes it use a default group?16:08
mrz(it's sort of a pita to add security groups after instance creation right?)16:08
arosalesjcastro, for completeness could you take a 12.04.0 and install saucy lxc on it and see how local provider works?16:08
jcastroarosales: but I'd need the kernel too?16:09
arosalesmrz: I think it disables the use a per service sec group16:09
jcastroarosales: or do you mean, install .0 and then do what I recommend in the bug to confirm?16:09
mrzarosales: i like that. wonder what it uses then.16:09
arosalesjcastro, the thought is with and updated lxc you wouldn't need an updated kernel16:10
jcastrohuh16:10
jcastrook16:10
arosalesjcastro, thanks16:10
arosalesmrz I haven't used it personally, but I am _guessing_ it reuses16:11
arosalesmarcoceppi, or hazmat may have had more actual experience.16:11
mrzarosales: suppose i should just try it16:11
mrzi don't think i've had luck using the nova client to adjust groups post instance creation16:12
hazmatmrz, it uses a single group and adds per machine entries to it16:12
arosaleshp support does get back pretty fast for these types of requests16:12
jcastroarosales: we'd still want people on the newer kernel anyway though right?16:12
arosalesbut if you wanted to try for development purposes may be worth a shot16:12
jcastroI mean, if you're going to use LXC we want them on the newest kernel we can support right?16:12
hazmatmrz default juju would use a single group per machine16:12
mrzhazmat: oh.16:12
arosalesjcastro, not necessarily16:12
hazmatmrz, part of this is throw back to ec2 where security group to machine is static at machine creation outside of vpc16:13
arosales12.04.0 is supported and gets updates16:13
hazmatopenstack is a bit more flexible.. and can do runtime mapping of groups to machines16:13
arosalesjcastro, for a good user story it would be nice to not have to reboot16:13
* jcastro nods16:13
arosalesbut the latest kernel isn't that bad, but its an unknown what a user has tied to a kernel. I think testing and updated lxc on precise may just give us some more information to recommend.16:14
* jcastro nods - I should have results for you in about ~3016:15
mrz"Scaling services horizontally16:15
mrzoops16:15
arosalesjcastro, thanks16:15
mrz"Scaling services horizontally" - doesn't really tie into the next step of getting both "web servers" behind a load balancer.16:15
mrzi suppose that'd be another relationship to build?16:15
=== defunctzombie_zz is now known as defunctzombie
jcastroyes16:15
jcastroyou do ...16:15
jcastrojuju deploy haproxy16:16
jcastrothen `juju add-relation haproxy whateveryourservice`16:16
jcastrothen you `juju unexpose whateveryourservice`16:16
jcastroand then `juju expose haproxy`16:16
mrzright, that totally makes sense then.16:16
jcastrothen `juju status haproxy` to get the public IP, then update DNS16:16
jcastrohowever ...16:16
jcastrosome charms have loadbalancing in them16:16
jcastroso like if you `juju add-unit wordpress` each head registers itself with the nginx load balancer on all the other heads16:17
jcastroso you don't need an haproxy there16:17
jcastroideally a charm would have options for either way of doing it16:18
=== defunctzombie is now known as defunctzombie_zz
jcastromrz: hmm, maybe I should add the haproxy example to that page?16:20
mrzah. i wasn't aware the wordpress charm worked like that. so in the case of wordpress, how do I figure out which IP to add to dns?16:20
jcastroany one of them16:20
mrzbut then i'd need to make sure i don't destroy that instance right?16:21
jcastrothe nodes just figure it out, it's kind of badass.16:21
jcastroyeah16:21
mrzi wonder how youi'd safe guard againts humans doing Bad Things there.16:21
mrzjcastro: and yeah, the ha-proxy example would be good.16:22
mrzyou know i should hack up wordpress to use HP's cloud storage vs. nfs.16:22
mrzscares me to think of running nfs in the cloud like that16:23
jcastrohalf off pricing!16:23
mrzit's what I liked about azure (minus the pricing part). the WP Azure plugin rocked it.16:24
mrzi have no idea where themes ended up but largely i didn't need to care.16:24
jcastromarcoceppi: hey, does the mediawiki charm have the same load balancing set up as wordpress?16:29
marcoceppijcastro: nope16:29
jcastrofrom looking at it I don't think it does16:29
jcastrohah, so the docs are totally incorrect16:29
evilnickveitchjcastro, erm, well, not totally. s/mediawiki/wordpress would fix them.16:32
evilnickveitchthough it would be nice to add some hapraxy eaxample instead16:32
jcastroI am doing both now16:34
jcastroexpect an MP in a few16:34
=== defunctzombie_zz is now known as defunctzombie
jcastroevilnickveitch: https://code.launchpad.net/~jorge/juju-core/scaling-fixes/+merge/18784716:43
evilnickveitchcool. i just need to make a few tweaks16:44
=== defunctzombie is now known as defunctzombie_zz
jcastromrz: thanks for that feedback, that was really useful!16:45
mrznp.16:45
jcastromarcoceppi: evilnickveitch: I suspect the original author mixed up wordpress and mediawiki charms16:48
jcastrowhich is like the thousanth time that's happened16:48
evilnickveitchjcastro, possibly, well done for spotting it though, that page has been through umpty-ump revisions and nobody noticed before16:49
evilnickveitchI guess because it doesn't generate an error, just doesn't work as intended16:51
evilnickveitchjcastro, merged17:09
arosalesmarcoceppi, sinzui: got brew to install juju17:17
arosaleshttp://pastebin.ubuntu.com/6159550/17:17
arosalesmarcoceppi, sinzui: I had to have xcode on 10.8 installed, and accept the license17:18
arosalesin addition to the command line tools the brew wanted me to install17:18
jcastroarosales: ok so testing with just "lxc" isn't working out17:22
jcastrothe thing is to bring it back it has deps on other things in raring17:22
jcastroso it wants to pull in a new libc6, etc17:22
arosalesjcastro, I was worried about the deps :-/17:28
arosalesjcastro, is that dep string pretty long?17:28
jcastro23 deps17:29
arosalesmarcoceppi, sinzui: I am not sure if that means for https://github.com/mxcl/homebrew/pull/22772 and 1.14.1 if xcode is a dep. I couldn't get it working with out xcode.  I'll post a comment17:29
arosalesjcastro, ouch17:29
jcastroincluding some libapparmor stuff and libnih stuff that looks scary17:29
arosaleshwe may be the way then17:29
arosalesjcastro, thanks for investigating17:29
arosalesjcastro, can you also add that comment to the bug?17:29
jcastrobut the new libc6 would mean they'd have to reboot anyway, so this is actually worse than the HWE experience17:30
jcastroyeah17:30
kurt_jamespage: will the raring version of python-quantumclient work on precise?17:37
kurt_jcastro: I have openstack/juju/MAAS working fully on VMWare Fusion and Workstation now.17:39
kurt_next step is building redundancy in17:39
=== defunctzombie_zz is now known as defunctzombie
=== CyberJacob|Away is now known as CyberJacob
=== scuttlemonkey_ is now known as scuttlemonkey
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
sinzuibenji, gary_poster gmail + juju-gui list == war. They won't let me reply19:29
sinzuibenji, gary_poster: http://pastebin.ubuntu.com/6160045/19:29
gary_posterthank you very much Curtis!  I'll paste that into the conversation so others can read19:30
sinzuiI am still getting re-subscribed under an address that the two systems accept.19:31
gary_postersinzui, meanwhile I told the mailing list to accept that other email forevermore.19:32
sinzuiThank you!19:32
AskUbuntuSwitching Juju lxc bridge | http://askubuntu.com/q/35050320:22
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== CyberJacob is now known as CyberJacob|Away
=== sidnei` is now known as sidnei
=== defunctzombie_zz is now known as defunctzombie
thumperjcastro: ping22:21
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie

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