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

pmatulisi had a hard time with the mysql charm and discovered the following in the logs:00:12
pmatulishttp://paste.ubuntu.com/7671996/00:12
pmatulisi ssh'd in to the respective lxc container and installed git manually. then, voila, everything started00:13
pmatulis(side question: why do i need git?)00:14
josepmatulis: weird thing. I know Juju uses git in the background for some stuff, but not sure why it's giving the error00:17
=== Guest70819 is now known as wallyworld
=== wallyworld is now known as Guest14539
=== Guest14539 is now known as wallyworld
=== wallyworld is now known as Guest41478
=== Guest41478 is now known as wallyworld
danharibojuju local environment seems to be broken ootb, on my trusty install: http://pastebin.com/Aspq0zJd00:54
danharibothat's the result after following the getting started guide, no public addresses00:55
galebbacould anyone tell me why my proxy doesnt seem to work on juju bootstrap node with env | grep proxy showing both http and https proxies ? getting ERROR juju.cmd supercommand.go:300 cannot upload charm to provider storage: gomaasapi: got error back from server: 504 Gateway Timeout00:57
josedanharibo: is this the first time you are booting in Local?01:03
josegalebba: maybe it's an issue with your proxy blocking the storage provider?01:04
galebbaso if i set my env variable manually on the bootstrap node it works perfectly well. not just through juju01:05
danharibojose: I've run the commands listed on https://juju.ubuntu.com/docs/getting-started.html up to juju-status, after following the lxc configuration01:06
sarnolddanharibo: how long have you waited?01:09
danhariboa few minutes01:09
sarnolddanharibo: iirc step 1 is "download a cloud ubuntu".. it can take a while01:09
danharibois there any way to get more detailed information? like what it is waiting on?01:10
lazypower-traveldanharibo: its a one time operation - you're fetching a 300mb cloud image01:10
lazypower-traveldanharibo: if you pass -v (or -debug) you'll see output on what its doing01:10
lazypower-traveldanharibo: once that cloud image is cached, it'll create a template container which makes the local provider crazy fast. Seconds to spin up an LXC container, vs the 5 to 10 minutes you'll wait on that cloud image to be fetched.01:11
galebbais it possible to do no proxy env variable on juju ? i have set http-proxy and https-proxy and it seems my maas server api access is being send through the proxy which i want to avoid01:15
lazypower-travelgalebba: are you referring to the proxy being defined in /etc/apt/90-curtain?01:15
lazypower-travelor there abouts01:16
galebbaproxy set with juju set-env like  juju set-env https-proxy=http://x.x.x.x:80/01:16
lazypower-traveloh i read that wrong. sorry01:16
galebbanp, found a old thread saying this should be fixed but cant find the syntax01:17
lazypower-travelthumper: you kicking around over there?01:17
galebbagot it , juju set-env no-proxy=127.0.0.1,172.18.112.140,localhost01:20
thumperlazypower-travel: whazzup?01:21
thumperah proxy thing01:21
lazypower-travelthumper: is there a way to route only the juju traffic through a proxy so we dont blanket out the maas traffic?01:22
thumperyeah, galebba's got it01:22
thumperlazypower-travel: when you set the proxies through juju, they only get set in the hooks, and for juju run01:22
thumperlazypower-travel: it doesn't do any magic system things01:22
lazypower-travelahhh ok. I thought it set system level proxy envs01:22
thumperno01:22
lazypower-travelwell good to have that cleared up. Ty thumper.01:22
sarnoldthumper: http://askubuntu.com/a/431192/33812  :)01:23
thumperI suppose I should say it is fixed now?01:23
sarnoldthat was the first google hit for 'juju proxy' so it'd be as good a place as any for the docs :) hehe01:24
galebbai know right01:25
thumperupdated.01:30
lazypower-travelthanks thumper01:30
sarnoldthanks thumper :)01:30
joselazypower-travel: who can I confirm with that the LXC charm school is taking place tomorrow?01:35
lazypower-traveljose: i dont think anyone's around atm since the steam sales on01:36
joseoh that's right01:36
lazypower-traveljose: but i'd follow up in the am with jcastro.01:36
joseshould be good01:36
lazypower-traveljose: or you can just email them... might be the better way to go01:36
josewill just email the list :P01:37
josethanks!01:37
danharibochecking network traffic, nothing... machine-all log also doesn't seem to say it's downloading anything01:37
lazypower-traveldanharibo: if you run sudo lxc-ls --fancy do you see a template container?01:40
danhariboI see juju-precise-template, stoped01:41
lazypower-traveldanharibo: ok looks like the image was downloaded.01:41
lazypower-traveland the template was created as well01:41
lazypower-travelthis is your first time running juju bootstrap on the local provider correct?01:42
danhariboI ran it a few times before, but ran destroy-environment afterwards01:42
lazypower-traveldanharibo: you may need to nuke your local installation from orbit if its in an inconsistent state01:44
lazypower-travelthis is available as a plugin - but if you're not savvy on that - https://github.com/juju/plugins/blob/master/juju-clean - the commands are listed here01:45
marcoceppilazypower-travel: you able to do a quick review?01:45
lazypower-travelmarcoceppi: link me01:45
lazypower-traveli need to plugin in 1 sec01:46
marcoceppilazypower-travel: https://code.launchpad.net/~marcoceppi/charm-tools/fix-setup-py/+merge/22385001:46
marcoceppilazypower-travel: just review, I'lldo the merge01:46
lazypower-travelack01:47
lazypower-travellooking now01:47
lazypower-traveldude cool #TIL01:48
lazypower-travelfind_packages01:48
marcoceppilazypower-travel: yeah, thank tvansteenburgh for that one01:48
lazypower-travelmarcoceppi: runs on my box01:49
lazypower-travel+101:49
marcoceppifor some reason the debian python helpers are a PITA01:49
marcoceppithis fixes that01:49
marcoceppithanks man01:49
lazypower-travel:)01:53
lazypower-traveldanharibo: if that doesnt fix it, can you attach a copy of your all-machines && machine-0.log to a pastebin for me?01:56
=== scuttle|afk is now known as scuttlemonkey
danhariborunning juju clean seems to have declogged it, mysql and wordpress charms are "started"02:01
danhariboI am getting a 502 from nginx on wordpress' public-address though02:01
danharibooh no it was just a cached page, all works. thanks02:02
marcoceppiCLEAN ALL THE THINGS02:07
jose\o/02:09
josemarcoceppi: are we having the charm school tomorrow?02:21
marcoceppioh god, we are aren't we02:22
marcoceppiwhat's the topic?02:22
josemarcoceppi: LXC Troubleshooting02:25
jose19 UTC02:25
marcoceppicool02:30
=== scuttlemonkey is now known as scuttle|afk
mwhudsonubuntu@mytrusty:~$ juju status04:21
mwhudsonERROR failed getting all instances: exit status 104:21
mwhudsonwhat might that mean?04:21
mwhudsonoh, i logged in before my user was added to the libvirt group04:22
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== isviridov|away is now known as isviridov
=== julianwa is now known as julianwa_hungry
=== vladk|offline is now known as vladk
galebbaHas anyone used juju to install openstack  with Neutron ?10:48
=== vladk is now known as vladk|offline
lazypower-travelGalebba: lots of talk around that. I'm aware of our OpenStack charmers working with neutron11:30
Mosibigalebba: yes, we installed neutron/openstack with juju11:33
MosibiIf youre question is about vlans, yes that's not supported yet..11:33
=== psivaa is now known as psivaa-lunch
nottrobinis there any way to permanently set the location of my local charms in a config file?12:08
nottrobinit's a bit annoying typing "--repository=~/charms" all the time12:08
marcoceppinottrobin: set the JUJU_REPOSITORY environment variable12:14
nottrobinooh!12:14
nottrobinhandy12:14
nottrobinthanks marcoceppi12:14
marcoceppinp12:14
pmatulisare 'charm-tools' and 'juju.plugins' what everybody uses?  anything else i should be looking at?12:30
lazypower-travelpmatulis: juju-quickstart12:31
pmatulislazypower-travel: ok, will look thanks12:31
=== scuttle|afk is now known as scuttlemonkey
=== scuttlemonkey is now known as scuttle|afk
=== psivaa-lunch is now known as psivaa
=== scuttle|afk is now known as scuttlemonkey
automatemecolemacan anyone point me in the direction on how to deploy haproxy with HA using an amazon EIP?13:19
automatemecolemawith the haproxy charm naturally13:20
=== vladk|offline is now known as vladk
automatemecolemaanyone familiar with the haproxy charm?13:32
automate_Can someone point out how to find the addressupdater worker to force EIP changes on services?13:38
marcoceppiYou can't provision an elastic ip from within a charm, you need to assign it in the control plane13:47
=== vladk is now known as vladk|offline
automate_So here's a question, say I provision two haproxy servers, I assign an EIP to one of the haproxy servers, it fails, and the other picks up. Is there a way I can make that instance recognize the EIP13:55
automate_and How can I force juju to recognize the EIP? Ive read there is an addressupdater worker that check every 15 minutes, but that's not good enough for production13:56
automate_I have deployed to haproxy units with juju, and I notice they realize their peer, but how do I front the Haproxy service with only one endpoint?14:03
automate_two*14:03
=== vladk|offline is now known as vladk
automate_https://gist.github.com/anonymous/29cc347bd9ce1015036e I need these to know about each other and fronted by an EIP Thoughts?14:11
jcastrohey marcoceppi14:17
jcastrofrankban has a point wrt. mac users, I think juju-quickstart is fine imo14:17
jcastrobigger battles to fight, etc. etc.14:17
marcoceppijcastro: what about windows users?14:32
marcoceppiIt's still a poor argument14:32
marcoceppiit obscures juju and bothers me a bit with promoting this as juju14:33
jcastrowell, it's not my fault juju needs quickstart in order to be usable. :()14:33
marcoceppiit's great it does all this, but if users get to juju-quickstart before getting to juju we've failed in documentation14:34
jcastroit's not really any worse14:35
jcastroit's just `juju-quickstart -i` instead of `juju generate-config`14:35
marcoceppijuju init*14:35
jcastrowhich was not mentioned in the docs14:36
marcoceppiI think quickstart is super important, and deserves to be on the getting started page, but people are here to learn about juju14:36
jcastrobut that's an evilnick-ism14:36
marcoceppiand we've just hidden the  entire core of juju14:36
jcastroyou're the only one who knows that14:36
marcoceppibootstrapping, deploying, relating, etc14:36
jcastroas far as they know/care, quickstart is part of juju14:37
marcoceppibut it's not, it's juju-quickstart, not juju quickstart14:37
marcoceppino other juju commands are hyphenated14:37
marcoceppiso either we tell people, On Mac OSX run brew install juju juju-quickstart then do juju quickstart -i14:37
jcastroIMO getting people into the curses menu to put their keys in is like the #1 thing we need to do14:37
marcoceppisure, lets do that14:37
marcoceppibut lets not give users the wrong expectation of the command chain14:38
jcastrook so give me details14:38
jcastrowhat exactly do you want me to change in the commands14:38
marcoceppiEverytime you tell a user how to install juju-quickstart, just also include the installation of juju14:38
marcoceppibrew install juju juju-quickstart14:38
marcoceppiapt-get install juju juju-quickstart14:38
jcastrooh ok14:38
jcastrois that all?14:38
marcoceppiwindows: Sorry, can't do that14:38
jcastroman why didn't you say that. :)14:39
marcoceppiyes, then all you need to do is have `juju quickstart` instead of the -14:39
marcoceppiand the command UX is intact, quickstart keeps being amazing14:39
marcoceppiand the world rotates on14:39
jcastrorick_h_, any issues? I'm tired of my PR becoming mailing list discussions. :)14:39
marcoceppirick_h_: also, whats the TLDR on Windows + Quickstart?14:39
rick_h_marcoceppi: your team can add it next cycle14:40
marcoceppiwhat/14:40
rick_h_marcoceppi: :)14:40
marcoceppiso quickstart won't install juju on windows?14:40
rick_h_marcoceppi: quickstart doesn't work at all on windows14:41
rick_h_and it's not planned for this cycle, but is brought up to be important for next14:41
jcastromarcoceppi, rick_h_ didn't even know python on windows was a thing. :)14:41
rick_h_jcastro: oh we know, but ncurses on windows isn't14:41
marcoceppijcastro: hey man, charm-tools is on there ;)14:41
rick_h_marcoceppi: let me know when you put a gui on charm tools14:41
marcoceppihaha, no thanks. It was enough "fun" getting charm-tools packaged for windows14:42
jcastroI hate to be that guy, but a proper juju snapin for like sccm is the way to go14:42
rick_h_marcoceppi: we're handing off quickstart to eco next cycle so you guys can build a webui to it and enable it for windows then14:42
jcastrook so if no one has any issues, I will amend the commands in the docs14:42
rick_h_jcastro: ok, it's fine. I was just letting you know you can make things simpler if you want14:42
rick_h_but I'm not anti install juju with quickstart14:42
rick_h_sometimes comments are just fyi :)14:43
jcastrorick_h_, you convinced me, it's Captain Pedantic over there ....14:43
=== andreas__ is now known as ahasenack
marcoceppihey man, you're the one that had to go document things, that's on you :P14:43
jcastrothough seriously, quickstart should eventually be in core someday like deployer, etc.14:43
rick_h_lol14:43
marcoceppiseriously, yes. It simplifies the user experience 10 fold and makes everyone happy14:44
rick_h_jcastro: yea, it can't until deployer is and such.14:44
jcastrois the packagename "juju" or juju-core in brew?14:44
rick_h_jcastro: but true, at some point makes sense. The original goal of quickstart though was to help you avoid finding the ppa, etc.14:44
marcoceppiI'd love to see how core handles the ncurses issue on windows14:44
marcoceppijcastro: it's juju14:44
rick_h_it started before trusty and there was a decent juju in universe14:44
jcastrohttp://www.projectpluto.com/win32a.htm14:45
jcastrook guys, git pushed14:46
rick_h_jcastro: thanks for the docs. Appreciate it14:46
* marcoceppi finds something else to be pedantic over14:46
jcastromarcoceppi, like say ... mysql14:46
purpledog3ASkUbuntu: I was wondering if you could help me with a very fundamental question.14:48
purpledog3Askubuntu: Its about juju with ubuntu trusty. Its too basic and unfortunatley I don't find documentation on it14:49
jcastroaskubuntu is a bot14:49
jcastrobut we're humans if you want to ask your question14:50
jcastrombruzek, tvansteenburgh1, have you guys had a chance to review yet?14:52
mbruzekjcastro, review what?14:53
jcastroyou guys are on review duty this week14:56
=== tvansteenburgh1 is now known as tvansteenburgh
purpledog3jcasto: Ahhh thanks.. .14:59
purpledog3jcasto: Do you know the resource I could use to work with juju/maas/openstack. Am a total novice and depending on documentation which either I can't seem to get approproate of or isn't appropriate.15:00
jcastrohttps://insights.ubuntu.com/2014/05/21/ubuntu-cloud-documentation-14-04lts/15:00
jcastroit's currently a PDF15:00
jcastrobut we're working on HTMLizing it15:00
jcastrothat's the place to start15:00
purpledog3thanks.. let me dive into it ..15:00
purpledog3I have my oen dat servers on my table here.15:01
purpledog3dat->data15:01
jcastrojamespage, that Boyd guy on the juju list was having that problem with ceph-radosgw if either you or zul can respond that would be swell.15:01
purpledog3Do you know if it might have an example of how to use 2 VM nodes defined by virsh ... as a maas cluster and work stunts with them ? like setup Openstack etc ?15:01
jamespagejcastro, I need to make time to read that doc to figure out what he's asking15:07
=== hatch__ is now known as hatch
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
ahasenackhi guys, any clues about what happened here?15:50
ahasenackhttp://pastebin.ubuntu.com/7675284/15:50
ahasenackjuju 1.19.315:50
=== makyo_ is now known as Makyo
automate_anyone available for questions around the HAproxy charm?16:19
pmatulisask and see16:22
automate_I need some incite on how to deploy an HA pair of HAproxy servers in Amazon using and EIP? I up for both scenarios of either Active/Passive or Active/Active16:25
automate_We are playing with the idea of rolling our own haproxy charm with the haproxy beta package that supports SSL using puppet as the deployer.16:27
automate_Has anyone had experience using puppet as the means to deploying your app in a charm, as opposed to building it into a shell script to install packages.16:28
=== scuttle|afk is now known as scuttlemonkey
=== vladk is now known as vladk|offline
wrale_using juju on 14.04... my nodes are multihomed with public unmanaged.. juju bootstrap fails because name resolution fails upon http call.. must a public interface (or NAT) be up where bootstrap happens?16:52
=== vladk|offline is now known as vladk
wrale_maas is the underpinning of my cluster16:53
hazmatautomate_, why not just go with an elb charm?16:59
automate_hazmat elb isn't near as flexible, and ELB's change addresses all the time, we want to keep our load balancers tied to one endpoint17:03
lazypower-travelahasenack: thats really strange. you got locked out of your monodb instance?17:04
ahasenacklazypower-travel: it was just a normal bootstrap, like many others17:05
lazypower-travelahasenack: when you ran destroy and rebootstrapped did it work?17:05
ahasenackyes17:05
lazypower-travelhmm interesting17:05
ahasenackwell, if you look at the logs you can see that it ran destroy on its own17:06
lazypower-travelahasenack: thats the first time i've seen that happen...17:06
ahasenackso I was left with nothing running17:06
lazypower-travelyeah, it should do that if it encounters an issue while trying to bootstrap17:06
lazypower-travelthat way its tidy about a startup failure17:06
ahasenacksinzui: pointed me at an older bug in the 1.19 series but it was during destroy17:06
automate_I'm trying to figure out a way to have different instances to be provisioned to separate availability zones within the same juju environment. Has anyone figured out a clean way to do this? I saw a bug report on this trying to be fixed..17:07
=== scuttlemonkey is now known as scuttle|afk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
automate_Scenario 1: What happens if my bootstrap node dies?17:39
automate_Scenario 2: I boostrapped my environment, everything was working, then a few hours later the environment eats itself and everything is gone.17:40
jcastro_automate_, in scenario 1, you lose orchestration17:52
jcastro_but like the instances all stay running, you're just down to ssh17:53
jcastro_when HA lands you'd just have one of the other bootstrap nodes take over17:53
automate_HA for bootstrap nodes are on the roadmap, do you know how long that will be before it's available?17:54
jcastro_I do not think we yet have a way to do multizone in one environment17:54
jcastro_it's supposed to be landing like RSN now if it hasn't already17:54
jcastro_jam, do you know the status of HA?17:54
jcastro_I lose track of which team is working on what17:54
automate_So, today if my bootstrap node completely dies there is no way to recover it?17:55
jcastro_you're pretty much doomed17:55
sarnoldjcastro_: https://bugs.launchpad.net/juju-core/+bug/118383117:55
_mup_Bug #1183831: unable to specify availability zone <charmers> <constraints> <ec2-provider> <landscape> <reliability> <juju-core:Fix Committed by axwalk> <https://launchpad.net/bugs/1183831>17:55
automate_:(17:55
jcastro_they've been focusing on HA for the node for a while though, it's like the last major thing we need for prod17:55
rick_h_jcastro_: juju ensure-availability --help is there now. I think it's fleshing out final bits but is testable17:56
rick_h_so don't do it with your prod environment yet17:56
automate_Can you explain if there is a way to force juju to know about address changes? I know there is an addressupdater worker, but there might be times where I want juju to know abut it on the fly17:57
automate_Scenario would be when I assign a node an EIP17:58
automate_I want it to know about the EIP right away17:58
marcoceppiautomate_: juju should pick that up automatically now, if not now then soon17:58
marcoceppibesides, the EIP only affects outside access to it17:58
marcoceppithe machine will always show the current and the internal address in amazon will be used anways17:58
marcoceppiso it doesn't affect other services connected to a service with an EIP17:58
automate_Yea, when I meant address changes, I'm relating strictly to public addresses17:59
automate_I'm currently running 1.18.117:59
marcoceppiautomate_: well you're already a few juju releases behind, latest stable is 1.18.4 iirc and latest dev is 1.19.318:00
automate_juju upgrade-juju get me on the latest stable?18:00
marcoceppiwhat are you relating that requires the public address?18:00
marcoceppiautomate_: yes18:00
marcoceppiexcept for humans, almost all services should just be using the private addresses18:00
automate_Scenario: Two haproxy servers, need them in ha pair, I have one assigned an EIP, it fails, I want the other one to get the EIP reassignment18:01
marcoceppithat's something you have to do outside of juju though18:01
marcoceppijuju won't reassign EIPs18:01
automate_Yes, but I need juju to know about the EIP as soon as I reassign it18:02
marcoceppiwhy? Elastic search will just continue to listen to 0.0.0.018:02
marcoceppitraffic will flow, haproxy* will continue to runn18:02
marcoceppinot elastic search, sorry about that18:02
automate_I'm not sure I'm following you properly18:03
marcoceppiI'm not sure I'm following you. Why does juju need to know about the EIP18:03
marcoceppiEIPs are transparent to the underlying machine18:03
marcoceppithey're done on the software level18:03
marcoceppiin Amazon18:04
automate_Ok let me explain it a little better.18:04
marcoceppiAmazon simply maps public ip to the private ip and routes traffic18:04
marcoceppiso the unit knowing it has a new public ip doesn't matter18:04
automate_I have two haproxy servers provisioned by juju, naturally they get a public address assigned to them by Amazon, I reassign node 1 with an EIP, juju knows about the auto assigned public address and I need it to refresh and know about the EIP i just assigned it.18:05
marcoceppiautomate_: okay, I see what you're saying. My question is why does juju need to know that.18:05
marcoceppihow does that change how haproxy is running18:06
automate_Then I find that node1 just failed, and I need node 2 to pick the load balancing, so I reassign my EIP to node 2, and I need juju to know when I reassign it18:06
automate_Am I not exposing the service via juju?18:06
marcoceppiyes, you are18:06
marcoceppinow let me explain briefly what happens amazon side of things18:06
marcoceppiYou launch an instance in amazon. That instance gets a private address on eth0 - 10.0.0.2; your other instance gets eth0 10.0.0.3. You have secruity groups that define ports and access to that instance. Amazon gives you two random public ipaddresses and has their switch software map 72.0.0.2 and .3 to those respective private ip aaddresses. The instance has no idea what it's public ip address is. Juju knows because it's querying the data from18:10
marcoceppiamazon directly using the API. Now you create EIP 74.0.0.15 and assign it to the first node. 72.0.0.2 goes away and instead 74.0.0.2 routes to the private IP of 10.0.0.2 The instance has no idea this change happened, Juju knows because it's chatting with the API and updates the metadata for that instance in juju. Now you failover, move the EIP to the second instance now 74.0.0.15 maps to 10.0.0.3 it has no idea the public ip address has changed.18:10
marcoceppi It doesnt' need to, it simply continues listening to traffic on eth0 as it was designed to do18:10
marcoceppithere isn't a pressing need to have the unit data updated immediatly for a public address change in juju. For private addresses completely because that's what the unit uses when listening and what other services are talking to it on18:11
sarnoldmarcoceppi: very interesting, thanks :)18:12
marcoceppiThe public IP addresses, EIP or not, are maped outside of the instance and outside of juju in Amazon's switches. The instance is blissfully unaware of what's going on18:12
marcoceppiOpenStack, with quantum/neutron, IIRC works very much the same way18:12
marcoceppiproviders like Digital Ocean, do it differently, there's two nics on the machine private and public, and thats where magic happens18:13
* marcoceppi spins up an amazon instance to verify that giant text dump is true18:13
=== vladk is now known as vladk|offline
automate_marcoceppi: thanks for that explanation, that was my understanding of EIP, If www.mywebaddress.com points to 70.0.0.15 and node 1 was assigned that EIP, node 1 fails, traffic stops until the EIP is reassigned to node 2? Just checking to make sure at least I18:15
automate_m right on the first part18:15
=== roadmr is now known as roadmr_afk
automate_marcoceppi, I completely am on the same page now...I understand that it doesn't matter if juju knows the public address change right away...I had to fight that battle in my small brain18:20
marcoceppiautomate_: yeah, so if the node is no longer running18:20
marcoceppitraffic will hault, after you reassign it to another node traffic will flow again after a few mins18:20
automate_So... moving on then, I have more of an haproxy specifc charm question around keepalived EIP reassign...18:21
automate_Maybe this gets into me having to customize the haproxy charm... I need a keepalived script embedded so if node one goes down then it can talk to the Amazon API to reassign the EIP to the failover node18:22
=== CyberJacob|Away is now known as CyberJacob
marcoceppiautomate_: so, this sounds like a good case for a subordinate charm18:22
marcoceppiwhere you don't have to hack the exisiting charm, but instead build a charm that only works once attached to another running charm18:23
marcoceppithen you can amend the functionality of the service running with additional scripts, configuration, or software18:23
automate_hmmmm that sounds like the plan for us then18:23
automate_So.......one more crazy question....Any charmers using puppet to deploy their apps in a charm? We use puppet enterprise, and want the ability to modify instances with the puppet master18:25
marcoceppiso, people have used chef, ansible, saltstack, and there's one or two puppet charms18:25
marcoceppibascially it's using puppet standalone to drive machine setu18:26
marcoceppiI can't think of any examples off the top of my head at the moment though18:26
marcoceppiI'd have to hunt down which charms do that18:26
automate_Use case 1: We want to control haproxy configuration with puppet...Well deploying the charm store haproxy charm doesn't allow us to really modify it with puppet18:27
josemarcoceppi: in amulet, is it possible to configure a service after deployment?18:36
marcoceppijose: yes18:37
josecool, thanks18:37
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
purpledog3jcasto: I read a good portion of the document you pointed me to : http://insights.ubuntu.com/wp-content/uploads/UCD-latest.pdf?utm_source=Ubuntu%20Cloud%20documentation%20%E2%80%93%2014.04%20LTS&utm_medium=download+link&utm_content= But it does not talk about how to setup a maas controller when you create a cluster with VM nodes that are created with virsh.19:18
josemarcoceppi: 'this video is private' :(19:25
=== vladk|offline is now known as vladk
purpledog3Following the guide http://insights.ubuntu.com/wp-content/uploads/UCD-latest.pdf?utm_source=Ubuntu%20Cloud%20documentation%20%E2%80%93%2014.04%20LTS&utm_medium=download+link&utm_content= //19:35
purpledog3juju quickstart does not exist ?19:36
marcoceppijose: I'muploading a new one19:37
joseoh cool19:37
josepurpledog3: afaik it's juju-quickstart19:37
purpledog3ahaha!! bug to note and correct in the documentation ::!! Thanks a bunch jose!!19:38
arosalespurpledog3: yes you need to have juju installed first19:38
josenp :)19:38
arosalespurpledog3: if you don't have juju installed first then you will need to issue juju-quickstart, and not the juju plugin command "juju quickstart"19:39
marcoceppipurpledog3: if you're getting that error, that means you didn't install juju19:39
josethere you go :)19:40
purpledog4marcoceppi: juju is installed for sure!!19:41
purpledog4juju <enter> shows me all the help commands etc19:42
marcoceppipurpledog3: what version of juju do you have installed? `juju version`19:42
purpledog4marcoceppi: I have a maas controller I setup with 2 nodes added and each node is a VM with ubuntu running on it/19:43
marcoceppijuju quickstart should most definitely work19:43
purpledog41.18.4-trusty-i38619:43
marcoceppipurpledog4: can you run `juju help plugins` and report the output to paste.ubuntu.com ?19:43
purpledog4ok19:43
purpledog4http://pastebin.com/gZf9tvFU19:44
purpledog4marcoceppi: I need for the maas controller to not try and commission these nodes since they already have ubuntu etc on them. What can I do ?19:46
=== vladk is now known as vladk|offline
marcoceppipurpledog4: nothing really, maas will always attempt to reboot the machines and pxe boot ubuntu to install a fresh image19:48
marcoceppithat's how maas works19:48
purpledog4The VM nodes already have ubuntu running.. if it tears down those nodes I don't see how it can create those again ? Those Vms are hosted on another server and created with virsh.19:49
purpledog4Does this mean adding a virsh node is no good and can't work with maas ?19:49
=== vladk|offline is now known as vladk
marcoceppipurpledog4: it's not going to tear them down19:50
marcoceppiit's going to attempt to boot them up19:51
marcoceppiand then, when it registers with maas DHCP, it will get a PXE boot image19:51
=== vladk is now known as vladk|offline
purpledog4marcoceppi: Not sure I understand, a VM node is already created, How can it reboot the VM node ? PXE is not natively supported on the hardware I work with (I think I need to get uboot to support PXE)19:52
marcoceppipurpledog4: virsh can reboot VMs19:52
marcoceppiif it can't PXE it'll just keep the same image19:52
=== roadmr_afk is now known as roadmr
purpledog4marcoceppi: Ok.. I have seen virsh do that.. If it can then it is settled I will used virsh locally to see if it can reboot the VM to get assurance it can. I know PXE is non existent.19:53
purpledog4Thanksfor your help..19:53
purpledog4BTW is maas dhcp same as the dns-masq ?19:55
marcoceppinope, dns masq is for the domain name resolutions19:56
marcoceppiDHCP is a networking thing19:56
purpledog4So I do need to setup the maas nw interface for it I think19:57
purpledog4all this time the VM has been getting an IP address on its own network so those have been able to ping out but but not can reach that VM node .. so I guess that is the purpose of the MAAS dhcp I think19:58
sarnoldmarcoceppi: are you sure there? I wouldn't be surprised if dnsmasq is being used for dhcp20:01
marcoceppisarnold: I thought maas was doing something differently with dhcp, I could be wrong though20:01
sarnoldmarcoceppi: it has been a while since I've looked..20:01
purpledog4sarnold, marcoceppi: Hmm .. after alot of struggle to get virsh running and creating nodes .. I found that if the local NW was 10.0.0.X the nodes on the VM were able to access the NW just fine.. but had IP addresses of 192.168.x.y/20:05
purpledog4the nodes could access anything outside but not vice versa and documentaion indicated that was to be expected.20:05
purpledog4It was using dns-masq etc.20:05
purpledog4Sarnold: Now with with maas dhcp in the mix I will need to resarch how the VMs get IP addresses and I am a novice at application work.20:06
purpledog4More comfortable at the low level flipping bits/waveforms/RTL/etc etc thanks for the help.. really need it and appreciate it!!20:07
galebbacould anyone tell me how to clear  "agent-state-info: 'hook failed: "shared-db-relation-changed"' " left over from keystone charm ?20:27
tvansteenburghgalebba: if you just want to clear it, `juju resolved`20:30
galebbaawsome, thank you.. was trying this without luck juju resolved --retry keystone/020:33
jcastro_hey marcoceppi21:13
jcastro_so kirkland and I are doing a charm21:13
jcastro_and we fixed the bug we had in a hook21:13
jcastro_and then did `juju upgrade-charm`21:13
jcastro_and then `juju resolved --retry`21:14
jcastro_but the version of the charm on the deployed unit didn't upgrade21:14
jcastro_are we missing a step?21:14
AskUbuntuCan Ping but Cannot SSH to Openstack VM Instace | http://askubuntu.com/q/48615121:19
dpb1tvansteenburgh: hey -- around still?  Anyone I can poke to get this promulgated? https://code.launchpad.net/~davidpbritton/charms/precise/apache2/avoid-regen-cert/+merge/22110221:23
josedpb1: someone from the ~charmers team will have to take a look, but bare in mind that there's a queue of other things that are waiting too :)21:45
dpb1thx jose. :)21:46
kirklandmarcoceppi: I'm struggling with the varnish charm...do you know anything about it?21:50
josekirkland: what's the specific prob?22:04
kirklandjose: /etc/varnish/* isn't getting automatically updated with the related web service's hostname when making the relation22:04
josehmm, what I see on the hooks is that /etc/varnish/default.vcl is the file that needs to be updated, you say there are no changes there?22:05
kirklandjose: right, my hostname is not inserted in the top bit22:12
kirklandjose: my service is22:12
kirklandjose: so it's at least partially run22:12
kirklandjose: hmm, maybe I need to do soemthign more in my charm?22:12
josekirkland: possibly. are you setting on the interface-relation-joined hook "hostname=`unit-get public-address`"?22:12
joseif that's not set, then varnish won't know the address of the unit22:13
kirklandjose: hm, no, I'm setting it in website-relation-joined22:13
joseinterface is where the name of the interface goes22:13
joseand I assume you're doing `juju add-relation service:website varnish:reverseproxy`?22:13
josekirkland: ^22:15
kirklandjose: ah, I think that's it22:16
joselet me know how that goes :)22:16
=== CyberJacob is now known as CyberJacob|Away
marcoceppikirkland: who wrote the charm?22:56
marcoceppijcastro_: yeah, you can't do resolved --retry22:56
marcoceppithe upgrade-charm event is still queued22:56
marcoceppiso you don't have the new payload yet22:56
joseit's event-based, correct22:58

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