/srv/irclogs.ubuntu.com/2016/10/10/#juju.txt

anrahHi,06:22
anrahAs https://jujucharms.com/docs/devel/howto-privatecloud for 2.0 is still being rewritten is that Devel version something I can use to test 2.0 on my private openstack?06:23
jamespagejunaidali, bbaqar: morning07:48
jamespagejunaidali, so regarding xenial branches; we really don't need todo that any longer.07:48
jamespagethe charm store does not injest from launchpad bzr branches any longer, you direct publish to the charm store, decoupling VCS from publication altogether07:49
jamespageare your trusty and xenial charm versions identical?07:49
jamespageif so we can use the series in metadata feature and just have a single charm version for both - this is what we do across all other openstack charms in master branch (that will be released this week).07:50
junaidaliHi jamespage, xenial charms have a few minor changes07:50
jamespagejunaidali, is it possible to add that into the charm, rather than having two different charms?07:50
jamespagei.e. conditional code for xenial vs trusty?07:50
jamespagejunaidali, we've found it much easier to support a single codebase for multiple releases, rather than having lost of differnent branches for different versions07:51
junaidaliyes, we can do that.07:52
=== Guest90146 is now known as CyberJAcob
=== degville- is now known as degville
=== stokachu_ is now known as stokachu
=== firl_ is now known as firl
=== ejat_ is now known as ejat
=== Ursinha_ is now known as Ursinha
=== X-Istence is now known as x58
SimonKLBhey, anyone could tell me how to automatically attach a resource when running an amulet test?13:54
holocron"juju status" with lxd/local just hangs with no response, I've seen this before when lxd containers are not starting properly, but this does not seem to be the case now15:00
holocronwhat's my first course of action for debugging, or gathering enough info for a bug report?15:01
holocron"juju switch default" hangs, most juju commands are hanging15:01
rick_h_holocron: try adding --debug to the commands and see if anything jumps out15:01
rick_h_holocron: I thuoght there was a bug along those lines /me goes to look15:02
holocronrich_h_ thanks, yes that's obvious -- juju.api is looping on a dial to wss://x.x.x.x:17070/api15:02
rick_h_holocron: and are you able to reach that address?15:03
holocroni can ping it yes15:03
holocronit's a local lxd container, i'll exec bash into it15:03
rick_h_holocron: then perhaps the controller went down for some reason? can you ssh/connect to the controller and check the logs there?15:03
rick_h_holocron: maybe try to bounce jujud?15:03
holocronyeah, jujud seems to be thrashing a bit15:04
holocron 17330 root      20   0 49.690g 5.858g   7000 S   0.3 15.0 154:16.67 jujud15:04
holocronit's not listening for that wss connection15:05
holocronrick_h_ : jujud isn't a service it seems, should i restart the whole container, or is there a preferred method for just restarting the daemon?15:06
rick_h_holocron: sudo service juju<tab>?15:06
rick_h_holocron: let me look for the real name15:06
holocronyeah, i'm not finding any service for jujud15:08
rick_h_holocron: there you go, jujud-machine-015:09
holocronah thank you.. i guess the tab completion isn't working in lxc exec bash15:09
holocronrich_h_: were you able to find that bug? still hanging up on me here15:11
rick_h_holocron: not yet15:13
rick_h_holocron: did it restart for you?15:13
holocronrick_h_: okay, yeah it did restart, but i'm getting mongodb connection errors in the log15:14
rick_h_holocron: can you peek at the /var/log/juju/machinexxxx15:14
rick_h_holocron: ah ok, so let's try restarting that then as well15:14
rick_h_sudo service juju-db restart15:14
rick_h_and then re-kick jujud after the db is restarted and see what's up with that15:14
rick_h_holocron: is this on a laptop or something that's shutdown/back up often?15:15
rick_h_holocron: or some other system?15:15
holocronrick_h_ : it's running on a mainframe, it hasn't come down since it was working Friday night15:15
holocronOct 10 15:16:23 juju-84a348-0 systemd[1]: Failed to start juju state database.15:16
=== CyberJAcob is now known as CyberJacob
holocrongot a mongodb backtrace15:18
rick_h_holocron: ah ok. well that's starting to look like a root cause15:18
rick_h_holocron: and yea, exising bugs don't line up to this so treading new ground15:18
holocronpar for the course for me :P15:19
rick_h_holocron: oh lucky you?15:19
rick_h_holocron: what's the traceback from mongo look like?15:19
holocronrick_h_: i'll paste it out in a moment15:19
holocronrick_h_: https://gist.github.com/vmorris/7750b8f9d3dfaa14238df39f7628ea3a15:22
holocronhmm, that doesn't have the trace in it :P15:23
holocronsec15:23
holocronrick_h_: please see revision 2 on that gist15:25
=== holocron is now known as vmorris
vmorrissomething called wiredtiger reporting an i/o error when attempting to read data15:32
vmorrisi didn't run out of storage :/ using zfs on the localhost as per the normal setup15:36
vmorristhere's really nothing out of the ordinary here except i'm running s390x arch15:36
vmorrislet me trace back through the log and see if i can determine a first fault15:38
vmorrisrick_h_: could this be related? https://gist.github.com/vmorris/f81217815059c6fc748eaba8cc1b531816:29
rick_h_vmorris: sorry, issed you changed nick/continued the conversation16:30
rick_h_vmorris: wiredtiger is the mongodb engine16:31
rick_h_vmorris: looking at the gist16:31
vmorrisrick_h_: apologies for the nick switch16:31
rick_h_vmorris: all good16:31
rick_h_vmorris: sorry, I'm not a mongodb expert to know how to decipher that16:31
rick_h_vmorris: please feel free to file a bug with the notes on arch, etc. It sounds like mongodb bit on something and that caused Juju to bail out on you.16:32
vmorrisrick_h_: this seems to be the case, yeah. i've had the juju controllers flaking out on me a bunch over the past few weeks, but i've chalked it up to my fooling with things. i've reset to working clean state a bunch in the past few weeks and finally got to a good position to uncover a few things16:34
bdxmbruzek, lazyPower: sup sup16:37
bdxcory_fu: sup16:39
bdxlets say I want to re-gen certs, and re-render my nginx config when fqdn config is changed16:40
bdxwould this be a good way of accomplishing ^ -> https://github.com/jamesbeedy/charm-documize/blob/master/reactive/documize.py#L200-L207 ?16:40
bdxif I remove line #136 -> https://github.com/jamesbeedy/charm-documize/blob/master/reactive/documize.py#L119-L13616:41
bdxIf #136 is removed, would my charm be requesting a new cert every time the hook environment executes?16:42
vmorrisarosales: ping https://bugs.launchpad.net/juju/+bug/163203017:24
mupBug #1632030: juju-db fails to start -- WiredTiger reports Input/output error <juju> <juju-db> <mongodb> <s390x> <juju:New> <https://launchpad.net/bugs/1632030>17:24
=== frankban is now known as frankban|afk
=== dames is now known as thedac
Prabakaran_Hello Team, Getting timeout issue while commissioning the node in MAAS 1.9, Logs are pasted in here  http://pastebin.ubuntu.com/23301741/ could somebody help me on this?17:42
vmorrisPrabakaran_: have you confirmed that you've imported the boot images? https://maas.ubuntu.com/docs/install.html#import-the-boot-images17:45
Prabakaran_vmorris: I have imported images in the maas ui17:48
vmorrisPrabakaran_: just have to ask, you did confirm that they were imported before trying to commission?17:50
vmorrisIt looks like you're trying to commission KVM virtual machines?17:51
Prabakaran_ya that was the 1st step i did before commissioning...17:51
Prabakaran_ya correct .. i am commissioning the vrish nodes17:51
arosalesvmorris: thanks for the bug report :-)18:17
vmorrisarosales: cheers :) i've torn the mess down and am about to redeploy the openstack-on-lxd bundle18:17
arosalesSeems it goes into a defunct state18:18
arosalesWill take a look and see if I can reproduce18:19
vmorrissame18:19
arosalesvmorris: Ubuntu 16.04 with updates I presume18:19
vmorrisVERSION="16.04.1 LTS (Xenial Xerus)"18:20
vmorrisarosales: I have a slightly modified version of the rabbitmq-server charm that i'm deploying as well to try and get more visibility into https://bugs.launchpad.net/charms/+source/rabbitmq-server/+bug/156327118:23
mupBug #1563271: update-status hook errors when unable to connect <landscape> <openstack> <rabbitmq-server (Juju Charms Collection):Confirmed> <https://launchpad.net/bugs/1563271>18:23
arosalesThanks for pitching on rabbit bug18:24
vmorrisheh, sure i'll surface something if it works for me.. but it's purely selfish motivation =D18:30
bdxarosales: are you guys responsible for the percona-cluster charm?19:04
bdxbeisner, arosales: this hardcoding is a piss off -> http://bazaar.launchpad.net/~openstack-charmers-next/charms/precise/percona-cluster/trunk/view/head:/hooks/percona_utils.py#L6419:05
bdxbeisner, arosales: can we fix that hard coding of the pkgs so we can use latest version of percona?19:05
beisnerhi bdx, what specifically are you needing to do?19:06
arosalesYes, specifically the openstack charmers19:06
bdxbeisner: I need features that were introduced in 5.719:07
beisnerbdx, fyi, that charm's source of truth is https://github.com/openstack/charm-percona-cluster.  i have a pending request out to deprecate the old LP branches, which may not always be in sync with the latest bits.19:07
bdxbeisned: aaah nice, thx19:07
beisnerbdx, on which version of ubuntu ?19:07
bdxbeisner: xenial19:07
bdxbeisner: is there a problem with using percona repos by default?19:07
bdxhttps://www.percona.com/doc/percona-server/5.7/installation/apt_repo.html19:07
beisnerbdx - we only test with ubuntu repos and the cloud archive pockets.19:08
bdxahh19:09
beisnerbdx, even yakkety has 5.6 atm so that's as bleeding edge as we get.  https://launchpad.net/ubuntu/yakkety/+source/percona-xtradb-cluster-5.619:09
beisnerbdx, all of that said, /me looks at that repo... :)19:10
bdxdarn ... so -> http://paste.ubuntu.com/23304600/19:10
bdx^ shows that 5.7 is xenial, just not for percona?19:11
bdxI see19:11
bdxok19:11
beisnerright, mysql might be ahead of percona-cluster packaging19:11
bdxbeisner: percona-cluster charm has a config for 'source' and 'key', if the apt package for percona  wasn't hard coded,  I could then set 'source', 'key', and hypothetically 'package' and get the latest right?19:13
bdxI might just rig something up in my personal namespace for the time being - just needed the scoop on what the deal is so I know how best to move forward19:15
bdxbeisner: thx19:15
beisnerbdx, that hard-codedness is indeed a bit of crack, but was necessary crack whilst the packaging was in limbo around the vivid:wily timeframe.  with both wily and vivid now eol, we can pull that out after 16.10 release (too late in the feature freeze to do that now).  also i'd be all for making sure the charm can use the upstream repos.  but .. someone will have to get pretty clever to try to predictively know what the package name is going to be, given19:15
beisnerthat the version number is in the package name :-/19:15
MrDanDanhi guys19:22
vmorrishi20:09
spaokis there a python module or layer I can use to pull info from MAAS 2.0 in my charm? I want to get at the network space info21:24
smgollerHey all, I'm trying to expand our juju-deployed openstack cluster, so I ran "juju add-machine". After it being stuck in a pending state for a number of minutes, I manually ssh'd into the machine and found that cloud-init had tried to run something involving 'curtin' and it failed because curtin wasn't installed. I also can't find any references to anything trying to install it. Has anyone run into a similar problem?21:28
spaokare you using custom images or something?21:30
smgollernope21:33
smgollerso it looks like cloud-init is downloading some script from maas with a self-extracting archive that contains curtin inside it21:34
smgollerhm.21:34
spaoksmgoller: never seen curtin fail to install in our deployments, I always thought it was baked into the ubuntu images21:53
smgolleri'm hesitant to blame juju on this yet. we've got some network wonkiness23:15
=== CyberJacob is now known as zz_CyberJacob
=== zz_CyberJacob is now known as CyberJacob
spaoksmgoller: if you do apt update on that server do you get errors?23:45
smgollerit looks like intermittent dns resolution problems23:45
smgollerbut the dns server is fine, so i think it's a layer 3 thing23:45
smgollerspaok: so I'm less concerned about juju at the moment and trying to make sure the infrastructure is solid23:46
spaokusually a good first step :)23:46

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