/srv/irclogs.ubuntu.com/2013/08/23/#juju.txt

kurt_Success! Finally!00:27
kurt_Now just need to figure out cinder/ceph integration and I'm golden!00:28
adam_gkurt_, did you get your horizon + keystone issue sorted? was just gonna respond on list00:28
kurt_yes00:28
kurt_thanks adam00:28
adam_gah00:28
kurt_I tore down everything and started at keystone - set it to precise-grizzly00:29
kurt_explicitly set the password too00:29
kurt_and now it works :D00:29
adam_gkurt_, ah. i was going to suggest just upgrading keystone from essex -> folsom -> grizzly00:29
adam_gkurt_, setting the openstack-origin on the running service will upgrade the services if the origin you're setting is > than current00:30
adam_gkurt_, also, you should be able to set the admin-password config option, and have it set it on a running keystone00:30
kurt_adam_g: can I change it there any time and keystone will work it's magic?00:31
adam_gkurt_, the password? yes, you should be able to00:32
kurt_that's awesome00:32
* kurt_ sighs00:32
kurt_now just cinder/ceph stuff is all I need to figure out00:32
adam_gkurt_, note ceph isn't a requirement00:33
adam_gkurt_, without ceph, cinder will just serve its local storage as instance volumes00:33
kurt_well, I set my cinder block device to "None"00:33
kurt_adam_g: will it still use local storage then?00:39
adam_gkurt_, no, you'd need to destroy it and redeploy it with block-device set to an available device on the system00:40
kurt_adam_g: can I do that without disrupting other parts of the deployment?00:40
kurt_just simply re-deploy cinder?00:41
adam_gkurt_, yeah, you'd need to re-add the correct relations to it00:41
kurt_Ok, but I don't have to tear anything else down and start over, right?00:43
kurt_and can you confirm - if I would have destroyed keystone, would I have had to have destroyed the other services?00:44
kurt_I think all I did was update the distro origin string and it worked after ripping everything else out beside mysql and rabbitmq00:45
adam_gkurt_, you should be good to destroy cinder, redeploy it and re-add it to your cloud.  it gets a bit hairy if you are already using cinder and have volumes attached to instances, but if its a new cloud it should be okay00:48
kurt_adam_g: thanks.  Are there any readmes for cinder set up or is google my uncle?00:49
adam_gkurt_, what do you mean by setup?00:50
adam_gkurt_, deployment using juju? or just general usage?00:50
kurt_prepping volumes, configuration, set up00:50
kurt_I'm assuming I need to set up the cinder node in MAAS00:52
kurt_how do I create persistent storage??00:52
kurt_ie. is it possible to recover volumes after a crash :D00:52
adam_gkurt_, right, so... if you're not using ceph, you'd need to ensure there is an avaiable block device on the cinder node(s) when you are deploying it.  if you are deploying with ceph, ceph essentially gives you that block device (and its HA and redundant)00:54
adam_gactually thats wrong :)00:55
adam_gwithout ceph: cinder uses local storage to create volumes and exports it from cinder nodes to instances via iSCSI00:55
adam_gwith ceph: cinder creates ceph block devices in the ceph cluster (instead of locally) and ceph exports them to instances via RBD (between ceph  and nova-compute, cinder is just the mediator)00:56
kurt_adam_g: can I add more cinder nodes which add additional storage to the system?00:59
adam_gkurt_, yeah00:59
adam_gkurt_, however there are no HA/redundancy guarantees.  if you lose a cinder node that is exporting local storage, you lose those volumes as well01:00
kurt_right01:00
kurt_that's what ceph brings to the table01:00
adam_gyup01:01
kurt_can a combination of ceph and cinder nodes be used?01:01
kurt_so can i start by playing around with cinder, then add ceph in after the fact?01:01
kurt_ie. without losing my cinder volumes?01:02
adam_gkurt_, you'd be using cinder in both cases, just different backends. cinder is growing support in Havana for multi-backends, so you could have some cinder exporting local storage, and others exporting ceph01:02
kurt_interesting, ok01:02
adam_gkurt_, one idea being that, as a cloud vendor, you'd charge more for the volumes that are replicated and HA :)01:02
kurt_sure01:03
kurt_then you'll need to start thinking about COS01:03
kurt_:D01:03
adam_gya.01:03
adam_gbut atm im thinking about dinner. and need to run. :)01:03
adam_gcya01:03
kurt_LOL01:03
sarnold:)01:03
kurt_thanks adam01:03
adam_gnp01:03
=== thumper-afk is now known as thumper
=== freeflying is now known as freeflying_away
=== defunctzombie is now known as defunctzombie_zz
=== tasdomas_afk is now known as tasdomas
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== stub` is now known as stub
=== freeflying_away is now known as freeflying
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
mxmln_hi folks!09:39
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
jamespagehazmat, thanks for the updates to the 0.7 branch btw - did the trick on saucy11:07
jamespagejust uploaded for re-introduction alongside juju-core11:08
jamespagejcastro, ^^ fyi11:08
hazmatjamespage, awesome11:27
=== BradCrittenden is now known as bac
=== bac is now known as InigoMontoya
=== InigoMontoya is now known as bac
jcastrojamespage: link?13:56
jcastrojamespage: oh you mean you reuploaded .713:56
jamespagejcastro, yes13:56
* jcastro nods13:56
=== nate-finch is now known as natefinch
jamespageadam_g, https://code.launchpad.net/~james-page/charm-helpers/fixup_upstream_version/+merge/18184014:14
jamespageand adam_g: https://code.launchpad.net/~james-page/charm-helpers/ceph-redux/+merge/17994814:14
X-warrior`If I would like to have a wordpress and all its infrastructure on the same machine the mysql would be a subordinate?14:26
rick_hX-warrior`: check out jcastro's post http://www.jorgecastro.org/2013/07/31/deploying-wordpress-to-the-cloud-with-juju/14:39
X-warrior`rick_h: will look it, ty14:40
=== freeflying is now known as freeflying_away
=== natefinch is now known as natefinch-brb-af
=== natefinch-brb-af is now known as natefinch
jcastromarcoceppi: ping!15:38
=== tasdomas is now known as tasdomas_afk
jcastrowe're doing a charm school in 20 minutes on how to use the local/lxc provider!15:39
rick_hjcastro: woot15:40
jcastrohmm, I getting the install hook failing with both juju-gui and mysql15:45
jcastroon the local provider15:45
jcastroactually the charm school is on in 60 minutes15:59
jcastrosorry for the mixup15:59
mthaddonhow do I find the default port for the juju api endpoint?16:11
kurt_Do you guys recommend using JeOS for ubuntu images within Openstack?16:20
sidneimthaddon: i think kapil landed a command to expose that16:24
mthaddonsidnei: he has a branch in progress for it, but it hasn't landed yet16:25
sidneiah, i see16:25
mthaddonhttps://bugs.launchpad.net/juju-core/+bug/118138216:25
_mup_Bug #1181382: command for returning the api endpoint <bitesize> <cmdline> <juju-core:In Progress by hazmat> <https://launchpad.net/bugs/1181382>16:25
mthaddonbut in any case, I think I've figured it out16:25
sidneimthaddon: it says merged?16:25
mthaddonoh, so it does - not sure why the bug is in progress still then16:26
smoserhey...16:35
smoseri'm using juju on precise16:35
smoserand before you tell me "dont do that", please listen further16:35
smoseri'm trying to test juju and precise for 12.04.3 relase (with plars)16:35
smoseragainst maas, i get16:36
smoserhttp://paste.ubuntu.com/6018407/16:36
=== TheRealMue is now known as TheMue
smoserrvba, ?16:36
smoserheres a full explanation.16:54
smoserhttp://paste.ubuntu.com/6018470/16:54
smoserjamespage, ^ any ideas? adam_g ?16:54
jamespagesmoser, yes - you need :80 in your url16:54
jamespagesmoser, helping plars in #ubuntu-release now16:54
smoserthanks16:55
smoserjamespage, do you happen to know about the other environments default release error ?16:57
smosererror: Environments configuration error: /home/ubuntu/.juju/environments.yaml: environments.quantal.default-series: expected 'precise', got 'quantal'16:57
smosercause i'll just fix virtual-maas for that too.16:57
jamespagesmoser, that's cause juju 0.5 don't know nothing about raring16:57
jamespagethis does not get reported because no-one actually uses the juju in precise anymore16:58
smoserwell, yes.16:58
jcastrook we're going to have a charm school on using the LXC/Local provider17:00
jcastrostarting nowish on http://ubuntuonair.com!17:00
arosaleslooking forward to it the local provider charm school jcastro and marcoceppi17:00
rick_hno love at the url?17:07
jcastroshould be working17:09
jcastroinvestigating17:09
marcoceppippa:juju/devel or ppa:juju/stable17:09
rick_his it working for others?17:10
m_3more beer for thumper17:12
=== defunctzombie_zz is now known as defunctzombie
m_3can I tell you how excited I am about this provider?17:15
m_3marcoceppi: ec2-54-245-207-248.us-west-2.compute.amazonaws.com17:17
X-warrior`I'm creating a charm to deploy some git site... What is the best way to git clone it? Create an ssh private key that will be on server and add this private key to git access?17:18
m_3X-warrior`: pass that "deployment-user" key into the charm as config17:18
jcastrohttps://juju.ubuntu.com/docs/charms-config.html <-- docs for that17:19
X-warrior`jcastro: m_3 looking it, ty17:20
m_3jinx17:26
rick_hnot seeing the juju local package in https://launchpad.net/~juju/+archive/devel17:26
jcastrohttp://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage17:27
jcastrosudo apt-get install juju-core lxc mongodb-server17:27
jcastroI don't think juju-local has landed17:28
rick_hah ok, following along it sounded like the ppa would help me if I wasn't on saucy17:28
sidneiit landed on saucy but not on the ppa, jcastro?17:28
rick_hsidnei: right17:29
jcastroit's not in the stable PPA17:29
rick_hjcastro: or the devel17:29
jcastrojamespage: do you know if we're putting "juju-local" in the PPA?17:29
kurt_Is there a good post-deployment openstack-dashboard (horizon) set up/configuration guide available?17:35
rick_hjcastro: is http://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage missing an expose command?17:39
jcastroyou don't need to expose locally17:39
rick_hah, gotcha17:39
=== rogpeppe3 is now known as rogpeppe
m_3jcastro: is there a g+ setting that turns off the "mute while I type" thing?17:49
rick_hwooo this is sweet! juju-gui deployed in lxc deploying charmworld now.17:50
m_3rick_h: nice17:50
m_3jcastro: we should look at ingress rules in a vagrant file17:54
weblifeI'm about to go Saucy.  <--Sounds funny17:58
m_3marcoceppi: awesome job man!17:59
jcastromarcoceppi: sorry I missed that part but where do I tell lxc/juju to use the squid-d-proxy?18:03
jcastroI know the entire setup and have it, I just need to know where to point to18:03
marcoceppijcastro: you just put in your /etc/apt/apt.conf.d/ with the following18:04
jcastrooh and that will migrate down to the containers?18:04
marcoceppihttp://paste.ubuntu.com/6018714/18:04
marcoceppijcastro: yeah, Juju looks for Acquire::HTTP::Proxy line and copies it via cloud-init on deploy18:04
jcastrodon't forget to document this!18:06
marcoceppijcastro: I AM READY FOR DOCUMENTING18:06
jamespagejcastro, it should already be in the stable PPA18:10
jamespagejcastro, we need to sync up on packaging in devel18:10
m_3jcastro: crap... we forgot to talk about how well the containers survive reboot now18:22
jcastrojamespage: doesn't appear to be in either PPA, stable or devel18:22
jamespagejcastro, its in stable18:23
jamespagehttps://launchpad.net/~juju/+archive/stable/+packages18:23
jamespage    juju-local dependency package for the Juju local provider18:23
jcastrojamespage: oh I see, I didn't expand the expander18:27
jcastrojamespage: my bad!18:27
jcastrojamespage: or jam: should I go ahead and update the local instructions?18:28
jcastroto use juju-local?18:28
kentbjuju-core 1.13.2-4~1703~precise1  If I try and run 'juju bootstrap' against maas 1.2+bzr1373+dfsg-0ubuntu1~12.04.2 I end up with "ERROR juju supercommand.go:282 command failed: gomaasapi: got error back from server: 502 cannotconnect..."18:45
kentbwhat do I need to check?18:46
weblifeWoohoo.  Official acceptance for MS degree!!! Feels good.19:20
weblifePrerequisite waived!!!19:22
m_3weblife: congrats!!19:28
m_3MS in what?19:28
weblifeSoftware Engineering19:28
weblifethank you also19:29
m_3cool19:29
=== tasdomas_afk is now known as tasdomas
kurt_Can anyone tell me if https://bugs.launchpad.net/ubuntu/+source/quantum/+bug/1211764 affects the overall stability of the quantum-gateway in grizzly and makes it unusable?20:00
_mup_Bug #1211764: Grizzly's python-quantumclient wrong dependencies <quantum (Ubuntu):Confirmed> <https://launchpad.net/bugs/1211764>20:00
kurt_Should I not be able to run "quantum -v net-list" on the quantum node?20:02
kurt_http://pastebin.ubuntu.com/6019060/20:02
* kurt_ thinks everyone has gone home for the weekend already20:03
* kurt_ thinks he should too20:03
=== tasdomas is now known as tasdomas_afk
weblifeI am just noticing that if I deploy a instance from local 'juju deploy --repository charms local:my-site my1'  that trying to launch a second 'juju deploy --repository charms local:my-site my2' after I changed the code launches the same code from the 'my1' instance.  Is this a bug or should I alter my second command?21:05
henningeweblife: AFAIK you will need to bootstrap new if you change the code. Maybe there is a short cut but I am not sure.21:28
henningeweblife: did you bootstrap with --upload-tools?21:29
weblifehenninge: I could always change the name in the metadata file as a shortcut. Haven't tried upload-tools yet I will look into it. Thank you for the advice.21:33
henningeweblife: oh, there is also the revision thing.21:35
henningeweblife: you need to increase the revision number of the charm or else it will use the cached version, I believe.21:35
weblifehenninge: That sounds better and less of a hassle.21:36
marcoceppiweblife: You will need to use juju deploy -u22:20
marcoceppi-u will upgrade from the repo if it's local, otherwise it'll use the cached version22:21
marcoceppiweblife: upload-tools wont do what you need, that's just for versions of juju itself22:21
marcoceppiand just changing the revision file for a deploy I don't think will automatically trigger it either22:21
weblifemarcoceppi:  Okay, will try next time around.  Thank you!22:22
marcoceppiweblife: `juju help deploy` for additional details22:22
marcoceppiYou can also opt to use upgrade-charm to upgrade the service running in place, depends on your workflow22:23
kurt_marcoceppi:  is there some flush that needs to be done when you change IPs in the nova-compute, quantum gateway? ie. floating IPs?22:24
marcoceppikurt_: for juju status?22:24
kurt_in the dashboard22:24
kurt_the floating IPs for VMs22:24
marcoceppikurt_: not that I know of. The floating ips should just work22:25
kurt_I completely changed my topology and when I try to allocate IP, old ones still appear22:25
kurt_maybe delete the project?22:25
marcoceppikurt_: possibly, still don't have that much openstack experience. Hoping to deploy it against maas soon and really put it through the works22:27
kurt_yes, I've been successful getting it all the way up, but I'm seeing oddities in the interface that make me think I don't have everything right under the covers22:27
kurt_in the dashboard rather - doing all the steps necessary to get a VM up, but things aren't working22:28
weblifem_3: hold off on that review of node-app.  I just remembered that Chris Leas PPA installs everything to /etc/bin but the source installs to /etc/local/bin so it will have a problem when setting up the service configuration.  Will fix this later this evening.  bbl22:58
weblifeI know what I need to do to correct it. Though22:58

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