/srv/irclogs.ubuntu.com/2013/11/28/#juju.txt

Luca__Hi there. Does anybody knows if charms are already available for saucy? I cant see any of them00:44
zradmindavecheney: are you available at the moment? I created a stand alone mysql instance and tied the quantum-gateway charm to that... still the same behavior for me00:53
davecheneyzradmin: oh damn00:54
davecheneyzradmin: i;m here to help00:54
zradmindavecheney: thanks! I'm using MAAS to deploy on and my test maas controller has been around since 12.04.2/juju 1.12 - through updates etc i have upgraded the controller and it is now on 12.04.3/juju 1.16.3 - i have destroyed the environment and the charms should be pulling directly from the charm store for each deployment. could the old maas controller possibly be an issue?00:58
davecheneyzradmin: not really sure00:58
davecheneynot a maas expert00:59
davecheneybut i'd recommend using the latest possible maas version00:59
davecheneyprobably from the cloud archive00:59
zradminyeah its on there00:59
zradminim just wondering if somehow im getting an older version of the charm even though its pulling directly from the store00:59
davecheneyzradmin: no, that is not possible01:00
davecheneythat is01:00
davecheneyit is not possible if you destroyed the environment and reboostrapped01:01
davecheneyas the cache is inside the environemnt01:01
zradminyeah its been rebootstrapped several times01:01
zradminis there a way to check the charm version on node 0?01:01
davecheneyzradmin: no01:03
davecheneythere is no charm deployed on macine 001:03
davecheneyjuju status will report the version of the charm downloaded and deployed from the store01:03
zradminok so node0 doesnt store a cached copy of the charm then01:03
Luca__davecheney: Do you know if there are chams available for saucy? I cant find any in the repository01:04
davecheneyLuca__: most of the charms are for the LTS relases01:06
davecheneyit's unlikely that we'll have a lot of saucy charms01:06
davecheneyLuca__: the series of the charm defines the series of the machine it is deployed on01:06
davecheneyso, while you migth be running saucy on your desktop01:06
davecheneyyou want to be deploying precise machines to run your services01:06
Luca__davecheney: Actually I did not find any01:06
davecheneythat is why most of the charms are for precise01:06
sarnoldLuca__: I think only the precise charms are promulgated to the charmstore; I know I've seen non-precise charms but there's not many of them, and I don't know how to search them these days..01:07
Luca__davecheney: my intention was trying deploying Openstack with 13.10 using charms. I am now ending up staring again with 12.04.0301:07
davecheneyLuca__: canonical only supports deploying openstack on our LTS releases01:07
zradmindavecheney: I found this on node0 in /var/lib/juju/charmcache/cs_3a_precise_2f_mysql-29.charm  29 was the latest revision right?01:08
sarnolddavecheney: sadly you'd never know that from e.g. http://www.ubuntu.com/server/01:08
Luca__davecheney: Thanks. Will try from there01:08
sarnold"13.10! charms! openstack!" hehe01:09
Luca__sarnold: Agree, from the web page impression is quite different01:09
zradminsarnold: the website definetly needs an update... takes at least a month just to figure out where to begin :)01:09
Luca__sarnold: Right, that is why I started with 13.1001:09
sarnoldLuca__: plus you figure starting with 13.10 would giv eyou a good jump on 14.04 LTS, right? :) you wouldn't be the first to hope so...01:09
Luca__zradmin: same here, have been working on this for the last 15 days to figure out how to start01:09
zradminLuca__: this is the best publicly available document i have found so far https://wiki.ubuntu.com/ServerTeam/OpenStackHA01:10
Luca__davecheney: I have pinged jamespage trying to get some information about the status of openstack bundles, however he does not seem available01:11
zradminLuca__: but use the latest version of juju... not .7 that the guide states01:11
sarnoldLuca__: if he's from .us, he might already be enjoying thanksgiving holidays01:11
Luca__zradmin: Yes thanks I am following that, though requirements are unrealistic.... 28 servers is really something useless and I dont have a clear idea how to install different services on same nodes01:12
davecheneyzradmin: looking at the charm store, mysql-29 is the latest01:12
Luca__zradmin: I am now with 12.04.03 I believe I am using the latest juju, though need to check01:13
zradminLuca__: juju deploy $SERVICE --to $MACHINE#01:13
davecheneyLuca__: yeah, opensack isn't for the faint of heart01:13
davecheneyand juju won't giv eyou a lot of help there01:13
Luca__zradmin: so far I have been trying adding havana repository however I am getting a GPG error: http://ubuntu-cloud.archive.canonical.com precise-updates/havana Release: The following signatures couldn't be verified because the public key is not available:01:13
davecheneyas the default policy is one service unit per machine01:14
sarnoldoh man, this looks useful :)  https://help.ubuntu.com/community/UbuntuCloudInfrastructure01:14
sarnoldwonder how I hadn't seen this one before01:14
davecheneyLuca__: i'm not quite sure how you got onto the 13.10 track01:14
davecheneycharms always dictate the series of the machine they are deployed on01:14
davecheneywe only have openstack charms for precise01:14
davecheneyso the machines deployed will be precise machines01:14
Luca__davecheney: you are right, it is not the easiest stuff to deploy01:14
zradmindavecheney: the later jujus support multi service deployment using lxc containers right?01:15
Luca__sarnold: That link is unfortunately quite outdated... Not even quantum in the deployment01:15
sarnoldLuca__: oh. drat.01:16
Luca__sarnold: I would not advise you following that unless you want to be really behind01:16
davecheneyzradmin: juju 1.16.x (and 1.14 i think) supports lxc containers01:17
davecheneybut I would be very surprised if our openstack charms accept being deployed inside an lxc container01:17
davecheneyas usuall, networking is the issue with containers01:17
davecheneyi think maas + lxc + openstack is possible, but not tested01:17
zradmindavecheney: nah i havent used it for those but i do use it for things like nagios/juju-gui01:18
Luca__davecheney: I started with 13.10 then followed several docs, and looked for openstack charms for saucy, which were obviously  not  available. Ending downloading those for precise, which did not work in 13.10 and then now startign again with 12.04.03... This has been the path in the last 15 days01:18
zradminfor the openstack api services im running them in their own vms in proxmox01:19
zradmineth0 is on one set of switches, while eth1 is on the dmz side for all of my machines (physical and virtual)01:20
Luca__zradmin: were you able to deploy openstack with ubuntu?01:26
zradminLuca__: grizzly was the closest i came to having it all up and running, but now i have an issue with neutron not coming up properly01:27
davecheneyLuca__: i'm sorry you got so sidetracked01:27
davecheneyi'm not sure what you mean by download01:27
davecheneyjuju deploy mysql01:28
davecheneywill deploy mysql on the current LTS01:28
davecheneywe try not to make it any more complicated than that01:28
zradmindavecheney: have most of the deployments you've seen been setup as HA? or are people just setting it up as single nodes?01:28
davecheneyzradmin: always ha01:29
zradminthats what i thought01:29
davecheneyzradmin: nobody wants an unreliable hypervisor01:29
zradminis the guid similar to the on posted on the wiki or is there any updated documentation/configs we can try to follow01:29
zradminlol for sure :)01:30
davecheneyguid ?01:31
davecheneyguide01:31
Luca__zradmin: did you deploy with charms?01:31
zradminyeah guide sorry for my typo01:31
zradminLuca__: yes! it makes it much easier than configuring by hand when paired with MAAS. I can deploy a test environment across 28 servers in 2 hours easily01:33
sarnoldtwo hours? zounds :)01:33
Luca__davecheney: Basically I created an environment.yaml file with default-series: precise instead and not saucy, even though I was on 13.10. I as well downloaded locally charms but still for precise. This is what I meant by downloading them01:34
zradminsarnold: and then spend the next two weeks trying to figure out why neutron isnt working :(01:34
Luca__zradmin; As far as I know jamespage should be working on HA deployments and bundles01:34
Luca__zradmin: For production environment HA is mandatory... otherwise useless01:35
davecheneyLuca__: it's even easier01:35
davecheneyremove the default-series config optoin01:36
davecheneyyou don't need it01:36
sarnoldzradmin: oh man, that's annoying. :/ I know nearly nothing of the whole environment, and it seems unlikely I'll ever own enough machines to really give it all a try...01:36
Luca__davecheney: got it. In any case now I am with 12.04.03 will start from there. So far I could create a bootstrap node, now will start with the HA deployment. Unfortunately I am having some issue setting the Ubuntu Cloud Repository. It is complaining about public key not available01:37
davecheneyLuca__: i'm sorry, i don't quite understand01:38
davecheneyyou don't nede to anything01:38
davecheneyjuju does tihs01:38
Luca__davecheney: You dont need to use Ubuntu Cloud Repository? http://www.ubuntu.com/download/cloud/cloud-archive-instructions01:40
Luca__zradmin: Did you follow HA Guide?01:40
sarnoldLuca__: this page: https://wiki.ubuntu.com/ServerTeam/CloudArchive   has the commands e.g. sudo add-apt-repository cloud-archive:havana01:41
davecheneyLuca__: if you were going to install opensack by hand, maybe01:41
Luca__zradmin: In any case as I said earlier 28 servers it is kind of unrealistic. Really need to scale down01:41
davecheneybut the charms will do this themselves onte machines that they spin up01:41
sarnoldLuca__: add-apt-repository automatically retrieves the key you need from launchpad01:41
Luca__davecheney: got it01:42
Luca__davecheney: basically juju would look into the correct archive and use havana packages if I understand correctly?01:43
Luca__sarnold: Thanks, I was there now :)01:43
zradminLuca__: yeah i followed the ha guide and ammended it when havana was released because i wanted to get past the neutron rename. i have 16 machines to play with in a blade enclosure so my plan has been to use 3 for ceph, and virtualize all the api services between 2 others... after that its all compute-nodes01:44
davecheneyLuca__: not juju, the charms01:44
davecheneythe charms contain all the logic01:44
davecheneyjuju is just a workflow engine01:44
Luca__rzadmin: Have you been able to deploy several services into one blade? wit the --to flag?01:46
zradminwell in a blade each blade (we're using half heights) is its own server01:46
zradmin^blade enclosure01:46
Luca__davecheney: Yes, sorry, I was thinking about charms and wrote juju ...01:46
Luca__zradmin: An enclosure comes at most with 16 blades, therefore I need to deploy some services on a single server. However the HA guide requires 28 servers. How did you move from 28 to 16?01:48
zradmini use proxmox(open source hypervisor using kvm) on 2 of the blades and have vms for each of the services on both01:49
zradminonces thats running properly we can scale the apis to new nodes as needed thanks to juju add-unit01:49
Luca__zradmin: Dont know the details but I grasped the idea01:52
sarnoldzradmin: suddenly a two hour deploy makes sense, you're putting a ton of work on two little blades :)01:53
zradminsarnold: they're pretty big, but the deploy is slowed down mainly by me waiting for each service to finish coming online with all the relationships before provisioning the next one01:54
davecheneyzradmin: are you doing that because you think it will fail ?01:55
davecheneyor just to see it working ?01:55
Luca__sarnold: As I dont have a whole chassis for myself I was thinking using couple of servers and virtualize there :)01:55
sarnoldzradmin: if you don't mind, what capabilities do each blade have? how much does the whole enclosure and blades cost? :D01:55
Luca__sarnold: An enclosure is quite expensive01:55
Luca__sarnold: A single half blade servers about 3000$01:56
* davecheney never understood why people use blades01:56
Luca__Enclosure is more that 10,000$, plus switchs OAM01:56
davecheneythey use more power01:56
davecheneycost more than regular macines01:56
davecheneyand since when was data center space a bigger problem than watts/rack01:56
Luca__davecheney: well, it is good if you want to integrate servers01:56
sarnoldLuca__: ouch :) okay scratch that then, hehe01:56
zradminsarnold: we picked up the chasis fully loaded (used on ebay!) for around 11k, dell m610s w 2/8 core procs & 48GB RAM01:56
Luca__nut definitely not worse for a openstack deployment. beside you would have problems with midplane bandwidth01:57
sarnolddavecheney: blades may fit better into a house :) hehe01:57
* davecheney stands by his asserting that blade chassises are a false economy01:57
davecheneysarnold: in AU, most blade chassis need 3 phase power01:57
Luca__rzadmin: Yes, if used that could be a reasonable  price01:57
davecheneythat isn't available in my condo01:58
zradmindavecheney: agreed.... unless you are renting a half rack from a data center and they forgot to put power usage in the lease agreement! :D01:58
sarnolddavecheney: hehe, yeah, I wound up scratching "buy a used thumper" off my todo list once I saw three-phase requirement. d'oh )01:58
zradminlol01:58
davecheneythe thumper doens't need 3 phase01:58
davecheneyjust 200v which isn't availble commonly inthe US01:59
sarnoldno? just 220 withot the phases?01:59
Luca__:)01:59
sarnoldjust laundry drying machines... hehe01:59
Luca__rzadmin: Did yo use juju 1.6?02:00
Luca__I just found out that current installed version on my 12.04.03 box is 0.5+bzr531-0ubuntu1.302:01
Luca__pretty outdated...02:01
zradminLuca__: 1.16.302:01
sarnold0.5??02:01
Luca__Version: 0.5+bzr531-0ubuntu1.302:01
zradminsudo add-apt-repository ppa:juju/pkgs02:02
zradminsudo apt-get update02:02
zradminetc02:02
Luca__yep02:02
Luca__kid of surprised too about the version....02:02
davecheneyLuca__: sory about that02:02
davecheneyLTS rules mean we cannot change the version of juju in precise02:02
Luca__Had already bootstrap node, need to restart all02:02
Luca__davecheney: no worries, I understand02:03
davecheneyhttps://juju.ubuntu.com/docs/02:03
davecheneyinstall instruction are here02:03
Luca__At least I am getting few good infos from this chat!02:03
sarnoldwell I'll be, I thought for sure precise had shipped with 0.6...02:05
sarnoldno wonder "install juju from the ppa" was always step #1 :)02:05
Luca__:)02:05
Luca__zradmin: Strange... I added the repository but installed 0.7...02:07
Luca__Version: 0.7+bzr628+bzr633~precise102:08
sarnoldLuca__: https://juju.ubuntu.com/docs/ says to use "ppa:juju/stable02:09
Luca__yes...02:09
sarnoldnot "ppa:juju/pkgs" -- the stable ppa has the 1.1602:09
Luca__and juju-core02:09
Luca__non juju02:09
Luca__yep, found now, sorry :(02:10
sarnoldsee e.g. https://launchpad.net/~juju/+archive/stable02:10
zradminyeah the ppa:juju/stable is the right one my bad02:10
Luca__now is righ , no worries02:11
Luca__Is there a way to select a bootstrap node?02:20
zradminLuca__: not to my knowledge, are you using maas?02:39
Luca__yes02:39
Luca__I thought so02:39
zradminLuca__: i remove my vms from maas when i rebuild the environment and add them one at a time so i know which service is where02:40
Luca__You are right, this is a good idea02:41
Luca__Have you tried using LXC containers with Juju?02:42
zradminjust for small things like juju-gui02:42
zradmini usually put that on node 002:43
Luca__Do you have any documentation to point at?02:43
zradminfor which piece?02:43
Luca__I dont have any experience with LXC and Juju so I was wondering if you followed any document02:48
=== freeflying is now known as freeflying_away
Luca__zradmin: how many networks did you define for your openstack deployment ?03:07
zradminLuca__: nope no document, just the internal has been difened so far... they used to have the ext-net configured in the nova-cc charm but it looks like they took it out03:11
=== freeflying_away is now known as freeflying
Luca__zradmin: what did you use for the monitor-secret under ceph.yaml? To me it looks like the way of getting this secret is kind of recursive03:18
Luca__monitor-secret:      a ceph generated key used by the daemons that manage to cluster     to control security.  You can use the ceph-authtool command to      generate one:          ceph-authtool /dev/stdout --name=mon. --gen-key03:19
zradminyup thats it03:20
Luca__What did you configure then?03:21
zradmini generated a key like that03:23
zradminbut i think if you leave it undefined it autogenerates one as well03:24
Luca__zradmin: I am not sure am getting what you mean... You need ceph-authtool to generate the key, but you dont have yet ceph-authtool as you are supposed to install with the charm. Beside the documentation related to this charm says this is a mandatory parameter03:26
zradmininstall the ceph tools on your maas controller03:26
zradminthen you can generate it :)03:26
Luca__Thanks03:30
=== freeflying is now known as freeflying_away
stryderjzwHi, I am running the destroy-relation command, but nothing is happening to the services when I run juju status.  Anyone seen this or have a suggestion on how to debug?04:36
=== freeflying_away is now known as freeflying
freeflyingwill this channel be proper to ask question related charm? or do we have dedicated one for it06:48
sarnoldfreeflying: this is good, or you can also use askubuntu.com or the mail list07:42
=== CyberJacob|Away is now known as CyberJacob
=== racedo` is now known as racedo
=== freeflying is now known as freeflying_away
=== ociuhandu_ is now known as ociuhandu
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
iri-How do I make juju aware of changes to the IP/DNS in AWS?10:47
SuperMattusing the power of juju, can I create linux containers on *another* machine?11:27
=== dimitern is now known as dimitern_afk
SuperMattI know this isn't real juju, but can someone help me with an openstack question?13:44
=== freeflying_away is now known as freeflying
X-warrior`Why does the "juju resolved" doesn't fix/remove this message: 'hook failed: "cluster-relation-joined"' ?13:56
melmothX-warrior, no idea, but what about adding a --retry ?14:53
melmothso it ll run the failed hook once again14:53
melmothif that fail, i guess the next step is juju debug-hooks involved/unit , and run the hook manually to see what the problem is14:53
X-warrior`that sux15:04
X-warrior`I can't mark it as resolved, so I can't destroy the service, neither the machine15:04
X-warrior`sux15:05
X-warrior`it should have an option15:42
X-warrior`--force to force doing what you want, for example, if you're deleting a service and use force, it will remove ignoring the current state or something similar...15:42
=== CyberJacob is now known as CyberJacob|Away
X-warrior`What could happen if I terminate a machine from amazon console? Instead of deleting it using destroy-machine? I can't resolve an error state, but this environment has some machines that I cannot loose.16:25
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== gary_poster is now known as gary_poster|away
=== CyberJacob|Away is now known as CyberJacob
=== thomi_ is now known as thomi
=== freeflying is now known as freeflying_away
=== CyberJacob is now known as CyberJacob|Away
=== freeflying_away is now known as freeflying

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