/srv/irclogs.ubuntu.com/2014/06/24/#juju.txt

hazmatjose, pong00:59
josehazmat: hey, you wrote that juju docean plugin, right?01:04
hazmatjose, yes01:18
hazmatjose, anything in particular?01:19
hazmatthey've got an api v2 in beta atm, haven't looked at it01:19
josehazmat: I have a user who is having troubles when deploying to zone nyc201:20
hazmatjose, could you be more specific?01:20
joseand also deploying mysql on precise fails with some yaml error01:20
josesure01:20
josewhen they try and bootstrap with a constraint to create the machine in nyc201:20
hazmatjose, hmm.. the yaml error is something i should fix.. they respun their existing images to no longer have py-yaml01:20
joseit just fails for any reason, may be it not getting an IP, not completing, or anything else01:20
hazmathmm.. odd that's the default region in the plugin01:21
* hazmat gives it a whirl01:21
joselemme see if the user is around so he can join the discussion01:21
jose(and deploying mysql on trusty does good)01:21
hazmatjose, or have him file a bug on the github issue tracker01:21
josecool then01:21
=== wallyworld_ is now known as wallyworld
mwhudsonmwhudson@narsil:lava-dispatcher$ juju bootstrap -e manual02:28
mwhudson[sudo] password for mwh:02:28
mwhudsonERROR initialising SSH storage failed: failed to create storage dir: rc: 255 (Permission denied (publickey).)02:28
mwhudsonwhat does that mean?02:28
marcoceppimwhudson: you need to be root or hsve sudo access on the box02:35
mwhudsoni do02:35
mwhudson(have sudo access)02:35
marcoceppimwhudson: actually, it's an ssh login error02:35
marcoceppimwhudson: is your key on the box?02:35
mwhudsonyes02:35
mwhudsonoh02:35
mwhudsonthere is already an ubuntu user on the box02:36
axwmwhudson: if you're not able to login as "ubuntu", you can set bootstrap-user02:42
axwthat will be used for the initial login, and the ubuntu user's authorized_keys will be updated02:42
mwhudsonaxw: i think that sort of half-happend somehow02:43
axwmwhudson: hmm. do you perhaps have an environments.yaml lying around?02:45
axwmwhudson: err, .jenv02:45
axwmwhudson: the keys should be set up when the .jenv file is created02:45
mwhudsonah02:46
mwhudsonthis machine has an unexpectedly hardcore ssh config02:46
mwhudson("AllowGroup sshuser")02:46
mwhudsonso juju created ubuntu but then couldn't log in02:46
axwah02:47
axwwe probably should at least add a check after creating the user that it can log in02:48
* axw files a bug02:48
axwmwhudson: if you've got anything else to add, https://bugs.launchpad.net/juju-core/+bug/133349602:51
_mup_Bug #1333496: environs/manual: ubuntu user creation should check login succeeds <manual-provider> <juju-core:Triaged> <https://launchpad.net/bugs/1333496>02:51
mwhudsonaxw: i think that covers it02:52
mwhudsonaxw: thanks02:52
axwnps, thanks for digging02:52
mwhudsonoh er03:04
mwhudsonhow does the manual provider decide whether to use the amd64 or x86 tools?03:05
mwhudsoni have a x86 userspace but amd64 kernel03:05
mwhudsonand juju chose wrong03:05
=== scuttle|afk is now known as scuttlemonkey
=== scuttlemonkey is now known as scuttle|afk
=== CyberJacob|Away is now known as CyberJacob
=== vladk|offline is now known as vladk
=== CyberJacob is now known as CyberJacob|Away
=== roadmr is now known as roadmr_afk
=== mwhudson is now known as mwhudson-
=== mwhudson is now known as mwhudson-bip
=== mwhudson-bip is now known as mwhudson
rbasaksinzui: please could you take another look at bug 1328958?08:51
=== roadmr_afk is now known as roadmr
=== vladk is now known as vladk|offline
=== mwhudson is now known as mwhudson-bip
jamespagegnuoy, is https://code.launchpad.net/~gnuoy/charm-helpers/neutron-refactor/+merge/224111 actually merged?10:25
gnuoyjamespage, if you look at charm-helpers you'll see it was merged in error and reverted10:26
jamespagegnuoy, so I still need to action that right?10:26
jamespagegnuoy, can you re-propose pls10:26
gnuoyjamespage, yes pls10:27
=== roadmr is now known as roadmr_afk
jamespagegnuoy, I can't merge it right now - bzr just tells me its already done :-)10:32
gnuoyjamespage, ok, let me great a new mp10:32
jamespagegnuoy, you might have to push a different branch - not sure10:32
=== vladk|offline is now known as vladk
jamespagegnuoy, iis this the diff - http://paste.ubuntu.com/7694495/ ?10:35
gnuoyjamespage, thats the one10:35
jamespagegnuoy, includnig the bit in utils?10:37
gnuoyjamespage, yes. New mp https://code.launchpad.net/~gnuoy/charm-helpers/neutron-refactor-again/+merge/22426710:39
jamespagegnuoy, can I have a unit test with those please :-)10:43
jamespagebut other than that looks OK10:43
gnuoysure10:43
mfa298with juju and maas is there a way to tell juju which zone within maas to either use or not use when deploying nodes?10:50
jamespagegnuoy, re determine_packages in neutron-openvswitch - I think that needs to be a list if lists of packages10:53
jamespagethe reason being that if dkms is requirement, that must be installed first, otherwise openvswitch-switch might load a ovs module that's not openstack compatible10:53
jamespagegnuoy, review line 504 of the openstack context helper10:54
jamespage        [ensure_packages(pkgs) for pkgs in self.packages]10:54
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
AskUbuntuUnable to add nodes to ubuntu MAAS server on static vlan | http://askubuntu.com/q/48754911:32
=== roadmr_afk is now known as roadmr
=== scuttle|afk is now known as scuttlemonkey
=== roadmr is now known as roadmr_afk
=== vladk is now known as vladk|offline
=== roadmr_afk is now known as roadmr
automatemecolemafound it, a charm done up all spiffy in puppet albeit very old http://bazaar.launchpad.net/~michael.nelson/charms/oneiric/apache-django-wsgi/trunk/files13:17
rbasaksinzui: re: bug 1328958, it also affects desktop users. This is key use case for users of the local provider.13:17
=== vladk|offline is now known as vladk
rbasaksinzui: why do you restrict the bug to just cloud users?13:18
sinzuirbasak, you are the only one reporting that13:18
sinzuirbasak, I don't have an ubuntu user on my machine, neither does the developer or the qa staff or the solutions staff13:18
rbasaksinzui: so you can't reproduce? Please could you note that in the bug? Then I'll test reproducing on a desktop running VM.13:19
sinzuirbasak, the only version of ubuntu that has an ubuntu user is a cloud/server image13:19
rbasaksinzui: that's my point. I think you understand me backwards.13:19
rbasakIf the ubuntu user is not present, then juju bootstrap fails.13:19
rbasakI demonstrate this by taking a cloud image and removing the ubuntu user.13:19
rbasakI originally hit this on my desktop which also has no ubuntu user.13:20
gnuoyjamespage, https://code.launchpad.net/~gnuoy/charm-helpers/neutron-refactor-again/+merge/224267 now with added unit tests13:20
sinzuirbasak, The juju client does not require an ubuntu user. The client requires it on the machines it deploys. The client might be confused if the host machine is a server image and that ubuntu as the user on it too13:22
rbasaksinzui: "The juju client does not require an ubuntu user." - that's the bug I'm reporting. It does. It happened on my desktop machine.13:23
rbasakIf you think it affects only cloud images in a reproducible way, then I'll find you a reproducer for a desktop install I guess.13:23
jamespagegnuoy, merged13:23
gnuoythanks13:23
sinzuirbasak you are alone in your experience, so I marked the bug medium. If it affected other users and blocked them, I would mark the bug high13:24
jamespagegnuoy, hmm - I merged and then thought again13:25
gnuoy?13:25
jamespagegnuoy, inserting  rel_name='amqp', relation_prefix=None befor ssl_dir is probably not a good idea13:25
jamespageif code exists which is not using ssl_dir= (i.e. positional parameters) it will break13:26
gnuoyjamespage, ok, I create a new mp with the args reordered13:27
jamespagegnuoy, url?13:29
gnuoyjamespage, https://code.launchpad.net/~gnuoy/charm-helpers/fix-AMQPContext-back-compat/+merge/22429413:31
jamespagegnuoy, merged - thanks!13:33
gnuoyta13:33
natewarrIs there some undocumented trick to getting juju+vagrant+LXC to work? I'm using precise and keep getting 'error: error executing "lxc-create":' when it tries to deploy juju-gui13:35
natewarr...or documented, but hard to find.13:36
jamespagegnuoy, I still see one test failure on https://code.launchpad.net/~gnuoy/charms/trusty/nova-compute/neutron-refactor/+merge/22406913:42
jamespagegnuoy, and did you see my note on irc re installation order of packages for openvswitch (its above) in the context of the neutron-openvswitch charm?13:42
gnuoyjamespage, that test failure is fixed (as of about 10s ago)13:43
gnuoyjamespage, I'll take a look at neutron-openvswitch charm comment13:44
jamespagegnuoy, nova-compute and quantum-gateway merges - thanks!13:45
gnuoy\o/13:45
dpb1hi marcoceppi, jcsackett -- could I get some more review love? https://code.launchpad.net/~davidpbritton/charms/precise/apache2/avoid-regen-cert/+merge/22110213:49
marcoceppidpb1: it's on my list13:49
marcoceppimy short list13:49
dpb1marcoceppi: great! :)13:50
natewarrHas anyone had trouble with juju LXC on precise?13:55
gnuoyjamespage, determine_packages should return a list of lists which the install hook should iterate over passing each inner list to apt_install in turn ?13:55
jamespagegnuoy, yes13:55
gnuoyack, ta13:55
jamespagegnuoy, ensures the dkms module gets install prior to openvswitch-switch trying to load it13:55
jamespagerequired on older kernels13:55
jamespage3.2 for example13:56
jamespageotherwise no GRE13:56
automatemecolemaI have a bug problem on precise with local provider https://gist.github.com/anonymous/9ecb23a51844627028b0 Anyone able to point out something here? Here's a bug that maybe somewhat related https://bugs.launchpad.net/juju-core/+bug/1330406 ??14:03
_mup_Bug #1330406: juju deployed services to lxc containers error executing "lxc-create" with bad template: ubuntu-cloud <bootstrap> <local-provider> <lxc> <juju-core:Incomplete> <https://launchpad.net/bugs/1330406>14:03
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
jamespagegnuoy, just neutron-openvswitch remaining right?14:06
gnuoyjamespage, shouldn't neutron-api be in next rather than trunk ?14:12
jamespagegnuoy, as it does not have a stable, in-store charm yet trunk is fine for now14:13
gnuoyjamespage, but its not compatible with the other trunk charms14:13
jamespagegnuoy, but its not in the store so meh14:13
gnuoyok14:14
jamespagemeans its a straight promulgation at the end of cycle14:14
gnuoyjamespage, neutron-openvswitch updated and tested14:17
jamespagegnuoy, +1 pushed14:21
jamespagegnuoy, maybe they should be /next14:21
automatemecolemaAnyone out there that can help figure out why I cant use local environment on precise because of an lxc-create error. Followed the instructions to a tee.14:30
=== natewarr_ is now known as natewarr
jamespagegnuoy, gah - neutron-api has a bug14:49
gnuoyjamespage, I refuse to believe that14:49
jamespagethe superclass of NeutronCCContext calls "_save_flag_file"14:50
jamespagewhich write out to /etc/nova14:50
tvansteenburghautomatemecolema: you might try asking in #juju-dev14:50
gnuoyjamespage, hmm, I see what you mean but I haven't hit that oddly. I'll do some digging14:53
vladimiroffIs there a way to just validate an index.json and products.json files? Without running a custom cloud and stuff?15:04
jamespagegnuoy, for some reason my flake8 is ignoring the issues yours throws up on nova-compute-vmware15:05
gnuoyjamespage, what flake version do you have?15:06
jamespagegnuoy, 2.1.015:07
gnuoyhmm, me too15:07
jamespagegnuoy, s-ok figured it out15:07
gnuoytip top15:07
jamespagegnuoy, pip installed pep815:11
jamespage\o/15:11
jamespagegnuoy, anyway - I tied15:11
=== boci^ is now known as b0c1
gnuoyjamespage, +1cinder-vmware and nova-compute-vmware . Want me to push them to next ?15:26
jamespagegnuoy, nah - these go straight to stable15:26
jamespageno other changes required15:26
gnuoysounds good15:26
jamespagegnuoy, I'll sort them now15:28
jamespagecoreycb, just a couple of minor things on the keystone MP - other than that happy to merge once you have those fixed.15:47
coreycbjamespage, ok thanks!15:47
=== vladk is now known as vladk|offline
=== roadmr is now known as roadmr_afk
loki27_Hi all16:12
loki27_ I have question about charms deployment and juju .. If i deploy the same charm , on different machine, (Let's say mysql and rabbitMQ) , how will the deployment work their relation, will the mysql instances be standalone , or are they going to replicate the same data trough all instances ?16:12
jamespageloki27_, the honest answer is that it depends on the charm16:20
jamespageloki27_, rabbitmq will configure itself as a native RabbitMQ cluster16:20
jamespageloki27_, mysql won't16:21
automatemecolemaCan you debug-hooks install?16:22
loki27_jamespage really i could not find any HA documentation for MAAS/Juju16:23
jamespageloki27_, well its not really MAAS/Juju that's doing the HA - its the charm16:23
jamespageloki27_, and that depends on the charm author having done the right things16:23
loki27_Trying to figure the best architecture to have HA but it's hard to spot SPOF with all the magic going on..16:23
jamespageincluding documented stuff16:23
jamespageloki27_, with regards juju itself, the next stable (1.20/2.0) will have HA16:24
jamespageyou can try this in the 1.19.x interim dev series now16:24
jamespageloki27_, MAAS - not 100% sure16:25
jamespageloki27_, I know its planned - but not certain on current status16:26
jamespageloki27_, re mysql - mysql is not natively active/active HA'able - however it's possible to use it with ceph and the hacluster charm to implement active/passive HA16:26
jamespageloki27_,16:26
jamespageloki27_, https://jujucharms.com/~openstack-charmers/trusty/percona-cluster-5/?text=percona-cluster16:26
loki27_https://wiki.ubuntu.com/ServerTeam/OpenStackHA talking about 28 servers16:27
jamespageis in the review queue - its a drop in replacement for mysql with is active/active16:27
loki27_Really i want to achieve 4 node HA16:27
loki27_something that is not that hard to do using Mirantis16:27
jamespageloki27_, its possible to deploy alot of those in LXC containers now that juju supports that16:27
jamespageloki27_, that documentation is a little out-of-date - I have it on my list to refresh16:28
loki27_ok , do you know the ETA for 1.20 ?16:31
jamespagealexisb, is there an eta for the next juju stable yet?16:32
alexisbjamespage, mostly that is dependent on when 1.19.4 (aka 1.20 release candidate) gets pushed out16:33
alexisbwe are still working through critical bugs16:33
loki27_Ok , sounds like "Not that far" to me16:34
alexisbthe goal is to have a weeks of exposure on 1.19.4 before we call it good for 1.2016:34
alexisbso no earlier then tuesday of next week at this point for 1.2016:35
loki27_that's pretty fast :)16:35
loki27_What are the machine number #num from (juju deploy charm --to #num)  relative to the MAAS machine name/ip ?16:39
lazypowerloki27_: the principal behind that is the machine is already under juju's control16:41
lazypowerif you want to specify a specific machine in your MAAS pool that juju hasn't already registered, you'll need to look at machine tagging and using those tags as a constraint.16:41
loki27_Ok so considering (I guess) my current only node i have is the bootstrapped node, and i need to deploy to other available node from MAAS16:41
lazypowerloki27_: so, given a scenario where you did juju deploy mysql,   and it allocated node3.maas as unit #1 - you would then do juju deploy cs:phpmyadmin --to 116:42
lazypowerto colocate with MySQL16:42
lazypowerloki27_: if you need specific machines, use tagging. Otherwise let juju pick from the 'cloud pool' provided by maas.16:42
lazypowerloki27_: i use a VMAAS setup using VM's provisioned by MAAS -- here's my setup. http://i.imgur.com/d71Nedd.png  - Node9 is the bootstrap node. Ignore the 3 running at the top as they are part of a manual provider setup.16:43
lazypowerif i wanted to allocate node5 because its got 2GB of ram assigned - i use constraints to do that, or maas tagging.  (i keep saying this, but i dont really know how to use the maas tagging feature. I should read up on that)16:44
loki27_hum16:45
loki27_see http://pastebin.com/U6FFAxDu16:45
loki27_That's the deployment i was planning16:45
lazypowerthe --to's need to be the machine #'s in the listing16:45
lazypoweri dont think juju will work if you specify the hostname.16:46
loki27_no, it won't16:46
lazypowers/juju/--to/16:46
lazypowerloki27_: so what you can do is juju add-machine16:46
loki27_Can i just add the node to juju (Assign to juju) witouth deploying anything16:46
lazypowerwhich will spin up the machine, and allocate it without any services. Then use that machine # in the listing.16:47
loki27_and so it would get indexed in and assigned from MAAAS with it's UID..16:47
lazypoweryep. juju add-unit will tell maas to return power on a node and install teh agent.16:47
loki27_hehe16:47
loki27_ok16:47
loki27_add-machine sounds like what i need16:47
lazypowermy poor maas cluster. so abused, it gets no joy of long running instances outside of my manual provider setup16:48
loki27_add-machine works just fine16:53
lazypowerloki27_: so for that script to work just make sure you've got the add-machine statements above to register X - Y and sub those node names with unit #'s and you're g2g16:54
loki27_yes.. it's deploying right now :)16:54
loki27_ERROR cannot add service "nova-cloud-controller": service already exists16:55
lazypowerare you trying to scale a service?16:56
loki27_well i'm trying to have that whole openstack with fail-over / clustering16:56
lazypoweri see you have it listed twice, which is why its complaining. You can only deploy a service name once - if you want 2 then you add-unit -n 1 after teh deploy.16:56
lazypowerir you want a secondary independent service, give it a new jame16:57
lazypowerjuju deploy nova-cloud-controller nova-cloud-failover -- as an example.16:57
loki27_Will that node get,s replicated with nova-cloud-controller at node 0 ?16:57
lazypowerit would not get replicated no.16:57
lazypowersounds like you want juju add-unit <service> -n #16:58
loki27_Ok so i would deploy the node to 0, and then add-unit to 1 so it get's replicated and works in HA16:59
lazypowernode0 should be your bootstrap node17:28
lazypoweris that what you're intending to do?17:28
=== CyberJacob|Away is now known as CyberJacob
marcoceppiloki27_: what you can do is juju add-machine17:33
marcoceppithen target the machine specifically which corrleates to the maas name you want to use17:34
marcoceppiloki27_: alternatively, tag each node with a unique tag17:34
marcoceppiand use the --constraints="tag=<tag-name" on each deploy command17:34
marcoceppito assign that service to that machine17:34
lazypoweraha!17:35
lazypowerthats what i was looking for when i was talking about tagging. ty marcoceppi17:35
schegianyone can help with the ceph charm? after deploying 3 ceph nodes ceph only return the monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication stuff.17:35
lazypowerbut we got him lined out with add-machine17:35
marcoceppiloki27_: I keep getting weird buffer lag in quassel, you seeing that too?17:39
marcoceppilazypower: ^^*17:40
lazypowermarcoceppi: nope. How long has it been since you cleaned up your database?17:41
lazypoweri drop the logs > 2 months old on the first of every month to keep the database nice and compact.  but i'm also using SQLITE not PGSQL17:42
marcoceppilazypower: I have never cleaned my db17:43
marcoceppiI've got like a year of history in here across a bunch of networks17:43
* marcoceppi considers cleaning17:43
lazypowermarcoceppi: i'm willing to bet thats why17:43
lazypowermarcoceppi: maybe take a dump and stick it in your archives so you've got it, and then just start fresh?17:44
* marcoceppi shrugs, maybe17:45
lazypowermarcoceppi: have you had any issues with nodes getting stuck in the pending state in maas? they look like they are reaching the end of the provisioner and handing off to juju, but not completing the run17:47
lazypoweri'm rounding node #5 with this issue today17:47
lazypowerwait, nvm. it appears it finished. the gui was lagging behind the actual status of the environment17:50
=== CyberJacob is now known as CyberJacob|Away
automatemecolemaAnyone with experience leveraging cloud-init with juju ??? Maybe a concept of how one might use cloud-init19:34
automatemecolemaI know behind the covers juju uses cloud-init, but was wondering how I could send directives to cloud-init whilst provisioning with juju19:37
lazypowerautomatemecolema: thats more the responsibility of the install / config-changed hook. What are you trying to do with cloud init?19:46
lazypowerwait, we spoke about this earlier didn't we - it has to do with using a repository mirror right?19:46
automatemecolemalazypower: maybe that was another guy, or my headache is ruining my day where I can't remember anything19:57
lazypower:( boo19:59
automatemecolemaI'm working adamantly with another guy building a continuous deliver pipeline that involves puppet enterprise, github, jenkins, and juju tying into multiple cloud providers19:59
lazypowerOk so far so good.19:59
automatemecolemaand we are thinking about rolling our own images for a couple of reasons19:59
automatemecolemaone being compliance20:00
automatemecolematwo being able to have a certain feature set of tools readily available at time of provisioning without over complicating the charm20:00
automatemecolemaSome of our hang up is going to be around node classification, and how we might specify custom facts for each charm we roll20:01
automatemecolematwo is more of a problem with inexperience of haproxy, and how we can roll new production instances during revision pushes without notices downtime20:03
automatemecolemascenario one being having two tomcat servers behind a set of haproxy servers, when it's time to push new code to production, we need to provision two more instances, tell haproxy to send traffic to the new instances, and then have juju decommission the old instances20:04
automatemecolemait's a pretty fantastical approach, but learning curve seems a little steep up front20:05
lazypoweryeah i get what you're telling me20:05
lazypoweryou know, i went a different approach and put my tools in a subordinate that i deploy with all of my services on my MAAS cluster20:05
lazypowerits not ideal if you need the tools up front, so i can see where you're looking at cloud-init20:06
lazypowerand prebaked images20:06
lazypowerautomatemecolema: so as i understand cloud-init, you can populate these with user-data scripts20:06
automatemecolemacorrect20:07
lazypowerhttps://help.ubuntu.com/community/CloudInit - this is the document i reference when talking to people who are new to cloud-init. I'm fairly certain there are more exhaustive rsources - but this is a good place to get you started.20:07
automatemecolemayep I've read through that20:08
lazypowerinstead of moving to the 'golden image' approach - cloud init is a great way to get you moving with those tools provided at time of cloud boot instead of pressing the image and crossing fingers you dont need to provide rolling updates across your network.20:08
lazypowerthis is why i caution against running home rolled images. its not a problem persay if you're aware of teh short comings. You mentioned compliance so you may *need* to go that route, in which case, there's no problem doing that. I'm fairly certain you can specify AMI's20:08
lazypoweri'd need to double check for you, but i think its a constraint you can pass juju20:09
automatemecolemahmmm lazypower: yea I think rolling images is maybe a last resort for compliance20:10
lazypowerthen my suggested thought is to build a user data script. From there I need to see if you can stuff those in constraints / the provider configuration20:11
lazypowerasking for you now. it make take a bit - its getting late in the day for core devs20:12
lazypowerbasically middle of the transition of people coming on/off watch :)20:12
automatemecolemahmmm let me mull this over with my counterpart and see what his take is20:18
lazypowerautomatemecolema: ok. if your status changes just ping me and i'll adjust teh questions as required.20:19
lazypoweralternatively you can join #juju-dev and follow along.20:19
automatemecolemalazypower: sounds like a plan, thanks for your help20:19
automatemecolemaI'm in the juju-dev chat as well20:19
lazypowerautomatemecolema: looks like i'm remembering our python days - we dont support custom AMI's as of the GO Port unless something has changed and this answer needs updated - http://askubuntu.com/questions/84333/how-do-i-use-a-specific-ami-for-juju-instances20:22
lazypowerautomatemecolema: so looks like my subordinate to populate my tool chain was the way to go in the current implementation of juju.20:23
lazypowerautomatemecolema: its not ideal, especially if you depend on the tools to be present for teh charm's installation. The alternative would be to version that routine out into its own script, and then import/clone that in your charms installation hooks.20:23
lazypowerso you make sure they are present when the install hook is done, then do your application heavy lifting in config-changed.20:23
sarnold'course those answers are over a year old. it feels like something that ought to have been done by now, no?20:24
automatemecolemaYea...reviewing that kb...curious if anything has changed on that front20:24
lazypowersarnold: nate confirmed its unimplemented. i would imagine it caused some headache somewhere?20:28
sarnoldlazypower: odd.20:28
automatemecolemalazypower: so here's a question my counterpart posed about rolling our own images, one being a dev to production issue with having a different image in dev than in prod20:29
lazypowersarnold: it may be one of those things, that unless it gets a sizeable amount of community want, it will remain unimplemented. I know we are currently hacking on HA as that's one of the highest requested features.20:30
lazypowerautomatemecolema: yeah i'm not a huge fan of the golden image approach20:30
automatemecolemalazypower: if we want the same testing results in dev, test, stage, and then to production, how can we guarantee that what worked in dev will work ing prod?20:31
sarnoldlazypower: yeah, and it could just be that simplestreams makes doing something significantly better significantly easier, but I just don't know how to phrase the question in that case :)20:31
lazypowerautomatemecolema: at the end of the day, you have root in charms. so you can do whatever unholyness you need to accomplish the goal. My suggestion would be to build a sub and attach it to your deployed units. You can be responsive to what happens based on the relationship created.20:31
lazypowerthat way you get a consistent output in dev/staging/production20:31
lazypoweryou're not muxing with the base cloud image before juju touches it.20:31
lazypowerand if you need something as a dependency. it should probably live in the install hook of the charm anyway20:32
lazypowerbut may it never be said that i stifle innovation. If you guys wanted to hack on cloud-init and we gave you those details, by all means - go forth and conquer20:32
lazypowersarnold: oh yeah - simplestreams. i forgot all about the fact we have a tutorial as of UOS on how to run your own simplestreams.20:34
* lazypower makes a note to go back and watch that session20:34
automatemecolemalazypower: maybe I'm confused about how you suggest using subordinates, I'm just curious how one would say if today juju provisioned an instance with trusty 14.04.1 and tomorrow it rolls 14.04.2. Dev lives on 14.04.1, but we can't be sure it'll run on 14.04.2 ??20:35
lazypowerautomatemecolema: when you deploy on 14.04.1 its running 14.04.1 unless you run the dist-upgrade on your prod stack.20:36
lazypowerautomatemecolema: so the idea would be to not deploy 14.04.2 in staging if youre' on 14.04.1 in your production env. When that occurs, you run rolling upgrades. In terms of services and how we orchestrate, servers are more like cattle than they are pets.20:37
automatemecolemayes, but if I do a juju deploy haproxy and it rolls out me haproxy on 14.04.1 how can I control if tomorrow 14.04.2 is release and I do a juju deploy haproxy that I won't get 14.04.2 ??20:37
lazypowerhmm. thats a good question. default-series only ensures you're within the 12.x and 14.x series presently20:37
lazypowerwe dont typically push breaking changes like what we're suggesting in a LTS though. thats reserved for the non LTS releases.20:38
lazypowereg: apache2 between precise => trusty - config file structure changed. it takes a series jump to run into that. not a minor revision.20:38
lazypowerautomatemecolema: i dont have a good answer for you about lockstepping minor revisions.20:43
=== automate_ is now known as automatemecolem_
automatemecolem_dang thing kicked me  off of freenode...20:57
lazypowerboo. did you get any of our conversation?20:58
automatemecolemaawry irc20:59
automatemecolemaso here's something to throw out there, how would one build a paas solution leveraging juju. Just thinking about concepts etc etc.21:03
lazypowerautomatemecolema: Juju can be wrestled into a paas, but its intended to orchestrate solutions. We are actively working through charming up Cloud Foundry to provide a PAAS solution21:04
lazypowerbut if you want to do continuous delivery. There's 2 methods i am aware of21:07
lazypower1 is git based delivery. You can either place git checkouts in your config-chagned and execute the hook from your CI if the build passes to run your config-changed hook, or when juju actions lands - build an action for it.21:07
lazypowerthe other is charm building in CI, and increment - charm-upgrade your deployment.21:08
lazypowerThe path is to add a files/ directory in your charm for example, and do local installation of your artifacts by copying them where they need to go if they exist, or checkout from version control / upstream.21:08
lazypowerI'm doing method A with some rails deployments I have in the wild, and it works reasonably well. I gate in CI, and only master is ever deployed - to staging. Production is gated manually and has a revision flag on the charm that I populate.  (but now that i think about it, i  can just juju-set from CI and achieve the same goal in staging...)21:10
automatemecolemagiven a few things to think about.21:11
automatemecolemame*21:11
=== CyberJacob|Away is now known as CyberJacob
lazypowerautomatemecolema: feel free to ping if you need anything. I'm going to EOD21:21
automatemecolemalazypower: thanks for your time sir21:22
=== alexisb is now known as alexisb_bbl
=== mwhudson-bip is now known as mwhudson
=== hatch__ is now known as hatch
=== makyo_ is now known as Makyo
=== CyberJacob is now known as CyberJacob|Away
=== tvansteenburgh1 is now known as tvansteenburgh
DelairHi All, .. Can somebody please tell me that if quantum-gateway is the same as neutron-gateway when installing using juju22:46
=== scuttlemonkey is now known as scuttle|afk
Delairhow do i know what is the default openstack origin type when installing openstack using juju23:13

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