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

=== frankban|afk is now known as frankban
kjackalGood morning Juju world!08:06
BlackDexHello there, is there still an option to force the usage of LXC instead of LXD with juju 2.0?08:27
marcoceppiBlackDex: lxd is lxc, you mean lxc 1.0 instead of 2.0?08:27
BlackDexyes.. i think i mean that...08:28
BlackDexAm i correct that LXD an KVM/QEMU can't run together08:28
BlackDexBecause of the CPU VT-D usage?08:29
rockstarBlackDex: LXD and KVM can absolutely be used together. I'm doing it on my machine right now.08:39
rockstarBlackDex: I can't imagine a reason why LXD would be using VT at all. It's not a virtualized environment.08:40
BlackDexAh oke08:46
BlackDexSo, if i want to deploy openstack using juju 2.0 and run some services on a compute node that can be done withing LXD :)08:46
marcoceppiBlackDex: yeah, you should check out: https://github.com/openstack-charmers/openstack-on-lxd08:49
rockstarBlackDex: absolutely.08:49
rockstarBlackDex: in fact, I do the development of nova-lxd inside a lxd instance, so my devstack compute nodes are straight-up lxdception.08:49
BlackDexrockstar: So you have  a Host, which has an LXD container, which has nova-lxd in it?08:51
rockstarBlackDex: yes.08:51
BlackDexWow08:51
BlackDexnice08:51
rockstarAnd I've also booted KVM instances inside of my nova-lxd container.08:51
rockstarBlackDex: it's changed a bit since this, but if you're interested: http://iamtherockstar.com/devstack-in-a-lxd-container.html08:51
BlackDexincluding VT?08:51
rockstarBlackDex: yes.08:55
BlackDexOke, nice08:56
BlackDexthx for the info! and the website08:56
rockstarBlackDex: LXD shares the kernel with the host, so as long as the kernel has support for it, the LXD gets them too.09:02
BlackDexoke, that is good to know.09:02
BlackDexDo you also know if it is possible to have static ip's for LXD/LXC containers via JuJu/Maas?09:03
BlackDexCan't seem to find anything on this. It all seems to do DHCP09:03
anrahHi! I upgraded my OpenStack and during the update I enabled HTTPS on my public APIs09:10
anrahnow I get error: http://paste.ubuntu.com/23424696/09:11
anrahthe instance gets created but apparentely the bootstrapped machine needs the ca-file to the machine if it wants to talk to openstack09:11
anrahca-cert-path config option should do the trick, but that is not available on juju 2.0 ?09:12
marcoceppianrah: it might be best to check in #openstack-charms09:14
rockstarBlackDex: that'd be a question for #lxcontainers09:16
BlackDexrockstar: Thx i will check over there09:16
caribouHi, is there a way to prevent amulet from destroying the environment after tests (juju 1.25) ?09:17
cariboufor some reason rsync refuses to get my tests logs; I get permission denied09:18
anrahmarcoceppi: I am not deploying openstack, but rather definining openstack as a cloud which juju should use09:18
kjackalcaribou: are you using bundletester to run your tests?09:24
cariboukjackal: no, just "juju test" from the charm's directory09:24
kjackalcaribou: could you try the reset: false flag inside the test.yaml?09:25
kjackalcaribou: I am not sure if that will be honored. Have a loog at the description of the flag here: https://github.com/juju-solutions/bundletester09:26
cariboukjackal: test.yaml ? don't have one of those, just the test scripts09:26
cariboukjackal: ok, I'll look at it09:26
cariboukjackal: thanks!09:31
cory_fukjackal: Can you give me a review on https://github.com/juju-solutions/cloud-weather-report/pull/8110:15
kjackalcory_fu: I am on it!10:15
cory_fuThanks!10:15
kjackalcory_fu: Looks good! Let me know if you want me to merge it. Should we wait for the 200 amulet return?10:30
cory_fukjackal: Were you able to run it and confirm the HTML fix?10:31
kjackalOh, you need a full use then! Ok, that will take some more time. I just run the unit test. I will ping you again10:33
kjackalcory_fu: ^10:33
cory_fuPlease do.  Thank you10:33
cory_fukjackal: Heading to lunch now.  bbiab10:33
kjackalcory_fu: run the testplan (git) exmaple on lxd. No problems in the HTML, looks fine!10:46
cory_fukjackal: great, thanks11:09
=== linaras is now known as deanman
petevgbcsaller, cory_fu: I just pushed an update to https://github.com/juju-solutions/matrix/pull/11, which fixes the issues that I was seeing in test_glitch. You may need to rebuild your .tox environment, as it incorporates a matching fix to python-libjuju15:19
BlackDexcan i mix series within a bundle file?15:52
aisraelblackboxsw: Yes15:52
BlackDexlike almost everything is xenial, but some stuff is trusty, and that will be in an lxc?15:52
BlackDexthe default series can be xenial, and then a charm just trusty/something, and that will work?15:53
aisraelblackboxsw: here's an example: http://pastebin.ubuntu.com/23426074/15:53
aisraelYou can set a per-machine series15:54
blackboxswBlackDex, that was for you ;)15:54
aisraelerr, yes, sorry!15:54
BlackDex:)15:55
aisraelsilly tab completion15:55
BlackDexhehe, but i figured :)15:55
BlackDexoke thx, ill go and try that15:55
jjohnstonHappy Friday, I have a question about juju 2.0 and ipv6 if anyone here can assist?  My question is how to I prevent lxd instances from taking ipv6 addresses during a juju deploy?17:33
jrwrenjjohnston: using the local lxd provider?17:34
jjohnstonno, deploying to remote nodes via maas17:35
jjohnstonmaas managed nodes rather17:35
jjohnstoni don't have any ipv6 networks in maas and the bare-metal hosts take ipv4 addresses as expected, but the lxd instances, including the api endpoint for ceph (in this case) are taking ipv6 addresses17:37
=== frankban is now known as frankban|afk
marcoceppijjohnston: thta's really odd, I htink there's a model config to disable ipv617:42
* marcoceppi checks17:42
jjohnstonthat would be nice, I'm green with juju, but i've not been able to find such a parameter after extensive googling17:43
marcoceppijjohnston: I don't have a MAAS model available to me atm, but does juju model-config yield anything exciting?17:43
rockHi all. To push our charm to charm public store we created an charm account using https://login.ubuntu.com/xbX4GvuWSuVkirqs/+decide. I pushed charm to store using that account from JUJU CLI. Now  I deleted my charm account permanently. Bur account user name is still there.17:43
rockHow can I remove that account username17:44
marcoceppirock: which account username?17:44
rockmarcoceppi: Hi. ubuntu SSO account username.17:45
marcoceppirock: right, what is your username you want to delete? :)17:46
rockmarcoceppi: "kaminario"17:46
rockWhen I was trying to create another account using same username "kaminario". It was showing username "kaminario" already in use.17:48
marcoceppirock: I will take a look17:50
rockmarcoceppi: Thank you.17:50
jjohnston@marcoceppi the only thing of remote interest that I can see is the ignore-machin-addresses and that's only because I can't even guess what that does18:15
jjohnstoni don't see anything regarding protocol preferences as previous versions of juju apparently had18:16
marcoceppijjohnston: this might be a better topic for juju@lists.ubuntu.com and juju-dev@lists.ubuntu.com, I don't have a good answer for you18:55
pragsmikeanyone else having trouble rabbitmq charm rev 56 to run in openstack-base?19:02
pragsmikeall the openstack charms, mysql, ntp started ok, just rabbitmq says error, hook failed: "config-changed"19:03
pragsmikedeploying using maas 2.119:04
marcoceppipragsmike: are you putting rabbit in a lxd machine?19:12
jjohnston@marcoceppi: Thanks, I'm going to redploy juju ensuring there are no references to ipv6 prior to the bootstrap19:14
marcoceppijjohnston: cool, if maas isn't configuring ipv6, it really shouldn't get addresses at the contiainer level19:15
marcoceppifwiw, I haven't encountered that yet19:15
pragsmikemarcoceppi: yes, I'm using the openstack-base bundle (except I tweaked constraints on the machines section)19:16
pragsmikemarcoceppi: and that bundle does specify that rabbitmq be in lxc19:17
marcoceppipragsmike: right, I wonder if there's a fix out19:17
pragsmikeis that what the problem is?19:19
marcoceppinope, that's the lastest19:19
marcoceppibeisner: have you come across this ^19:20
marcoceppicoreycb: ^19:20
pragsmikeI did change the bundle to use rabbitmq rev 56, where it was 5419:21
pragsmikebut i did that because it was failing the same way before19:22
marcoceppipragsmike: ah, excellent. I know rabbitmq-server freaks out when things like DNS don't work19:23
marcoceppiyou're on maas 2.0 or 2.1?19:23
pragsmikemaas 2.119:24
marcoceppipragsmike: also, can you pastebin the /var/log/juju/unit-rabbitmq-server*.log file19:24
pragsmikemarcoceppi: http://pastebin.com/v2XYtbzM19:29
pragsmikethat just seems to be the rabbitmq client failing to connect to the server, doesn't say why the server didn't start19:30
pragsmikealso I'm not sure if it's ok that it thinks the host name is "eth3".  maas has decided that address has the name eth3.juju-8566c3-0-lxd-219:35
pragsmikeI have a bunch of networks set up per Dimiter's instructions, but I haven't tried to make anything use them yet.  juju just decided to use the 10.100 network for everything, which ought to be ok to start.19:37
pragsmikerabbitmq doesn't use ceph, does it?19:38
kwmonroepetevg: would you mind taking a look? https://github.com/juju-solutions/layer-apache-bigtop-base/pull/5319:44
petevgkwmonroe: looking ...19:44
petevgkwmonroe: left some comments.19:49
pragsmikemarcoceppi: also http://pastebin.com/D0NPZ4xJ is dmesg from rabbitmq container, full of segfaults in beam.smp19:55
pragsmikeis remove-application suuposed to work in 2.0? juju remove-application rabbitmq-server has no effect that I can see.20:33
=== zz_CyberJacob is now known as CyberJacob
kwmonroesorry to make you grump petevg -- thx for the review ;)21:15
petevgkwmonroe: no problem :-)21:16
petevgkwmonroe: squashed n merged.21:17
kwmonroeyou da man.21:17
coreycbthedac, pragsmike had an issue with rmq earlier.  i think you had a fix queued up, i wonder if it's related.21:30
thedacMy rabbit fix is related to maas 2.0 DNS and multiple interfaces21:31
* thedac reads backscroll21:31
thedacpragsmike: yes, I think my change will help you cs:~thedac/rabbitmq-server-3 https://review.openstack.org/#/c/389387/ for reference21:33
pragsmikeok thanks guys, I'll try that one21:48
pragsmikebut once the bundle has deployed, juju seems to ignore any attempts i make to remove applications21:48
pragsmikethedac: what's the recommended way to replace a running rabbitmq app with yours?21:49
thedacpragsmike: you could do `juju upgrade-charm rabbitmq-server --switch cs:~thedac/rabbitmq-server-3`21:49
thedacActually probably need a --force in there too21:50
thedacThen a juju resolved rabbitmq-server to get it going again.21:50
pragsmikek thanks21:50
pragsmikethedac: hmm, same problem, on the surface21:54
pragsmikelet me investigate further21:54
pragsmikemaybe redeploy the whole shebang with that new charm21:55
thedacpragsmike: hmm, I wonder if /etc/rabbitmq/rabbitmq-env.conf still has NODNAME=eht3? That is the problem21:55
thedacIt might take a bit of manual intervention21:55
pragsmikei will look21:55
thedacA redeploy would fix it :)21:55
pragsmikeit does have RABBITMQ_NODENAME=rabbit@eth321:56
thedacSo just some backstory. rabbitmq is very sensative to DNS. It also needs a shortname for NODENAME. and eth3 is not resolvable. So a quick hack is to add eth3 to the 127.0.0.1 line in /etc/hosts21:57
thedacmy change completely avoids this problem by not setting NODNAME and forceing `hostname` rather than doing DNS reverse lookup of the iP21:58
pragsmikei just commented it out and did "resolved".  Aha!  Now it's saying "(config-changed) RabbitMQ failed to start" in status, which i never saw before21:58
pragsmikeah, now it's back to "config change failed"21:59
pragsmikeI'm going to just redeploy and go to dinner21:59
thedacpragsmike: I suspect rabbit is a bit hosed at this point.21:59
thedacYes that is the quicker solution21:59
pragsmikethanks for the quick help and explanation21:59
thedacno problem21:59
pragsmikeRecovery-oriented Computing21:59
pragsmikeit's a thing21:59
thedacI'll be getting that change merged next week.21:59
thedacRabbitmq is the most fragile service in the OpenStack22:00
pragsmikewow that's saying something22:00
thedac:)22:00
pragsmikei'd have voted for heat22:00

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