/srv/irclogs.ubuntu.com/2018/01/16/#juju-dev.txt

axwveebers: do you have an example you can show me with the tests that fail due to lack of "virsh"? I ran all the tests yesterday locally, after removing libvirt-bin00:53
axw(and they passed)00:53
axwveebers: also, latest s390x run on 2.3 looks much better. thanks for picking up that error: http://qa.jujucharms.com/releases/6156/job/run-unit-tests-xenial-s390x/attempt/231300:55
axwstill a few errors, but not completely hosed00:55
veebersaxw: can do, one moment while I grab th right url. awesome great to see the s390x improved01:03
veebersaxw: you'll need the vpn connected: http://10.125.0.203:8080/job/RunUnittests-amd64/182/testReport/ (github.com/juju/juju/container/kvm.Test)01:07
axwveebers: thanks01:07
veebersaxw, babbageclunk would it be fair to say to run the unit tests you need lxd installed and setup (i.e. you need to be in the group etc.), that's out of the scope of the test itself01:08
axwveebers: I'm not sure if there are any tests that run lxd things directly. wouldn't surprise me01:09
axwveebers: not sure what you mean about scope sorry01:10
veebersaxw: I ask because there are test failures occuring and I'm pretty sure it's due to them being run within fresh lxd containers each time now (i.e. no long running setup, installs)01:10
axwveebers: IMO, if you've run "make install-dependencies", then you should be able to run the tests. I don't know what the reality is though01:11
veebersaxw: install-deps doesn't install lxd :-\ so if it's actually needed by the tests is assuming its installed and setup. I'll dig further and pester you later on :-)01:15
axwokey dokey01:15
axwveebers: FYI: https://github.com/juju/juju/pull/8292. skips live tests when virsh is missing. I had other errors when trying to run them - pretty sure nobody is running them, since they only work when run as root02:07
axwanastasiamac: thanks02:09
veebersaxw: Interesting, I'm just looking now that the unit tests in lxd containers get run as root (and changing that so it's ubuntu user instead)02:12
anastasiamacaxw: nws, was curious :D02:13
axwveebers: sounds good, that will also fix the kvm test issue02:13
veebersaxw: appears it will fix the lxd test errors too02:17
axwveebers: cool :)02:17
thumperwpk_: ping06:15
tasdomasmorning07:32
tasdomasanastasiamac, ping?07:32
anastasiamactasdomas: ? :D07:46
anastasiamactasdomas: i saw u landing ur PR in 2.3, so assumed that u do not need any other reviews... generally, staright forward ports r self-approved07:47
tasdomasanastasiamac, does https://github.com/juju/juju/pull/8290 look alright as a forward port?07:57
* anastasiamac looking08:05
anastasiamactasdomas: i *think* so :) lgtm'ed08:08
tasdomasanastasiamac, thanks08:18
kjackalHi, is there support for availability zones in openstack?10:06
axwkjackal: yes there is. is something not working for you?10:11
kjackalaxw: we are suposed to use openstack as a cloud provider10:26
kjackalthis openstack deployment has 3 availability zones10:26
kjackalis it possible to use a constraint to request certain applications to be spread accross all availability zones?10:27
kjackalis there a zone constraint10:27
kjackalaxw: ^10:27
axwkjackal: all applications will (should) be spread across AZs without you having to do anything extra10:28
axwi.e. "juju deploy -n 3 foo" should give you a unit in each AZ10:29
kjackalok, can I request a certain availability zone for a unit?10:29
axwthere is no zone constraint. there is zone *placement*, if you want to assign specific units to a zone10:29
kjackalok, where can I read about this?10:30
kjackaljuju docs?10:30
axwkjackal: https://jujucharms.com/docs/2.3/charms-deploying looks to be the most appropriate link10:30
axwkjackal: see "--to zone="10:30
kjackalaxw: ok, cool10:33
kjackalaxw: is the "--to" available from a bundle as well?10:33
axwkjackal: I don't think so10:35
kjackalaxw: hm... it gives me an "invalid placement" error10:42
axwkjackal: what command did you use?10:42
kjackalaxw: placement works from command line but I need it to be part of a bundle10:43
kjackalso in the "-to: " of the bundle I tried "zone=nova" or just "nova"10:44
axwkjackal: that doesn't make for a very portable bundle. what do you think about supporting --to on the CLI for bundles, so you'd do something like "juju deploy bundle.yaml --to ubuntu/0:zone=nova --to ubuntu/1:zone=super"10:46
axwkjackal: anyway, probably best to file a bug/feature request on launchpad - I'm past EOD, going to head off in a moment10:48
kjackal_botaxw: thank you for your help11:01
kjackal_botyes you are right the bundle will not be portable. It would be too essoteric11:01
thumperbabbageclunk: giving audit logging demo tomorrow morning here11:58
thumperbabbageclunk: what is the current status of the outstanding items we had on audit logging?11:59
thumperah.. 1am, you won't see this12:02
balloonshml, ping15:52

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