/srv/irclogs.ubuntu.com/2014/12/08/#juju.txt

=== kadams54 is now known as kadams54-away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== kadams54_ is now known as kadams54-away
=== urulama_ is now known as urulama
=== erkules_ is now known as erkules
stubwhere do bugs on jujucharms.com go now?09:46
=== CyberJacob|Away is now known as CyberJacob
=== kadams54 is now known as kadams54-away
marcoceppistub: https://github.com/CanonicalLtd/jujucharms.com12:08
stubmarcoceppi: Ta. I also found the charmworld project on Launchpad, configured for accepting bugs, so added it there.12:10
marcoceppistub: charmworld was the old jujucharms.com12:10
marcoceppiit's switched teams and what not12:11
stubmarcoceppi: More bugs to file then :) It is still linked in the footer, and the LP project should point to the external bug tracker.12:11
* stub files bugs12:11
marcoceppistub: good point, thanks!12:13
ejathi all12:45
ejathttp://paste.ubuntu.com/9426602/12:45
ejatcan some one help12:45
=== CyberJacob is now known as CyberJacob|Away
marcoceppiejat: have you changed anything in the environments.yaml12:52
ejatmarcoceppi : nope12:58
marcoceppiejat: fwiw, 1.20.14 was released recently12:58
ejatok ..12:58
marcoceppierrr12:59
marcoceppisorry, is being proposed for release12:59
ejatlet me try update 1st12:59
marcoceppiI don't see anything regarding that in the bugfix log though12:59
marcoceppione sec12:59
ejatok ..12:59
ejatmarcoceppi : another thing ... did juju jitsu still working ?13:00
ejatto export n import to another environment ?13:00
marcoceppijitsu hasn't worked for over a year, that's for juju < 0.713:01
ejatopss .. my bad ..13:01
marcoceppiejat: you can still export an environment, it's called bundles13:01
ejatso its mean need to load the bundle file using juju-gui ?13:01
marcoceppiejat: yeah, that's the new "export/import" feature13:01
ejatneed to up the juju-gui at the another environment 1st then import the bundle ?13:02
ejatbrb.,,13:02
ejatmarcoceppi: so now .. no automatic way to transfer the bundle to another environment?13:04
marcoceppiejat: no13:04
ejatok noted :)13:05
* ejat catching up things back 13:05
ejatmarcoceppi: im using 1.21-beta3-utopic-i38613:13
ejatshould i file a bug?13:15
ejatsinzui : thanks13:23
ejatmarcoceppi: http://curtis.hovey.name/2014/06/12/migrating-juju-to-hp-clouds-horizon/13:23
ejatits because of the region .... poor me ..13:24
=== roadmr is now known as roadmr_afk
icerain_hi there16:11
icerain_does anyone has experience with setting up openstack via juju16:11
marcoceppiicerain_: a bit, what's up?16:13
icerain_we try to set up an openstack using the multiinstall script16:14
icerain_but the process always get stuck due bootstrapping juju16:14
icerain_always get permission denied cause of the ssh keys16:15
icerain_first we set up a ubuntu server and then a maas16:17
icerain_commissioned a node for juju16:17
icerain_and thats it16:17
icerain_Remote host authentication has changed is the error message16:18
=== roadmr_afk is now known as roadmr
icerain_actually i think we make an error between installing maas and juju16:22
icerain_we have 6 nics per node and use eth4 for external and eth5 for internal coomunication16:23
marcoceppiicerain_: I think it might be best if you summarize your setup, what you've done so far, the errors  you're getting and either post on http://askubuntu.com or email them to juju@lists.ubuntu.com16:24
marcoceppiI'm not too experienced with openstack and juju, but by having them recorded I can help find the people who can answer your questions16:25
icerain_kk, thank u anyway16:25
hackedbellinihi! Can someone help me with a little problem? I have a relation between one unit a postgresql one. The machine where postgresql is in changed ip. Juju recognized it, but the relation is still getting the old one, making that service upadate it's config file to the old connection ip17:24
hackedbellinihow can I force the relation to receive that new ip?17:24
lazyPowerhackedbellini: thats dependent on how its receiving the address - is it looking at remote-get private-address?17:26
hackedbellinilazyPower: let me take a look on the charm code, just a src17:28
hackedbellinisec*17:28
hackedbellinilazyPower: it's using relation-get17:29
lazyPowerhackedbellini: which provider is this?17:29
lazyPowerhackedbellini: and juju version would be helpful as well17:30
hackedbellinijuju version 1.20.117:31
hackedbelliniprovider? It's a relation between postgresql (last charm version) and gerrit (a local one I cloned before canonical-ci became private)17:31
hackedbellinilazyPower: it gets the hostname by using charmhelpers relation_get: relation_get('host', rid=relid, unit=unit)17:32
lazyPowerhackedbellini: ah that sounds like its using a cached config thats being sent over the wire - and it may be sending a full postgresql connection string - i'm not 100% familiar - are you in a debug-hooks session and can verify?17:33
lazyPowerif youare - just running `relation get` in the relationship context will give you teh full output of whats coming over the wire, and give us a good frame of reference for debugging17:33
lazyPowerto isolate if this is a juju bug or a postgresql charm bug17:33
hackedbellinilazyPower: how can I enter a debug-hooks session?17:34
lazyPowerhackedbellini: juju debug-hooks service/#17:34
lazyPowerthis will place you in a tmux session - you'll want to open another terminal and issue the command `juju resolved --retry service/#`17:34
lazyPowerassuming it wsa the relationship hook that failed - it should place you in the context of that relationship hook.17:35
hackedbellinilazyPower: it's not failing the service, unfortunately17:37
lazyPowerhackedbellini: ok - so we have to go a bit deeper - do you have time to run through a another deployment of your service thats consuming postgres?17:37
hackedbellinilazyPower: what do you mean?17:38
lazyPowerhackedbellini: adding another unit - attaching a debug-hooks session to that unit thats under deployment to obtain the data.17:39
lazyPoweractually 1 moment, there may be a quicker way to do this17:39
lazyPowerlet me check the manpages17:39
lazyPowerhackedbellini: looking over the code it appears this is coming from some kind of cached config - i'm having trouble locating where master_host is getting set as its a parameter, but thats whats being assigned to the host= var17:46
lazyPowerhackedbellini: and this is with relation to postgresql clustering - it appears it does an internal quorem and sets this ip - which is the culprit - so its a bug against the postgresql charm17:47
hackedbellinilazyPower: hrmmm, I see. I'll take a look at the postgresql charm too to see if I can help you find where it's storing the cache17:48
lazyPowerhackedbellini: can you file a bug against the postgresql charm about this? as I can foresee this being a major thorn in the side of any postgresql admins that experience an outage.17:48
lazyPowerif we can't get to it, i bet stub can iron this out in a an iteration or two17:49
hackedbellinilazyPower: now that I saw, not only that... postgresql still have the gerrit's old ip on its pg_hba17:53
stubIf changing the machine's ip does anything, it will call the config-changed hook. I don't think relation-changed hooks get triggered, so the new ip will never be published17:53
stubdb_relation_joined_changed is calling hookenv.unit_private_ip() to get the ip, so it isn't cached afaict.17:54
lazyPowerah ok17:54
hackedbellinistub: so what can I do in this situation to force postgresql and gerrit to get their new ips?17:55
lazyPoweri didn't get very deep in the code - i'm multi-tasking this, sorry about the red herring - your analysis is sound stub.17:55
lazyPoweri can see that being the case.17:55
stubI may be out of date though. Last I heard, you can't change a units ip address for any service.17:55
hackedbellinistub: really?17:56
stubhackedbellini: like I said - I might be out of date.17:56
stubif you change the relation at the client end, it will invoke the server's relation-changed hook and the new host will be published.17:56
hackedbellinistub: hrm ok. But well, some ips changed =P. How can I change the "cache" that's holding those ips?17:57
jcsackettlazyPower: hey man, do you happen to know of any way to retrieve an environment password if you've lost your jenv files &c? this is on a a machine i still have non juju ssh access to (manual provider).17:57
stubjuju run --unit=client/0 relation-set -r db:42 something=whatever17:57
lazyPowerjcsackett: oo good question - I think its stored in mongodb but i dont have the foggiest idea where that document would be.17:57
lazyPowerjcsackett: and i would imagine its salted in the database17:57
hackedbellinistub: hrmmmm, lets try that17:57
stubhackedbellini: Or you can just explicitly set the host attribute on the relation using juju run too17:58
jcsackettlazyPower: yeah, that's what i was afraid of. i have a whole owncloud and other stuff setup i don't want to get rid of, but i now have no juju access to it...had an HD die a few weeks ago and just now realized that juju env files weren't part of my backup...17:58
stubIf I am out of date and you can change a units ip address after deployment, please file a bug :)17:59
lazyPowerjcsackett: Really sorry to hear that - a core dev might be able to help you recover that info though.17:59
hackedbellinistub: the "-r db:42". What does that mean?17:59
jcsackettlazyPower: good point. i'll bug core. thanks.17:59
hackedbellinistub: juju recognized the ip change, but the realation is still getting the old one... maybe I need to run relation-set18:00
hackedbelliniit shouldn't, but it's an acceptable solution atm =P18:00
stubhackedbellini: db:42 is an example relation id. 'juju-run --unit=client/0 relation-ids db' or 'db-admin' will list them18:00
hackedbellinistub: hrmmm, nice! Let me try that and I'll give you a feedback to say if that worked18:01
stubhackedbellini: Worst case, you can use juju run like this to override any values in the relation you like... just try not to blow your foot off :)18:02
lazyPowerstub: you just dropped some science on me about -r relation:id18:02
stublazyPower: Just test before repeating - I'm knee deep in something else and doing this by memory ;)18:04
stublaunchpad.net/juju-relinfo if you want a plugin to reduce the typing for the relation-get/relation-sets18:05
hackedbellinistub: I think it worked! Thank you!18:06
hackedbelliniand thank you lazyPower for taking the time to see that with me18:06
stubnp18:06
lazyPowerhackedbellini: no worries :) I'm happy we didn't traverse the original route i was proposing18:06
lazyPowerthat would have been long winded to determine blame18:06
stubIs there some way of telling amulet to deploy cs:precise/storage under trusty? Since I need to relate the subordinate to a trusty service?19:01
lazyPowerstub: you'll need to make a local copy19:06
stub:-P19:06
lazyPowercd ~/charms/trusty && charm get cs:precise/storage -- that will effectively make a local trusty charm - and you'd deploy it like any other local charm.19:06
lazyPowerymmv if deps have changed between precise/trusty19:06
=== fuzzy_ is now known as Fuzai
stubI'll try a custom branch via the charm store. I don't want to embed a copy of the storage charm in my charm just for running tests.19:09
stubOr do lp: urls work? Hmm...19:11
stubWe should probably promulgate it to trusty anyway, since I think we are already running it in production :-/19:13
marcoceppistub: personal branch in cs is best way19:39
stublp: branch is working, with one less point of failure.19:51
stub        deployment.add('storage', 'lp:~stub/charms/trusty/storage/trunk')19:52
PariahViHello.  I am just starting to fully look into Juju charms rather than Juju-core and I had a question about the charms.  Would you run the charm's install script again if you wanted to update the package if it was not installed via apt-get?20:22
thumperPariahVi: normally there would be an upgrade hook that would do that20:28
PariahVithumper: Okay.  Thank you.  This points me in the correct path of documentation reading. :)20:28
thumpernp20:28
=== roadmr is now known as roadmr_afk
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
drbidwellI have a juju bootstrap that runs with a MAAS.  The bootstrap looks like it completed successfully and ends with "comamnd finished", but maas never changes the machine to a "deployed" state.  Any ideas why this might be?21:07
=== cmagina_ is now known as cmagina
=== roadmr_afk is now known as roadmr
johnmceHi guys. I just tried to get SSL enabled for the keystone charm. It doesn't work, and I note that there's no [ssl] section in any of the templates, nor does it appear in the keystone.conf on the target machines. Can anyone confirm that this is known to be broken?21:51
johnmceObviously I've provided an SSL key and cert. The endpoint URLs show https, but that appears to be the only evidence of any attempt at SSL.21:52
hatchjohnmce: If no one pops in with an answer to your question you might have better luck asking on askubuntu.com, the juju mailing list, or by contacting the charm maintainer22:08
marcoceppijohnmce: the SSL stuff is handled by a charm helper, I'm not sure the specifics of that charm as it's maintained by the Openstack Charmers team22:39
marcoceppilike hatch mentioned mailing the mailing list (juju@lists.ubuntu.com) is a great way to get in touch with them. When I see it come in I can make sure it gets their attention22:40
marcoceppidrbidwell: try running juju bootstrap with the --debug flag22:47
marcoceppidrbidwell: also which versions of maas and juju are you using?22:47
drbidwellmarcoceppi: maas 1.7.0 and juju-core is 1.20.13 for U14.04.122:54
drbidwellI have the debug output also22:54
marcoceppidrbidwell: debug output is good, could you put it on http://paste.ubuntu.com22:55
drbidwellmarcocceppi: http://pastebin.com/3LDxnQyy22:55
dpb1tvansteenburgh: does bundletester provide facilities for archiving logs?23:04
dpb1tvansteenburgh: specifically the unit logs23:04
tvansteenburghdpb1: no23:04
dpb1tvansteenburgh: k, thx23:05
tvansteenburghit would be a great feature though23:05
tvansteenburghwould like to add it eventually23:05
dpb1tvansteenburgh: yes, I'd like something like that, we have a script that does the same.  I might think of how to incorporate it.23:06
tvansteenburghdpb1: great!23:07
dpb1tvansteenburgh: is tests/test.yaml used?  I put some 'packages' in there and it doesn't seem to influence anything23:09
tvansteenburghdpb1: yep23:10
dpb1tvansteenburgh: http://paste.ubuntu.com/9433320/23:11
dpb1tvansteenburgh: does that look right?23:11
tvansteenburghyeah23:11
tvansteenburghkeep in mind your venv probably isn't seeing sys pkgs23:13
tvansteenburghand we don't have a way to pip install via that yaml file (yet)23:14
tvansteenburghso a 00-setup.sh that installs pkgs is probably the best solution when running in a venv right now23:16
=== urulama_ is now known as urulama
tvansteenburghdpb1: hope that helps, i gotta EOD23:19
dpb1tvansteenburgh: yes, that helps23:22
dpb1and matches what I'm seeing23:22
MicromusSo, is Juju as good as it looks from the website??23:35
LinStatSDRMicromus: It absolutely is.23:37
MicromusI don't believe it :P23:38
LinStatSDRI got a full private cloud running with under 10 commands.23:39
MicromusI was looking to deploy cloudstack for testing, figured openstack was still immature, but canonical just released a new version quite recently, no? with a lot of juju magic integrated with it?23:40
LinStatSDRMicromus: You should, that's the future of things. IoT, Cloud yada yada23:40
LinStatSDRYou can install Openstack on a single system in under an hour23:40
MicromusSure, installing something is one thing, but maintaining and using it is another23:40
sarnoldMicromus: openstack is deployed on hundreds of thousands of systems, if not millions23:41
LinStatSDRI don't find clicking and dragging to be terribly difficult to manage.23:41
Micromusdoesn't mean it's a fit for us though23:41
LinStatSDRoO23:41
Micromushehe, I just spent several days trying to configure a Ceph cluster, and giving up in the end, so everything that shines is not gold23:42
LinStatSDRI have not found a solution such as OpenStack and Juju that is more effecient, powerful, reliable and FREE than said solutions23:42
Micromusthat said, I'm really looking forward to trying the new ubuntu openstack "thingie"23:42
LinStatSDRWhat is your background with computing?23:43
MicromusI bought 9 used serverblades on ebay privately to start testing cloud stuff23:43
Micromusabout 10 years of network and system administration23:43
LinStatSDRThere is a lot of research and knowledge, as nice as I made it sound you do have to have a wide range of system knowledge23:43
LinStatSDROh okay, anything on the Unix / Linux side? Most of it can be handled through ssh23:44
Micromusmostly networking, but networks often need some servers and other stuff to have a purpose23:44
LinStatSDRIt would be most beneficial to have a strong background in Linux type systems.23:44
LinStatSDRFor troubleshooting at least.23:44
Micromusrun 50 linux servers yes23:44
LinStatSDRAh no worries then.23:44
LinStatSDRMicromus: Now your type of deployment is different if you got 9 blades you're going to use for it.23:45
Micromusfamiliar with googling and troubleshooting, even if that is not what i enjoy spending my time doing23:45
MicromusI'll probably use 3 of the blades for testing openstack23:45
LinStatSDRMicromus: So you would most likely want to use MaaS and manage them through landscape or something.23:45
LinStatSDRMicromus: Specs on those blades pretty good?23:46
MicromusAt work we are looking to replace VMware, so the more  of our new services, and legacy stuff, we can get on a "cloud" solution the better23:46
Micromusnah, bought used on ebay for $2500, combined :P23:47
LinStatSDRThat would be a great replacement, Juju and openstack platform23:47
Micromus48gb ram, 2x1tb disk, 6 core cpu23:47
LinStatSDRTotal? or each?23:47
MicromusEach23:47
LinStatSDRYou bought 9 blades with those specs 2500?23:47
sarnoldnice23:47
MicromusYep :D23:47
LinStatSDRYou lucky...23:47
MicromusShipped them with container to norway, installed in the basement23:48
LinStatSDRSeems like you're bottle neck is the HDDs23:48
Micromusprobably, there are 2 free slots for each blade tho23:48
=== kadams54 is now known as kadams54-away
LinStatSDRNot to be too blunt, but at least in my particular experience it is very heavy on the IOPS23:48
MicromusWhat is?23:49
LinStatSDROpenstack Platform and such, especially Juju23:49
MicromusWhen deploying stuff, or continously?23:49
LinStatSDRRaid 1 at minimum, raid 5,6 or 1023:49
MicromusI just deployed a 3 node cluster of HBase in the weekend, using Ambari for deployment, very good stuff23:51
LinStatSDRIn general, but it depends on the number of users you'll have, for testing, it may seem fine but add a few users, depending on network congestion, cpu, ram and hdd utilization at the time you'll find it will slow down considerably23:51
MicromusYep, thats why it's good to have some hardware to play with and set stuff up and test actual workloads on23:51
MicromusBefore we go buy hardware for production, without knowing what to optimize for23:52
LinStatSDRMy testing environment isn't the best but after establishing performance baselines with expected vs actual I have came to that conclusion23:52
LinStatSDRAre you using MaaS at all?23:52
MicromusNever heard of MaaS23:52
LinStatSDRAre you using Ubuntu or debian?23:53
Micromusdebian today23:53
Micromusand centos6 for ambari/hadoop-cluster, since debian is not supported yet23:53
LinStatSDRI use Ubuntu but I suppose it doesn't matter. https://maas.ubuntu.com/ You should check it out. MaaS is very, very nice and Juju can orchestrate that very well23:53
MicromusI like the review of Charms etc23:54
MicromusI believe one of the problems with FOSS is lack of accountability, and actual review of stuff before it is "passed on"23:55
LinStatSDRThe only gripe I have about Juju is that there are far more charms and bundles than what show up when "Searching"23:55
MicromusSo as a receiver/consumer of FOSS products, you get a lot of surprises  on docs, quality, whatnot23:55
LinStatSDRMicromus: Accountability? Why?23:55
MicromusWhat I mean is, there are too many morons releasing too much crap23:56
LinStatSDROnly add PPA's that are stable.23:56
MicromusMaking it hard to actually believe when something great, like Juju seems to be, actually appears :)23:56
MicromusI will definetely look at maas/juju/ubuntu openstack for our new DC deployment which I hope wll get budgeted for next year23:57
LinStatSDRJuju is wonderful, simple and easy. Juju along with the associated platform/platforms requires a significant amount of knowledge about not only their software products but in every area.23:58
MicromusAlso seeing a fairly large, and very welcomming, irc channel is also a huuge plus for any product/ecosystem23:58
LinStatSDRMicromus: The Canonical Dist for OpenStack, http://www.ubuntu.com/download/cloud/install-ubuntu-openstack23:59
MicromusIndeed, that is why it is such a big commitment to go down one road, with regards to asociated platforms etc23:59
MicromusAnd why it's so important that the system can be set up for testing in minimal amount of time, since maybe one has to test multiple alternatives23:59

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