/srv/irclogs.ubuntu.com/2016/09/30/#juju.txt

=== frankban|afk is now known as frankban
=== mup_ is now known as mup
=== mup_ is now known as mup
bbaqar_     /join #maas06:38
=== bbaqar_ is now known as bbaqar
=== mup_ is now known as mup
=== frankban is now known as frankban|afk
=== frankban|afk is now known as frankban
venom3Hello, does anyone try to deploy openstack with juju 2.0 rc2?10:36
=== bbaqar__ is now known as bbaqar
rick_h_magicaltrout: x58 consider me prodded11:32
KpuCkohello is it that any way to remove unit which stuck in error state but machine/agent is lost?12:09
lazyPowerKpuCko: juju remove-machine # --force13:35
lazyPowerKpuCko: or juju resolved --no-retry application/#13:36
KpuCkolazyPower thanks a lot, you saved my day13:57
lazyPowerKpuCko: cheers :)13:57
KpuCkocheers |_|)13:58
=== pmatulis_ is now known as pmatulis
=== scuttle|afk is now known as scuttlemonkey
smoserhey.15:42
smoseri'm trying to get a cloud-utils upload into yakkety15:43
smoserits blocked on juju's dep8 test15:43
smoserdue to failures on ppc6415:43
smoser http://autopkgtest.ubuntu.com/packages/j/juju-core-1/yakkety/ppc64el15:43
smoserand15:43
smoser  http://autopkgtest.ubuntu.com/packages/j/juju-core-1/yakkety/amd6415:43
smoser(linked to from http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html)15:44
smoseri really do not think cloud-utils is related at all, as the onyl change to that package is in mount-image-callback, which i'm pretty sure is not used by juju15:44
smoseranyone able to help refute or confirm that ?15:45
kwmonroesmoser: you probably want #juju-dev.  the words you're using are too big for us.15:45
smoserthanks :)15:45
kwmonroemarcoceppi: do OSX people need to brew install charm or charm-tools (or both)?15:48
cclarkeWith ubuntu 16.04, Maas 2.0, and juju 2.0, when I bootstrap an environment (juju bootstrap bssdev devmaas) maas takes a machine and deploys it and it becomes a controller. However, that server is not listed as a machine in juju to deploy things to it. When previously using ubuntu 14 with maas 2.0 and a previous verision of juju, the new bootstrapped environment takes a machine and deploys it as a controller and you can deploy charms to15:58
cclarkeit in lxc containers. With the latest version, how do you bootstrap the environment in a way that it is seen as a machine in juju that charms can be deployed to?15:58
anastasiamac_cclarke: I *think* u can switch to a controller model and deploy to the controller machine. If u do 'juju models" it'll tell u whcih model u r in and then just switch to the desired one16:02
cclarkeanastasiamac_: Thanks, that looks like the way to go.16:04
=== dpm is now known as dpm-afk
=== frankban is now known as frankban|afk
admcleodwill update-status fire on a blocked unit?16:19
kwmonroeyup admcleod, though curiously it looks like it's running every 25 minutes (i thought it was every 5):  http://paste.ubuntu.com/23256225/16:37
admcleodkwmonroe: beisner ah!16:38
admcleod25 is... apparently theres a back off16:39
kwmonroeyeah admcleod, that must be a thing for blocked.. my 'active' charms run update-status every 5.16:42
admcleodkwmonroe: if you do a -n1000 |grep update-status ?16:52
=== alexisb is now known as alexisb-afk
x58Is anyone here from the OpenStack charmers?17:16
kwmonroex58: admcleod and beisner are openstackers.. cargonza can rattle off more names if those folks aren't around.17:48
cargonzax58 - you can reach the openstack charmers also at #openstack-charms17:49
x58Gotcha. Just looking at some behaviour in one of the charms that doens't make much sense to me. Working it through with our on-site DSE dparrish at the moment, will see if I have more questions/concerns.18:00
smgollerhey all, any ideas on debugging "hook failed" errors?18:12
kwmonroesure smgoller -- first, what does 'juju version' say?18:17
smgoller2.0 beta 1818:17
smgolleri may actually want to ask this question on #openstack-charmers, because it's related to neutron-openvswitch18:17
kwmonroesmgoller: you've got a few options.. first, you can ...18:17
kwmonroeDONT YOU LEAVE ME FOR OPENSTACKERS18:18
smgollerhaha18:18
smgolleri'm still here18:18
smgollerno worries18:18
kwmonroesmgoller: as i was saying, you can "juju debug-log -i unit-<app>-<num> --replay"18:18
kwmonroeso like 'juju debug-log -i unit-foo-0 --replay'18:18
kwmonroethat might get you enough debug info to know why the hook failed18:18
smgollerooo18:18
smgolleryup, it did18:19
smgollerawesome!18:19
kwmonroesmgoller: next, you can do "juju debug-hooks foo/0", and in another terminal, run "juju resolved foo/0"18:19
kwmonroethe debug-hooks window will trap at a point where you can run the hook manually18:19
kwmonroeso in that window, you'd run something like "./hooks/install", replacing "install" with whatever hook failed.18:19
kwmonroesmgoller: and finally, if it's truly a neutron-openvswitch specific failure, #openstack-charmers would probably be the best place for help :)18:21
smgollerhm. so i'm on the machine, but in the home dir18:21
smgollerwhen i run juju debug-hooks, that is18:21
smgollerso where do i go to find the hooks?18:21
kwmonroesmgoller: you'll need to tell juju to retry the failed hook in another terminal..  debug-hooks will sit in the home dir until a hook fires18:22
smgollerok18:22
kwmonroeand then it'll switch you to the charm dir18:22
smgolleris that what resolved will do?18:22
kwmonroeah crud smgoller.. you said beta 18.18:23
smgollershould i upgrade the jujus?18:23
kwmonroei think in versions < rc1, the command would be "juju resolved --retry foo/0"18:23
kwmonroethe --retry is default in rc1, maybe not in beta1818:23
kwmonroesmgoller: if 18 is working for you, you can keep hacking, but if you do upgrade to the latest (rc2), you won't have to type "--retry".  :)18:25
smgollerkk18:25
marcoceppikwmonroe smgoller it's #openstack-charms18:25
kwmonroeack, thx marcoceppi18:25
kwmonroemarcoceppi: since you're here.. what harm may come from blessing mysql admins with the grant option?  https://github.com/marcoceppi/charm-mysql/pull/618:27
anita_Hi18:28
kwmonroehi anita_18:28
anita_when I am trying to get the services when relation_name.departed, I am getting 5 times the same relation name18:28
marcoceppikwmonroe: I have too many github emails to sift through18:29
anita_Hi Kevin18:29
anita_This i am getting as I have 5 time joined the relation and departed 5 times18:30
kwmonroeno worries marcoceppi -- i'm just not versed enough in mysql to know if adding "with grant" to admins was omitted for a reason.  take your time on the sifting.18:30
anita_my relation state is something like this "messaging.departed|{"relation": "messaging", "conversations": ["reactive.conversations.messaging:19.wasdummy", "reactive.conversations.messaging:24.wasdummy", "reactive.conversations.messaging:25.wasdummy", "reactive.conversations.messaging:26.wasdummy", "reactive.conversations.messaging:27.wasdummy"]}"18:31
anita_when trying to get services, I am getting 5 times wasdummy as services18:32
kwmonroeanita_: are there 5 wasdummy charms deployed?18:32
smgollerhm.18:32
anita_kwmonroe_:no18:32
anita_only one18:33
smgollerso, like a bobo I just upgraded juju, and now when i run 'juju status' it tells me 'ERROR "" is not a valid tag'. Any ideas?18:33
smgollerI need to upgrade the controller?18:33
anita_my provider relation scope is service level18:34
kwmonroeanita_: so it sounds like old conversations aren't being removed.  i dunno if that's by design or not.. bcsaller, should 1 charm keep old relation conversations after joining and departing multiple times?  (see anita_'s state output from a couple minutes ago)18:34
kwmonroesmgoller: did you run 'juju upgrade-juju'?18:35
smgolleri did not :)18:35
kwmonroewhy not?18:35
kwmonroe:)18:35
anita_kwmonroe_:How can be removed the old conversations?18:35
smgollerbecause i did an apt upgrade?18:35
smgollermy juju-fu is weak18:36
kwmonroeanita_: i'm not sure if you're supposed to.  i need to defer to bcsaller or maybe marcoceppi to know if those conversations are meant to stick around on a service scoped relation.18:37
smgollerso juju upgrade-juju says no upgrades available18:38
kwmonroehmph smgoller.. that sounds fishy18:38
smgollerayup18:38
kwmonroejuju version for you now shows rc2?18:38
smgolleryep18:38
kwmonroesmgoller: and the 2nd line of 'juju status' shows what for the version?  2.0-beta18?18:39
smgollerjuju status says 'ERROR "" is not a valid tag"18:39
kwmonroelol, shoot.. sorry, i forgot you already said that.18:40
smgollerno worries :)18:40
kwmonroesmgoller: maybe 'juju upgrade-juju --version 2.0-rc2'18:40
kwmonroesmgoller: and if worse comes to worse, would you be willing to destroy the controller and rebootstrap with rc2?18:40
smgolleryeah18:40
smgollerit's prod-not-prod18:40
smgoller:)18:40
kwmonroe:)18:40
smgollerso --version doesn't exist, but --agent-version does. is that what you meant?18:41
kwmonroesmgoller: maybe.. i'm on rc1 and see a --version.  but --agent-version sounds good too.  i'll go to rc2 and see if that option has been renamed.18:42
smgollertrying that results in "ERROR no matching tools available"18:42
kwmonroeah rats18:42
smgollero_O :)18:42
kwmonroesmgoller: i have some great news:  juju rcX support upgrades going forward.  i have a bit of bad news:  juju betaX may not.18:42
smgollerhahaha18:42
smgollerno worries.18:43
kwmonroesmgoller: if you're really closer to not-prod, i'd just 'juju destroy-controller X --destroy-all-models' and re-bootstrap.  if you're closer to prod, we might need some bigger guns to get you upgraded.18:43
smgollerit's not sufficiently prod to get more involved18:44
kwmonroenice.. i haven't heard 'not sufficiently prod' before, but i'm gonna start using it.18:44
=== alexisb-afk is now known as alexisb
smgollerforgive my ubuntu fu, but is there a way to roll back juju locally to beta18?\18:47
smgollerand the answer is i can't go back. that's fine.18:50
smgollerkeep moving forward!18:50
kwmonroesmgoller: i was poking around to try a roll back, but i don't see beta18 in the repo anymore (apt-cache madison juju).. so i'm not sure how you'd go back without finding a beta18 deb somehwere and manually creating a headache.18:55
smgollerkwmonroe: yeah, it's fine. I'm just going to nuke the site from orbit18:55
kwmonroealways a good decision18:56
smgolleroof, i may not even be able to destroy the controller >_>19:03
smgollerall right, time to nuke from maas19:04
kwmonroesmgoller: if you do nuke it from maas, you'll probably want to 'juju unregister <controller-name>' so juju knows it's not around anymore19:09
smgolleri blew the juju config away too :)19:09
smgollerre-adding maas to a fresh juju config isn't that bad19:10
kwmonroeheh.. whatever makes you happy!19:10
smgollerif the differences are significant enough, it's probably best to start from scorched earth anyway :)19:10
kwmonroeamen!19:11
kwmonroebe funny if the only differences were using '--retry' by default and renaming '--version' to '--agent-version'19:11
kwmonroeya know, for some definition of funny19:12
smgollerwell19:14
smgollerif the upgrade path is broken regardless, at some point i would have had to go through this pain19:14
smgollerbetter to rip the bandaid off now19:14
chz8494Hi Guys, does anyone know how juju 2.0 define lxd profile in bundle yaml for xenial?20:00
papertigersCan anyone tell me how juju determins what image (ami if amazon) its trying to use when bootstrapping20:05
papertigersin this case im testing on joyent and im getting20:05
papertigersERROR failed to bootstrap model: cannot start bootstrap instance: no "xenial" images in us-east-1 with arches [amd64 arm64 ppc64el s390x]20:06
papertigersand there is an ubuntu certified 16.04 KVM image in that region20:06
stokachuchz8494: nope20:12
stokachuchz8494: not implemented20:13
stokachuchz8494: though you can edit the lxd profile after it's running as long as you know the model name20:15
stokachuwithout having ot reboot the container or anything20:15
chz8494stokachu: I have predefined the default lxc profile, and the yaml deployed services are deployed to host's lxd container which uses default profile as what I observed20:40
stokachuyep, if you have juju-default defined it'll use that20:40
chz8494stokachu: where do you define juju-default?20:40
stokachuits the default lxd profile that gets created when you do a new juju bootstrap20:41
stokachuwith 2.020:41
chz8494are you talking about deploy juju bootstrap on lxd?20:41
stokachuhuh?20:42
chz8494i'm talking about deploying openstack components to lxd20:42
stokachu16:00 < chz8494> Hi Guys, does anyone know how juju 2.0 define lxd profile in bundle yaml for  xenial?20:42
chz8494I don't see juju-default in my lxd20:42
stokachui guess i missed that somewhere20:42
chz8494sorry, the bundle yaml I meant was for openstack20:43
chz8494not juju config yaml20:43
chz8494in my test, I predefined lxd default profile, and then run yaml to deploy openstack services into lxd, but juju somehow always overwrite this profile20:44
chz8494and seems the deployed lxd instance is hard pinned with lxdbr0, as if I change the profile to use my own bridge, it will complain about missing lxdbr020:45
chz8494so in juju 2.0, is there a way to define which profile to use or eth binding when deploying lxd instance?20:52
beisnerhi chz8494, we adjust the default lxd profile in this procedure, which might be similar to what you're trying to achieve. http://docs.openstack.org/developer/charm-guide/openstack-on-lxd.html21:09
LeetaL_Hi all! Dumb question, but i cannot seem to find out how to change the JUJU API address when bootstrapping with an LXD container... Someone that knows how to accomplish this? I get the following error: (2016-09-30 21:16:30 ERROR cmd supercommand.go:458 new environ: creating LXD client: Get https://172.16.0.1:8443/1.0: Unable to connect to: 172.16.0.1:8443) and there it seems like it has taken the gateway ip instead of my JUJU API addr21:18
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
=== scuttlemonkey is now known as scuttle|afk
kwmonroepapertigers: not sure if it's the same for all cloud providers, but if i add '--debug' to the bootstrap command for azure, it lists available images and selects one for me, like this:22:16
kwmonroe22:13:30 INFO  juju.environs.instances image.go:106 find instance - using image with id: Canonical:UbuntuServer:16.04.0-LTS:latest22:16

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