/srv/irclogs.ubuntu.com/2017/07/11/#juju.txt

blrhey there, does anyone have any advice for debugging actions? When my action status is 'failed', I can see a line in my debug-log that reads "Traceback", however there's no traceback.02:40
=== frankban|afk is now known as frankban
cnfmorning08:53
=== gurmble is now known as grumble
NeepuHi @stokachu i had trouble with proxy and juju bootstrapper yesterday. I had trouble with even lauching test lxd containers with ubuntu, but resolved that today. Any chance you can help me today?10:41
NeepuGiven that lxd now works, i assume juju is the remaining half.10:41
ybaumyhaying a very strange problem12:48
ybaumysince the last update i loose connections in juju status from services and machines12:49
ybaumystatus is either unknown or down12:50
ybaumybut when i log onto openstack12:50
ybaumyeverything seems to be working12:50
ybaumyanyone had this too?12:50
ybaumyroot@openstacksa2:~/kube# juju version12:50
ybaumy2.2.1-xenial-amd6412:50
ybaumyagent status is lost12:52
wpkjam: ^^^12:55
ybaumyah and when i restart the whole machines they reconnect agents and everything is green for a day or so12:55
wpkybaumy: do you have controllers in HA setup?12:56
ybaumywpk: yes12:56
ybaumyMachine  State    DNS            Inst id  Series  AZ       Message12:57
ybaumy0        down     10.14.162.72   mt4cyg   xenial  default  Deployed12:57
ybaumy1        down     10.14.162.78   g6kfkb   xenial  default  Deployed12:57
ybaumy2        started  10.14.151.121  w4qxnp   xenial  default  Deployed12:57
ybaumyic12:58
ybaumy;)12:58
ybaumysomehow my controllers seem to be  dead12:59
ybaumybut machines are running12:59
ybaumyand strangely they seem to be on different subnets12:59
ybaumyhmm12:59
ybaumythey have the same vlan12:59
ybaumyi think at least12:59
jamybaumy: bug 1703526 is tracking this issue12:59
mupBug #1703526: agent lost, even though agents are still responding <juju:Triaged by jameinel> <juju 2.2:Triaged by jameinel> <https://launchpad.net/bugs/1703526>12:59
jamybaumy: is it possible for you to add some debugging info to that bug?13:00
ybaumyjam: of course .. what kind of information should i provide13:00
ybaumythere also seems to be a problem with maas dhcp13:01
ybaumybecause of the different subnets13:01
jamybaumy: so doing: juju model-config -m controller logging-config="<root>=INFO;juju.state.presence=TRACE" and then saving a few minutes of "juju debug-log -m controller" output would probably be useful13:01
ybaumybut those vlans are interconnected13:01
ybaumyso connections are possible13:01
ybaumyjam: will do13:02
jamybaumy: from what we can tell, all the agents are connected, its just that our 'Ping to keep alive' logic is wrong13:02
jamso we start reporting 'agent is lost' even though it is happily responding to requests13:02
ybaumyjam: but i will have to wait for now since i restarted all machines like 30 minutes ago. the error is not yet happening13:03
ybaumyjam: or doesnt it matter13:04
jamybaumy: well, maybe data-from-now and then data-from-when-it-happens will be useful for us to track what's going on13:04
jamit can be useful to see the delta13:04
ybaumyjam: how much data is generated in a day when trace is on?13:05
jamybaumy: well, every ping from every agent gets a line in the log file13:05
jamand we ping every 20s or so13:05
jam(and there are some other bits of info)13:05
wpkybaumy: it was working on 2.2.0 without problems?13:06
jamand there is a line every second from PingBatcher about how much stuff it had to write out13:06
ybaumywpk: yes13:06
jamso, its fairly noisy13:06
ybaumyjam: well then i will attach a volume from my nas in order to store the data13:07
ybaumyi dont have that much space on OS13:07
jamybaumy: napkin math says about 500MB13:08
jamybaumy: but I don't think we need the entire time13:08
jamybaumy: if you could do say 30min now, and then 30min tomorrow might be sufficient13:08
ybaumyok13:08
jamor even 10min or so now, and then 10min when you see the issue present itself13:08
ybaumyjam: last question how to turn loggin to default after trace was enabled13:09
jamybaumy: default logging is logging-config="<root>=WARNING" I believe13:10
jam(though we'd *like* it to be INFO)13:10
ybaumyjam: ok13:10
ybaumybut that with the IP addresses is also very very strange13:15
ybaumy10.14.151 vlan is 500 ... and 10.14.162 is vlan 50313:15
ybaumynormally there shouldnt be a conflict or addresses from on net in the other one13:16
ybaumynever seen this until now on the juju controllers13:17
ybaumyhmm where does it get the vlan 503 from13:18
ybaumyi dont get it13:18
jamybaumy: generally we get the vlan ids from the MAAS config13:20
ybaumyhmm13:20
ybaumyjam: i know it must be maas who is responsible for this13:20
ybaumyjam: but i dont see the error. its just the first 2 controller nodes who are in the wrong subnet13:21
=== rick_h changed the topic of #juju to: STATUS: charmstore is currently experiencing errors, the team is correcting | #juju Juju as a Service Beta now available at https://jujucharms.com/jaas | https://review.jujucharms.com/ | https://jujucharms.com/docs/ | http://goo.gl/MsNu4I || https://www.youtube.com/c/jujucharms
ak_devhello, seems that the charm store is down, says service unavailable14:22
ak_devwhile deploying14:22
ak_devsame while searching for a charm on web14:22
ak_devERROR cannot deploy bundle: cannot resolve URL "cs:~containers/easyrsa-12": cannot resolve charm URL "cs:~containers/xenial/easyrsa-12": cannot get "/~containers/xenial/easyrsa-12/meta/any?include=id&include=supported-series&include=published": cannot unmarshal error response "<html><body><h1>503 Service Unavailable</h1>\nNo server is available to handle this request.\n</body></html>\n": invalid character '<' looking for14:23
ak_devbeginning of value14:23
ak_dev^^ error14:23
rick_hak_dev: there's a current outage the team is chasing.14:23
ak_devoh okay cool :-)14:24
rick_hak_dev: will keep the topic up to date and update on twitter as we get things back and going. https://twitter.com/jujuui14:24
ak_devOkay! looking out for it, thanks14:24
rick_hnp, apologies for the unexpected issue14:25
=== rick_h changed the topic of #juju to: Juju as a Service Beta now available at https://jujucharms.com/jaas | https://review.jujucharms.com/ | https://jujucharms.com/docs/ | http://goo.gl/MsNu4I || https://www.youtube.com/c/jujucharms
rick_hak_dev: should be back now15:07
ak_devHey thanks, will check soon :-)15:11
cnfhmz15:24
cnfopenstack with juju is torture15:24
ybaumycnf: i feel you15:25
cnfwhat a load of bs15:26
ybaumyim already using for production redhat15:26
ybaumyim testing suse currently15:26
cnfwe are in RFI rounds15:26
cnfbut canonical is looking unlikeley atm15:27
ybaumywhats RFI if i may ask?15:27
cnfRequest For Information15:28
ybaumyah ok i thought so.15:28
ybaumycnf: i only had problems with juju with scale out15:29
ybaumycnf: and other stuff15:29
cnfredhat and mirantis had a strong story, canonical next week will really have to step up.15:29
ybaumycnf: maybe im too stupid but os-charmers should put out a documentation out IMO15:30
cnfi have had nothing but trouble with juju / charms myself :(15:30
ybaumycnf: im a ubuntu guy normally but this just didnt work out15:30
cnf"Placement API service is not responding" is what i'm stuck at, atm15:30
cnfybaumy: yeah, i'm thinking the same atm15:31
ybaumycnf: im using juju and openstack at home for personal training but thats all.15:32
cnfuhu15:35
ybaumyat work i also moved from maas to https://theforeman.org15:36
cnfmaas i do rather like15:37
ybaumywell do many bugs that came up and was tired getting them fixed. currently i have a bug open in relation to juju and im waiting now over a week for response. i  mean how can i work with something like that15:39
cnfoh yeah, juju is just tiresome15:40
kwmonroehey tvansteenburgh, any objection to a PR that turns down the noise on nvidia-cuda?  the -x is making a big haystack in my logs:  https://github.com/juju-solutions/layer-nvidia-cuda/blob/master/reactive/cuda.sh#L215:40
ybaumyi like it15:40
cnfmaas is much quicker in reacting and fixing15:40
ybaumybut ...15:40
tvansteenburghkwmonroe: no objection15:40
ybaumyi found the integration of chef and puppet with foreman very useful15:42
cnfhmz, what the hell is the problem with this BS >,<15:42
beisner_hi cnf ybaumy - are there specific issues that you're running into with openstack charms?15:42
cnftons, atm my compute nodes apparently can't talk to the placement API15:43
ybaumybeisner_: the reason i switched from juju os-charms to redhat cloud was scale out/down and HA. i had problems adding nodes, removing nodes from the config. then HA setup from the charms should be default. i had problems with mysql HA and much more other stuff.15:45
ybaumyybaumy: i must say i put in a lot of work to get it to run. but then there is no piece of good documentation .. here a piece in the net then go there to find something out...15:46
ybaumybeisner_: and so on. i would really like to give it another chance but in the end its management who says ok this is useful or not15:46
cnfall i get atm is "Placement API service is not responding", and I can't figure out why15:46
cnfybaumy: it's a mess15:47
beisner_interesting.  appreciate the input.  these things are in circulation in production in lots of places, perhaps there are configuration issues which might be more clear with more docs.15:47
ybaumybeisner_: and in my presentation i had problem with scale out and they said ok how should this work in production if not in the a presenation15:47
beisner_LP bug pointers with logs are most helpful in these scenarios15:47
cnfin my experience, when something goes wrong with a juju deploy, you are on your own figureing out what went wrong15:47
ybaumybeisner_: and that was it. management said the project is dead and i had to switch to redhat and im happy with it15:48
cnfwell, canonical RFI presentation next week, we'll see what they say15:48
beisner_sorry to hear that didn't work out for you.  if there are specific technical issues that need attention, please do raise a bug and ping here or on #openstack-charms15:48
ybaumybeisner_: i will. im still using it at home only though but at least i having giving up on it15:49
cnfit's not the most active channel during european time15:49
ybaumycnf: true CEST its like dead15:50
beisner_if there is already a canonical person working with you, i'd be happy to help connect people.  lmk in a priv msg if so.15:50
beisner_but also, LP bugs are how issues are raised/tracked/prioritized with the charms.15:50
cnfbeisner_: i find my issues take weeks if not longer to even get looked at15:51
cnfi don't bother anymore15:51
ybaumythe thing is .. if only one person has a bug or problem attention is not good ..15:51
* D4RKS1D3 hi!15:51
beisner_if there is a specific bug or issue, please holler here with a link.  thank you.15:52
cnfright now, i just want a working openstack15:53
cnfnever gotten to a functional openstack with juju15:53
cnfright, i'm done15:55
cnfi'll look at it more tomorrow15:55
ybaumyhttps://bugs.launchpad.net/maas/+bug/1666521 this is my maas bug .. but related to juju ... no response since 4th of july15:56
mupBug #1666521: MAAS does not detect RAM in newly commissioned VMWARE VM's <MAAS:Incomplete> <https://launchpad.net/bugs/1666521>15:56
ybaumythere is a workaround but its just plain annoying15:57
cnfyou are using MaaS to manage vmware vm's? o,O15:57
ybaumythen  bug 170352615:58
mupBug #1703526: agent lost, even though agents are still responding <juju:Triaged by jameinel> <juju 2.2:Triaged by jameinel> <https://launchpad.net/bugs/1703526>15:58
ybaumyim still collecting logs here15:58
cnfanyway, i'm going home15:58
cnfenough frustration for one day15:58
ybaumycnf: bye good luck with your  setu15:58
ybaumyp15:58
ybaumybeisner_: i will submit my openstack issues this week. i will collect my problems im haying with the charm setup15:59
ybaumyto be honest without jamespage's help i would have gotten nowhere16:00
=== scuttle|afk is now known as scuttlemonkey
julenHi there!16:27
julenI got stuck trying to bootstrap juju with MaaS16:28
julenfrom the juju command line I get the error:16:28
julenERROR unable to contact api server after 1 attempts: unable to connect to API: Forbidden16:29
ybaumydid you juju add-cloud .. and add credentials correctly?16:29
ybaumyjulen: you have to add the api key16:30
julenybaumy, I think I did that already...16:31
ybaumyjulen: the error message points that you didnt but im not the expert here16:31
julenwhile doing "juju add-cloud"16:31
ybaumyjulen: you need to provide username and api key16:33
ybaumyroot@maas:~# cat .local/share/juju/credentials.yaml16:33
ybaumycredentials:16:33
ybaumy  homemaas:16:33
ybaumy    baum:16:33
ybaumy      auth-type: oauth116:33
ybaumy      maas-oauth:16:33
ybaumythis is a example of the credentials file16:33
ybaumymaas-oauth: <apikey>16:34
ybaumyi didnt paste that16:34
julenhmm... so I have to create the credentials.yaml file manually?16:34
ybaumyjulen: no normally not but you can check the file if its correct16:34
julenand, it should be generated during bootstrap, right?16:35
ybaumyno during add-cloud16:35
julenoh! .. true.. yes16:36
ybaumyyou can always make juju add-credential16:36
julenwell... I got a little confused. Sure, I have the credentials file, what I was missing is the old "environment.yaml" file, but I think that it should not be there in the newer versions16:37
julenand the credentials file does look like your example16:37
ybaumyjulen: ok16:37
ybaumyhmm16:37
ybaumydid you enter the enpoint correctly16:38
ybaumyendpoint: http://10.14.151.4/MAAS in ~/.local/share/juju# cat clouds.yaml16:38
julenand the key string on the credentials file does match the one on the "admin"  site or the "maas apikey --username admin"16:39
julenybaumy: I think so... http://192.168.122.139:5240/MAAS16:40
julenI also tried without the port, with the same result16:40
ybaumywell that looks good16:40
julenthe only clue I get from the juju instance is, on the /var/log/juju/logsink.log16:41
julenmachine-0 2017-07-11 16:09:56 DEBUG juju.apiserver.logsink logsink.go:205 logsink receive error: websocket: close 1006 (abnormal closure): unexpected EOF16:41
ybaumywell here you have to ask the developers  then16:42
ybaumyif nobody answers here open up a bug report16:42
ybaumysorry16:42
julenI'll try... but the problem is, that I don't even know if it is a bug. Probably I'm doing something wrong, but it's been already a few days, and I can't manage to work around it16:44
ybaumyjulen: you can also write to the mailing list16:45
julenuff... too many mailing lists already... I'll try here first16:46
ybaumygood luck16:46
julenbeisner, beisner_, jamespage? any idea about where would I look?16:47
julenybaumy: thanks :)16:47
cnfaaand home17:17
=== frankban is now known as frankban|afk
Budgie^Smoreo/ juju world17:53
julenThe juju-gui seems to get stuck while trying to "Deploy changes". The "Choose a cloud to deploy to" dialog has the circle spinning.18:21
julenI probably has something to do with the http-proxy. Isn't there a way to configure the juju-gui to work properly behind a proxy?18:22
julenI didn't find anything on the config section, and the server does have already the http/s/no_proxy variables set on /etc/environment18:23
tvansteenburghhatch ^18:24
julen(I mean the server/instance running the juju-gui)18:24
hatchjulen what version of Juju are you using?18:24
hatchthanks for the ping tvansteenburgh18:24
* tvansteenburgh waves18:25
julenhatch: juju  2.2.118:25
hatchjulen ok and are you using the GUI charm, or the one that ships with Juju?18:26
hatchala `juju gui`18:26
julenthe juju-gui on a MaaS instance18:26
hatchjulen in the top right of the GUI there should be a circle with a question mark in it, can you click there and then click "Keyboard Shortcuts" it'll tell you the version of the GUI18:28
julenon the top right of my juju-gui there is only "search store" and "Logout"18:29
hatchok then the version of the GUI you're using is very old18:30
hatchyou'll want to run the one that ships with Juju and not a charm18:30
hatchyou can get the path to that by running `juju gui` in the cli18:30
julenGUI 2.7.418:31
hatchand does that version work? It will have displayed a URL and a u/p18:32
julenyes, that's the one I am logged into18:32
hatchhmm18:33
julenbut the version 2.7.4 is at least relatively recent.. isn't it?18:33
hatchit's the current release yes18:33
hatchwhich does not have Logout in the top right :)18:34
rick_hhatch: julen if the GUI is on a MAAS and the controller needs a proxy to get out it might not be configured in Juju yet causing thigns like add-charm to fail to get the charms from the store?18:34
julenI belive it has something to do with the proxy again... It has been making me crazy18:34
rick_hjulen: have you tried to see if you can juju deploy from the CLI?18:34
rick_hjulen: and what are you looking to deploy?18:35
hatchrick_h that may very well be - but the GUI that julen is using is quite old - so trying to figure out why it's not running 2.7.4 as the CLI states18:35
julenjuju deploy did work for the juju-gui18:35
hatchoh18:35
rick_hhatch: :)18:35
hatchso then you're not connected to the one from the CLI18:35
julenI just wanted to test the openstack charm18:35
hatchjulen from the CLI when you type `juju gui` it'll print a URL and a username/password - visit the url listed there and log in using the credentials provided18:36
julenbut the instance running the juju-gui does have the http/s/no-proxy variables properly set in /etc/environment...18:37
hatchyou can also run `juju remove-application juju-gui` since that version is not supported on the Juju 2   you have18:37
julenhatch: Allright! this looks better! :D18:38
julennow I seem to have the GUI you mentioned18:38
hatchhaha there we go!18:38
hatchnow can you please re-try what you were doing before to see if it's still not working18:38
julenfor some reason, I just went to the plain IP, without the port and the rest18:38
hatchno problem at all18:39
julenhatch: Aha!! not it totally works! :D18:40
hatchassuming s/not/now18:40
hatch\o/18:40
julenit's funny that the URL without the port also gives you a web interface, almost like the good one18:41
julenthank you very much hatch !!18:41
hatchno problem at all, sorry about that - we'll update the charm to fail obviously in unsupported versions of Juju to avoid this problem for others :)18:41
hatchjulen also, when new GUI versions are released you can simply run `juju upgrade-gui` and it'll upgrade for you :)18:42
julenthat's useful, thanks!18:42
hatchglad it all worked out for you18:43
hatchissues and feature requests can be filed here if you run into any more things - https://github.com/juju/juju-gui/issues18:44
julensure, I was just a little bit unsure, because I kind of knew that I was doing something (relatively trivial) wrong18:45
hatch:) no problem18:47
jamybaumy: I have a potential patch https://github.com/juju/juju/pull/7626 assuming the way I triggered the bug is representative of what is going on for you19:35
jamnamely, if the worker that writes pings to the database gets restarted, it looses sync with the Pingers that were feeding it data19:36
jamI caused it by manually injecting bad data, so I can't guarantee that it is the same root cause that you are seeing19:36
jambut it might be a fix19:36
=== scuttlemonkey is now known as scuttle|afk
ybaumyjam: will look into it tomorow and will give you feedback20:32
jamybaumy: so 'juju debug-log -m controller --level ERROR' might show something about pingbatcher worker dying20:35
jamif it does, then it fits the symptoms really well20:36
tvansteenburghrick_h: you still around?20:40
rick_htvansteenburgh: out and about. What's up?20:43
tvansteenburghrick_h: wanted to ask some questions about `charm set extra-info`, but if it's a bad time i can wait :)20:44
rick_htvansteenburgh: getting the boy from summer camp. Can you email questions and I can poke at it when I get back?20:53
tvansteenburghrick_h: yeah np20:53
tvansteenburghrick_h: if you don't here from me it means i poked until i figured it out myself :D20:54

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