/srv/irclogs.ubuntu.com/2017/05/19/#juju.txt

magicaltroutlazyPower: https://gist.github.com/buggtb/6cfa67a2ae9c0c97321cae86ca73da6c whats the current work around for that?02:32
lazyPowermagicaltrout: that looks remis of an old version of the api-lb02:36
magicaltroutyeah i updated it02:36
magicaltroutthat has indeed gone02:36
magicaltroutinstead i get Error from server: error dialing backend: dial tcp: lookup k8s-workers-1 on 10.105.255.250:53: no such host02:37
lazyPowerthat looks like the dns pod is dead02:38
lazyPowerthis is a fun suite of errors02:38
lazyPowermagicaltrout: are you getting both errors, or one successively after the other? or has the error changed?02:39
magicaltroutit changed now to just the above02:39
lazyPowermagicaltrout: kubectl get svc --all-namespaces  --- is that the VIP of your DNS service?02:39
magicaltroutmy own in house dns lazyPower ?02:49
lazyPowermagicaltrout: kubernetes runs a kubedns pod in the kube-system namespace that provides cluster level dns02:49
magicaltroutah02:49
lazyPowerport 53 is the dns port, i presume it was querying kube-dns, or it may be trying to resolve the hostname for k8s-workers-1. Depends entirely on where the error is being emitted from02:49
magicaltrouti dunno where that ip address subnet comes from lazyPower02:52
magicaltroutits on openstack and some public ip's are in 10.104.1.0/2402:52
magicaltroutso I guess there is probably some 10.105 ip addresses as well02:53
lazyPowermagicaltrout: thats not promising... there is a VIP range declared by kubernetes when you deploy it as cluster-cidr. it defaults to a /1602:53
lazyPowerits quite possible that address range is what was picked for the vip of those services.02:53
fengxia41103Hi Juju, I need to create a CentOS node. What's the quickest way?06:50
fengxia41103I have tried MAAS and using add-machine to add a CentOS, failed at "no tools found"06:51
kjackalGood morning Juju world!07:20
=== frankban|afk is now known as frankban
=== MmikeM is now known as Mmike
jujulearnanyone with openstack-base experience?08:39
erik_lonroth_Hmm. When I'm running "juju status", the command is not returning but gets stuck in a blocking state. I've recently changed the IP address of the server so I guess this might have something to do with it? How can I debug this?08:39
jujulearnHow long was the wait08:40
erik_lonroth_its still blocking08:41
erik_lonroth_about 3-4 minutes how08:41
erik_lonroth_now*08:41
jujulearnare u able to see some output with juju show-machine 008:43
erik_lonroth_I think I'll reboot. I've changed the network so I think perhaps lxc/lxd even has something to do with it.08:43
jujulearnthe above command will tell you if you lxd have any issues.08:44
erik_lonroth_OK, I'll try once the machine comes back up in a few08:44
erik_lonroth_https://pastebin.com/Cv20bZRN08:47
erik_lonroth_It seems its still messed up08:47
erik_lonroth_Oh, no08:47
erik_lonroth_Now it started to work again. I think I might have been to fast08:47
jujulearngood08:48
jujulearnare u using openstack-base?08:48
erik_lonroth_No I don't think so. I'm not sure what it is.08:49
erik_lonroth_Is there any way for juju to update the ipaddresses listed in the "juju status" command. I've changed the ipv6 address scheme and even though the machines has picked up the new IPv6, "juju status" still shows the wrong ipv6 address.08:51
jujulearnwhats the output of juju subnets08:53
erik_lonroth_"No subnets to display"08:57
erik_lonroth_I filed a bug for this: https://bugs.launchpad.net/juju/+bug/169197709:25
mupBug #1691977: ipv6 addresses not updated after changed ipv6 subnet <juju:New> <https://launchpad.net/bugs/1691977>09:25
dakj__jamespage: hi james....have a look here https://paste.ubuntu.com/24603858/09:36
jamespagedakj__: well that looks much better09:37
jamespagewhat did you change?09:38
dakj__jamespage: my desire now?  It's to "kill" a my colleague :-), when I saw he wrong to make the port channel between IBM host (Esx) and the Cisco switch my face is became red, fortunately it's a lab and not in production... so anyway now I want to remake also the deploy of landscape. But why the ceph-osd/21, /22 and 23 are in blocked....09:56
jamespagedakj__: osd-devices configuration is incorrect09:57
jamespagedakj__: what's the block device name for the second disk in each of those servers?09:57
dakj__jamespage: just a second check that09:57
dakj__jamespage: https://paste.ubuntu.com/24603952/ while on juju guy it's /dev/vdb10:00
jamespagedakj__: juju config ceph-osd osd-devices=/dev/sdb10:00
dakj__jamespage: https://pasteboard.co/86NyS1g5U.png10:02
jamespagewell change that to /dev/sdb10:03
jamespagecli or gui does the same thing10:03
dakj__ jamespage: do I must to remake all deploy or it's only necessary to change that via gui and save, and it goes in unlock automatically?10:12
jamespagedakj__: it should take effect without redeployment10:13
jamespage'config-changed' hook will fire, detect the configured disk on each unit and bootstrap it into the ceph cluster10:13
dakj__jamespage: I try that immediately10:13
dakj__jamespage: https://paste.ubuntu.com/24604142/10:16
jamespagedakj__: so it sounds like my hypothesis "this smells like a network problem"  was right?10:17
jamespagedakj__: btw I'd highly recommend you move to using juju 2.1.210:18
dakj__jamespage: I'm so happy :-) :-) thanks a lot for your support next steps landscape, and install ubuntu with lxd on IBM system x3650 M410:18
jamespagedakj__: can I ask a favour in return - can you put together some basic docs on how you deployed the bundle on vSphere?10:18
dakj__jamespage: you had right.....I could believe when I see the port channel wronged10:19
jamespagecould be a google doc or a github gist10:19
dakj__jamespage: sure, explain how do I make that10:19
jamespage+1010:19
jamespageplease10:19
jamespagedakj__: I'd also be interested to see if you can actually start instances with kvm nested inside esx10:20
* jamespage does not currently have access to a vsphere cluster10:20
dakj__jamespage:  do you know the credentials to make the login in openstack?10:27
jamespagedakj__: all in the README for the bundle10:28
dakj__jamespage: are you sure? because on README I don't find any about that10:32
jamespagedakj__: ah its in the novarc10:36
jamespagehttps://api.jujucharms.com/charmstore/v5/openstack-base/archive/novarc10:36
jamespagedakj__: admin/openstack10:36
dakj__jamespage: https://pasteboard.co/87R6JDR7O.png11:04
jamespagedakj__: I'm guessing you did not change the admin-password option in the bundle?11:05
dakj__jamespage: no I didn't it :-( Where can I see that? And where do I must make it....11:35
jamespagedakj__: no that username and password shoudl work ok - can you check things from the CLI please? The README has lots on cli usage11:37
dakj__Jamespage: is it fine this link https://docs.openstack.org/admin-guide/cli-manage-projects-users-and-roles.html?11:44
dakj__jamespage: if I change the value in admin-password in Keystone could it work?11:46
dakj__jamespage: I'm remaking the deploy of that, the password has to set in keystone? Because there is already present "open stack" https://pasteboard.co/89TVK2USz.png13:04
jamespagedakj__: yes that's what I'm saying - the default username and password is admin/openstack13:04
jamespagedakj__: I don't know why that's not working in the dashboard - if you look at the README in the bundle, it shows you some basic cli usage for openstack - please check that first13:05
dakj__jamespage: last time after the deploy it was None....13:05
jamespagewhat was none?13:06
dakj__jamespage: sorry, the value in Admin-password was "None"13:06
jamespagenot sure why - that value comes directly from the bundle you used13:07
dakj__jamespage: now I've changed that and run the deploy again, after that I'll check it.13:08
dakj__Jamespage: waiting that, the issue with HAproxy is not changed (https://askubuntu.com/questions/906763/haproxy-reverseproxy-relation-changed-for-landscape-serverwebsite) do you know something about that?13:09
jamespagedakj__: sorry - I'd have to defer to someone who knows the landscape charms13:10
dakj__jamespage: ok, I've to thanks you for all your time dedicated to me and my lab :-).  At moment this issue can wait!!!!!!13:20
erik_lonroth_Anyway I can remove a model where I still have machines left in the list which are no longer within lxc/lxd ? I removed then forcefully to start over with the model, but now I can get rid of the model at all. Tried: "juju remove-machine 1 --force" without luck...13:25
erik_lonroth_I did "lxc delete <machine>" previously, hence the machines are no longer available.13:26
erik_lonroth_... but I want to get rid of the model from juju13:26
rick_herik_lonroth_: hmm, not sure about that one. We have a way to kill the controllers but just a model that's been tampered with behind the scenes I'm not sure.13:31
rick_herik_lonroth_: migth have to hit the juju list and see what the devs think (though they're mostly out for the weekend at this point)13:31
erik_lonroth_ok thanx13:32
dakj__jamespage: now it's prefect. We need to change that before to make the deploy https://pasteboard.co/8aAkNISbV.png13:44
jamespagedakj__: correct - you can't change it afterwards (at the moment at least)13:46
jujulearn_Any compatibility issues maas 2.1.5 and juju-2.1.2 ?13:48
dakj__jujulearn: I'm using that, MAAS version 2.1.5 and JUJU version 2.1.2-xenial-amd64 and at moment any issue...13:54
dakj__jamespage: ok let me organise about that documentation and I'll give you that soon. Now I can only say thanks a lot for your support. Next steps are to solve the issue with landscape and replace esx with ubuntu lxd on that IBM host.13:57
dakj__jamespage: let's keep in touch here13:59
dakj__let's keep in touch13:59
dakj__let's keep in touch13:59
dakj__jamespage: but is there a way to organise in juju gui the location of applications? https://pasteboard.co/8aTf5bV5Z.png14:02
rick_hdakj__: if you move them it should update their locations as annotations in the juju db and remember them next time14:03
dakj__rick_h: ok thanks I thought that in automatic juju makes that.14:10
dakj__rick_h: have you had any experiences with the deploy of landscape dense-Maas?14:11
rick_hdakj__: sorry, nothing I can add to the askubuntu question14:15
dakj__rick_h: thanks, I've already done that, but never answer.14:15
dakj__rick_h: the issue is with HAproxy and the post is that https://askubuntu.com/questions/906763/haproxy-reverseproxy-relation-changed-for-landscape-serverwebsite14:16
rick_hdakj__: I'll see if I can ping someone to look at it14:16
dakj__rick_h: thanks a lot. It'd be a great favour. Because I looking for any post or fix about that or someone that to deploy the bundle.14:18
Zichmm, I have a strange bug with Juju GUI (used locally, without JAAS), it keeps trying to open the authentification page of Ubuntu One to log me in, but I don't need it since I'm running it fully on baremetal / auto-hosted Juju16:33
Zicis this normal?16:33
hatchHi Zic  I understand you're having an issue trying to log in to the GUI16:35
hatchwhen you open the GUI, you're visiting the link form the `juju gui` command output?16:36
Zicnop, I can correctly log into the juju GUI, actually I am already seeing the GUI, but randomly, when I click to configure unit, it tries to open a popup window with Ubuntu One authentification16:37
ZicI think it's useful for JAAS16:37
Zicbut not for a local/private Juju16:37
ZicI just close the auth window to Ubuntu One and continue to use Juju GUI normally after, but sometime it re-open...16:37
hatchohh interesting16:38
hatchZic can you check the GUI version by hitting Shift+?16:38
hatchit'll be in the bottom left of that window16:38
Zicthe requested action from ubuntu One account is " Juju Charms API log in with Ubuntu One "16:39
hatchare you using private charms from the charmstore?16:39
Zicnop, just canonical-kubernetes16:39
ZicShift+ does not do anything :(16:40
Zicoh, oops, Shift+?, sorry, I'm trying again16:40
Zic2.6.016:40
hatchalright thanks, I'mjust trying to narrow it down16:41
hatchone more question, is this on MAAS?16:41
Zicnop, manual provisionning16:42
hatchok sorry one more :)16:42
hatchdoes ithappen at a usual interval?16:42
Zic(as we have our own MaaS-like that is not connected to Juju but to all of our internal tools :/ I will gladly embrace MaaS otherway)16:42
hatchsure, no problem16:43
Zichatch: it seems that it happens when I do this path for example : click on easyrsa charm, Units, scale, then "back, back back" and sometime it open up at this stage16:43
Zicah better than this example16:44
Zicthis one is always reproductible:16:44
Zicclick on kube-api-loadbalancer16:44
Zic(to configure it)16:45
Zicit always open Ubuntu One popup16:45
hatchthanks a lot Zic we'll look into this16:46
Zica totally different question/problem: can I deploy and old revision of charms (or a charm-bundle, if it deploys old charms with it) through the Juju GUI?16:48
Zicmaybe I'm wrong but I saw this option on old Juju GUI version16:48
ZicI don't find it in the 2.6.0 :s16:49
Zic(I need to deploy an old CDK bundle to test the upgrade)16:49
Zicthe one with .deb/1.5.3 of Kubernetes16:49
Ziccc @ lazyPower16:49
hatchZic here is the issue I created to track this https://github.com/juju/juju-gui/issues/292216:49
Zicthanks a lot hatch16:50
hatchZic you can get to old versions of a bundle by specifying it in the url https://jujucharms.com/canonical-kubernetes/3716:50
hatchthe last version16:50
hatchfor example16:50
Zicdoes a old charm-bundle deployed its old-charm with it?16:51
Zic(it seems logic actually but... just to be sure)16:51
hatchZic depends on the bundle - if the bundle defines the expicit version then yes16:52
hatchif it doesn't then it'll deploy the latest16:52
Zicit's about canonical-kubernetes16:52
hatchZic you can also download the bundle.yaml then modify it and import it into the GUI to deploy16:52
Zichmm, it's a good idea16:52
ZicI will export through the old GUI of my production cluster the bundle.yaml16:53
Zicand then load it into the new Juju with Import16:53
hatchyep you can definitely do that16:53
hatchZic would you be able to check one more thing around this login popup bug?16:53
Zicyup16:54
hatchafter opening the browser console ctrl+alt+i and switching to the Network tab, perform the action which causes the popup to open16:54
hatchand then paste the output into that github issue16:54
hatchseeing the network requests will help us narrow down the issue16:55
Zichatch: do you want a screenshot or an export ?17:00
Zicbecause I can't see any option ton export as text :(17:00
hatchZic screenshot should be fine, thanks a lot!17:01
Zichatch: added17:03
hatchahah!17:04
hatchthanks Zic we'll get this resolved17:04
Zic(for info, it's not really https://localhost:8080/, it's an SSH tunneling to the Juju GUI pointing to juju:17070 :)17:04
hatchyeah that's fine, I can actually see the problem already :)17:04
hatchwe'll try and get this fix into the next release17:05
Zicthanks :)17:05
=== frankban is now known as frankban|afk
hetfieldhi all, i have issues with ceph deployed with juju18:47
hetfieldwhen i try to issue any rbd/rados command it asks for key as it's not in default patch, when i pass the proper key it gives me auth failures18:48
hetfieldbut it's very strange as openstack plat works, it happens when i log in a unit and issue commands as root18:49
hetfieldno one?19:45
zeestrathetfield: You checked in #openstack-charms ?19:52
hetfieldno :)19:53

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