/srv/irclogs.ubuntu.com/2015/02/13/#juju.txt

=== kadams54-away is now known as kadams54
Crypticusanyone know how to make the juju-gui bind to all interfaces?00:55
Crypticusor just change which interface it binds too?00:55
rick_h_Crypticus: it's not something exposed in the charm atm.01:18
rick_h_Crypticus: we'd welcome a bug on that if you have a need on that, but typically there's just the one public IP in question when you deploy the charm.01:19
Crypticusrick_h_, turns out... it is by default01:19
rick_h_Crypticus: I'd love to hear what you're up to and how we can help01:19
rick_h_Crypticus: oh, then even better heh01:19
CrypticusI thought that was the issue but it looks like an external network issue01:19
rick_h_I know we've added custom port but nothing on custom network interface01:19
rick_h_Crypticus: cool, then glad to hear we've got you covered01:20
CrypticusWell I am trying to install OpenStack with Juju using LXC.01:20
CrypticusI am using the manual provider because the openstack-installer way doesn't seem to make a usable deployment01:20
CrypticusSo far so good.01:20
rick_h_Crypticus: hmm, yea the one I know that the folks have been working on is this one: https://jujucharms.com/openstack/ but that's more maas/bare metal I think than lxc01:21
CrypticusI got 10 LXC containers on a HP Proliant Gen9 I used the download ubuntu template, installed openssh-sever and dbus and configured my network to use a macvlan bridge for external access and the veth for internal communication01:22
rick_h_sounds like a party :)01:23
Crypticusjust got juju to bootstrap and got the gui installed on machine 0.  Couldn't figure out why my windows machine couldn't access th GUI but turns out my IT has something screwed up in the DNS.01:23
Crypticusrick_h_, thanks for offering to help01:24
CrypticusThis is a lot of fun... but there is a lot of magic in the juju and it's hard to debug still01:24
Crypticusrick_h_, could you tell me how to restart the juju gui, I just changed my environment.yaml to include an admin-secret and I'm hoping that will let me login with a more rememberable password01:25
CrypticusMy thought is to do juju ssh 0 and restart manually service juju-gui, but I assume that will not get the new password01:26
rick_h_Crypticus: hmm, the environments.yaml isn't read once things are bootstrapped. I'm actually not sure how you'd change that up as it's alive in the environment at this point.01:29
rick_h_think of it like a template used to create a document, changing the template doesn't update the documents you've already created01:29
Crypticusrick_h_, OK... well I am going to destroy and redeploy the service and see if that works, if not... more digging01:30
Crypticuswish the docs mentioned this upfront01:30
rick_h_Crypticus: well it's the admin password of the environment01:30
rick_h_so just redeploying the GUI won't do much01:30
rick_h_thumper: any way to update admin-secret of an already running env?01:31
rick_h_^01:31
thumperhey01:31
* thumper thinks01:32
thumperwell01:32
thumperhow about you tell me what you are wanting to do...01:32
thumperadmin secret has many initial masters01:32
Crypticushow about changing .juju/environments/manual.jenv01:32
Crypticusthen redeploying?01:32
rick_h_thumper: after bootstrap, change the admin-secret so the gui will let me login with a shorter or more memorable password01:32
thumpersure01:32
CrypticusTrying to change the admin-secrete01:32
thumperjuju user change-password01:32
CrypticusLOL01:32
Crypticusnice01:33
rick_h_well there you go then :)01:33
rick_h_thumper: that's in 1.21?01:33
thumperum...01:33
CrypticusI figured it must be something easy... but how do you find these commands?01:33
rick_h_Crypticus: just to check what version of juju you're running01:33
thumperlet me look01:33
thumperyep01:33
thumperjuju help commands01:33
thumperjuju help user01:33
thumperhelp FTW01:34
thumperrick_h_: now, for the record01:34
thumperwe aren't changing admin-secret01:34
CrypticusOK... did that... but did think to look for user... I was looking how to restart a service... didn't find that01:34
thumperwhat we are changing is the user password for the admin user01:35
Crypticusthanks a lot thumper and rick_h_01:35
thumperCrypticus: np01:35
thumperadmin-secret is still used by the state server machine agent to talk to mongo01:35
thumperI think01:35
thumperCrypticus: services are kinda etherial01:36
thumperCrypticus: you restart units not services01:36
thumperor machines01:36
Crypticushrm... OK01:36
Crypticuscool01:36
thumperunits are instances of a service01:36
rick_h_thumper: yea, gotcha01:36
rick_h_thumper: but since we support user/login now I think it should work out ok01:37
* thumper nods01:37
thumpershould do01:37
thumpernow I can soon land my patch that changes the initial user from 'admin' to the logged in user01:37
rick_h_ooooh, that's going to mess up the world lol01:37
thumperrick_h_: will the gui / quickstart handle that01:37
Crypticuswell thanks so much guys... I can't wait to document all this I think it's going to help some people that need to test openstack in a really lightweight manner (LXC)01:38
thumpernp01:38
thumperCrypticus: good luck01:38
rick_h_thumper: yea, I think we'll be ok. The big thing is just a ton of docs, blogs, history around that admin user01:38
thumperyeah01:38
* rick_h_ wonders how many scripts have that hard coded in ops/etc01:38
rick_h_thumper: also I thought-dumped in your JES doc01:39
rick_h_hopefully useful or not, let me know if we want to chat/walk through stuff as we've got a few steps to get where you're headed I think and now that the code/etc is real I'm nervous about a couple of bits01:39
thumperrick_h_: sure... did you want to chat now or start of next week?01:43
thumperrick_h_: we are right up against implementing this01:43
thumperrick_h_: but I wanted to get it written down and agreed on01:43
rick_h_thumper: I can do my best now if that's helpful01:43
rick_h_or start of next week can also work01:43
thumperquick iteration on the doc is faster than rewriting code01:43
thumperlets chat now01:43
rick_h_rgr01:43
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
nicopacehi guys, i'm having a problem with amulet02:35
nicopacewhen i do:02:36
nicopacelogstash_indexer_agent = d.sentry.unit['logstash-indexer/0']02:36
nicopacecurl_response = logstash_indexer_agent.run("curl http://127.0.0.1:9200/index/_search?size=1")[0]02:36
nicopaceprint(curl_response)02:36
nicopacethe output says: http://paste.ubuntu.com/10197382/02:37
nicopace(ssh: REMOTE HOST IDENTIFICATION HAS CHANGED)02:37
sarnoldhah, love that it appears something tries to execute the results of the ssh output.02:38
nicopacebut it shouldn't02:39
nicopacei've been implementing tests for almost 2 months with this methodology02:40
nicopaceand this is the first time it happens02:40
nicopaceany idea what could it be sarnold?02:40
nicopacei've found a similar error in a bug that is already patched (1 year ago) here: https://bugs.launchpad.net/ubuntu-ci-services-itself/+bug/128319802:41
mupBug #1283198: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED <airline> <Ubuntu CI Services:Fix Released by doanac> <Ubuntu CI Engine:Fix Released by doanac> <https://launchpad.net/bugs/1283198>02:41
sarnoldnicopace: sorry, I just found that bit entertaining..02:42
nicopaceoh... ok02:42
nicopacewell.. i'll ask the list, thanks!02:42
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
gnuoydosaboy, do you have anytime to take a look at https://code.launchpad.net/~gnuoy/charms/trusty/neutron-openvswitch/1421215/+merge/249535 ?10:37
dosaboygnuoy: not right now but will in a few11:29
gnuoythanks11:29
cjwatsonHi, I'm trying to get the local provider working for me on vivid, but having no luck doing even the simplest things.  Here's my log: http://paste.ubuntu.com/10203407/11:52
cjwatsonCould anyone have a look?  LXC normally works for me, but juju doesn't seem to be getting as far as invoking lxc-anything here, judging from ps and strace, there's nothing interesting in any log I can find, and I'm using upstart since I know juju doesn't work with systemd on the host yet.11:53
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
hazmatcjwatson: hmm.. there's an http server normally on local provider acting as storage, it looks like there's some issue there uploading the charms to it. is there anything in the machine-0.log13:50
hazmatcjwatson: machine-0 == host for local provider, there's normally something per default in ~/.juju/local13:51
hazmatfor the logs13:51
hazmatcjwatson: the http server for storage on local provider defaults to port 8040 fwiw13:52
=== JoseeAntonioR is now known as jose
=== kadams54 is now known as kadams54-away
cjwatsonhazmat: machine-0.log hasn't had anything since I bootstrapped, last line is '2015-02-13 11:50:03 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "<root>=DEBUG" to "<root>=WARNING;unit=DEBUG"' and I've had an attempted deploy running for a minute or so15:09
cjwatsonhazmat: jujud is listening on 8040, but stracing it during an attempted deploy shows nothing but futex syscalls15:10
cjwatsonoh and epoll_wait.  uninteresting stuff like that15:11
=== roadmr is now known as roadmr_afk
cjwatsonthere's a little bit of chatter with mongod as well, but nothing about 8040 as far as I can see15:16
=== kadams54-away is now known as kadams54
=== roadmr_afk is now known as roadmr
=== kadams54 is now known as kadams54-away
hazmatcjwatson: its a little odd normally i would suspect a firewall, but 500 errors sounds the web server is responding with an error, if you hit it directly via curl i'm curious what it does15:59
hazmatcjwatson: flipside is destroy with force and try bootstraping again15:59
cjwatsonhazmat: I've done the latter multiple times16:00
cjwatson$ sudo netstat -anp | grep -w 804016:01
cjwatsontcp        0      0 10.0.3.1:8040           0.0.0.0:*               LISTEN      2991/jujud16:01
cjwatsoncurl http://10.0.3.1:8040/   hangs16:01
cjwatsonoh wait, don't tell me this is a proxy thing16:02
hazmatcjwatson: doh.. thats possible no_proxy="localhost" ?16:02
hazmater. no_proxy="10.0.3.1"16:02
cjwatsonhazmat: running juju deploy under "env -u http_proxy" doesn't help, but perhaps it's jujud's environment that matters?16:04
* cjwatson retries with no-proxy in environments.yaml16:05
cjwatsonah, victory16:07
cjwatsonhazmat: thanks for the clues!16:07
=== kadams54-away is now known as kadams54
TimNichwhen juju bootstrapping in maas, are the same cluster boot images used as for a normal node enlistment?16:10
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
stubHas anyone else been having provisioning problems with the local provider since 1.21.1 ? provisioning seems to stop sometimes, and no new instances until I've destroyed and rebootstrapped the environment.16:39
stubI think there was an lxc update around the same time, so I don't know if it is juju or lxc16:40
stubI can't locate any useful logs to diagnose further.16:41
jcastrokirkland, peer review at your convenience: http://askubuntu.com/questions/585150/what-is-the-difference-between-a-snappy-apps-and-charms-and-click/585187#58518716:58
=== thierry-ibm is now known as thierry_off
rick_h_jcastro: I'd suggest mentioning a bit charms reactive to others when related/interfaces/etc as a different as well.17:03
adalbashi! one question related to units and relations . If I add a unit after the relation is added, the charm hooks should be able to apply the new unit with any configuration needed for the relation, am i right?17:16
jcastroright17:17
adalbasjcastro, so, in case i'm working with two services, a manager and a client, and I add a unit in the client, would all hooks from manager-relation and client-relation run?17:18
marcoceppiadalbas: yes17:18
marcoceppiwhile relations are created on a per service context, hooks are executed on a per unit level17:19
marcoceppiso addign a new client would initiate the relation cycle for that new unit to the manager again17:19
adalbasmarcoceppi, that would run the manager-relation-joined and client-relation-joined as well, and the changed17:20
adalbasif i have configure those17:20
jcastroany ~charmer have time to copy precise/transcode to trusty?17:20
jcastrothe made up silly tests are passing. :p17:20
adalbasmarcoceppi, the add-unit to my charm worked before i add the relation, but not after, so I'm trying to check if my assumptions are correct17:21
jcastrohey jose18:02
jcastrokwmonroe has been working on some big data stuff, I think we should sync up with him and talk about what to show @ SCALE?18:03
lazyPowerjcastro: pulled the transcode charm, doing local verification before i promote. did we get a bug filed for this?18:30
jcastrothere's no bug afaict18:31
lazyPowerhttps://bugs.launchpad.net/charms/+source/transcode/+bug/142176718:33
mupBug #1421767: Promote transcode charm to trusty <transcode (Juju Charms Collection):New> <https://launchpad.net/bugs/1421767>18:33
lazyPowerkirkland: if you want a bundle for trusty, i'll need a ticket and a new bundle repository attached18:33
lazyPowerbut working the charm now, should have this done shortly.18:34
=== wedgwood is now known as Guest68861
=== roadmr is now known as roadmr_afk
lazyPowerjcastro: just got a ping from jose on telegram, he's having internet issues and says "if you can hop on can you ping me there"19:05
nicopacehi guys, how can i provide extra files to a particular charm (for example deb files, or config files)? Ex. data/extra.vcl for Varnish, or elasticsearch.deb for Elastisearch?19:11
jcastronicopace, check this out: https://api.jujucharms.com/v4/trusty/elasticsearch-8/archive/config.yaml19:14
jcastroyou can just have the download location be a config option (with a default)19:14
jcastroor you can just bundle whatever in the charm, but that might make it annoying to update19:14
nicopacesure... but if i want to provide a deb file (a feature provided by the charm)19:14
jcastrofor config files, then that's easy19:14
jcastrosure19:14
nicopacei'm testing the charm19:15
jcastroyeah19:15
nicopaceso that is one of the functions provided by the charm19:15
nicopacejcastro: any idea about my question?19:16
jcastrowhich one? about bundling a file? sure you can do that19:17
jcastrojust make like a /data or /payload directory or something in your charm19:17
jcastrothen you can put whatever you want in there, config files, debs, etc and reference that directory from your other hooks19:18
jcastrodoes that answer your question?19:20
nicopaceso, i need to 'fork' the charm in order to add files?19:30
=== roadmr_afk is now known as roadmr
Crypticusrick_h_, You around?19:38
lazyPowermbruzek: can you kick off the transcode ci test again? it was apparently kicked out19:42
mbruzeklazyPower: ack19:43
mbruzeklazyPower: cs:trusty/transcode-1?19:45
mbruzekor cs:precise/transcode-119:45
lazyPowermbruzek: cs:precise/transode-119:46
rick_h_Crypticus: what's up?19:49
CrypticusI was going to ask if you know how to make juju deploy Juno Openstack packages19:49
CrypticusI think I might have figured it out, but still testing19:50
rick_h_Crypticus: cool, I've no idea tbh. We can probably find out but it's hitting late friday and folks will start heading out19:50
CrypticusOK thanks19:52
CrypticusIll do more digging19:52
CrypticusI found the juju get <service> command, that might be all I need19:53
Crypticusthanks again!19:53
nicopacejcastro: ^19:53
jcastronicopace, if you're modifying an existing one yes, you need to fork it19:54
nicopaceyes, i want to test elastiserch and varnish19:54
jcastroyeah fork it, then include the debs in a directory, then modify the install hook to reference the local deb instead of the default source19:55
nicopacejcastro: that's the strange thing... the charm already provides the functionality to look for a deb package inside the charm19:56
jcastrooh ok, so that's good19:56
nicopacewell... i'll see what i can do :)19:57
jcastrodoes the varnish charm have that too?19:57
nicopacesomething similiar... in it's readme it recommends that if you want to add rules, to add an extra.vcl to the charm :S19:58
nicopace(instead of adding it as a config option)19:58
mbruzeklazyPower: I kicked the transcode tests again this time the *right* way20:07
lazyPowermbruzek:  <3 preciate you20:07
mbruzeklazyPower: if you want to follow along from home http://juju-ci.vapour.ws:8080/job/charm-bundle-test-aws/73/console20:07
nicopaceguys... i'm having this error with an example deploy for logstash-agent: Error': u'cannot add relation "auth-proxy:juju-info kibana:juju-info": principal and subordinate services\' series must match',20:25
nicopaceauth-proxy: cs:~paulcz/precise/auth-proxy-020:26
nicopacekibana: cs:trusty/kibana-320:26
=== JoseeAntonioR is now known as jose
josejcastro: pong, sure!21:01
josegot my internet connection back \o/21:01
marcoceppinicopace: the error states taht you can't put a precise subordinate on a trusty service. The series must match for primary to subordiante21:05
josestill, you can link mix-match non-subordinate services and series21:15
Crypticushave a great weekend everyone!22:28

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