/srv/irclogs.ubuntu.com/2016/10/05/#juju.txt

bildzHas anyone been able to successfully deploy the neutron-gateway using 16.04?  I've tried using a global kernel parameter of "net.ifnames=0" in the MAAS global config, but i'm still failing at the same step during the autopilot deployment.04:11
=== frankban|afk is now known as frankban
jamespagebildz, which juju version and which maas version07:54
jamespagerc1 has some challenges with automatic bridging of unconfigured network interfaces07:55
jamespagemarcoceppi, hey - can I request a point release of charmhelpers? I added a get_upstream_version helper to host a while back, which we're using in legacy charms that still sync07:59
jamespagebut I need to have it for new reactive charms as well pls :-)07:59
=== rogpeppe1 is now known as rogpeppe
spaokwhat does juju-info relation provide? I see you can use it for subordinate charms and get private addresses, but is that it?09:20
stubspaok: Its reason for existence is to support subordinate charms. You could probably stuff extra information on there, but you really should declare a real relation instead of abusing juju-info for that.12:49
marcoceppijamespage: you got it14:50
jamespagemarcoceppi, ta14:52
holocroni'm fooling about with juju and lxd again today.. following a reboot, i cannot get more than 10 containers to start up15:01
bildzjamespage: good morning15:01
bildzsaw your response last night/morning15:01
holocronthe 11th container start hangs with forkstart running15:02
bildzii  conjure-up                         2.0.1~beta2-0~201609281246~ubuntu16.04.1 all          Package runtime for conjure-up spells15:02
bildzii  juju-2.0                           2.0-rc2-0ubuntu1~16.04.1~juju1           amd64        Juju is devops distilled - client15:02
=== frankban is now known as frankban|afk
=== rogpeppe is now known as rogpeppe1
=== rogpeppe1 is now known as rogpeppe
=== rogpeppe is now known as rogpeppe1
=== rogpeppe1 is now known as rogpeppe
nicbetQuick question: Juju 1.25 appears to be able to target vSphere clouds, did that support disappear with 2.0 or not documented yet?17:18
marcoceppinicbet: it still exists with 2.017:19
marcoceppinicbet: just seems to be suspiciously missing documentation17:20
marcoceppilarrymi_afk: could you share what you did to configure vSphere with juju 2.0? nicbet is asking17:20
spaokwhich the reactor charms, how do I trigger on a hook? I've tried a few different patterns I've seen in charms, but when running the charm it seems to always skip the hook17:20
nicbetmarcoceppi: thanks! looking forward to larrymi_afk's pointers.17:21
larrymi_afkmarcoceppi: nicbet: sure17:26
larrymi_afknicbet: you will need an entry in your clouds definition pointing to your vcenter.17:27
larrymi_afknicbet: like this17:27
larrymi_afk  vsphere:17:27
larrymi_afk    type: vsphere17:27
larrymi_afk    auth-types: [userpass]17:27
larrymi_afk    endpoint:17:27
larrymi_afk    regions:17:27
larrymi_afk      dc0: {}17:27
larrymi_afknicbet: for endpoint, you'll specify the IP of your vCenter17:28
larrymi_afknicbet: in the credentials, you'll use auth-type: userpass17:29
larrymi_afkthen spedify password: and user: that you used to access the vCenter17:29
nicbetlarrymi_afk: excellent, so it appears most of the 1.25 documentation transfers to 2.0, with the change to auth-type: userpass17:30
larrymi_afknicbet: that's pretty much it .. when you bootstrap your controller, juju will ask you export an environment variable.. then once you export it, then everything is smooth sailing17:30
larrymi_afknicbet: yes, not much is different.. it's been months since I used 1.25 so I don't recall exactly what I had in my environments.yaml and I think I passed a few arguments through the command line like the datacenter17:32
larrymi_afkother than that, things are relatively similar17:33
larrymi_afknicbet: I didn't  have a regions definition either (just the datacenter that I passed on the command line).. but 1.25 may have changed to be more in line with 2.0 since..17:35
nicbetlarrymi_afk: thanks, with the details you provided, I created the yaml file, bootstrapping the environment now...17:42
larrymi_afknicbet: cool17:43
=== larrymi_afk is now known as larrymi_
nicbetlarrymi_ : no go. when bootstrapping the controller the provider brings the controller node online in vCenter, obtains IP address and then fails on SSH.18:06
larrymi_nicbet: what's the error?18:07
nicbetlarrymi_: ERROR failed to bootstrap environment: waited for 10m0s without being able to connect: Permission denied (publickey).18:08
larrymi_nicbet: looks like maybe cloud-init failed18:08
=== fginther` is now known as fginther
larrymi_nicbet: trusty or xenial?18:09
nicbetlarrymi_: xenial18:10
PrabakaranHello Team, Not able to login using bzr launchpad-login "user"... getting error bzr: ERROR: Connection error: Couldn't resolve host 'launchpad.net' [Errno -3] Temporary failure in name resolution18:11
Prabakarancan you please advise me on this?18:11
nicbetlarrymi_ : juju help bootstrap says: "Private clouds may need to specify their own custom image metadata, and18:12
nicbetpossibly upload Juju tools to cloud storage if no outgoing Internet access is18:12
nicbetavailable. In this case, use the --metadata-source parameter to point18:12
nicbetbootstrap to a local directory from which to upload tools and/or image18:12
nicbetmetadata."18:12
larrymi_nicbet: there was a cloud init issue in xenial that was fixed recently.. not sure if you're pulling an older image. Try with trusty to see whether you run  into this. btw, there's a DNS issue with Xenial that you could run into after deploying but shouldn't impact the bootstrap.18:16
larrymi_older image than the fix18:16
nicbetlarrymi_ how do I specify which OVF image juju deploys?18:17
larrymi_nicbet: you could try to bootstrap by setting the image-stream.. for example, --config image-stream=daily18:22
larrymi_not sure about what other values are available for image-stream or if you can point to a url18:23
spaokhow do I get the remote unit's ip info from a relation? when I try hookenv.relation_get('private-address', unit, relid) I get None18:26
lutostaggeneric question... looking at https://jujucharms.com/docs/1.25/storage, what is the definition of a pool and a volume? how do they relate?18:36
nicbetlarrymi_ : https://bugs.launchpad.net/juju/+bug/1588041 is what I'm running into.19:10
mupBug #1588041: [2.0 rc1] juju can't access vSphere VM deployed with Xenial,  cloud-init fails to set SSH keys <ci> <jujuqa> <landscape> <oil> <oil-2.0> <vsphere> <cloud-init:New> <juju:Fix Released> <https://launchpad.net/bugs/1588041>19:10
larrymi_nicbet: ah it should be fixed though. Have you tried daily?19:25
nicbetlarrymi_: yes didn't work for me I'm now trying to figure out to get debug logs so I can inspect which image is being pulled19:25
larrymi_nicbet: if you use --debug, I think that should have the info for where it's getting it from19:27
konobihowdy... i seem to be having trouble using a 4k ssh key with juju... 2.0-rc2-elcapitan-amd6419:28
konobiis was reported fixed in https://bugs.launchpad.net/juju/+bug/1543283 but not seeing the same19:30
mupBug #1543283: [Joyent] 4k ssh key can not be used: "cannot create credentials: An error occurred while parsing the key: asn1: structure error: length too large" <juju:Fix Released> <https://launchpad.net/bugs/1543283>19:30
nicbetlarrymi_ : ova_import_manager.go:175 Downloading ova file from url: http://cloud-images.ubuntu.com/daily/server/xenial/20160930/xenial-server-cloudimg-amd64.ova which is the image with cloud-img fixed19:31
larrymi_nicbet: strange, I have a controller from yesterday that worked fine.. I'll redeploy to see.19:35
larrymi_nicbet: which version of vsphere?19:36
nicbetlarrymi_ 6.0-2016010400119:39
konobithe bug is marked as "Fixed released", but i'm not seeing the fixed behaviour19:47
larrymi_nicbet: worked for me for http://cloud-images.ubuntu.com/releases/server/releases/xenial/release-20160922/ubuntu-16.04-server-cloudimg-amd64.ova which is build where the fix would have gone in... now trying daily19:54
larrymi_nicbet: which juju version are you using?19:55
larrymi_nicbet: worked with the 9/30 build too.20:01
spaokcan can open-ports be gotten via hookend.relation_get?  I know privateaddress works, but I get None for open-ports20:21
spaoktrying to make a subordinate charm that gets the ip and ports for a service20:22
valeechI have a general question about isntances of charms. If the software the charm is written around requires physical access to a device how do you deploy multiple instances and configure each instance to use the specific physical device per machine? For instance, ceph-osd. Each OSD will connect to a different “physical” drive. If I have 4 servers and the “physical” drives are not the same on all 4, how do I configure ceph-os20:57
valeechuse the proper device on the corresponding machine?20:57
rick_h_valeech: so in this case there's a "leader" idea in an application to help coordinate among units and so using the leader hooks would help keep track of who's on which devices/etc.21:06
valeechrick_h: makes sense! I just read up on leadership hooks. ty!21:15
nicbetlarrymi_ : version is juju 2.0-rc2-xenial-amd6421:37
larrymi_nicbet: it matches what I have21:41
larrymi_nicbet: try trusty to see if it's able to bootstrap completely21:42
larrymi_juju bootstrap --config default-series=trusty21:43
nicbetlarrymi_ will try that next. every attempt takes quite a bit of time to push the ova images - it doesn't seem to cache the downloads on fail21:46
larrymi_nicbet: ok.. if you look at comment 18 then this is the bug where the fix went in.21:47
nicbetlarrymi_ who's prividing the cloud-init metadata to the box? juju?22:07
larrymi_nicbet: idk22:14
cholcombeam i correct in guessing that reactive set_local requires that the value be json serializable?  I was caught by surprise when python error'd out22:22
nicbetlarrymi_ : according to https://github.com/juju/juju/blob/master/provider/vsphere/ova_import_manager.go line 72 the cloud init params are given as part of the OvfImportSpec22:42

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