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

=== axw_ is now known as axw
stubmarcoceppi: I don't know and I don't care. Should I care?03:19
marcoceppistub: we accidentally merged it with precise03:19
stubHmmm...03:20
stubIt should work - it just relies on charmhelpers and the PG stuff is common, and the default PG version for precise is still coded in there.03:21
marcoceppistub: we can revert, but it seems to be working03:21
stubOk. I was kind of hoping to just drop support for precise (since we don't need it any more), but we can drop support for this version rather than the previous version03:22
stubIf the basic deployment, the rest will work the same or better than the previous version. Replication or some extensions like wal_e might be wonky, but the older version would be wonkier.03:24
stubSo lets leave it.03:25
stubI'll try and have the reactive rewrite up soon :)03:30
=== scuttlemonkey is now known as scuttle|afk
=== JoshStrobl is now known as Josh|Class
gnuoyjamespage, https://code.launchpad.net/~gnuoy/charms/trusty/odl-controller/new-tests/+merge/277258 is ready for another review if you have a moment09:21
jamespagegnuoy, ok looking now09:28
jamespagegnuoy, https://code.launchpad.net/~james-page/charms/trusty/neutron-openvswitch/lp1515008/+merge/27732509:37
jamespagegnuoy, I'll just wait for amulet to pass that before landing09:40
gnuoykk09:40
jamespagegnuoy, can we get osci pointed at the odl-controller branches?09:40
gnuoyyep09:41
gnuoyjamespage, when the branches exist I think https://code.launchpad.net/~gnuoy/ubuntu-openstack-ci/odl/+merge/277327 should do the trick09:47
gnuoybeisner, ^09:47
jamespagegnuoy, can we create /next branches now from the current source branches and propose against those? running things by hand is nasty09:56
gennadiyhi all. i need to create specific instance type of aws ec2 instance for my service.09:56
gennadiyi know about juju set-constraints --service <name> instance-type=m3.xlarge09:57
gnuoyjamespage, yes, but I don't know what needs to happen to get osci to pick up the change to lp:ubuntu-openstack-ci09:57
gnuoywe can wait for beisner if you like09:57
jamespagegnuoy, sure09:57
jamespageif your branch tests out ok I'll land it09:57
gennadiybut when i add unit from juju-gui it creates default instance tyoe09:57
jamespagegnuoy, we need to plumb in AMULET_ODL_LOCATION=http://10.245.161.162/swift/v1/opendaylight/distribution-karaf-0.2.3-Helium-SR3.tar.gz as well10:01
gnuoyyep10:02
gnuoyjamespage, added setting AMULET_ODL_LOCATION to the mp10:08
dpm_hi all, anyone around who is familiar with https://jujucharms.com/python-django and can help with a couple of questions?10:48
apuimedofrobware: Hi. I was told it is you who works on juju networking and using OpenStack for providing machines to Juju10:56
frobwareapuimedo, yes10:56
frobwareapuimedo, (and the team!)10:56
apuimedofrobware: that was fast :P10:56
apuimedofrobware: who's the team?10:56
apuimedo*in10:56
frobwareapuimedo, dimitern, voidspace, dooferlad10:56
apuimedonice to meet you guys ;-)10:57
dooferladhi10:57
frobwareapuimedo, want to briefly HO - I saw you had some questions earlier in the week10:58
apuimedoHO?10:58
frobwareapuimedo, google hangout10:58
apuimedosounds good10:58
frobwareapuimedo, https://plus.google.com/hangouts/_/canonical.com/juju-sapphire10:58
dooferladfrobware: there in a couple of minutes10:59
apuimedofrobware: I'm getting a google hangout error trying to join11:03
apuimedowhen requesting permission to join11:03
jamespagefrobware, you'll have to allow external participants as thats under a canonical.com hangout11:04
frobwareapuimedo, OK, let's just try here in IRC11:04
apuimedofrobware: let me create a meeting on ho11:04
apuimedofrobware: https://plus.google.com/hangouts/_/midokura.com/juju_openstack11:05
dimiternhey apuimedo11:08
apuimedohey ;-)11:08
jamespagegnuoy, juju-test INFO    : Results: 4 passed, 0 failed, 0 errored11:19
jamespageawesome11:19
gnuoy\o/11:19
jamespagegnuoy, ok landed all of that11:26
gnuoyta11:26
jamespagegnuoy, also snuck in the tox bits needed for if we want to upstream this charm to /openstack11:26
gnuoyk11:26
jamespagegnuoy, I think we could also run func tests under tox as well11:27
apuimedodimitern: is there any trick that would make the openstack provider set up the bridges as if it were maas?11:33
apuimedo(I can disable the arp anti spoofing filter in my openstack provider)11:33
gnuoyjamespage, I'm guessing I need to11:34
gnuoycreate the /next branches and delete the originals11:35
gnuoyor is there a smarted way11:35
jamespageyeah11:35
gnuoysmarted? smarter11:35
gnuoykk11:35
jamespagejust branch then and mark the old ones as decprecated11:35
gnuoyjamespage, I see Abandoned is that the one?11:36
jamespageyah11:36
gnuoyta11:36
jamespagegnuoy, I'd create the trunk and next branches for all of them now under openstack-charmers11:36
gnuoywill do11:37
=== scuttle|afk is now known as scuttlemonkey
gnuoybeisner, I've probably missed something but if you get a sec https://code.launchpad.net/~gnuoy/ubuntu-openstack-ci/odl/+merge/27732715:50
thomnicoHello16:51
thomnicodoes someone is familiar with  add_source(source, key=None): in juju helpers python ??16:51
thomnico I try to pass a block with the gpg key starting with -----BEGIN PGP PUBLIC KEY BLOCK----- and it fails on safe_loader ..16:51
marcoceppithomnico: I think you need a key ID not a key file, not sure though16:53
lazypowercorrect, it polls the configured keyserver for the key16:54
thomnicochecking the code it show I should be able to add a keyfile ..16:55
lazypoweror at least thats how i've used it16:55
thomnicoand I won't have access to hard coded keyserver.ubuntu.com16:55
lazypowerwhen live gives you lemons, write a bash script and use subprocess *ducks from impending object trajectory*16:56
lazypowers/live/life/16:56
thomnicohehehe you guys are the python fans16:56
lazypowerI'm a pragmatist, I'm a fan of what works reliably16:56
thomnicoso do I lazypower (but you know already)16:57
lazypower<316:57
thomnicowhere should I raise bug on helpers please ??16:57
lazypowerlaunchpad.net/charm-helpers16:57
thomnicoIt might pretty well be me not putting the expcted syntax though ..16:58
lazypowerthats possible, but if there's a bug for it we can get it on the docket to take a closer look16:58
lazypowerthere very well may be a bug in there16:58
thomnicook ...16:58
=== sarnold_ is now known as sarnold
bdxjamespage: nice presentation! How can I start testing nova-compute-lxd? I'm checking out the lxd charm now....is there a method or procedure you have defined for how you are doing this?17:40
jamespagebdx, https://jujucharms.com/u/openstack-charmers-next/openstack-lxd17:49
bdxooooohhh nicceeeee!! thx!17:51
thedacbdx: fyi, jamespage fixed a bug with DVR. This should help you. https://bugs.launchpad.net/charms/+source/neutron-openvswitch/+bug/151500818:05
mupBug #1515008: L3 agent missing on compute node in DVR setup <backport-potential> <openstack> <neutron-openvswitch (Juju Charms Collection):In Progress by james-page> <https://launchpad.net/bugs/1515008>18:05
dpm_Anyone knowledgeable on the python-django charm? I'm trying to use fabric as described on https://jujucharms.com/python-django , but whenever I try to execute a task with 'fab', I'm being asked for "Login password for 'ubuntu': "18:41
dpm_lazypower perhaps? ^18:41
bdxthedac: YES!18:54
bdxjamespage: ^^18:55
thedacbdx: Fix already landed in next and the backport to stable is on the way18:55
bdxthedac, jamespage: nice fix! ... it totally makes sense that was the issue...I can't stop smiling19:01
bdxthedac: thanks for your help over the last few days investigating that19:08
thedacbdx: no problem. Sorry I did not catch it sooner19:09
bdxthedac: your good man... ditto19:10
beisnergnuoy, jamespage - fyi uosci is now feeding on the odl trio;  please see proposals on those charms for a few cosmetic adjustments.19:21
lazypowerdpm_ sorry i'm not sure whats going on there. thumper is the current maintainer of the django charm. I think a mail to the list as he's in NZ timezones, would be a good path forward to getting support with that particular error :(19:31
lazypowersorry i'm not of more help19:31
jcastrolazypower: remind me, did you do the charm testing and debugging at the last summit?19:33
lazypowernegatory19:33
jcastroah, that was you mbruzek iirc19:34
mbruzekyeah that was me19:35
jcastrook you're doing one for cfgmgmntcamp. :)19:35
dpm_lazypower, no worries, I ended up posting on http://askubuntu.com/questions/697318/how-to-use-fabric-with-juju and pinging cory_fu - will ask thumper on e-mail if all else faile19:35
dpm_*fails19:35
jcastrothat reads like it's a key issue doesn't it?19:36
jcastrolike, you should be able to just ssh in there without any prompts19:37
cory_fujcastro: Yes, though per the instructions in the README it ought to just work.  I'm not sure how the charm is supposed to tell fab to use the Juju SSH key, nor even how it tells it how to resolve a unit ID (foo/0) into a host name19:39
=== med_ is now known as openstackgerrit_
=== openstackgerrit_ is now known as med_
jcastroI'm going to stab in the dark and I bet thumper exports a bunch of environment variables for fab that juju consumes or the other way around19:40
* thumper has burning ears19:40
cory_fuOh, no, it's the fabfile.py in the charm.  You have to have that locally.  I haven't used Fabric before.  :)19:42
dpm_cory_fu, yeah, you bzr branch the charm, and then you can point fab to the fabfile19:43
dpm_if you're running fab from the charm's code directory, it finds the fabfile.py automatically too19:43
dpm_I've also added19:44
thumperwhat you do need?19:44
cory_futhumper: https://askubuntu.com/questions/697318/how-to-use-fabric-with-juju19:44
jcastrohttp://askubuntu.com/questions/697318/how-to-use-fabric-with-juju19:44
dpm_thanks guys :)19:44
cory_fuIt's prompting for the ubuntu user's password19:44
thumperlazypower: that reminds me, I need to propose another change to the django charm as I've deployed celery in prod now19:44
cory_fuNot using Juju's ssh key file19:45
thumperlazypower: and I need to support upgrading django so I can get to 1.819:45
thumperdpm_: I'm unclear as to what you are attepmting19:47
cory_fudpm_: Ok, so if your SSH public key is on Launchpad, you can get this to work by importing your key into the Juju deployment: juju authorized-keys import <launchpad-username>19:49
dpm_thumper, essentially to be able to run "fab -R python-django/0 manage:collectstatic" from my desktop PC19:49
cory_futhumper: I think either that needs to be added to the Fabric section of the README, or it should somehow use the juju_id_rsa key19:49
cory_fu("that" being the auth-keys import instructions)19:50
thumperhmm... not at all familiar with fabric19:50
thumperwhy does this not just translate through a juju run thing?19:51
dpm_cory_fu, that worked nicely, thanks! Now the actual command failed, but at least key authentication worked19:51
cory_futhumper: It apparently uses normal ssh.  There might be a way to have it use `juju ssh` as its ssh command, but I don't know how that would work19:52
dpm_I'm not familiar with fabric, either, I just used it as the charm's documentation mentions it as the way to do what I was trying to do. If there is an equivalent way to do it with juju, I'd be more than happy to try that instead19:53
cory_fuThese functions should really be redone as Juju actions, but that would require work on the charm19:55
dpm_cory_fu, in any case, your suggestion worked, so if you want to add it to the Ask Ubuntu question, I'll check it as the answer19:59
cory_fuDone19:59
dpm_\o/ thanks!20:01
cory_fudpm_: What error did you get from the command failure?  Anything useful?20:03
dpm_cory_fu, it seems not all of the fabricfile.py commands work. Luckily, the one I'm interested in (manage:collectstatic) does. But here is an example of one that doesn't: http://pastebin.ubuntu.com/13241329/20:06
lazypowerthumper so many wants, so many todos, so little time20:06
dpm_it seems to use ubucon_site instead of the expected gunicorn as the service name20:06
lazypowerthumper i know those feels :-|20:06
jcastroman, authorized-keys import. I didn't even know that existed20:09
cory_fudpm_: What does this give you: juju ssh python-django/0 -- ls /etc/init/ubucon_site.conf20:10
cory_fudpm_: Scratch that.  This instead: juju ssh ubucon_site/7 -- ls /etc/init/ubucon_site.conf20:10
dpm_cory_fu, there is not such a file. ubucon-site is not a service, it's created using a ubucon-site.yaml config for the python-django charm20:12
cory_fudpm_: The way the charm looks like it works is that it creates an Upstart job conf file in /etc/init based on the name of the deployed service, from the unit name (in your case, ubucon-site/7).  So if the site were up and running, and thus could be reloaded, there should be an /etc/init/ubucon-site.conf file on the unit20:14
cory_fuIs there a config option that you haven't set for the charm to start the service?20:16
cory_fu(thumper might be of more use there)20:16
cory_fuI don't really know much about that charm20:16
dpm_cory_fu, the site is up and running, but the charm seems to set up only the gunicorn upstart job as means of reloading the site: http://paste.ubuntu.com/13241388/20:17
dpm_and http://paste.ubuntu.com/1324140220:17
cory_fudpm_: Ah, I think the issue is that the Fabric code pre-dates the wsgi / gunicorn change20:22
dpm_aha20:23
cory_fudpm_: You could edit the reload function in fabfile.py and hard-code the service name to "gunicorn"...20:25
cory_fu-    sudo('service %s reload' % env.sanitized_service_name)20:25
cory_fu+    sudo('service gunicorn reload')20:25
dpm_yeah, I was toying with the idea :)20:26
cory_fuThat should be changed in the charm to handle whatever wsgi subordinate was used, but I'm not sure how that would work20:26
dpm_That is way beyond my charm-fu, but for now I'm happy that it's more or less working :)20:27
cory_fuGlad we could help20:31
dpm_indeed, thanks :)20:32
blahdeblahHi all - anyone able to tell me what happened here?  http://juju-ci.vapour.ws:8080/job/charm-bundle-test-lxc/1392/console22:22
blahdeblahLooks like a problem with the test infrastructure, not the MP.22:22

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