/srv/irclogs.ubuntu.com/2015/12/03/#juju.txt

lazypowerthomi : which juju version are you using?02:44
thomilazypower: 1.25.0-0ubuntu1~15.10.102:45
lazypowerthomi which substrate is this against? local, aws, openstack, et-al?02:45
thomilazypower: I destroyed the environment and re-created it. I no longer see that error (I see other errors instead)02:45
thomilazypower: this is all against local02:46
lazypowerwell, thats progress02:46
lazypowerAre the new errors blocking you?02:46
thomilazypower: they are, but I'm at my EOD, so I'll attack them again tomorrow with a fresh brain02:47
thomithanks for your help tho02:47
lazypowerSorry i wasn't more help. Cheers thomi02:48
=== stub` is now known as stub
=== Guest78115 is now known as jose
=== jose is now known as Guest38423
=== Guest38423 is now known as jose
=== axino` is now known as axino
jamespagegnuoy, http://paste.ubuntu.com/13640557/08:26
jamespagewas the diff I have locally for generating a list of related unit private-addresses08:26
jamespageit also switches the scope to SERVICE from GLOBAL08:26
jamespagethat said I think that the interface stubb should provide methods that return primitives such as lists as a core - joining with ',' is really an openstack specific bit08:27
=== Guest32965 is now known as CyberJacob
gnuoyjamespage, got a moment for a layers review? https://code.launchpad.net/~gnuoy/charms/+source/interface-rabbitmq/+git/interface-rabbitmq/+merge/27941710:23
doreaHow to study: http://qr.ae/RbCtvx13:22
doreaOops, wrong channel! bye.13:23
jamespagegnuoy, reviewed - we should drop 'hostname' from the interface - its legacy and should not be used afaict14:55
gnuoyjamespage, it opens an interesting question about what other aspects of the charm could be considered 'legacy'14:56
jrwrencharmers: I don't think that I can fix these errors, they seem to come from the test environment. Can someone give me suggestions? http://paste.ubuntu.com/13632412/15:31
marcoceppitvansteenburgh: ^?15:31
marcoceppitvansteenburgh: disregard15:31
marcoceppijrwren: that's an issue with OSCI, beisner is your best bet15:32
marcoceppiWe have two CI services running, one for general testing and one for OpenStack (OSCI) testing15:32
jrwrenbeisner: help. :)15:32
beisnerhi jrwren - undercloud woes hit ya there.  serverstack is back in black, i can re-trigger that now.15:33
beisnerjrwren, can you link me to your MP?15:33
jrwrenbeisner: oh please retrigger, thank you. https://code.launchpad.net/~evarlast/charms/trusty/mongodb/fix-dump-actions/+merge/27719115:33
beisnerjrwren, you have a passing result which ran after that failure15:36
jrwrenbeisner: I do? I think I didn't get the email.15:36
beisnerjrwren, see comment chain @ https://code.launchpad.net/~evarlast/charms/trusty/mongodb/fix-dump-actions/+merge/27719115:36
* beisner thought he already retriggered this one ;-)15:37
jrwrenbeisner: I see the comment. Sorry for the false request. Any reason it didn't email me the success message?15:37
beisnerjrwren, not sure.  our bot doesn't email you.  launchpad does.15:37
jrwrenbeisner: ah! I guess I never realized those messages were just LP messages on the MP.  Thanks!15:38
beisnerjrwren, ps thanks for the work on beating those tests into shape15:38
jrwrenbeisner: i'll be giving charmers lots of fun pokes of fake greif if I ever see 'em all IRL again :)15:38
jrwren*grief15:39
beisnerha!15:39
jrwrenI think next request is rerun these: http://review.juju.solutions/review/2357 ?15:39
gnuoyjamespage, I have banished hostname15:40
beisnermarcoceppi, hrm, can't figure out how to retrigger tests @ http://review.juju.solutions/    it seems like there used to be a button.  it could just be not-enough-coffee..15:47
marcoceppibeisner jrwren retriggered15:47
beisnermarcoceppi, woot thx man15:47
jrwrenmarcoceppi: thank you.15:48
jamespagegnuoy, \o/15:51
gnuoyjamespage, what are we celebrating?15:51
jamespagehostname banishment15:52
jamespagegnuoy, fwiw I think we're to agressive on removing the 'avaliable' and 'connected' state - the handler is applicable for 'broken' but not 'departed' which would apply when a single unit exits the relationship15:59
jamespagegnuoy, but please merge your proposal for now16:00
gnuoyjamespage, good point16:00
gnuoyjamespage, ack16:00
jrwrentvansteenburgh: I think this is you from whom I need help.  lxc test env broken? http://juju-ci.vapour.ws:8080/job/charm-bundle-test-lxc/1652/console  ERROR there was an issue examining the environment: cannot use 37017 as state port, already in use16:46
tvansteenburghjrwren: ugh. thanks for the heads-up, fixing...16:47
tvansteenburghjrwren: new test running http://juju-ci.vapour.ws:8080/job/charm-bundle-test-lxc/1654/console16:55
jrwrentvansteenburgh: thank you.16:56
=== verterok is now known as verterok-away
=== verterok-away is now known as verterok
TheJeffhey #juju19:17
TheJeffrunning up maas/juju/openstack first time ever19:18
TheJefffollowing the canonical guide - got to the part where we're to be bootstrapping a node19:18
TheJeffjuju quickstart19:18
TheJeffjuju quickstart v1.3.119:18
TheJeffstuck at bootstrapping the maas environment (type: maas)19:19
TheJeff:(19:19
TheJefflittle help?19:19
TheJeffjust sits there and does nothing19:19
lazypowerTheJeff: has it acquired any of the nodes in your maas cluster?19:19
TheJeffyes it did19:19
lazypoweras in, do any of the nodes in maas have a powered on logo?19:19
TheJeffsays deployed19:20
lazypowerok, so the curtain process can take a bit of time. has the node come online fully after cutain?19:20
TheJeffwith the owner as the maas19:20
TheJeffcutain?19:20
TheJeffand its been a solid 15 minutes of no action19:20
TheJeff4th attempt19:20
lazypower15 minutes does seem excessive19:20
TheJefflet it wait 30 before19:20
lazypowertypically its done within  2 or 3 minutes in most cases19:21
lazypowerso theres 1 of 2 things happening19:21
lazypowerthere's a networking issue19:21
lazypoweror we've found a bug, but i'm apt to point a finger at a networking issue19:21
lazypowerwhen you deploy a node in maas, can your workstation reach the instance that its deployed?19:21
TheJeffno, but the maas box is the one running juju19:22
TheJeffand it can hit ssh19:22
TheJeffbut actually i tested that and it just kicks back pub key nogo19:22
TheJeffso the daemon is reachable19:22
TheJeffcould that be related?  do i need to get an ssh key in?19:22
lazypowerDid you put your pubkey in maas for the juju user?19:22
TheJeffoo19:22
TheJeffnope, doc did not mention that19:22
lazypowercat ~/.ssh/id_rsa.pub and place that in your maas users ssh keys19:23
lazypoweralso TheJeff - which version of juju? 1.25 i assume?19:23
TheJeff1.24.7-trusty-amd6419:24
lazypowerTheJeff: once that ssh key is added, tear down the unit that was in progress and retry. That ssh key will be added during the curtain process w/ cloud init19:27
lazypowerand you *should* be g2g from there19:27
TheJeffyep all that makes sense19:27
TheJeffdoing now19:27
TheJeffreally really appreciate the tip19:27
lazypowerTheJeff: additionally which guide were you following? I'd like to file a bug against it if its missing the pubkey instructions.19:27
kwmonroecoreycb: are there restrictions on what things should be called in the ./reactive subdir of a layered charm?  like does ./reactive/myStuff have to end in .py or .sh or anything?19:28
kwmonroeer, cory_fu ^^19:28
TheJefflazypower: after searching it does mention the key19:28
TheJeffbut doesnt actually state 'do this'19:28
TheJeffhttps://help.ubuntu.com/lts/clouddocs/en/Installing-Juju.html19:28
TheJeffthe only mention of it is This key will be associated with the user account you are running in at the time, so should be the same account you intend to run Juju from.19:28
TheJeffdoesnt explicitly mention to add it to the user19:29
cory_fukwmonroe: Anything with .py is imported as a Python source file.  Anything that's executable is considered an ExternalHandler.  Anything else should be ignored19:29
lazypowerTheJeff: ah - yeah. looks like we have a new feature here that allows you to inline the authorized key path for hte maas provider - https://jujucharms.com/docs/stable/config-maas19:30
lazypoweri say new as its new to me, it may have existed for a while :)19:30
TheJeffhm well I actually did that19:30
TheJeffand the key wasnt present in the user profile19:30
lazypowerin the interest of one thing at a time, if that doesn't resolve your woes, we'll dive into deeper debugging. What may be helpful is to run juju bootstrap with the --debug flag so you get more verbose output19:32
TheJeffneat thats a great tip too19:32
TheJeffits still in a deploying state, fingers crossed19:32
=== ericsnow is now known as ericsnow_afk
lazypowermarcoceppi o/19:47
marcoceppi\o lazypower19:47
lazypowerdo you have a second to expand on charms.docker #3?19:47
lazypoweri'm not sure i understand what you were asking me19:47
lazypowerhttps://github.com/juju-solutions/charms.docker/pull/319:47
marcoceppilazypower: I'm curious how this works. Do you still need to increment setup.py version when you tag a release or does travis just do that?19:48
lazypowerFrom what I understood in the docs, you still have to rev setup.py's version number. The GH tag doesn't have to necessarily reflect wha the version is, but it will trigger travis to run the deploy routine.19:48
marcoceppilazypower: cool, thanks for the clarification19:49
lazypowerso, if i leave it as v0.0.1, push an update, tag v0.0.1-1, it'll still publish to pypi as 0.0.1 (assuming you can publish the same version multiple times, i have not tried that)19:49
marcoceppilazypower: you can't19:49
lazypowerok, so the build should fail then :)19:49
marcoceppiinteresting19:49
lazypowerit'll try to deploy and teh build should fail19:50
lazypowerwanna test it?19:50
lazypowermerge that and lets make some tags19:50
marcoceppibut if you were to move the tag you'd have to force push on master19:50
marcoceppiwhich is bad19:50
lazypowersince its semver, just increment the minor rev19:50
marcoceppiwait, I'm not 100% on that actually19:50
marcoceppibut it's annoying that you've burnt the 0.0.1-1 release19:50
lazypowerannoying i can deal with because thats problems for me19:51
lazypowernot for the consumers using pypi19:51
lazypoweri'm not sure that force updated tags will collide though19:51
lazypowergit push origin --tags --force doesn't seem to do anything that would collide, it just moves the hash reference19:52
lazypowerah but i see what you're saying19:52
lazypowerthe version thats in setup.py, and the now moved tag, would not reflect whats in pypi potentially.19:52
lazypoweryeah, i think i understand. seems annoying, and is worth investigating19:53
marcoceppiwell, also, if you force push on master, you potentially mess up other people's repos by rewriting history19:54
lazypowernot with tags19:55
lazypowerbut code, yes19:55
marcoceppiyeah, i realized as I said it earlier I wasn't 100% on that since a tag is just a ref19:56
marcoceppiI don't have a problem with the merge, I was more curious how it worked19:56
lazypowerI'm not 100% on that either19:56
TheJeffok, so after trying again with the ssh key in there, and failing again I've run it with --debug19:56
lazypowerbut wanted to investigate and possibly use this as a nicer method to keep it updated.19:56
TheJefflazypower: 2015-12-03 19:54:13 DEBUG juju.provider.common bootstrap.go:254 connection attempt for shy-yam.maas failed: ssh: Could not resolve hostname shy-yam.maas: Name or service not known19:56
TheJefflooks like name resolution failing?19:57
TheJeffhow would it know that name?? do I need to create a host entry?19:57
marcoceppiTheJeff: yes, this is a common problem19:57
lazypowerTheJeff: not at all19:57
marcoceppiTheJeff: the one way I've gotten around this is to set my nameserver to the maas-master server19:57
lazypowerTheJeff: Maas  runs a bind server which updates w/ the hostnames as they are deployed and allocate addressing19:57
lazypowerTheJeff: so you'll need to add an entry to the resolv.conf templates, to point to itself. nameserver 127.0.0.1  \n search maas19:58
lazypowerand that should get you sorted w/ hostname resolution19:58
marcoceppilazypower: wait, were are you recommending that?19:58
marcoceppiit issue is from from juju client -> dns, not from the nodes AFAIU19:58
lazypowermarcoceppi : TheJeff  is running juju on the maas master19:59
lazypoweron the region controller i believe19:59
TheJeffyep19:59
TheJeffit's all on a sanitized network...19:59
TheJeffno extra hosts or workstation access19:59
lazypowerTheJeff: nslookup/dig will answer you where its looking for the hostname :)19:59
TheJeffyep!19:59
marcoceppioh, oops, sorry. Didn't see that20:00
lazypoweri'm 90% certain that you just need to add the entry for looking up .maas tld on the region controller, and you should be sorted20:00
marcoceppiyeah, adding `search maas` to the bottom of /etc/resolv.conf to test. If that works, it won't survive reboot, but you can edit the templates like lazypower suggested and have it persist20:00
TheJeffyeah I can resolve the name now, will be a few minutes to reboot the box and redeploy20:06
TheJeff(blasted server bioses are snails!)20:06
TheJeffso many boot roms :(20:06
lazypowerTheJeff: i felt your pain yesterday standing my 2u back up after an 8 month resting phase :P20:07
TheJeff8 month not bad20:07
TheJefffrom what i hear, every time you reboot a linux server a kitten dies.20:07
lazypowerhttps://bugs.launchpad.net/maas/+bug/152256620:08
mupBug #1522566: MAAS TLD names are not resolveable by maas-region-controller by default <MAAS:New> <https://launchpad.net/bugs/1522566>20:08
lazypowermarcoceppi ^20:08
marcoceppi+120:10
TheJeff2015-12-03 20:08:46 DEBUG juju.provider.common bootstrap.go:254 connection attempt for shy-yam.maas failed: Warning: Permanently added 'shy-yam.maas,10.7.1.102' (ECDSA) to the list of known hosts.20:11
TheJeff/var/lib/juju/nonce.txt does not exist20:11
TheJeff:(20:11
lazypowergetting trolled by a shy-yam, what a thursday adventure20:11
TheJeffso i'm googling this20:12
TheJeffi booted via the host's console but it pxe booted from maas20:12
TheJeff  ^ 's/booted/powered\ on/'20:13
lazypowerTheJeff - seems like you're running into this https://bugs.launchpad.net/juju-core/+bug/131468220:29
mupBug #1314682: Bootstrap fails, missing /var/lib/juju/nonce.txt (containing 'user-admin:bootstrap') <bootstrap> <juju> <maas-provider> <juju-core:Triaged> <https://launchpad.net/bugs/1314682>20:29
TheJefflazypower: totally20:35
=== natefinch is now known as natefinch-afk
lazypowerTheJeff: there's a few work arounds listed in there. Highly suggested that you click the link "This bug affects me", and give some of those a try. I'll ping @jcastro to bring it up as an item to look at on the next meeting as there's a few users here that have hit this bug and it seems to be long running20:36
jcastrolooking20:36
TheJeffgoing to check it out - maybe I'm going about things wrong?  The hosts boot from PXE (but we kick the boot off via remote bios)20:37
TheJeffafaik cloud-init generally working, as maas was able to spin these hosts up and make them nodes in the first place20:37
jcastroI'll holler this over to the core team, seems to have plenty of data attached20:37
TheJeffso whats the contents of this nonce.txt supposed to be?20:43
TheJeffI can manually slap it in I suppose20:43
lazypowerTheJeff: we're getting out of my depth of knowledge here :(  Finding the bug report was due to googling and deep linking. I wish i were more help20:44
lazypowerBest I can offer at this juncture is to advise you to watch that bug and experiment20:44
TheJeffyeah that's what I'm going to do20:45
TheJeffseems it just contains (from comments) just one line:20:45
TheJeffuser-admin:bootstrap20:45
TheJeffif anyone has a working juju bootstrapped box that can check /var/lib/juju/nonce.txt would greatly appreciate it20:45
TheJeffis user-admin a real username?  or is that a placeholder by the poster?  are there other lines?20:46
TheJeffor is it a key?20:46
lazypowerTheJeff bootstrapping now, will have an answer for you shortly20:48
TheJefflazypower: you are a hero among men (or women)20:49
lazypowerYou're too kind :)20:49
lazypowerTheJeff: are you planning on attending the juju charmer summit? Best place to get your hands/feet wet with juju development20:49
TheJeffwhere / when?20:51
lazypowerTheJeff: http://summit.juju.solutions20:51
=== lazypower changed the topic of #juju to: Welcome to Juju! || jujucharms.com back up || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://review.juju.solutions || Unanswered Questions: http://goo.gl/dNj8CP || Charmer Summit: http://summit.juju.solutions
=== marcoceppi changed the topic of #juju to: Welcome to Juju! || Juju Charmer Summit: http://summit.juju.solutions || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://review.juju.solutions || Unanswered Questions: http://goo.gl/dNj8CP
lazypowerderp21:01
lazypowerwhoops, wrong window focus, nvm21:02
lazypowerTheJeff: something is going hinky on my end, this is taking longer than expected :/21:07
lazypowerTheJeff: it just has the string user-admin:bootstrap21:16
lazypowerjose: ping21:19
TheJefflazypower: had fires, trying now21:19
TheJeffthank you for checking21:19
lazypowernp21:19
TheJeffre: summit - Belgium is very far from Toronto!21:19
TheJeffbut we will see we will see21:19
TheJefflazypower: 2015-12-03 21:28:03 DEBUG juju.utils.ssh ssh.go:249 using OpenSSH ssh client21:30
TheJeffLogging to /var/log/cloud-init-output.log on remote host21:30
TheJeffRunning apt-get update21:30
TheJeffRunning apt-get upgrade21:30
TheJeffmanually slapping that string in worked around fine21:30
TheJeff+1 that bug21:30
lazypowerwe got you unblocked! nice21:30
* lazypower fistpumps21:30
lazypowersorry about the bug though. its on teh list to be talked about at the next team standup21:31
thumpero/ lazypower21:31
lazypoweryo yo thumper21:31
TheJefflazypower: my team lead will be at cfgmgmtcamp21:31
TheJeffso that's pretty neat21:32
thumperI wish we had the time to allocate a dev to just follow each eco person for a month and fix all the shitty niggly bugs that get in the way21:32
TheJeffhe was going to /j and sing praises earlier but i told him to hold off dox'ing us lol21:32
lazypowerthumper: we file bugs, and triage accordingly :)21:32
thumper:)21:32
TheJeffbut now that this is working i think he can dox us just fine21:32
TheJeffand thank you very very very very very much sir21:32
TheJeffor madam21:32
marcoceppiTheJeff: well, you can always have him join us at the summit (and convince him to take you along ;)21:32
lazypowerAnytime TheJeff21:33
kwmonroewhere should layered charm authors commit source in launchpad?  i know the resultant charm must live at lp:~user/charms/trusty/foo/trunk, but what about the source -- lp:~user/charms/layers/foo/trunk, or lp:~user/charms/trusty/foo/source?21:33
marcoceppikwmonroe: they can put it anywhere, there's no need for it to be in the charms project21:33
lazypowerkwmonroe: i heard the cool kids were using git on launchpad these days21:34
mbruzekkwmonroe: lazypower's answer is the best21:34
TheJefflazypower: he just followed you on twitter21:34
TheJefflol21:34
Iceycan I set a config variable within a charm?21:37
marcoceppiIcey: only a user can set a configuration value21:38
adam_gthedac, you familiar with the neutron-api charm's templating system?22:04
thedacadam_g: a bit, yes.22:04
thedacWhat are you trying to do?22:04
adam_gthedac, trying to get something set in /etc/neutron/plugins/ml2/ml2_conf.ini22:08
adam_git looks like the only time this file is ever managed by the charm is when its set in the legacy manage plugin mode22:08
adam_ghttp://bazaar.launchpad.net/~openstack-charmers/charms/trusty/neutron-api/trunk/view/head:/hooks/neutron_api_utils.py#L28622:08
thedaclet me take a look22:08
adam_gi can just push setting in via the subordinate's relation, but the principal charm isn't managing the file as a template so they'll never be injected22:09
adam_g... unless the subordinate API thing supports injecting config values into arbitrary config files not managed by the templating system22:10
thedacOff the top of my head the subordinate api only affects neutron.conf. Let me verify.22:11
adam_gyeah, thats what it looks like22:11
adam_gi suppose i could just manage the ml2 conf directly from the subordinate22:11
thedacI think that is the intention. If we are using vanilla ovs neutron-api handles it. If not the subordinate does so.22:12
thedacadam_g: That is confirmed see lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp as an example22:14
adam_gthedac, what does 'vanilla ovs' mean?22:16
thedacIf we are using the "default" openvswitch22:17
thedacWithout any external config changes22:17
TheJeffayy22:28
TheJeffok we're like ... 99.9% there I think22:28
TheJeffafter working around and working around, juju quickstart ran22:28
TheJeffjuju-gui/0 deployment is pending22:28
TheJeffmachine 0 is started22:28
TheJeffehhhh didnt wait long enough22:28
TheJeffits up !22:28
lazypowerTheJeff: Seems like you're ready to model some deployments22:35
jrwrencharmers, can someone please poke this http://review.juju.solutions/review/235722:54
=== ericsnow_afk is now known as ericsnow

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