/srv/irclogs.ubuntu.com/2014/10/01/#juju.txt

=== thumper-afk is now known as thumper
=== rcj` is now known as rcj
=== scuttlemonkey is now known as scuttle|afk
=== uru_ is now known as urulama
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== urulama is now known as urulama-afk
jamespagegnuoy, https://code.launchpad.net/~james-page/charm-helpers/haproxy-https-multi-network/+merge/23667409:48
gnuoylooking09:49
gnuoyjamespage, just bikeshedding but if len(cluster_hosts) < 1: rather than if cluster_hosts: ?09:55
jamespageit might have just the local address in it - in which case we should ignore it09:55
gnuoysorry, I meant if not cluster_hosts:10:01
=== urulama-afk is now known as urulama
gnuoyjamespage, approved10:14
jamespagegnuoy, thanks - I'll probably wait for dosaboy and xianghuis ipv6 stuff to land before landing that one10:14
jamespageotherwise well get all twisted up10:15
gnuoysure10:15
bloodearnesthazmat: another trivial deployer MP for ya: https://code.launchpad.net/~bloodearnest/juju-deployer/no-relation/+merge/23667910:19
hazmat bloodearnest thanks10:20
jamespagegnuoy, could you double check me on https://code.launchpad.net/~james-page/charm-helpers/haproxy-https-multi-network/+merge/23667414:14
gnuoyjamespage, looking14:33
gnuoyjamespage, if/when you have a moment https://code.launchpad.net/~gnuoy/charms/trusty/openstack-dashboard/lp-1373714/+merge/23672014:36
gnuoyjamespage, still looks good14:40
=== uru_ is now known as urulama
lazyPowermarcoceppi: JoshStrobl:  - https://github.com/juju/docs/pull/19016:18
lazyPowerJoshStrobl:  so i heard you hate needlessly recompiling the entire hash, what if i said you could get live-building fairly easily with this mod :)16:18
marcoceppifeedbark16:20
lazyPowermarcoceppi: ack, and will do - let me hack up this watch: target first and inc. fix16:21
marcoceppilazyPower: I literally was moments away from clicking Comment on "Also, could you add a make watch target"16:21
lazyPoweri wanted you to nuke my approach from orbit before i vested the 10 minutes getting that working ;)16:22
marcoceppiwatchmedo works well enough16:23
lazyPowermake target isn't passing the variable though16:24
lazyPowerwatchmedo shell-command --patterns="*.md" --recursive --command='echo "${watch_src_path}"' . is what it shoudl look like16:25
lazyPowerthe ${watch_src_path} is coming up as nil, so its building the entire tree16:25
marcoceppiwhere is what_src_path set?16:27
lazyPowerit bubbles up from watchmedo16:27
lazyPowerweird, apparently you cant escape $'s in a makefile16:33
JoshStrobllazyPower, commented on pull 19016:47
lazyPowerhmm, i like that16:48
* JoshStrobl edited his comment16:48
lazyPowersame approach, cleaner to read16:48
JoshStroblyep16:48
JoshStrobleither way, it'll just call the build func once16:48
JoshStroblif there is no arg => same as it was before, otherwise just the one file we define16:48
lazyPowerpushed16:53
lazyPowerno luck on getting the watch target to populate correctly tho, its documented in that PR - moving on.16:53
lazyPowerJoshStrobl: marcoceppi - cleaned up, rdy 4 eyeballs17:01
JoshStrobllazyPower, thanks for the addition of documentation!17:08
lazyPowerthats icing on the cake17:08
JoshStroblYea :) Everything else looks great man.17:09
lazyPoweri'm cowboying this marcoceppi, unless you ninja me17:09
marcoceppilazyPower: why cowboy?17:19
marcoceppiGive me a chance to test, its not that urgent17:19
lazyPowermarcoceppi: im' hacking on docs today. *points @ his cards on kanban* - i want this17:20
marcoceppiOkay, well patch your local branch17:20
ayr-tonSomeone have passed to a ERROR juju.provider.common bootstrap.go:122 bootstrap failed: cannot start bootstrap instance: cannot run instances: gomaasapi: got error back from server: 409 CONFLICT (No matching node is available.)17:20
ayr-ton when try to juju bootstrap on maas?17:20
lazyPowerayr-ton: are you specifing a zone, or --to when you attempt to bootstrap?17:20
marcoceppiAyr-ton. What arch is your machines?17:21
ayr-tonlazyPower: no, just a boostrap with --upload-tools17:21
ayr-tonamd6417:21
marcoceppiAyr-ton are any less than 1g ram?17:21
ayr-tonHere's the full log: http://paste.ubuntu.com/8473883/17:21
ayr-tonmarcoceppi: No. 2GB, for test purposes.17:22
ayr-tonThe command I tried was: juju bootstrap --constraints="mem=512M" --debug17:22
ayr-tonAnd I also tried: juju bootstrap --upload-tools --constraints="mem=512M" --debug17:23
marcoceppi409 means Maas doesn't have any instances matching your request. Either there are non in ready state or that match constraints17:23
ayr-tonmarcoceppi: boot images? Or nodes?17:25
marcoceppiAyr-ton not sure what you mean17:25
ayr-tonmarcoceppi: Like, an instance matching my request under maas?17:26
JoshStroblhmm, anyone have some git foo here? merged the changes from juju/docs to my fork but it decided to create a new commit with a merge message and push it to my master (so now it is unnecessarily ahead of juju/docs). tips?17:27
marcoceppiYes, a node in maas17:27
ayr-tonmarcoceppi: Or a boot image matching my request? Or a node?17:27
ayr-tonmarcoceppi: So, It is my first try on maas, I need do manually add a node before juju bootstrap? Or juju will automatically add nodes?17:28
ayr-tonneed to*17:28
marcoceppiAyr-ton okay, yeah. You need to enlist machines in Maas first. Basically, if Maas says there are no node you have to add them first17:29
marcoceppiAyr-ton are these physical machines?17:30
ayr-tonmarcoceppi: Yep. One physical machine.17:30
lazyPowerJoshStrobl: git reset --hard hash17:30
mbruzekOK #juju question for you.17:30
ayr-tonmarcoceppi: A node can be both a virtual machine and a physical machine?17:31
lazyPowerand re-try the merge. Should be good to just checkout master, and git pull upstream master.17:31
marcoceppiAyr-ton yes. You can have a virtual machine17:31
mbruzekThe Juju charm can not download the charm payload.  But when I try the download on the Juju host it can download it.17:31
mbruzekhttp://bb01.mariadb.net/10.0/bintar_10.0_rev4416/mariadb-10.0.14-linux-ppc64le.tar.gz17:31
lazyPowermbruzek: when you say juju host, are you talking the machine that is hosting the charm?17:32
JoshStrobllazyPower, https://github.com/JoshStrobl/docs17:32
arosalesmbruzek: this is from the actual macine, correct?17:32
mbruzekWhy can the charms not see that url?17:32
JoshStrobllazyPower, doing a git reset hard isn't helpful after the commit merge has been push to origin/master :/17:33
ayr-tonmarcoceppi: And how to add a physical node? Like, how to add as a node the machine is running maas master? Just for tests, not for prod =x17:33
lazyPowerJoshStrobl: at that point, you have to force push, and make sure you're rewinding to a state that is pre-upstream so you ff-only merge.17:33
lazyPowermbruzek: you guys in /topic?17:33
marcoceppiayr-ton: Okay, maas is going to be painful unless you have more than 10 machines, you can't enlist the machine if it's running maas master17:35
JoshStrobllazyPower, okay, I owe you two beers now.17:35
lazyPowerJoshStrobl: <317:35
marcoceppiayr-ton: maas runs on it's own machine, typically it controls the DNS and DHCP for the environment17:35
marcoceppiayr-ton: so, typically, a machine is booted on the network, gets a DHCP from maas, mass does an enlistment of it, records its hardware, and turns off the machine, then it shows in your dashboard so you or a tool like juju can provision it17:36
JoshStrobllazyPower, not entirely sure what the end consensus will be about https://github.com/juju/docs/pull/179 . There was a short dialog between evilnick and I but a consensus wasn't made in the end about removing the "revision is now deprecated" statement.17:40
JoshStroblhttps://github.com/juju/docs/pull/17917:40
JoshStrobloops, already added it in the main message17:40
JoshStroblI need to lay off the energy drinks17:40
lazyPowerYeah, i read that one. I'm leaving it alone for now - as we're cleaning up revision files and dont have it in the template to be added to .gitignore/.bzrignore by default.17:40
lazyPowerso until that time that we get it cleaned up from the templates, i'm not vaping the doc page17:41
JoshStroblfair enough17:41
lazyPowerI FIGHT FOR THE USERS!17:41
ayr-tonmarcoceppi: So, in that environment: http://marcoceppi.com/2014/06/deploying-openstack-with-just-two-machines/17:44
JoshStroblwhoami > flynn uname -a -> SolarOS 4 something...17:44
ayr-tonmarcoceppi: You do have a maas master in the bigger machine, right? And the three nodes are all nucs?17:44
marcoceppiayr-ton: the bigger machine is the maas master, but it's not very powerful, it's just an old desktop PC that acts as a network bridget to the rest of my network. So it's got two nics and is the gateway for the switch all the nucs are connected to17:45
lazyPowerJoshStrobl: http://goo.gl/kplXgm17:45
JoshStrobllazyPower, yea I remember seeing that a few years ago17:46
lazyPowerSpecial Features DVD17:46
lazyPoweror BR, respectively17:46
marcoceppiayr-ton: also, the maas master doesn't get enlisted in maas17:46
ayr-tonmarcoceppi: Got it. So, for have something from maas master enlisted in maas, I do need to boot up a virtual machine inside this, right?17:47
marcoceppiayr-ton: right, you can use virtual machines, I recommend virsh/kvm as it's a supported type in MAAS17:48
marcoceppiayr-ton: https://maas.ubuntu.com/docs/nodes.html#virtual-machine-nodes17:48
marcoceppithose can live on maas master without incident17:48
ayr-tonmarcoceppi: Interesting. So, I could have an storage with like 60GB/s17:49
ayr-ton60GB/ram17:49
=== uru_ is now known as urulama
ayr-tonmarcoceppi: And use this for mass master and the other nodes.17:49
marcoceppiayr-ton: depending on how big your machine was tha tmaas master is running on, usre17:49
ayr-tonmarcoceppi: Thanks. I will try that (:17:50
marcoceppiayr-ton: best of luck, it can be a bit finicky to setup, I recommend virtual-manager it makes creating kvms with qemu/libvirt really easy17:52
ayr-tonmarcoceppi: thanks (:17:52
* marcoceppi will make a blog post about it17:52
mbruzekmarcoceppi: Any idea why the subordinate icons do not show up in a local deployment in the Juju GUI?17:57
mbruzekmarcoceppi: The local "regular" charms show up with icon.17:58
=== roadmr is now known as roadmr_afk
mbruzekmarcoceppi: ^^18:05
marcoceppimbruzek: a few reasons18:05
mbruzekmarcoceppi: Any of them things I can fix?18:06
marcoceppimbruzek: are you in a hangout18:08
mbruzekmarcoceppi: going there18:09
=== CyberJacob|Away is now known as CyberJacob
jrwrenjcastro: ping18:37
jcastroyo18:37
jcastromarcoceppi, hazmat, rick_h_: can you guys give this a once over? https://code.launchpad.net/~dweaver/orange-box/orange-box-robust-sync-charmstore/+merge/23675518:37
jcastrojrwren, yeah18:37
jrwrenjcastro: you know anything about trusty/elasticsearch not opening a port after running juju expose?18:38
jcastrohmm, no18:39
jcastrowhich provider?18:39
jrwrenjcastro: Know for sure if it has worked on ec2?18:39
jcastroit has for sure worked on ec218:39
marcoceppikirkland: in re orange-box-sync, do you not need the people.canonical mirror anymore?18:40
jrwrenjcastro: its not responsive for me :(18:40
jrwrenjcastro: precise charm works, but trusty does not.18:40
jcastrojrwren, how long since you deployed it?18:40
jcastrohuh ... ssh into the unit and see what's up?18:40
kirklandmarcoceppi: we haven't gotten around to it yet;  but if that's stable, your tarball would be *much* preferred18:40
hazmatmarcoceppi, the code for getall looks strange mr.list() -> config.sections18:40
jrwrenjcastro: hour or so.18:40
jrwrenjcastro: yes. I'll do that.18:40
marcoceppihazmat: yeah it tried to replicate / be compatible with the original charm getall from days gone by18:41
hazmatmarcoceppi, what i don't see is the call for getBranchTips to actually get all the charms18:41
marcoceppihazmat: it's in mr18:41
hazmatmarcoceppi, in here ? http://bazaar.launchpad.net/~charm-toolers/charm-tools/1.4/view/head:/charmtools/mr.py#L9618:42
marcoceppihazmat: yes18:42
hazmatmarcoceppi, where?18:42
marcoceppiit does a full bzr branch, not a checkout18:42
marcoceppioh, where does it get the lists of charms18:43
hazmatmarcoceppi, yup18:43
jrwrenjcastro: i don't understand the ansible logs, which is part of my problem.18:43
hazmatcharm getall -> just does mr.list() for retrieving charms18:43
jcastrojrwren, noodles is the author, I'd start with him. He's in europe so I recommend mail18:44
jrwrenjcastro: thanks.18:44
jcastrowhen you find the problem, ask him to add it as a test18:44
kirklanddweaver: marcoceppi has a minimal tarball of all charms18:46
kirklandmarcoceppi: what's the url for that?18:46
marcoceppihazmat: charm update has it18:46
kirklandmarcoceppi: and how often is it synced?18:46
marcoceppihazmat: it's super freakin convoluted18:46
marcoceppikirkland: I was just finishing it, it'll happen daily18:46
marcoceppikirkland: http://people.canonical.com/~marco/mirror/juju/charmstore/18:47
kirklandmarcoceppi: and the resulting tarball is like 15MB, right?18:47
marcoceppikirkland: yes18:47
kirklandmarcoceppi: sweet;  any chance we could get this merged into juju-gui, and at jujucharms.com (eventually)?18:47
marcoceppiessentially a shallow checkout without version control of all precise and trusty promulgated charms18:47
jrwrenjcastro: yeah, I found the issue. I'll drop him a note. I don't think I know ansible well enough to propose a fix18:47
kirklanddweaver: http://people.canonical.com/~marco/mirror/juju/charmstore/18:47
marcoceppikirkland: merged in how?18:47
kirklanddweaver: http://people.canonical.com/~marco/mirror/juju/charmstore/latest.tar.gz18:47
kirklandmarcoceppi: for this to just be a "service" that is at jujucharms.com/latest.tar.gz or whatever18:48
kirklanddweaver: so, what I'd much rather see, is that sync script just grab that tarball, and untar it18:48
marcoceppikirkland: oh, uh, I suppose. I'll talk to rick_h_ about that, but this will probably need to live directly in the charm store since that's where all the charms will be more or less18:48
jcastrokirkland, I think that's more of a rick question18:48
kirklandmarcoceppi: jcastro: cool;  rick_h_ ?18:48
kirklanddweaver: would you mind having a crack at that?18:49
* rick_h_ reads backlog18:49
dweaverkirkland, marcoceppi thanks, that'll do the trick.18:49
lazyPowerjrwren: hey, i know whats up18:49
kirklanddweaver: I'd imaging a wget + untar would be about 10000x more reliable and faster than bzr branch 250 times :-)18:49
bacjcastro, jrwren: noodles now lives in australia18:49
lazyPowerjrwren: elasticsearch byd efault enables UFW on port 9200, which is the default elasticsearch port. You can nuke this from orbit with juju run -  juju run --service elasticsearch "service ufw stop"18:49
dweaverkirkland, indeed, I'll use that method, should be a lot faster too.18:49
kirklanddweaver: also, re: "enable-os-upgrade: false", hazmat says that'll be silently ignored on juju-core < 1.2118:50
kirklanddweaver: so, good catch on the stupid \t tab18:50
kirklanddweaver: but I'm going to remove the # commenting that bit out18:50
jrwrenlazyPower: thanks! that would do it!  Any reason to not have the charm default to that?18:50
kirklanddweaver: +1, thanks18:50
kirklanddweaver: cool?18:50
dweaverkirkland, well, I was testing it and it might not matter, but it doesn't silently ignore it.18:50
kirklanddweaver: ah, it warns, but it keeps going?18:51
lazyPowerjrwren: it falls under the 'secure by default' section.18:51
dweaverkirkland, it prints out something like unsupported option at every juju command18:51
kirklanddweaver: oh18:51
dweaverkirkland, but does keep going18:51
kirklanddweaver: hmm18:51
rick_h_kirkland: hmm, so the goal is to get a tarball of the latest rev of all charm zips?18:51
kirklanddweaver: okay, well, in the debian/control, we could depend on juju-core >= 1.2118:51
marcoceppirick_h_: yes, all promulgated charms18:51
jrwrenlazyPower: I thought that was exposes job. Any reason to not have the charm do that on expose?18:51
rick_h_kirkland: marcoceppi bundles won't work as they're versioned locked and you'd need the right version18:51
kirklanddweaver: and add to the orange-box manual that you have to go and add the juju ppa18:51
rick_h_marcoceppi: ok, only promulgated?18:51
lazyPowerjrwren: also its documented in the readme. Between those two reasons alone - I cannot fault the author for ensuring data security.  It's worthy of filing a bug.18:51
jrwrenlazyPower: also, secure from what exactly? :)18:52
kirklandrick_h_: oh....fudge18:52
jrwrenlazyPower: Huge thanks.18:52
lazyPowerjrwren: juju expose only interfaces with the provider firewalling solution, afaik it doesn't send any signals to the charm/service itself.18:52
rick_h_marcoceppi: kirkland I'm tempted to just say it's a few line script to do this with the new charmstore api going live at the end of the month18:52
kirklanddweaver: uh oh, that's a good point18:52
marcoceppirick_h_: right, and given that these are all deployed from local I think that no bundles working is okay?18:52
rick_h_marcoceppi: right, for now.18:52
kirklanddweaver: if we do the tarball thing, we'll need to remove all of the version locking of charms18:52
rick_h_marcoceppi: kirkland we can move the conversation and I can tell you where we're headed18:52
rick_h_marcoceppi: kirkland and maybe get you guys in on beta testing/etc but not sure about this solving the root issue atm18:53
kirklandrick_h_: ok18:53
marcoceppikirkland: well, even with charm getall bundles won't work18:53
marcoceppisimply because you're doing juju deploy --repository local:charm18:53
dweaverkirkland, marcoceppi I'm not worried about bundles, we've been creating local version of bundles that exist locally on the orange box and want the charms to be available locally, so we remove the version from the bundle anyway18:55
marcoceppidweaver: I figured18:55
marcoceppidweaver: the mirror will give you that18:56
kirklanddweaver: right, but our current bundles in lp:orange-box-examples often specify specific versions of charms18:56
kirklanddweaver:       charm: "cs:trusty/ceph-27"18:56
dweaverkirkland, yes, but I've been creating local versions too that have "branch: lp:charms/ceph" instead18:57
kirklanddweaver:18:57
kirklanddweaver: okay18:57
kirklanddweaver: well, as long as you're aware, and handle it, I think it's great18:57
kirklanddweaver: we'll just need to adjust18:57
kirklanddweaver: in the end, I love the idea of grabbing the snapshot tarball18:57
dweaverkirkland, so do I, I'll work on including that.18:59
kirklanddweaver: thanks!18:59
kirklanddweaver: fyi, I've committed, pushed, and released the rest of your fixes, thanks!19:11
dweaverkirkland, ty19:12
jcastromarcoceppi, I get an error if I click on a person's name in the review queue19:18
marcoceppijcastro: yeah, known issue, patched, but patch isn't applying in production19:18
jcastroack19:19
=== scuttle|afk is now known as scuttlemonkey
aisraelHey charmers, any chance one of you could take a look at this MP? https://code.launchpad.net/~aisrael/charms/precise/cassandra/apt-gpg-key/+merge/23534119:38
aisraelthanks, marcoceppi!19:41
=== roadmr_afk is now known as roadmr
=== scuttlemonkey is now known as scuttle|afk
ayr-tonmarcoceppi: A other question. Is possible to deploy nova-compute in the maas master with juju, if it have enough memory? Because I can't add the maas master to enlist as a physical node, right?21:24
marcoceppiayr-ton: you can't to both of those21:24
ayr-tonmarcoceppi: So. In that environment, I would have only a storage.21:25
marcoceppiayr-ton: but I hink you can put nova-compute in a KVM21:25
marcoceppiit'll be slow, but it should work21:25
lazyPowermarcoceppi: can i get a quick glance over - https://bugs.launchpad.net/charms/+source/haproxy/+bug/137308121:25
lazyPowerthis is for arosales21:25
ayr-tonmarcoceppi: The best way would be install the openstack directly on the machine?21:25
lazyPowerdpb1, niedbalski - feel free to jump in on this as well if you've got the time.21:25
ayr-tonmarcoceppi: Use MAAS can make the things difficult?21:26
marcoceppiayr-ton: you can't deploy nova-compute to the bare metal for maas master21:26
marcoceppiayr-ton: but you can put it in a VM21:26
ayr-tonmarcoceppi: Put nova-compute under KVM is a good idea?21:27
lazyPowerayr-ton: MAAS is well worth the investment of time if you're going to be orchestrating > 10 nodes. Otherwise, i've found its just 'simpler' to get moving with KVM hosts under a manual environment, and VM snapshots to revert to a 'clean' state.21:27
marcoceppiayr-ton: if you have no physial machines, then it's a great idea.21:28
lazyPowerbut i think marco alluded to that earlier today, so pardon my anecdotal interruption.21:28
ayr-tonmarcoceppi: If I use nova-compute inside a KVM I will be using nested virtualization, right?21:31
marcoceppiayr-ton: yes21:31
ayr-tonmarcoceppi: In your setup with NUCs, the NUCs was added as physical machines?21:34
marcoceppiayr-ton: two were, I put virtual machines on the third. One was storage, one was nova-compute, the rest on VMs21:35
ayr-tonmarcoceppi: So, the juju deploy nova-compute deployed this inside physical machine, not a vm?21:37
marcoceppiayr-ton: in my example, yes21:37
ayr-tonAwesome (:21:37
ayr-tonmarcoceppi, lazyPower: Okay. Thank you guys21:38
=== CyberJacob is now known as CyberJacob|Away
lazyPowerayr-ton: happy to help in any way that i can21:38
niedbalskilazyPower, ack21:45
marcoceppilazyPower: lgtm21:49
lazyPowerta marcoceppi21:49
lazyPowerniedbalski: if you're reviewing i'll wait to address it a bit longer21:49
niedbalskilazyPower, i will review it in short21:52
sebas5384jose: i'm going to be in the DrupalCamp Bolivia giving session about DevOps with Drupal and Ubuntu Juju :) http://cocha2014.drupalbolivia.org/session/desarrollando-con-drupal-en-equipo22:31
sebas5384if you can please! join us!22:31
niedbalskilazyPower, do you have a MP for the haproxy branch?22:31
lazyPowerniedbalski: https://launchpad.net/~lazypower/charms/trusty/haproxy/trunk - it was a new branch, as it didn't exist in the store22:32
niedbalskilazyPower, i put some comments https://bugs.launchpad.net/charms/+source/haproxy/+bug/137308122:44
X-warriorIs it possible to have more then one bootstrap machines on the same amazon region23:57
X-warrior?23:57

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