/srv/irclogs.ubuntu.com/2014/06/30/#juju.txt

AskUbuntu_Problem installing MAAS nodes on Intel NUC | http://askubuntu.com/q/48978601:27
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== CyberJacob|Away is now known as CyberJacob
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== frobware- is now known as frobware
=== nottrobin_ is now known as nottrobin
gnuoy`jamespage, I have a few mps attached to a couple of bugs if you get a moment. Bug#1335760 & Bug#133576208:21
_mup_Bug #1335760: neutron metadata agent service fails if https-service-endpoints is enabled on the keystone charm <Juju Charms Collection:New for gnuoy> <https://launchpad.net/bugs/1335760>08:21
_mup_Bug #1335762: neutron-api charm does not support https <Juju Charms Collection:New> <https://launchpad.net/bugs/1335762>08:21
jamespagegnuoy`, ack08:41
jamespagethat first one points me at something I need to fix in the neutron-gateway for the network-splits work08:41
jamespagegnuoy`, reviewed - 2 x +1 and 1 needs some more work08:44
gnuoy`jamespage, ack, thanks08:44
gnuoy`jamespage, I've updated that branches with fixes for the issues you mentioned09:14
jamespagegnuoy`, all looks good to me09:24
gnuoy`jamespage, thanks I'll merge them into next09:24
jamespagegnuoy`, +109:24
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
jamespagegnuoy`, https://code.launchpad.net/~james-page/charms/trusty/rabbitmq-server/resync-plus-makefile-helpers/+merge/22497310:18
jamespageif you have 2 mins10:18
gnuoy`jamespage, sure10:19
jamespagegnuoy`, also this MP (which is not yet approved/review/landed) impacts on the neutron-api charm10:21
jamespagehttps://code.launchpad.net/~openstack-charmers/charms/precise/nova-cloud-controller/worker-configuration/+merge/22168310:21
gnuoy`jamespage, Shouldn't we block on lint even if your mp doesn't introduce that lint ?10:25
jamespagegnuoy`, yeah - lemme sort that out10:25
gnuoy`ta10:25
jamespagegnuoy`, done10:26
AskUbuntu_ubuntu juju local configure failed | http://askubuntu.com/q/48991710:29
gnuoy`jamespage, rabbit mp approved10:31
=== vladk|offline is now known as vladk
=== gsamfira1 is now known as gsamfira
jamespagegnuoy`, ta10:58
schegijamespage, got something done for the osd journal devices but still got some questions.11:01
jamespageschegi, ok11:11
jamespagemarcoceppi, if you are around today pls can we talk mysql and networking stuff :-)11:28
schegijamesapage, the thing with the osd devices was quite straight forward but i ran into problems when write the config back to the ceph.conf like it is done in emit_cephconf. emit_cephconf is called before the osds are osdized. The problem is now once an osd is osdiced getting all the information that should be presented in the ceph.conf seems very complicated. one the one hand i got the devices list like defined in the config (journal and11:50
schegibut at this point i have no clue which osd.X is actually using which device. getting all osd_ids is trivial but getting the used journal and data device given an osd_id might only be possible by using ceph-disk list, which can't be called clusterwise but only per node.11:52
=== gmb` is now known as gmb
lazypowersparkiegeek: awesome! I'll check it out when i'm done with my morning email run12:46
sparkiegeeklazypower: thank ye kindly12:46
=== plars_ is now known as plars
schegijamespage, back at the desk so if you got some time notify me13:07
jamespageschegi, give me a few13:08
jamespagejust wrapping something else up13:08
bloodearnestbcsaller: heya - when you playing with using docker in a charm, did you try with that charm on an lxc unit?13:10
bloodearnestam encountering some issues13:10
schegijamespage, kk13:10
jamespageschegi, ok - back13:18
* jamespage reads13:18
schegijamespage, ok13:18
jamespageschegi, Q - why do you need to store the journal information in ceph.conf?13:19
schegias long as i can read from the comments in the code the ceph.conf is written as a kind of backup13:19
schegiand i thougth it would be nice to have [osd.XX] sections also in the ceph.conf. to get it working this is not necessary13:20
jamespageschegi, I've tried to keep it minimal in the charms and use ceph-disk an the OS integration it uses as much as possible13:20
jamespageschegi, I think maintaining a consistent ceph.conf in a large cluster will be hard to implement, and not provide a huge amount of value.13:21
schegiThis is true13:21
jamespageschegi, ceph-disk can initialize blocks on a journal device, and it links to the device by UUID in /var/lib/ceph/osd/ceph-N/journal where N is the OSD number13:21
jamespageschegi, I guess the trick is distributing journals over avaliable SSD's automatically during provisioning right?13:22
schegii justadded an osd-journal-devices parameter to the config and build device/journal-device tuples.13:23
schegiiwhich i then pass to ceph.osdize13:24
schegiseems to work. now working on an modulo functionality to distribute multiple journals on one given device if more devices (osds) are defined than journal devices. But i am not shure how ceph behaves if a given journal device has not enought space (too many journals and/or to big journal size) have to experiment a bit13:25
jamespageschegi, well we have the journal size specified in configuration as well13:27
jamespageschegi, so we can calculate the number of OSD's that a specific journal device should be able to accomodate13:27
jamespageschegi, as osd-devices is a whitelist, we need to determine which devices are present on the current unit, and then distributed their journals evenly across the available journal devices13:28
jamespageschegi, I would suggest that if there is insufficient capacity on the journal devices, we error out the hook so an admin can see this13:28
jamespagerather than reverting to on-OSD-disk journal13:28
schegiok13:29
=== ftp21 is now known as d4rkn3t
rbasaksinzui: around? I have a 1.18.4 SRU prepared for upload to trusty-proposed. I wonder if you can advise what testing I can do on it, please?13:40
rbasakI wondered how I might align SRU verification testing so that it's essentially the same at the testing you already do on your (upstream) stable releases.13:41
lazypowersparkiegeek: merged and pushed13:43
sparkiegeeklazypower: cheers!13:44
lazypowerThanks for the update :) That'll be a lot friendlier in CI / new users13:44
d4rkn3thello dear, I neet help with JUJU is there someone can help me? thanks13:48
d4rkn3tI've run the command "juju bootstrap --upload-tools -e maas --debug" during the all debug JUJU try to connect to a node "Node02Cluster01Svr:22". the node change its status from ready to allocated, with the OS in running. after 10 minutes the error is this "ERROR juju.cmd supercommand.go:305 waited for 10m0s without being able to connect: ssh: Could not resolve hostname node02cluster01svr: Name or service not known". In the Region Contro13:53
d4rkn3tller I've set DNS and DHCP13:53
sinzuirbasak, I am not sure what to advise, CI tested 1.18.4 with http://juju-ci.vapour.ws:8080/view/Architectures%20and%20Series/  , http://juju-ci.vapour.ws:8080/view/Functions/  , http://juju-ci.vapour.ws:8080/view/Providers/ .13:57
mbruzekDoes anyone know if the pprint plugin works for hp-cloud?13:58
sinzuirbasak, Those tests verified the package CI created with the streams that could be published...but since streams are now published, and 1.18.4 was tested, I think you want a set of verification tests that demonstrate that ubuntu's 1.18.4 is still compatible13:59
sinzuioh13:59
AskUbuntu_juju bootstrap using maas unable to ssh into nodes | http://askubuntu.com/q/49000013:59
mbruzekAm I using the plugin incorrectly?  http://pastebin.ubuntu.com/7726582/14:00
rbasaksinzui: I've been looking there, but they seem to all relate to 1.20? Or is there a particular build in the past that is the 1.18 branch?14:00
mbruzekIt seems to work when I am using Juju local.14:00
rbasaksinzui: I'd like to be able to somehow run all the tests that you consider required for a stable release, except against what I'm about to upload.14:00
rbasaksinzui: (or, if needed, I could do it after it appears in trusty-proposed)14:01
sinzuirbasak, This is the log of the 1.18.4 release. I think the 1.18.1 upgrade verification and 1.18.4 deploy are relevant. That demonstrates that version of juju works with each cloud, each stream, and the cloud images: https://docs.google.com/a/canonical.com/document/d/1YtE-V83H20RVW8Gd8byPQyULU5nP0KOMUbESk9_UUNY/edit#heading=h.dp1wyrj1wujg14:01
sinzuirbasak, well the the ci set of tests are more relevant then. The did use the package14:03
* rbasak looks14:03
marcoceppijamespage: I am around!14:03
jamespagemarcoceppi, w00t!14:03
jamespagemarcoceppi, so two things14:03
jamespage1) hows the mysql charm redux going?14:03
jamespage2) I need to hack it14:03
jamespagemarcoceppi, re 2) specifically I want to be able to make 'data' traffic run over a specific network14:03
jamespageI have a few ideas on how but wanted to discuss with you first.14:04
marcoceppi1) Rewrite has slowed because of other work, unfortunately14:04
marcoceppi2) It's pretty hackable, I'm putting a lot of the new code in to charm-helpers under contrib/mysql14:04
lazypowermbruzek: juju pprint should work on *any* provider14:04
marcoceppiI'll push up an updated branch of both today14:04
jamespagemarcoceppi, excellent14:05
mbruzeklazypower, According to my pastebin was I using it incorrectly?14:05
jamespagemarcoceppi, I was hoping to take a similar approach to the one I took for rabbitmq14:05
marcoceppimbruzek: it's just `juju pprint` not `juju status pprint`14:05
jamespagewhich is to override the private-address setting on the amqp relation with a different one14:05
marcoceppijamespage: that sounds sane enough14:05
jamespagemarcoceppi, but its more complex due to the grants that get created for each user/accessing server14:06
mbruzekthanks marcoceppi14:06
marcoceppijamespage: ah, for the user/db perms14:06
jamespageyes14:06
marcoceppishould still be doable with a little work. Are you going to make this a configuration option?14:06
jamespagemarcoceppi, I can do it within the scope of the existing relation data on the shared-db relation type14:07
jamespagemarcoceppi, yes14:07
jamespageto "configuration option"14:07
sinzuirbasak, There is no easy way to make CI test a package it didn't create, but I can imagine a new job that starts with a set of debs. the provider and function tests just pickup debs from the publish-revision job. The arch and series tests for local also pickup the deb. The unittests also accept a tarball though14:07
marcoceppijamespage: cool, yeah I'll push up what I have after I get the tests passing again so you want to take a look14:07
jamespagemarcoceppi,  so default is as now; turn this on and it will switch to using a new network, on the assumption that the service unit is actually connected to the configured network14:07
sparkiegeekdpb1: this really is a terrible idea14:08
rbasaksinzui: that sounds promising. How difficult / how much work would it be for you to add corresponding jobs that enables -proposed and uses apt-get install instead of installing debs directly?14:09
rbasaksinzui: then we could have a process where I upload to trusty-proposed, and then we just need to run those jobs to get to verification-done state.14:09
sinzuirbasak, I think the solution is to revise the build-revision and publish-revision jobs to accept an alternate start param. Build rev would pickup the packages, publish moves them to a location to the tests.14:15
sinzuirbasak, I hesitate to proper install the proposed package because we need to add a way to restore the previous packages. We manually control when package is stable. since the machines are shared with other procs14:17
dpb1marcoceppi, jcastro: sorry 'bout this, if someone could look at this i would appreciate it.  selfsigned cert is broken (by my last commit) for apache2 (missing dependency on precise): https://code.launchpad.net/~davidpbritton/charms/precise/apache2/1335473-pyasn1-libs14:18
marcoceppidpb1: taking a look now14:18
sinzuirbasak, I can certainly add support to test your packages starting this week. I am dedicated to sorting our this kind of problem for Ubuntu this month14:18
dpb1marcoceppi: thx14:19
jcastrombruzek, you're back from holiday I take it?14:19
rbasaksinzui: thanks. Sorry, I assumed that the tests could run destructively.14:19
mbruzekjcastro, yes14:19
rbasaksinzui: so you're OK with installing debs directly, but don't want to add -proposed itself?14:20
rbasaksinzui: in any case, I think we're agreeing on some kind of vague verification plan here, that we need to iron out and implement?14:21
rbasaksinzui: if that's right, then shall I go ahead and upload and try and get this update landed in trusty-proposed, on the basis that we'll sort out a process and get it verified between us?14:21
sinzuirbasak, The tests extract the package, set the paths to the package, then execute the test. We don't install to the system location14:21
rbasaksinzui: ah, I see. Well I suppose the existing archive dep8 tests will make sure that package is hooked up to the user OK, so I guess that's OK for now.14:22
rbasak(ie. the user can call the client)14:22
rbasakThen if these tests verify that juju itself is functional, given that it's essentially a static binary I don't see a problem not testing it from the normally installed location.14:23
sinzuirbasak, I definitely want to allow you or me to pass in built debs/archives and reverify that things work. When clouds change. I do this manually to verify the cloud broke stable juju14:23
sinzuiwe have simple automated tests for cloud health, comprehensive testing of done my hand14:24
rbasaksinzui: sounds like a plan. I'll get this upload done today then - thanks.14:24
=== CyberJacob is now known as CyberJacob|Away
jcastrohey hazmat15:05
jcastroI see you pushed up personal branches of logstash and kibana for trusty15:05
hazmatjcastro, g'morning15:05
jcastroHow are those working out for you? I'd like the get them up in trusty for real alongside ES15:05
hazmatjcastro, i'd say the log stash one is still a work in progress. i need to sync up with charles he was looking at them.. atm just trying to clear out post vacation tasks.15:06
jcastroack15:07
jcastrowelcome back15:07
jcastrohazmat, I have a demo with ES people at OSCON, think we can sort it by then?15:07
lazypowerhazmat: i haven't leveraged any brain power against them yet. I saw that you were going for monitoring - i need to get the basic stuff in there like the forwarder and it should be g2g for basic deployment no?15:08
lazypowerwell, that and some tests15:08
hazmatjcastro, definitely15:09
=== tasdomas` is now known as tasdomas
jcastrohazmat, if you have demo ideas or useful bundles with all the ELK stuff lmk.15:09
jamespagemarcoceppi, ping me a branch for mysql once you have one up - not going to hack into the current version - its like crawling through mud.15:15
jamespagegnuoy`, how do you feel about a context mutating data on the relation its associated with?15:19
gnuoy`jamespage, I don't follow15:20
jamespagegnuoy`, ok - heres the context15:20
jamespagewe want access to mysql databases to flow of a specific network15:20
jamespageI just want to configure that in the mysql charm15:20
jamespagehowever grants are made based on remote host addresses; so the related charms need to know which IP to provide15:21
jamespagehttp://paste.ubuntu.com/7726892/15:21
jamespagethis works via a deferred hook execution on a -changed hook15:21
jamespagethe mysql charm would provide the required 'access-network' relation data; the remote charms would then provide their IP on said network back15:22
jamespagegnuoy`, I could write this into the SharedDBContext15:22
jamespagebut that would mean invoking a relation_set on that relation15:22
gnuoy`jamespage, I have no strong ideological objection to that being in the hook context15:26
jamespagegnuoy`, ack15:26
jcastrojose, and niedbalski15:57
jcastrohey, antonio told me you guys wanted to get in on the review schedule for charms?15:58
niedbalskijcastro, i have been doing it unofficially, count me in.16:00
jcastrook16:00
jcastroI'll add you to the calendar16:00
niedbalskijcastro, great!16:00
jcastrohow's next week look like to you?16:01
jcastroyou'll be with mbruzek16:01
niedbalskijcastro, i prefer this one, next week i will be on Cts sprint16:01
lazypowerjcastro: not a bad idea. asanjar is out for spark conf.16:02
lazypowerniedbalski: that pairs you with bcsaller.16:02
jcastrook16:02
jcastroI'll take next week then with bruzer16:02
* mbruzek waves16:03
=== lazypower changed the topic of #juju to: Welcome to Juju! || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP || Weekly Reviewers: bcsaller & niedbalski || News and stuff: http://reddit.com/r/juju
jcastroniedbalski, basically we usually do top to bottom in the queue (link in the topic)16:04
=== vladk is now known as vladk|offline
lazypowerniedbalski: if you run into anything you need help with, feel free to ping me if bcsaller isn't available.16:12
niedbalskilazypower, jcastro no worries.16:18
niedbalskithanks !16:19
josejcastro: yeah, sure, I'd love to help with that16:21
jcastromarcoceppi, oh I forgot to remind you16:25
jcastrowhen you're working on the mysql charm16:25
jcastrokeep in mind the open bugs on the charm (duh)16:25
josejcastro: you can schedule me for next week with mbruzek if you want16:25
jcastroI'll put you after, I go to oscon the week after that and I wanted to pull my weight. :)16:26
lazypowerjose: you're with me dude16:27
joseoh cool16:27
lazypowerwe're gonna rock that queue like it's never been rocked before16:27
jcastrohttps://bugs.launchpad.net/charms/+source/mediawiki/+bug/129867416:27
_mup_Bug #1298674: Mediawiki defaults to PPA  use <audit> <mediawiki (Juju Charms Collection):Triaged> <https://launchpad.net/bugs/1298674>16:27
jcastroif you guys run out of things to do16:27
lazypowerPretty sure that's been patched16:27
jcastrothis bug is so embarrassing!16:27
lazypoweri think its a stale bug16:27
jcastroI just looked in the store16:28
jcastroPPA is there. :-/16:28
lazypowerbooo16:28
lazypoweroh thats right, its got some clint fixes in there16:28
joseI tried to fix it but pushed to precise instead :P16:30
joseI'll take a look after I take this exam16:30
joselaters!16:30
jcastroahasenack, can you resolve this bug as appropriate? https://bugs.launchpad.net/charms/+bug/112447116:32
_mup_Bug #1124471: swift-proxy fails to install when source is a ppa <Juju Charms Collection:Fix Committed> <https://launchpad.net/bugs/1124471>16:32
jcastrotrying to clean up our bugs16:32
jcastrojose, yeah if it's all set to go we should push to trusty16:32
josecool, I'll check in a couple hors16:34
=== urulama is now known as urulama-food
mattywhas anyone got juju working with devstack?17:10
mattywI'm stuck on what to configure as the region on the env.yaml17:11
=== scuttle|afk is now known as scuttlemonkey
=== urulama-food is now known as urulama
sherl0ck_Hello..We have deployed OpenStack environement using MAAS and Juju. I had a question - Is it possible to shutdown the compute blade and bring it back up safely?17:31
ahasenackjcastro: done18:09
marcoceppisherl0ck_: if you restart the machine, it should re-register in Juju properly18:23
marcoceppisherl0ck_: or are you referring more to a safe reboot within OpenStack context?18:23
sherl0ck_Hey thanks marcoceppi18:56
sherl0ck_I meant to shutdown  (power down )the physical node completely and than bringing back up. Do you think Juju will still identify it as compute node18:57
marcoceppisherl0ck_: yes, there's an upstart job that will start on boot which will re-register it in the juju environment18:58
marcoceppisherl0ck_: until then, it will show up as "DOWN" in juju status18:59
=== vladk|offline is now known as vladk
josejcastro: hey, about bug 1170034, I have a duplicate (bug 1309980) https://code.launchpad.net/~jose/charms/precise/wordpress/fix-1309980/+merge/216568 is on the works20:02
_mup_Bug #1170034: integration with memcached broke <wordpress (Juju Charms Collection):Confirmed> <https://launchpad.net/bugs/1170034>20:02
_mup_Bug #1309980: Relationship to memcache seems incomplete <wordpress (Juju Charms Collection):In Progress by jose> <https://launchpad.net/bugs/1309980>20:02
=== vladk is now known as vladk|offline
=== scuttlemonkey is now known as scuttle|afk
avoinemarcoceppi: Do you know where I could find a generic jenkins job for testing charm?20:50
marcoceppiavoine: not off the top of my head, tvansteenburgh did you get access to the old jenkins setup?20:50
avoinemarcoceppi: your not using jenkins for automated testing anymore?20:51
marcoceppiavoine: we are, we're just re-vamping things at the moment20:51
avoineok ok20:52
josetvansteenburgh: hey, did you get to take a look at that test I linked last week?20:55
tvansteenburghmarcoceppi: i got access to what sinzui set up for us21:00
tvansteenburghjose: no, i never got back to that, is it still failing?21:01
josetvansteenburgh: it is, the relations hooks are not being ran even though the relation is there21:01
josewhich is kinda concerning - may happen for other tests too21:01
tvansteenburghjose: i've never seen it happen.21:01
tvansteenburghjose: but, i'll pull the branch and take a closer look21:01
josetvansteenburgh: if there's the chance you could check if the hooks are running on your end that's be awesome21:02
joseis anyone around having troubles with AWS? I'm getting 502s and 503s a lot21:17
=== scuttle|afk is now known as scuttlemonkey
=== menn0_ is now known as menn0
tvansteenburghjose: i've tried to run the tests a couple times and the install hook keeps failing with this in the log: http://paste.ubuntu.com/7728539/21:56
tvansteenburghany ideas?21:56
josetvansteenburgh: apt-get update21:56
tvansteenburghtried that21:56
josehmm, lemme check21:56
AskUbuntu_deploying charms using juju fails with tcp connection timed out | http://askubuntu.com/q/49014121:57
=== Ursinha is now known as Ursinha-afk
tvansteenburghjose: i guess it could be a transient problem with the archives?21:58
josetvansteenburgh: not sure. last week the issue was resolved with apt-get update and retrying the hook21:59
joselet me guess - you're in the local provider?21:59
tvansteenburghyeah21:59
josethen that may be it22:00
tvansteenburghthere's an apt-get update in the install hook itself even22:00
joseyeah, but I'm not sure if it's getting the charm from the charm store or locally22:01
tvansteenburghok, i'll try some other stuff22:02
josecool, thanks22:02
joseI wouldn't suggest AWS as I've been seeing some issues lately22:02
=== Ursinha-afk is now known as Ursinha
mbruzektvansteenburgh, were you able to resolve this issue?22:38
mbruzektvansteenburgh, I am hitting something similar too on local provider on Power.. http://pastebin.ubuntu.com/7728552/22:40
mwhudsoni don't have context, but that means you need to run apt-get update maybe?22:42
mwhudsontrusty-updates has 2:4.1.6+dfsg-1ubuntu2.14.04.2 now22:43
mwhudsonthat paste is trying to install 2:4.1.6+dfsg-1ubuntu2.14.04.122:43
mwhudsonand yeah tvansteenburgh's issue looks similar22:44
tvansteenburghmbruzek: no, haven't resolved23:00
mbruzektvansteenburgh, I thought my problem was related to setting proxies with juju but you have the same problem as I do.  Is it fair to assume you did not set proxies in Juju?23:03
tvansteenburghmbruzek: correct, no proxy23:05
tvansteenburghmbruzek: i've got to EOD, will pick this back up in the morning23:05
mbruzektvansteenburgh, Thanks for the clarification, marco thinks we need to open a defect.23:05
mbruzektvansteenburgh, is your scenario reproducable?23:05
tvansteenburghso far, every time23:05
mbruzektvansteenburgh, I am also going to EOD, we should talk tomorrow morning23:06
tvansteenburghmbruzek: sounds good, ttyl23:07

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