/srv/irclogs.ubuntu.com/2016/04/08/#juju.txt

marcoceppimagicaltrout: the charm push/login stuff goes here: https://github.com/juju/charmstore-client01:49
webscholarany one here deployed wordpress on juju2 beta3 ?06:28
gnuoyrbasak, jamespage, beisner, I've created a bug for the mysql charm, I'll mark it as a dupe if the root cause is one of the ones that rbasak found last night but I'm going to keep digging at this point because I still think some fault lies with the charm06:39
gnuoyBug #156777807:04
mupBug #1567778: Charm fails on xenial installing mysql 5.7 <mysql (Juju Charms Collection):New> <https://launchpad.net/bugs/1567778>07:04
jamespagegnuoy, ack - do you need a second pair of eyes on that?07:37
jamespagegnuoy, if not I'll poke at bradm's mitaka/nova-cc problem whilst hacking on removal of neutron from nova-cc07:40
bradmjamespage: I have LP#1567807 if you want that one too? :)07:41
jamespagebug 156780707:41
mupBug #1567807: nova delete doesn't work with EFI booted VMs <canonical-bootstack> <nova (Ubuntu):New> <https://launchpad.net/bugs/1567807>07:41
bradmjamespage: thats possibly more an upstream thing, though.07:42
bradmjamespage: oh, fwiw with that n-c-c issue, I dropped the stack back to r226 and the issue went away.07:42
jamespagebradm, just trying to repro now07:43
bradmjamespage: this happened twice on redeploying the same stack, so it doesn't seem like its too tricky.  unless there's something odd with my setup07:44
jamespagebradm, that was with cloud:trusty-mitaka right?07:44
bradmjamespage: correct.07:44
bradmjamespage: with ppc64 and arm64 compute nodes, not that I know if that makes a difference.07:44
jamespagebradm, that should not make a difference07:45
gnuoyjamespage, I've got to the bottom of the mysql bug and working on a fix now. If you could take bradms that'd be great07:45
jamespagegnuoy, on it - you focus on unblocking mysql07:46
gnuoyta07:46
jamespageI'll review and landing that when you are ready07:46
gnuoyack07:46
jamespagecause right now we can't fix fa due to that blocker...07:46
gnuoyyep07:47
bradmjamespage: I didn't think it would, but its the only vaguely special thing about this stack, just about everything else is vanilla.  Oh, g-s-s we have 3 of, using a patched version that gives us better control over the properties on images.07:49
bradmbut that shouldn't do anything either.07:50
jamespagebradm, hey - can I get a copy of the nova.conf from that deployment please?08:01
bradmjamespage: on n-c-c ?08:05
jamespagebradm, yes please08:05
bradmjamespage: https://paste.ubuntu.com/15664360/08:05
bradmjamespage: unfortunately I've run out of week, disappearing for dinner now.08:06
jamespagebradm, ack08:06
bradmjamespage: you can bug a bootstack person to grab any info, they have access to that stack.  they probably just don't know much about it.08:08
gnuoyjamespage, https://code.launchpad.net/~gnuoy/charms/trusty/mysql/1567778/+merge/291339 (not run any amulet yet but thought I'd see if you have any objections first)08:09
jamespagebradm, ok reproduced08:10
bradmjamespage: excellent news.08:10
jamespagegnuoy, looks reasonable08:17
jamespagewas the db init getting confused by files in /var/lib/mysql ?08:17
gnuoyjamespage, yep https://bugs.launchpad.net/charms/+source/mysql/+bug/1567778/comments/208:17
mupBug #1567778: Charm fails on xenial installing mysql 5.7 <mysql (Juju Charms Collection):Confirmed for gnuoy> <https://launchpad.net/bugs/1567778>08:17
jamespagebradm, I suspect a problem with the packaging in mitaka-updates with the keystone v3 changes in the charms...08:19
jamespageprobably08:19
magicaltroutmarcoceppi: thats very nice, I have no idea how to compile it08:19
gnuoyjamespage, err, is osci likely to still do CI things against my mysql branch since its in LP ?08:27
jamespagegnuoy, it might08:27
jamespagegnuoy, branch scanner will run in 2 mins08:28
jamespagegnuoy, tests running now08:35
gnuoyack08:38
jamespagegnuoy, bradm: looks like a openstack bug with the packages in mitaka-updates - proposed tests ok so I'll promote proposed -> updates shortly08:39
gnuoyjamespage, you think the root cause of Bug #1567236 is a packaging bug?08:40
mupBug #1567236: nova-api-os-compute api failure - DuplicateOptError: duplicate option: auth-url <canonical-bootstack> <nova-cloud-controller (Juju Charms Collection):In Progress by james-page> <https://launchpad.net/bugs/1567236>08:40
jamespagegnuoy, well technically and openstack bug but yes08:41
gnuoyI mean openstack bug08:41
jamespagegnuoy, I can repro with mitaka-updates, but its all ok with mitaka-proposed08:41
gnuoyjamespage, ok, I assumed it was a duplicate value in a c config file and couldn't see how it could be08:41
jamespagegnuoy, it was not08:42
gnuoyjamespage, thanks for getting to the bottom of it08:42
jamespageprobably a problem with parser for oslo.config or suchlike08:42
gnuoykk08:42
jamespagewolsen, dosaboy: hey just a reminder that today its really the last day for landing features for the 16.04 charm release09:08
jamespagewe should have the gate unblocked shortly - gnuoy - your mysql changes look to be testing ok09:08
gnuoyjamespage, https://review.openstack.org/#/c/303302/ if you have a sec09:08
jamespagegnuoy, your indentation is well wonky09:09
gnuoyoh, let me check09:09
gnuoyah, yeah, one sec09:10
neiljerramgnuoy, rbasak, morning09:24
neiljerrammysql charm on Xenial is still not working for me this morning - but I think that's expected at the moment, right?09:26
neiljerramI just did an interactive 'apt-get install mysql-server' on another Xenial box, and it was fine.  But the charm install fails as you can see here: http://pastebin.com/pTxBmCJF09:31
gnuoyneiljerram, If your using the mysql charm then yes, that is expected. the fix is going through testing atm09:35
neiljerramgnuoy, Thanks - is there a bug that I can track?09:37
gnuoyneiljerram, Bug #156777809:37
mupBug #1567778: Charm fails on xenial installing mysql 5.7 <mysql (Juju Charms Collection):Confirmed for gnuoy> <https://launchpad.net/bugs/1567778>09:38
gnuoyneiljerram, The merge proposal is here https://code.launchpad.net/~gnuoy/charms/trusty/mysql/1567778/+merge/291339 Waiting for the CI to report functional test results atm09:38
neiljerramgnuoy, cool, I can test that locally here too09:39
gnuoytip top09:39
gnuoyDo you have a +2 laying around for https://review.openstack.org/#/c/303302/ ?09:41
gnuoyjam^09:41
gnuoyjamespage, ^09:41
gnuoy(Sorry jam)09:41
jamespagegnuoy, done09:43
gnuoyta09:43
jamespagegnuoy, does the mysql charm have a xenial test?09:44
gnuoyjamespage, that is a very good question09:44
gnuoyjamespage, yes, but not enabled09:45
gnuoyargh09:45
jamespagegnuoy, well can you test that by hand please09:45
gnuoydefo09:45
jamespagegnuoy, if it passes on regression testing then we'll land with your manual test09:45
gnuoyyep, and I'll post a second mp to enable the test09:45
jamespagegnuoy, https://review.openstack.org/#/c/303321/09:46
jamespageI think that just about covers it09:46
jamespagegnuoy, I need todo a companion to neutron-api to drop the > kilo test09:50
gnuoyjamespage, you've left some code in the neutron-api-* hooks, what is that there to support?09:59
jamespagegnuoy, hmm - looking10:01
jamespagegnuoy, actually they are still required - the nova-cc charm passes data from n-api to nova-compute10:01
gnuoyurgh, ok10:02
jamespagegnuoy, merging your mysql changes10:03
gnuoyjamespage, wait10:03
gnuoyjamespage, don't you want the results of tests/021-basic-xenial-mitaka ?10:03
jamespagegnuoy, oh yeah - your still executing the xenial test right....10:03
jamespageyes I do10:03
jamespagegnuoy, nova-cc needs a bit more work - just found another neutron-y bit10:11
gnuoyjamespage, ack. err xenial mitaka amulet test for mysql failed becuase keystone failed to install. looking into that now10:12
gnuoyjamespage, I'm really confused. The xenial mataka amulet test for keystone was enabled and passed for the run keystone via mod_wsgi change. But install of the charm on xenial is now saying that python-psutil has no NUM_CPU variable10:20
gnuoyI guess python-psutil could have changed in the last 48 hours10:20
jamespagegnuoy, hmm it might10:21
neiljerramgnuoy, FYI, my deployment with your mysql changes is in progress now...10:27
gnuoyneiljerram, ok, thanks10:27
jamespagegnuoy, looking now10:34
jamespagepsutil has not changed...10:34
jamespagegnuoy, 23:05:54 juju-test.conductor.021-basic-xenial-mitaka RESULT  : PASS10:35
jamespageyup it passed...10:35
gnuoyjamespage, nope it hasn't changed10:35
gnuoy>>> from psutil import NUM_CPUS10:35
gnuoyTraceback (most recent call last):10:35
gnuoy  File "<stdin>", line 1, in <module>10:35
gnuoyImportError: cannot import name NUM_CPUS10:35
gnuoyjamespage, the only thing I can think is that the amulet full test results in the change are from a previous patch set10:36
jamespagegnuoy, the charm-helpers code should deal with that10:36
gnuoyjamespage, errr I don't think so10:36
jamespagegnuoy, psutil.cpu_count is used if detected...10:36
jamespagegnuoy, # NOTE: use cpu_count if present (16.04 support)10:37
neiljerramgnuoy, mysql unit is now happy, but the related neutron-api unit has hook failed: "shared-db-relation-changed" for mysql:shared-db.  http://pastebin.com/ehHutDmk10:37
jamespageneiljerram, unit log from neutron-api would be useful here...10:37
gnuoyjamespage, ah! I bet mysql has brought in stable keystone10:37
jamespagegnuoy, oh that's quite possible10:38
jamespageand likely that's why the test is still disabled10:38
gnuoyyep10:38
gnuoyjamespage, I'll tactically fix amulet to use keystone from next and rerun the test10:38
jamespagegnuoy, I suggest we land part one which does not regress older ubuntu releases and appears to start to fix the xenial problems...10:38
gnuoyjamespage, ok, if you're happy to land the mp as is that makes sense to me10:39
jamespagegnuoy, +110:40
neiljerramjamespage, https://transfer.sh/dyzRS/unit-neutron-api-0.log10:40
jamespagegnuoy, https://review.openstack.org/303344 anotherkeystone/apache210:41
gnuoyjamespage, https://review.openstack.org/#/c/303328/10:42
jamespageneiljerram, https://transfer.sh/dyzRS/unit-neutron-api-0.log10:42
jamespageno not that10:42
jamespageoslo_db.exception.DBError: (pymysql.err.DataError) (1171, u'All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead') [SQL: u'ALTER TABLE cisco_csr_identifier_map MODIFY ipsec_site_conn_id VARCHAR(36) NULL']10:43
jamespagethat may be an incompat of neutron with mysql-5.710:43
neiljerramI'll see if there are wider reports about that.10:44
jamespagegnuoy, and another - https://review.openstack.org/#/c/303347/10:47
gnuoyjamespage, https://review.openstack.org/#/c/303328/10:48
jamespagegnuoy, oppps overlap10:49
jamespagegnuoy, as you already +2'ed mine, lets abandon yours...10:49
gnuoy+110:50
jamespageneiljerram, I think our dep8 tests in xenial should be validating that - let me see10:51
neiljerramjamespage, There appear to be reports of that problem with MySQL 5.7 across software in general.  Nothing Neutron-specific that I could find, though.10:51
jamespageneiljerram, db sync with local mysql 5.7 in ci for packaging looks ok - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/i386/n/neutron/20160408_095603@/log.gz10:52
neiljerramjamespage, And would that be with Mitaka Neutron code?10:53
jamespageneiljerram, although that sync is not actually done in the ci tests10:53
jamespageneiljerram, yes10:53
neiljerramneiljerram, But perhaps the DB in that ci doesn't include cisco_csr_identifier_map table.  I've never heard of that table before.10:55
jamespageneiljerram, same packages as from your charm deployment which I find very odd10:56
jamespageneiljerram, what is cisco_csr_identifier_map ?10:56
neiljerramjamespage, I got that from the error message above.10:56
jamespageneiljerram, yeah - just trying to figure out why I don't see that migration in the CI tests - they should be the same always right? there is no conditional migration in neutron any longer based on plugin ...10:57
jamespagewell at least I think that is the case...10:57
jamespageneiljerram, lemme stand up a xenial-mitaka env and take a look as well10:59
jamespagemysql fix is in the main charm branch now10:59
neiljerramjamespage, gnuoy, thanks on both counts10:59
gnuoyneiljerram, np10:59
* jamespage needs coffee biab11:00
jamespageneiljerram, yah - just hit the same thing11:12
jamespagehmmm11:12
gnuoyjamespage, are you planning to do a full amulet run against your dpdk branch ?11:19
jamespagegnuoy, yes11:19
gnuoykk11:19
jamespageneiljerram, that migration comes from neutron-vpnaas11:24
jamespageI suspect that mysql-5.7 is behaving a little diff to 5.6 here11:26
jamespagebut need to prove that11:26
neiljerramjamespage, But it looks like mysql-5.7 has been out for a while, so I would guess that other OpenStack/Neutron users have been using it.11:28
jamespageneiljerram, yeah but its probably not in a gate anywhere just yet...11:28
neiljerramjamespage, So I wonder what is the Xenial-specific or charm-specific factor here?  Could it be that common deployments don't include neutron-vpnaas?11:29
jamespageneiljerram, this is not a new migration step (its from liberty)11:29
jamespageneiljerram, trying neutron-api on xenial against a trusty mysql11:32
jamespagegnuoy, suspicion that we may be seeing the same restart race as we saw for apache on the dashboard with keystone now11:36
jamespagegnuoy, Apr  8 10:32:01 juju-osci-sv19-machine-2 cron[1086]: Error: bad username; while reading /etc/cron.d/keystone-token-flush11:38
jamespageurgh that's not great either...11:38
jamespageneiljerram, neutron-api on xenial is find against mysql-5.5 on trusty11:39
jamespagecraptastic11:39
* jamespage raises a bug11:39
neiljerramjamespage, So basically no OpenStack on Xenial, at the moment... :-(11:40
jamespagerbasak, fyi ^^11:40
jamespageneiljerram, nope11:40
marcoceppihey magicaltrout, sorry you're having so much trouble with this11:52
gnuoyjamespage, do you have a bug number for xenial db migration issue?11:52
marcoceppijamespage: I'm about ~400 copyright notices away from having the charm package clean lint11:53
jamespagegnuoy, https://bugs.launchpad.net/ubuntu/+source/neutron-vpnaas/+bug/156789911:53
mupBug #1567899: alembic migration failure with mysql 5.7 <amd64> <apport-bug> <ec2-images> <xenial> <neutron:New> <neutron-vpnaas (Ubuntu):New> <https://launchpad.net/bugs/1567899>11:53
gnuoyjamespage, ta11:53
jamespageI think I have a fix - just tried it locally11:53
gnuoythat was quick11:54
rbasakjamespage: mysqld runs in a stricter mode in 5.7 by default. If necessary, you can configure it to be as relaxed as previously.11:54
rbasakjamespage: I'm told that putting NOT NULL in the schema should do it, and there should be no consequences because it was enforced like that previously anyway.11:56
rbasak(and that it's not strict mode related)11:58
jamespagerbasak, can you comment on that bug please...11:59
jamespagegnuoy, neiljerram: ok fix proposed upstream and I've uploaded as a patch to xenial as well12:25
jamespagemight not be 100% right but should unblock testing for now12:25
neiljerramjamespage, Many thanks, I'll take a look shortly.  Will your upload go into the main Xenial archive, or do I need to add a PPA for it?12:27
jamespageneiljerram, it will go into the main xenial archive12:27
neiljerramjamespage, thanks12:27
jamespageneiljerram, I'll shove it in ppa:james-page/xenial as well12:27
jamespageuploaded - will take a short while to build12:28
pmatuliswhat is --resource for in 'juju deploy'?12:46
rick_h_pmatulis: put it in the other channel12:48
jamespageneiljerram, gnuoy: vpnaas fix accepted by the release team13:10
gnuoyjamespage, excellent, good work13:11
beisneryah - rbasak, jamespage, gnuoy - nice work tracking down the 5.7 issues & thx for the charm work around13:11
gnuoynp13:12
rbasakNote that I haven't yet uploaded fixes for the bugs I found last night yet for MySQL itself.13:12
rbasakWorkaround is to not have ~/.my.cnf or ~root/.my.cnf while the maintainer scripts run13:13
rbasakUpstream will have updated packaging for me on (probably) Monday. It'll have some other fixes too.13:13
rbasakIf that's awkward for anyone please let me know.13:13
rbasakMySQL itself> I mean packaging src:mysql-5.713:14
A-KaserHi, I would like to deploy my charm located on lp ( https://code.launchpad.net/~frbayart/charms/trusty/datafellas-notebook/trunk )13:21
A-Kaserjuju deploy cs:~frbayart/trusty/datafellas-notebook don't work13:21
A-Kaserwhat is the correct url ?13:21
neiljerramlp: instead of cs: I think13:22
neiljerramAlso need the 'charms' and 'trunk' parts in there - so: lp:~frbayart/charms/trusty/datafellas-notebook/trunk13:23
A-KaserI have tried lot of url format with cs and lp without success13:24
A-KaserI think I have skipped a step13:25
pmatuliswith 'juju deploy', are there just 2 "repositories"? charm store (cs) and local?13:28
rick_h_pmatulis: yes, and local isn't a repository but a path13:40
rick_h_A-Kaser: does it show in jujucharms.com?13:41
rick_h_A-Kaser: there's a big time gap between a bzr push and the charmstore seeing it13:41
rick_h_A-Kaser: there's a new process that's in beta right now for going direct to the charmstore.13:42
rick_h_A-Kaser: jcastro marcoceppi do we have a first draft from your sprint we could share?13:42
marcoceppirick_h_: A-Kaser yes13:43
marcoceppihttps://github.com/marcoceppi/docs/blob/17b54ba8f49d464a0b26b11fab7087705166c6bf/src/en/authors-charm-store.md13:43
marcoceppifeedback can be placed here https://github.com/juju/docs/pull/97513:44
rick_h_ty marcoceppi13:44
A-Kaserrick_h_: no I'm not un jujucharms.com, I do nothing for that13:44
rick_h_A-Kaser: right, jujucharms.com pulls charms from LP automatically but it takes 1-2hrs13:45
jamespagegnuoy, for these - https://review.openstack.org/#/q/status:open+branch:master+topic:network-spaces13:45
rick_h_A-Kaser: the new process that is in testing marcoceppi linked you to docs if you want to try it out and get it in immediately to deploy it13:45
jamespageI don't intend on a full recheck as the code is the same in all versions...13:45
A-Kaserrick_h_: ok I'm reading marcoceppi doc13:45
A-Kaserjust to know, new charms need to be declared somewhere in jujucharms13:46
rick_h_A-Kaser: juju asks jujucharms.com for the charm when you deploy13:46
A-Kaseror all repository with "charms" in name  are added ?13:46
rick_h_A-Kaser: so if jujucharms.com doesn't know about it yet, neither does juju deploy13:46
rick_h_A-Kaser: all repos in charms are pulled in every 1-2hrs13:47
rick_h_A-Kaser: or you can use the new system and avoid that old process13:47
A-Kaserok13:48
A-KaserloOk I suppose I need to upgrade my charm command13:51
A-KaserI'm using ppa:juju/stable , and I don't have "push" subcommand with "charm"13:56
rick_h_A-Kaser: yes, it's in the devel one right now. But if you go there you'll end up on juju 2.0 as well.13:57
pmatulisrick_h_: ty13:58
A-KaserI have started with juju2 but I had too many problem with it13:58
A-Kaserso people ask to me to move to v113:58
rick_h_A-Kaser: understand, so you should be ok. it'll make juju2 available but it's a different install13:58
rick_h_or you can wait on ingestion into jujucharms.com for now13:59
rick_h_A-Kaser: the charm package should hit stable soon. In next week I'd expect13:59
gnuoytinwood, got a sec to review https://code.launchpad.net/~gnuoy/charm-helpers/custom-restart/+merge/291372 ?14:03
tinwoodyep, running an amulet test, so will jump on it :)14:03
gnuoythanks14:03
A-Kaserrick_h_: I have pushed my repo yesterday14:03
A-KaserI'm testing to install charm-tools v2 and keep juju114:05
gnuoyrbasak, do you know if percona-server will follow mysql and shift to 5.7 for xenial imminently ?14:28
rbasakgnuoy: I'm not aware of any plans. I haven't heard from Percona in a while.14:29
gnuoyrbasak, ack, thanks14:30
=== cos1 is now known as c0s
beisnergnuoy, hrm.  i know that your mysql charm MP amulet test passed, but i've got 2 for 2 fails in mysql full amulet after that landed.  weird.    http://pastebin.ubuntu.com/15688809/14:32
gnuoybeisner, which amulet tests is that, the mysql one?14:34
beisneryep14:34
gnuoybeisner, I *think* that is actually the mysql amulet tests being incompatable with the new mitaka schema14:34
gnuoys/mitaka/mitaka keystone/14:34
beisnergnuoy, quite possibly.  we'll need to update the test if so14:35
gnuoybeisner, the error is a missing column in a keystone table14:35
beisnerindeed14:35
beisnerperhaps crossed paths with a pkg rev in trusty-mitaka uca?  (why it passed earlier, but fails now)14:36
jamespagetinwood, out and in for ceph osds?14:37
tinwooddone for ceph-osd, about to submit for ceph.14:37
jamespagetinwood, yeah I was questioning 'out' - that causes an evac of all data off the unit14:38
tinwoodjamespage, I put a note in the actions.yaml that the 'user' needs to do a pause-health before doing an osd pause.14:38
tinwoodjamespage, ... if they want to stop the migration of PGs.14:39
tinwoodjamespage, https://review.openstack.org/#/c/303360/1/actions.yaml14:39
gnuoybeisner, oh, sorry I missed the point you were making. 019-basic-trusty-mitaka went from working a few hours ago to not working now14:41
jamespagetinwood, yeah - I was looking at that14:41
jamespagebeisner, I pushed a load of updates into the updates pocket earlier today for mitaka14:42
jamespageso that might be the cause...14:42
tinwoodjamespage,  I didn't think it should be prescriptive (at the charm level) and enforce a noout on the cluster for the pause? But I'm open to suggestions.14:43
jamespagetinwood, my base assumption was that we could noout/nodown the osd's on a specific unit14:44
tinwoodjamespage, I though noout worked at cluster level?14:44
gnuoybeisner, Bug #156797114:45
mupBug #1567971: Mitaka amulet tests fail <mysql (Juju Charms Collection):New> <https://launchpad.net/bugs/1567971>14:45
jamespagetinwood, yes that's correct - my assumption was wrong...14:45
A-Kasermarcoceppi: thx for the doc14:46
beisnerthx gnuoy14:49
A-Kasernow I have another error with juju deploy cs:~frbayart/datafellas-notebook-014:49
tinwoodgnuoy, I posted my comments on the charmhelpers change.  comment only, as there was a corner case, but it's (in hindsight) fairly unlikely to be activated.14:53
gnuoytinwood, thanks14:53
=== fginther` is now known as fginther
beisnercoreycb, \o/ @  https://review.openstack.org/#/c/302427/15:32
coreycbbeisner, hooray!15:33
beisnerapache2 init script racing, same as we saw in dashboard as jamespage pointed out15:33
coreycbgnuoy, jamespage, this ^ could use a review and +2 by an openstack charmer, it's blocking rockstar15:33
gnuoycoreycb, I can tkae a look15:33
coreycbgnuoy, thanks15:34
gnuoybeisner, I'm working on the assumption that Bug #1567741 is an apache race and am looking to land https://code.launchpad.net/~gnuoy/charm-helpers/custom-restart/+merge/291372 which will allow us to pass a custom restart function to the restart_on_change function. We can use that to replace the redefinition of restart_on_change that we've done in someplaces like openstack_dashboard15:35
mupBug #1567741: get_keystone_manager exhausts retries on:  Unable to establish connection to http://localhost:35347/v2.0/OS-KSADM/services <uosci> <keystone (Juju Charms Collection):New> <https://launchpad.net/bugs/1567741>15:35
gnuoyjamespage, I don't suppose you have time for https://code.launchpad.net/~gnuoy/charm-helpers/custom-restart/+merge/291372 ?15:37
jamespageI was about to say I'm spinning my wheels looking for something todo15:37
jamespagegnuoy, yes15:37
gnuoythanks15:38
jamespagegnuoy, coreycb: you have 'liberty' at the top of your nova.conf - I'd ask you fix that and we'll push that review through without OSCI...15:38
coreycbjamespage, shoot, ok15:39
beisnergnuoy, ack & tyvm.  that looks handy.15:39
jamespagegnuoy, +1 landed for you15:42
gnuoyjamespage, fantastic, thank you15:42
coreycbjamespage, I pushed a new patch series to my review if you want to land it, or i cna15:42
coreycbcan15:42
jamespagecoreycb, OK I'll take that - gnuoy <<<<<15:44
jamespagecoreycb, maybe you could peek at https://review.openstack.org/#/q/status:open+branch:master+topic:network-spaces for me :-015:44
jamespagecoreycb, +2/+1 workflow on your nova-cc change15:46
coreycbjamespage, thanks, sure I'll take a look15:50
gnuoybeisner, I've osci https://code.launchpad.net/~gnuoy/charms/trusty/mysql/1567971/+merge/291388 to chew on, hopefully should fix mitaka amulet.16:00
beisnergnuoy, i think the xenial-mitaka target will fail there, because it will pull in the stable keystone charm16:01
gnuoybeisner, on a related note, once 16.04 is done could we s/mysql/percona/ accross all our amulet tests and stop worrying about mysql charm ?16:01
gnuoybeisner, that +x to xenial was a mistake16:01
beisnergnuoy, that should be the goal.  but first:  refactor pxc's amulet tests so that it covers something other than trusty.16:01
gnuoyack16:02
gnuoybeisner, -x'd xenial in the mp16:03
beisnercoolio ta gnuoy16:03
gnuoyok, keystone apache race here I come16:04
beisnergnuoy, added 2 cards re: mysql->pxc in charm backlog for 16.10, but we should aim for 16.07 in that.16:06
gnuoybeisner, ack, +1. Might be a nice thing to twiddle on during ODS16:07
beisnergnuoy, if i've got nothing else pressing, i'd like to do that.  i usually take on one fairly major amulet or spec addition or refactor during ods and sprint time.16:08
beisneror if you'd like to take it on, quite ok too16:08
gnuoybeisner, be my guest, I would be forced to buy you beer though16:09
beisnerheat, rmq, lxd tests all came about ~sprint time.   will work for beer16:09
gnuoy\o.16:09
gnuoy\o/ I meant16:09
=== redir_afk is now known as redir
jamespagegnuoy, yah - ready to review that apache keystone race fix once you have it ready16:33
jamespagekeep hitting it on a recheck-full16:33
gnuoyjamespage, trying to decide how proffesional to be at the moment. Either easy stop-sleep-start or slightly more involved stop-check-pids-start16:34
* gnuoy thinks its beginning to show that my xchat spell checker is broken16:35
beisnergnuoy, let's have a look at openstack-dashboard where nearly the same was worked around16:36
gnuoybeisner, thats got a sleep16:36
beisnerbah16:36
beisnera fixed sleep is an invitation to race elsewhere16:37
beisneri like check; sleep; loop; with a max total wait.16:37
coreycbI'm trying to get to juju 2.0 from 1.25.3.  The devel ppa doesn't have a new juju-core, only has a new juju2 client.16:52
rick_h_coreycb: yes, apt-get install juju216:53
coreycbrick_h_, you're fast!16:53
rick_h_coreycb: in xenial it'll just be 'juju'16:53
coreycbrick_h_, thanks16:53
rick_h_coreycb: np16:54
rick_h_coreycb: let us know how it goes. Have fun playing16:54
* rick_h_ sends patience pills to coreycb :)16:54
coreycbrick_h_, thanks, I may need them.  I've been stuck in packaging land too long.16:55
gnuoyjamespage, beisner https://review.openstack.org/303538 <- open for initial comments/critism. I need to fix up the unit tests now16:59
jamespagegnuoy, looks ok17:04
beisnergnuoy, def feels like restart_pid_check is an apache2 pkg thing, but i understand why we're doing it here.  do you know if the appropriate pkg bug is raised?17:06
gnuoybeisner, it has17:06
beisnergnuoy, i like how this paves the way for optional restart funcs17:06
gnuoybeisner, theres a comment in the horizon charm which references the bug17:07
beisnerkk thx17:07
beisnergnuoy, we should prob also comment similarly in restart_pid_check so that a year or 3 from now we know wth that's there.17:07
jamespagegnuoy, generally looks ok - some minor comments on the review...17:07
gnuoybeisner, agreed17:08
gnuoyjamespage, thanks, I'll take a look17:08
jamespagegoing to take a break for a bit - suspect I will be back later...17:11
beisnergnuoy, also 1 comment17:11
coreycbrick_h_, do I need to purge  juju-core 1.25.3?17:11
rick_h_coreycb: no17:11
gnuoyack, ta17:11
rick_h_coreycb: they fit side by side17:11
coreycbrick_h_, ok for some reason /usr/bin/juju --version is still 1.25.3-xenial-amd6417:12
rick_h_coreycb: for juju2 and beta3 update-alternatives17:12
coreycbrick_h_, that's better, thanks. I should have figured that on my own.  sudo update-alternatives --config juju17:15
gnuoybeisner, jamespage, thanks for the comments, I've updated the pull request17:54
beisnergnuoy, /melikes17:57
gnuoytip top17:57
gnuoyok, I'm stepping out for a little bit. I'll be back later if there are any nacks to respond to18:00
beisnergnuoy, thx. i'll keep an eye on it.  will do a full recheck shortly.18:01
=== jog_ is now known as jog
beisnerfyi tinwood, i think the test fail on https://review.openstack.org/#/c/303467/ will be resolved when https://review.openstack.org/#/c/303538/ lands18:26
beisnergnuoy, mysql amulet test update landed.  thx again for that.18:26
tinwoodbeisner, thanks.  I'll hold off investigating for the moment.19:03
c0sfellas, with juju2 - how would I deploy from local repo? Somehow this20:23
c0s  juju deploy --repository=`pwd` local:trusty/apache-bigtop-namenode/20:23
c0sdoesn't work, claiming the charm/bundle URL is wrong.20:23
c0skwmonroe: cory_fu - any hints? ;) ^^^^20:23
rick_h_c0s: just deploy the directory. leave local: out20:24
rick_h_c0s: ./apache-bigtop-namenode20:24
cory_furick_h_: Our charms don't yet include the series in the metadata.  Don't you have to specify the series for local charms?  --series perhaps?20:25
c0sI see. rick_h_ and if I need to deploy a bundle - it'd be the same, right?20:25
rick_h_cory_fu: i think you can just --series --force ?20:26
c0salthough, it seems that bundle need to have the info about particular revisions of the charms, hence the repository is needed20:26
rick_h_c0s: yes, bundle is the same20:26
cory_fuc0s: Within a bundle.yaml, you currently still need local: but that is supposed to change20:27
c0sthis20:27
c0s  juju deploy `pwd`/trusty/apache-bigtop-namenode/ --series trusty20:27
c0sat least started doing something20:27
cory_fuBut if you're talking about deploying a local bundle, you would just: juju deploy bundle.yaml20:27
c0scory_fu: "local bundle" as in 'sitting on my laptop', yes20:28
c0sguys, could you share some best practices with me, please?20:38
c0sSay, I deployed something and it failed.20:38
c0sIs there a quick way to clean up and re-deploy again?20:38
jamespagebeisner, gnuoy's apache fix recheck-full's ok20:38
jamespagebeisner, wanna do the honors?20:38
beisnerjamespage, yep on it20:38
jamespagebeisner, awesome20:39
LiftedKiltc0s: same problem - I destroy the model every time, but it leaves the ghost model in list-models20:39
c0syeah... I stepped on it last night were I couldn't destroy the controller and it wasn't clear why20:40
c0sthen I realized that I have a ghost model around20:40
cory_fuc0s: So, I'm struggling with this as well.  The answer is supposed to be one of: fix the issue + upgrade-charm --force-units + resolved --retry, debug-hooks + resolved --retry, or destroy-model + create-model + re-deploy20:40
cory_fuBut all of those are having issues for me in 2.0 beta320:40
LiftedKiltc0s: a clean-model or something would be nice - especially with a flag to retain the deployed machines20:40
c0sgot it.20:40
c0s+1 LiftedKilt20:40
c0sok, for now I will just remove the service and the machine. Luckily I only have a single node ;)20:41
cory_fuLiftedKilt: I believe there's an open issue about cleaning up those models.20:41
c0sstepping away for 20 to grab a bite20:41
LiftedKiltc0s: with a single node it's not terrible, but with 20 or so machines and a full openstack deployment it gets annoying20:42
LiftedKiltcory_fu: yeah I saw something about thata while back. Hopefully it makes it into beta420:42
c0syup, agree LiftedKilt20:44
cory_fuLiftedKilt: I've also been running into an issue where, if I have done an upgrade-charm in one model, then tear that down and start another, deploys of that charm don't work until I upgrade-charm in the new env as many or more times as I had done in the previous env20:44
LiftedKiltcory_fu: oh that's fun20:44
LiftedKilthaha20:44
magicaltroutawww21:26
magicaltrouta dodgy tomcat charm has broken tomcat until monday21:27
magicaltroutits like the juju gods don't want me to get saiku reviewed21:28
magicaltroutkwmonroe: if you have anything depending on archive.apache.org other than tomcat21:30
magicaltroutit will fail to deploy until monday21:30
magicaltrouthttps://bugs.launchpad.net/charms/+source/tomcat/+bug/1568153 for that reason21:33
mupBug #1568153: incorrect reliance on archive.apache.org <tomcat (Juju Charms Collection):New> <https://launchpad.net/bugs/1568153>21:33
magicaltroutmarcoceppi: as the guy with many fingers in pies you should probably be aware of that as well21:35
cory_fumagicaltrout: We never install directly from *.apache.org for that exact reason (and because things get dropped, and the archive is slow, etc.)21:37
cory_fuWe mirror everything to a jujubigdata S3 bucket21:37
marcoceppimagicaltrout: huzzah. tbh, tomcat should probably be a layer instead of a charm21:37
* marcoceppi ponders this21:37
cory_fumarcoceppi: https://i.imgur.com/c7NJRa2.gif21:38
magicaltroutlol21:38
magicaltroutfair enough cory_fu, just a heads up21:38
cory_fuTomcat could serve as either a base layer or standalone charm, I think.21:38
magicaltroutmarcoceppi: many thanks to your database guys for unpicking my LP rebranding21:39
marcoceppicory_fu: totally, but a standalone charm built from a layer ;)21:39
cory_fuWell, I mean it could serve both roles at the same time, potentially.  If you deploy it directly, it's a standalone charm.  But it could also be coded such that it does the right thing if included via layer.yaml21:40
magicaltroutwell thats sorta why i piped up on the ML about a webapp interface21:41
=== urulama is now known as urulama|___
magicaltrout10:45 on friday sounds like a good time to update my boxes... what could possibly go wrong21:45
LiftedKiltwhat does "Waiting for agent initialization to finish" mean? I've got an openstack bundle I wrote, and all the charms except the nova-compute are just stuck in limbo21:49
LiftedKiltbundle for reference: https://paste.ubuntu.com/15699491/21:51
rick_h_LiftedKilt: run juju status --format=yaml21:53
LiftedKiltrick_h_: https://paste.ubuntu.com/15699542/21:54
c0sweird... getting a lot of error messages in the debug like21:55
c0sunit-apache-bigtop-namenode-0: 2016-04-08 21:55:07 ERROR juju.worker.dependency engine.go:509 "uniter" manifold worker returned unexpected error: preparing operation "install local:trusty/apache-bigtop-namenode-0": failed to download charm "local:trusty/apache-bigtop-namenode-0" from ["https://172.31.4.145:17070/model/3f1319b4-ab01-485f-82f1-27afffe6f1a5/charms?file=%2A&url=local%3Atrusty%2Fapache-bigtop-namenode-0"]: expected sha256 "8a9a5571efb6c9f575f56d54d10cd7621:55
c0sunit-apache-bigtop-namenode-0: 2016-04-08 21:55:09 ERROR juju.worker.dependency engine.go:509 "metric-collect" manifold worker returned unexpected error: failed to read charm from: /var/lib/juju/agents/unit-apache-bigtop-namenode-0/charm: stat /var/lib/juju/agents/unit-apache-bigtop-namenode-0/charm: no such file or directory21:55
c0scory_fu: I am deploying from local repo - any ideas what'd be issue?21:55
cory_fuc0s: Yes, that's exactly the upgrade-charm issue I'm running in to contantly21:57
cory_fuc0s: Just do `juju upgrade-charm namenode` until it works21:57
c0sI am not even doing upgrade ;(21:57
c0sI am creating new model and deploying fresh21:57
c0sthat's the status21:58
c0sID                       WORKLOAD-STATUS JUJU-STATUS VERSION   MACHINE PORTS PUBLIC-ADDRESS MESSAGE21:58
c0sapache-bigtop-namenode/0 unknown         allocating  2.0-beta3 0             54.183.6.62    Waiting for agent initialization to finish21:58
cory_fuc0s: Yeah, I think it has something to do with the new model  resetting the internal rev of the charm it's looking for but subsequent deploys still incrementing the the internal rev in the controller21:58
cory_fui.e., every time you `juju deploy namenode` or `juju upgrade-charm namenode`, the controller increments the rev.  But every new model gets its rev set back to 021:59
c0sso, shall I nuke the controller cory_fu?22:06
cory_fuc0s: That would  certainly work, but you can probably work around it by doing pointless upgrade-charms, as I mentioned22:06
c0snah... nuking is easier and surely cleaner. Thanks man!22:07
cory_fuSorry you're hitting these beta bugs.  They're certainly irksome22:08
cory_fuc0s: It's EOD time for me.  Have a good weekend22:08
c0sno worries.22:08
cory_fuAnd safe travels!22:08
c0sI will push for a couple more hours and then switch off as well - need to pack and stuff. The flight is at noon.22:08
c0sThanks! TTL22:08
c0sHave a good weekend, cory_fu22:08
LiftedKiltcory_fu: in my debug logs I'm seeing stuff like22:17
LiftedKiltmanifold worker stopped: preparing operation "install cs:~openstack-charmers-next/xenial/openstack-dashboard-200": failed to download charm "cs:~openstack-charmers-next/xenial/openstack-dashboard-20022:17
LiftedKiltis that the same problem you are looking at?22:17
cory_fuLiftedKilt: Possibly.  I've seen it show that "failed to download" message in two different ways.  One mentions the hashes not matching, which can be worked-around with upgrade-charm, but I've also occasionally see it mention "Bad request" and then I have to just destroy the controller and re-bootstrap22:19
LiftedKiltcory_fu: Ok yeah I'm seeing the bad request 400 message22:19
cory_fuYeah, I have no idea what causes that or how to get around it other than starting over22:20
cory_fuLiftedKilt: Now would be a good time for you to open a bug about that one22:20
cory_fuI can't reproduce it consistently and didn't open a bug about it the times it happened to me (shame on me)22:21
LiftedKiltcory_fu: I'll check on Monday and open one then - I want to try and get openstack up and running before end of the day22:21
cory_fuha.  That's about what I said to myself when I didn't open a bug about it before.22:21
LiftedKiltcory_fu: Thanks for guilting me into it haha22:31
LiftedKilthttps://bugs.launchpad.net/juju-core/+bug/156817622:31
mupBug #1568176: charm deployment requests invalid revision number <juju-core:New> <https://launchpad.net/bugs/1568176>22:31
LiftedKiltlinked it in case you wanted to add any pertinent info22:32
dscwould anyone here know how provide MAAS credentials to juju2? all of the previous mass schema wont be accepted23:00
mattraedsc: this solution worked for me http://askubuntu.com/a/74406523:01
dscthanks so much...I was looking through the code to try to figure out how it was intended to be parsed23:02
mattraesure no problem23:02
dscit looks like the MAAS rest api has changed in version 2.0+ and in my search of the juju source I couldnt find any refrences to the api path that is appended to the uri other than in test files. anyone know where that is set (I need to change /MAAS/api/1.0/ to/MAAS/api/2.0/ )23:29
LiftedKiltdsc: maas 2.0 support is still pending for juju223:30
dscI checked out the maas2 branch to look for it23:30

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