=== negronjl_ is now known as negronjl_away | ||
=== negronjl_away is now known as negronjl_ | ||
=== kadams54 is now known as kadams54-away | ||
jose | aisrael: gotcha, thanks! | 01:51 |
---|---|---|
thomi | thumper: does 'juju destroy-service <foo>' call the 'stop' hook for the service's juju charm? | 02:25 |
thumper | thomi: by default, I think yes | 02:25 |
thomi | hmmm | 02:25 |
=== axw_ is now known as axw | ||
thomi | thumper: ...and 'juju destroy-service <foo>' should block until the 'stop' hook has finished, right? | 02:58 |
thumper | no | 02:58 |
thomi | oh? | 02:58 |
thumper | nothing blocks | 02:58 |
thumper | except bootstrap | 02:58 |
thomi | ahhh, well that might explain something | 02:58 |
=== kadams54 is now known as kadams54-away | ||
thomi | thumper: is there a way to call a charms 'stop' hook from within a deployed unit? I'm seeing some odd things where calling 'service stop <foo>' does something different to asking juju to destroy the service | 03:39 |
thumper | from the client do this: | 03:39 |
thumper | juju run --unit=foo/2 'hooks/stop' | 03:40 |
thomi | ahh, thanks | 03:40 |
=== urulama__ is now known as urulama | ||
thomi | ok, problem solved. Turns out if your charm is missing relation-departed and relation-broken hooks (even though this charm doesn't use relations), 'juju destroy-service' won't shut down the service nicely... confusingly, 'juju debug-hooks stop' shows the stop hook getting called. I have no idea what's going on, but happy that I found a reproducible way to get things back into a sane state. | 04:38 |
=== JoshStrobl is now known as JoshStrobl-AFK | ||
Zetas | i've got my openstack infra stood up and connected, everything is green across the board and i can login to horizon | 09:49 |
Zetas | but im trying to make sure my changes to the ceilometer charm are working and im not sure how to force it to log something to the database | 09:50 |
bloodearnest | hmm, any idea why I might be getting a permssion denied error running relation-get from inside a juju-run environment? | 11:26 |
bloodearnest | specifically: | 11:26 |
bloodearnest | relation-get --format=json -r db-admin:42 - updown-app/0 | 11:27 |
bloodearnest | some context: I previously added/removed the db-admin relation to perform a db migration | 11:28 |
bloodearnest | if I juju run again, it works | 11:28 |
lovea | users | 12:21 |
lovea | Trying to use JUJU with aprivate Openstack cloud | 12:27 |
lovea | All the Openstack endpoints, e.g. keystone and swift and nov-cloud-controller have IP addresses belonging to a management network. The juju bootstrap process fires up a juju-state-machine-0 but this is on the private tenant network and cannot see the management network endpoints. Bootstrap fails with connection errors. Any ideas? | 12:31 |
=== Odd_Blok1 is now known as Odd_Bloke | ||
=== scuttle|afk is now known as scuttlemonkey | ||
mattyw | lazyPower, ping? | 15:57 |
lazyPower | mattyw: pong | 15:57 |
mattyw | lazyPower, hey hey, hope you're well... The mongodb charm. If I deploy 1 unit, relate it to my charm. Then add some units to mongo at a later date it should still setup a replicaset right? | 15:58 |
lazyPower | mattyw: correct, i would test in a staging env however | 15:59 |
lazyPower | i haven't looked at mongo in quite some time | 15:59 |
lazyPower | i'm not even sure if we've upgraded to deploy the 3.x series | 15:59 |
=== kadams54 is now known as kadams54-away | ||
=== kadams54-away is now known as kadams54 | ||
mattyw | lazyPower, ok thanks | 16:25 |
=== kadams54 is now known as kadams54-away | ||
lazyPower | Hmm.. do we not have access to unit-get in action context? | 16:29 |
lazyPower | i take that back, we do when i'm in debug hooks | 16:29 |
=== kadams54-away is now known as kadams54 | ||
lazyPower | marcoceppi: tvansteenburgh aisrael - is there a pattern for calling actions from amulet? eg: i have a health check action, and i''d like to flex it in an amulet test. is our path forward for now to just subprocess call it and parse the output of the uuid? or is there a branch w/ action helpers pending? | 16:37 |
marcoceppi | lazyPower: there is not a mechanism yet in amulet | 16:38 |
marcoceppi | I'll open a feature request for it | 16:38 |
lazyPower | ok, i figured that might be the case. Thanks for the confirmation | 16:38 |
lazyPower | http://paste.ubuntu.com/11373549/ | 16:38 |
lazyPower | however that is silly nice to have, at a glance health check until we get the actual health-check hook | 16:38 |
marcoceppi | lazyPower: we've talked a bit more about health and we're shying away from actions tbh | 16:41 |
lazyPower | marcoceppi: considering its a stop-gap fix until the hooks are impl, whats the issue w/ an action? | 16:41 |
lazyPower | just curious | 16:41 |
marcoceppi | lazyPower: well it's not a wholistic view of health, which is what you really want, it's just a snapshot. cory_fu and I (and others) talked about using a monitoring relation instead for this | 16:42 |
lazyPower | well, thats a fair statement in 80% of services out there. YOu're polling for a snapshot of a single units health vs the cluster - whereas this is a builtin of the service. | 16:43 |
lazyPower | etcdctl does introspection of the cluster and reports a sanity check essentially - this is like the benchmark to figure out if your cluster is even configured properly | 16:43 |
* marcoceppi nods | 16:44 | |
lazyPower | but most services wont have something like this, so yeah - 100% understood | 16:44 |
lazyPower | and i agree w/ that statement too | 16:44 |
tvansteenburgh | hazmat: are we on for 4pm today? | 16:52 |
hazmat | tvansteenburgh: yup | 16:54 |
lazyPower | yo yo hazmat o/ | 16:54 |
hazmat | lazyPower: greetings! | 16:55 |
lazyPower | glad to see you're still kickin over there :) | 16:55 |
jose | hey guys, any idea when that hvm patch for aws t2.micros is landing? | 16:58 |
lazyPower | jose: i haven't heard anything about it yet | 17:26 |
jose | lazyPower: huh. I saw the mp being approved on gh | 17:26 |
jose | or, well, as you call it on gh, pr | 17:26 |
lazyPower | seems like you know more about it than I do | 17:26 |
lazyPower | if you're using the nightly docker container, should be able to test it now | 17:27 |
lazyPower | or you can fetch/compile if you're opposed to using the container | 17:27 |
jose | I'll check. | 17:28 |
lazyPower | hmm... getting an interesting error when attempting to bzr branch lp:charm-helpers - http://paste.ubuntu.com/11374382/ | 17:31 |
aisrael | lazyPower: I get the same error | 17:32 |
lazyPower | marcoceppi: have we updated charm-helpers repo with anything? or is this a breaking change introduced in bzr? | 17:32 |
jose | that issue should be there if the branch is set to be private, but it's public... | 17:37 |
jose | lazyPower, aisrael: seems to be a LP error. getting it with another branch | 17:38 |
lazyPower | thanks for confirming jose | 17:38 |
marcoceppi | thats' weird | 17:41 |
marcoceppi | lazyPower: what did you do to achieve this? | 17:41 |
jose | marcoceppi: general LP error | 17:41 |
lazyPower | marcoceppi: it appears to be an outage spurned by a launchpad rollout that just hit about 20 minutes ago | 17:42 |
lazyPower | marcoceppi: see #is-outage, they're on it. | 17:42 |
aisrael | Seems to be working now | 17:42 |
lazyPower | aisrael: weird, still broken for me | 17:43 |
jose | ^ | 17:44 |
lazyPower | must have a sweet canadian LP mirror thats got the fix | 17:44 |
* lazyPower is instantly jealous | 17:44 | |
lazyPower | jose: try now, appears to be resolved for me | 17:48 |
jose | +1 | 17:48 |
jose | thanks for the heads up | 17:48 |
tvansteenburgh | dpb: can you meet at 3:30 instead of 4? | 19:02 |
tvansteenburgh | dpb1: ^ | 19:03 |
* dpb1 checks | 19:06 | |
dpb1 | tvansteenburgh: so, in 30 min? (meeting is at "2pm" here) | 19:06 |
tvansteenburgh | dpb1: yeah | 19:07 |
dpb1 | tvansteenburgh: ok | 19:07 |
tvansteenburgh | cool, thanks | 19:07 |
=== urulama is now known as urulama__ | ||
=== kadams54 is now known as kadams54-away | ||
Zetas | i finally got my openstack system running but I'm not the best way to get images added. I followed marcoceppi's guide for standing up openstack on 2 machines but every image i try to add just sits there and says "queued" forever. | 19:47 |
lazyPower | Zetas: incoming help | 19:49 |
Zetas | i've tried uploading some of the images found at this url http://docs.openstack.org/image-guide/content/ch_obtaining_images.html | 19:49 |
Zetas | ok thanks lazyPower | 19:49 |
=== Zetas is now known as zetas | ||
beisner | hi zetas - can you tell us the command you're using to add the glance image? | 19:51 |
zetas | beisner: im adding it from horizon :/ | 19:51 |
beisner | zetas, ok, t-shooting needs command line. | 19:52 |
zetas | ok, I thought maybe there was a command to add some basic images by default. When I stood up the openstack bundle on AWS it came with come coreos images if i recall correctly. | 19:54 |
zetas | My manual installation did not | 19:54 |
beisner | zetas, yep, glance will be empty by default. | 19:55 |
lazyPower | beisner: are we planning on adding an action to glance to load up the Ubuntu images? *shameless plug* | 19:55 |
beisner | zetas, as far as troubleshooting it, I'd use the glance command line api to confirm basic service functionality. ie. glance image-list should exit 0 (good), even with no images. that would confirm that glance is able to authenticate and talk to all of its friends. | 19:55 |
beisner | lazyPower, you're the 2nd to ask ;-) I think an "import all currently-supported Ubuntu cloud images" action would be really useful. | 19:56 |
zetas | ok, i'll google for glance commands to add images and stuff as well, thanks for your help | 19:56 |
zetas | hrm... beisner: i take it this isn't a good sign heh http://paste.ubuntu.com/11376730/ | 19:58 |
lazyPower | beisner: I should have known you cats were already on the trail for that one, but it never hurts to ask :) | 19:58 |
beisner | zetas, http://paste.ubuntu.com/11376741/ | 20:00 |
zetas | ok awesome, thanks | 20:00 |
beisner | lazyPower, so actually, the glance simplestreams sync charm has some awesomeness. configure it and relate it to glance, and you always have fresh images in glance as they hit cloudimages. | 20:01 |
beisner | but yeah, use cases for actions is likely to grow wildly. | 20:01 |
lazyPower | wat | 20:01 |
lazyPower | we have a charm that does this for you? | 20:01 |
beisner | i think it needs a little updating love, but yep. | 20:01 |
beisner | we use it in serverstack | 20:02 |
beisner | that ensures that when CI nova boots new instances, they are the most up-to-date (smallest apt-get update delta). | 20:02 |
zetas | woot it worked, thanks beisner | 20:04 |
zetas | im gonna try cs:trusty/glance-simplestreams-sync-1 | 20:08 |
zetas | see how it works | 20:08 |
beisner | zetas, great! so before adding to it, i'd poke around the cli to see if you can import a small cirros or ubuntu cloud image. generally speaking, if glance image-list works, the apis and authentication are probably happy. next line of t-shooting might be command syntax, image format, or a storage issue. | 20:08 |
zetas | yea, image-list output an empty table | 20:10 |
zetas | im gonna keep poking around the CLI while this allocates | 20:10 |
zetas | my poor macbook is not loving running all these inside a virtualbox vm haha | 20:11 |
beisner | zetas, an empty table with no errors is actually good. | 20:11 |
beisner | echo $? | 20:11 |
beisner | after glance image-list to confirm it exits 0, without error. | 20:11 |
zetas | 0 | 20:12 |
zetas | yep, seems to be all good | 20:12 |
beisner | zetas, http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img | 20:13 |
beisner | zetas, glance image-create --name="trusty" --is-public=true --progress --container-format=bare --disk-format=qcow2 < trusty-server-cloudimg-amd64-disk1.img | 20:13 |
beisner | zetas, ^ those are rips from some automation which I know work. | 20:14 |
zetas | awesome, as soon as it finishes downloading that image im gonna run it and see what happens | 20:14 |
beisner | zetas, good luck, i've got to head out for a bit. | 20:15 |
zetas | thanks for all your help beisner | 20:15 |
beisner | zetas, you're welcome - happy to help | 20:15 |
zetas | :) | 20:15 |
zetas | hmm poop. I tried to deploy an instance with my new image but apparantely i don't have a hypervisor haha. I guess nova-compute isn't happy for some reason. | 20:24 |
* zetas debugs | 20:24 | |
thumper | lazyPower: ping | 21:59 |
lazyPower | thumper: pong | 21:59 |
thumper | lazyPower: got a few minutes for a hangout? | 22:00 |
lazyPower | thumper: not atm | 22:00 |
thumper | lazyPower: will you later? | 22:00 |
lazyPower | After dinner | 22:01 |
thumper | eta? | 22:01 |
thumper | lazyPower: are you east coast? | 22:02 |
lazyPower | thumper: yup | 22:02 |
thumper | lazyPower: so 6pm there now? | 22:02 |
lazyPower | yup | 22:02 |
thumper | when would be good? | 22:02 |
lazyPower | i'll ping after i eat | 22:02 |
thumper | :) | 22:03 |
thumper | ok | 22:03 |
lazyPower | i'll be around fairly late this evening, working on some leftover stuff from before holiday | 22:03 |
thumper | kk | 22:03 |
=== kadams54 is now known as kadams54-away | ||
lazyPower | thumper: ping/pong - back from food | 23:44 |
thumper | lazyPower: hangout? | 23:47 |
lazyPower | https://plus.google.com/hangouts/_/canonical.com/django-afterhours | 23:48 |
thumper | hah | 23:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!