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

=== mwhudson_ is now known as mwhudson
=== mjs0 is now known as menn0
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== menn0_ is now known as menn0
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== mjs0 is now known as menn0
=== CyberJacz is now known as CyberJacob
=== benji__ is now known as benji
=== mbarnett` is now known as mbarnett
=== Topic unset by jcastro on #juju
jcastroheya lazyPower14:32
jcastrohttps://bugs.launchpad.net/charms/+bug/135353514:32
jcastrocan you look at this when you get a chance?14:32
lazyPowerjcastro: on it15:31
jcastrolazyPower, <315:33
jcastromarcoceppi, lazyPower: also, can you guys rope in adeuring with that vagrant port discussion?15:42
jcastrosinzui tells me he can help us fix15:42
lazyPoweradeuring: have a look at https://github.com/juju/juju/issues/470 when you've got time.15:43
adeuringlazyPower: already working on it. At least a simple fix should be ready tomorrow15:45
lazyPowernice15:45
lazyPoweradeuring: you're the man. hi515:45
jcastroadeuring, thanks man, that's awesome!15:47
adeuringlazyPower: thanks :) Bur right now I've just changed the port used for the gui. but vagrant also supports a kind of "port collision detection and resolution". It would be nice to use that too -- but I have no clue how the guest machine could see what its port config is. And that would be needed if we want to enable the collision detection15:48
lazyPoweradeuring: I'm somewhat familiar with what you're talkign about - i'm pretty sure its a mapping. You give it options to use on the host, the port on the guest is always static.15:48
lazyPowerso the host could be say, 8000, 8001, or 9090 - you pass it that array and it attempts. if fails it cycles to the next port. once its exhausted all options it bails out.15:49
lazyPowerthe idea is you dont know what the host environment has occupied, but the guest is always expecting to use the same port.15:50
adeuringlazyPower: the problem is: the server on port 6080 redirects to 8001 (or some othoer port in the furutre). And this redirecting server needs to know what the currently used port is15:50
lazyPowerthis sounds like a job for configuration management, and a tuneable config option.15:51
adeuringlazyPower: perhaps. My main problem: As I understand it, vagrant can select a new port on each run of "vagrant up". So the redirecting server needs to know what the currently selected of for the main gui server is15:52
lazyPowerthis is all guest based configuration. The HOST is the only port that's likely to change in this scenario right?15:53
adeuringin other words: some process on the guest needs get information how is was configured by the host15:53
lazyPowerhmm... maybe i'm not looking at this correctly15:54
lazyPoweradeuring: i'll wait for your patch submission - you said likely tomorrow?15:54
lazyPowersub me to the MP please. I'd love to look this over so I know whats changing.15:55
adeuringlazyPower: right. Two patches actually: One for lp:jujuredirector/quickstart, the other for the build scripts15:55
lazyPowerok. Thanks for the heads up adeuring. I'll keep an eye out for the e-mails when it happens.15:55
rbasakmarcoceppi: could you review my answer in http://askubuntu.com/questions/506647/juju-and-openstack-manual-provisioning/507690#507690 please? I think it's accurate, but I want to make sure.16:05
frobwareI keep running into issues with keystone and agent-state-info: 'hook failed: "shared-db-relation-changed"'. Further debug-log stuff: http://pastebin.ubuntu.com/7971540/  Any clues as to why that now fails? I say now because for some hours this afternoon everything has been fine.16:11
mfa298frobware: I've had similar issues when deploying a HA cluster but doing a juju resolved --retry keystone/<instance> on the failed one after the primary has finished all it changes seems to fix it.16:13
mfa298My understanding is when setting up the relationships only one instance can do some of the work (setting up the DB). If the other instances try and get that config before those parts are setup you get an error16:14
frobwaremfa298: I can juju ssh keystone/0 and run the command in the output without error16:14
=== BradCrittenden is now known as bac
frobwaremfa298: so maybe some impatience in my script: I have all the deploy and add-relation's run without any intervening sleeps...16:15
mfa298even with pauses you might get errors.16:15
frobwaremfa298: so repeatedly run 'resolved' should resolve this?16:16
mfa298If you've deployed 2 instances of keystone, added HA cluster then add the relationship to mysql. You'll find that only one keystone instance creates the DB etc (I think that's the oldest instance) but both  will try and get the DB config. If the 2nd instance tries to get the config before the DB is created (very likely to happen) then it gets an error16:19
frobwaremfa298: no HA here. just single instances.16:19
mfa298ah ok, the shared-db error seemed to imply you had some sort of HA. But I'm by no means an expert (I've been trying to get it working with HA).16:20
frobwaremfa298: I was curious as to why ssh'ing and running the commands always succeeds, yet any invocation of --retry yields the error in the pastebin16:20
mfa298I'm not sure about that. I've only seen errors like that with the HA bits16:22
frobwaremfa298, this is with: 1.18.1-trusty-armhf.  I could try 1.20.16:22
frobwaremfa298: ah well, so it's resolved. I've been banging on the --resolved action for about 30 mins prior to talking here. Seems a long time but 'status' reports 'started'. Thanks anyway.16:26
frobwaremfa298: heh, so pretty much all services now report the same error. I'm confused...16:28
frobwaremfa298: Once you enter a 'agent-state: error' do you have to resolve manually or does juju retry automatically?16:29
mfa298I dont think juju does anything else until something is prodded - but I don't know enough to be sure what actions can lead to things being fixed.16:30
mfa298I've mostly just used resolved --retry and if that fails try and work out what config is missing, destroy the environment and start again.16:31
mgzyou can also destroy-machine --force as a next step after resolved which is less of a big hammer than taking down the whole env16:32
mfa298for me at this point it's a good test of the documentation and how repeatable things are.16:34
mfa298as a side note what't the best way to report bits missing in the documentation (e.g. needing to set secret for openstack-dashboard when doing HA)16:41
frobwaremgz, mfa298: for the some of the other things that are failing I get "Access denied for user 'glance'@'192.168.2.251' (using password: YES)".16:42
frobwareAnd I wonder how relevant this still is: http://www.tikalk.com/alm/solution-mysql-error-1045-access-denied-userlocalhost-breaks-openstack16:43
=== roadmr is now known as roadmr_afk
marcoceppirbasak: great answer!18:31
rbasakmarcoceppi: thanks! Just wanted to check it was accurate. I'm not really a charmer - you know about the experimental stuff I've been thinking about though.18:42
rbasakNot had time to look at that again recently :-/18:42
marcoceppirbasak: yeah, I gave it a look and had an email drafted a while ago. Got really busy and forgot to reply. In short: I love it18:43
rbasakmarcoceppi: I made some more progress since then. I really want to sort it out when I can.18:44
rbasakI've convinced myself that it'll work, so I need to do a more refined PoC next.18:44
josedid anything happen to the channel topic?18:57
=== roadmr_afk is now known as roadmr
=== marcoceppi changed the topic of #juju to: Topic for #juju is "Welcome to Juju! || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP || Weekly Reviewers: lazypower & tvansteenburgh || News and stuff: http://reddit.com/r/juju
lazyPowerjose: it was 'jorged'20:13
josewell, expected20:13
=== menn0_ is now known as menn0
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away

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