/srv/irclogs.ubuntu.com/2015/08/18/#juju.txt

=== zz_CyberJacob is now known as CyberJacob
=== CyberJacob is now known as zz_CyberJacob
gnuoy`Tribaal, I have a more involved ch mp ( https://code.launchpad.net/~gnuoy/charm-helpers/hugepages/+merge/268214 ) if you have a sec that would be great but I understand if you don't :)09:07
Geethahi09:34
stubmarcoceppi: you dropped13:22
aisraellazyPower: http://www.fastcompany.com/3027907/what-engineers-at-facebook-pinterest-snapchat-airbnb-and-spotify-listen-to-while-coding13:35
lazyPowerhaha the first playlist listed is a bunch o trance13:35
lazyPowerniiiice13:35
lazyPowerdece find, thanks aisrael13:36
aisraellazyPower: my pleasure!13:36
GS_Hi, I am trying to deploy mysql charm using "juju deploy mysql" command on ubuntu ppc64le platform, start hook is failing with exit status 1..Can you any one please help me out on this?14:51
=== Spads_ is now known as Spads
GS_Hi, I am trying to install mysql on ubuntu ppc64le platform using "juju deploy mysql" command, but start hook is failing. Can any one please help me out on this?15:05
=== anthonyf is now known as Guest61698
=== Guest61698 is now known as anthonyjf
=== dooferlad_ is now known as dooferlad
GS_Hi, I am trying to install mysql on ubuntu ppc64le platform usig "juju deploy mysql" command, but start hook is failing with exit status 1. And It is working fine on ubuntu x_86 platform.15:35
apuimedolazyPower: jamespag`: any idea why `juju ssh` to lxc container is not working15:36
apuimedoand also I can't ping connect to openstack servers running on those machines15:36
GS_Can any one help me out on this? why start hook is failing in ppc64le ?15:39
ddellavGS_, when you run juju debug-log what error messages do you see?15:44
GS_2015-08-18 08:41:44 INFO config-changed Processing triggers for ureadahead (0.100.0-16) ... 2015-08-18 08:41:44 INFO config-changed Setting up mysql-server (5.5.44-0ubuntu0.14.04.1) ... 2015-08-18 08:41:45 INFO juju-log dataset size in bytes: 6845104128 2015-08-18 08:41:46 INFO config-changed mysql stop/waiting 2015-08-18 08:41:49 INFO config-changed start: Job failed to start 2015-08-18 08:41:49 INFO juju-log Restart failed, trying again 15:48
GS_2015-08-18 08:41:49 INFO config-changed stop: Job has already been stopped: mysql 2015-08-18 08:42:19 INFO config-changed mysql start/running 2015-08-18 08:42:20 INFO start mysql stop/waiting 2015-08-18 08:42:22 INFO start start: Job failed to start 2015-08-18 08:42:22 ERROR juju.worker.uniter.operation runhook.go:103 hook "start" failed: exit status 115:49
ddellavGS_, try: juju ssh mysql/0 that should get you onto the container with mysql installed. Then you can debug mysql directly. It looks like it didn't like some config options and couldn't start15:50
n3m8tzHi15:50
ddellavi'd check /var/log/mysql or wherever the logs are on the container (it15:50
ddellav(it'll be in the my.cnf)15:50
GS_150818  4:42:22 InnoDB: Completed initialization of buffer pool 150818  4:42:22 InnoDB: Fatal error: cannot allocate memory for the buffer pool 150818  4:42:22 [ERROR] Plugin 'InnoDB' init function returned error. 150818  4:42:22 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 150818  4:42:22 [ERROR] Unknown/unsupported storage engine: InnoDB 150818  4:42:22 [ERROR] Aborting15:58
lazyPowerapuimedo: in a charm school will be with you shortly15:59
apuimedook, thanks16:00
rick_h_GS_: this looks like the defaults issue that eco saw withthe memory usage and the default.16:00
rick_h_jcastro: have a link handy? ^16:00
rick_h_aisrael: I think you were poking at it as well? ^16:00
rick_h_GS_: see https://bugs.launchpad.net/charms/+source/mysql/+bug/1373862 if that matches?16:01
mupBug #1373862: MySQL doesn't deploy due to oversized dataset <mysql (Juju Charms Collection):Fix Committed by marcoceppi> <https://launchpad.net/bugs/1373862>16:01
aisraeloh yes.16:01
rick_h_GS_: so you might need to deploy with a different config value to get that going.16:01
aisraelWhen I'm running locally, I: juju set mysql dataset-size='256M'16:01
aisraelGS_: If you do that immediately after deploy, the charm should work.16:03
GS_Thank you all...I will try out this.16:04
ddellav:)16:04
ejatanyone can help me with this error : http://paste.ubuntu.com/12119236/16:49
lazyPowerejat: what substrate, charm, juju version, ubuntu version is this?16:54
ejatlazyPower : im trying the openstack-install16:54
ejatvivid16:54
lazyPowerejat: openstack-install as in autopilot from landscape?16:57
ejatyups ..16:58
ejatlazyPower : the team in #ubuntu-solution helping me now .. thanks16:58
lazyPowerallright, if you need anything feel free to ping back :)16:58
jeandhi all17:20
jeandI pushed a new charm to my namespace on launchpad17:20
jeandhttp://bazaar.launchpad.net/~jean-deruelle/charms/trusty/mobicents-restcomm-charm/trunk/files17:20
jeandhow long does it take to be indexed and available on the charm store at https://jujucharms.com/q/restcomm?series=trusty&type=charm ?17:21
rick_h_jeand: it takes 1-2 hours atm. We've got two systems (legacy and modern) than have to be kept in sync so one waits for the other to be ready17:21
jeandThanks rick_h_ for the information17:22
jeandanother thing17:22
jeandI submitted a bug17:23
jeandto have it officially in the charm store17:23
jeandhttps://bugs.launchpad.net/charms/+bug/147350917:23
mupBug #1473509: Mobicents RestComm Juju Charm <Juju Charms Collection:New> <https://launchpad.net/bugs/1473509>17:23
jeandhow long does it usually takes to get a review ?17:23
rick_h_jeand: hmm, so there's a process for this. I think you have to invite or assign the charmers team to it.17:23
* rick_h_ looks up the docs around that17:23
jeandit seems I can't assign it to anyone else than me17:24
jeand"You may only assign yourself because you are not affiliated with this project and do not have any team memberships."17:24
rick_h_jeand: https://jujucharms.com/docs/stable/authors-charm-store#recommended-charms17:24
rick_h_not assign but subscribe it looks like per the docs17:25
jeandThanks rick_h_ I should have RTFM better17:27
rick_h_jeand: looks like charm proof doesn't like your yaml for the tags either atm17:28
rick_h_jeand: it throws an error, it should be more like https://api.jujucharms.com/charmstore/v4/trusty/juju-gui-38/archive/metadata.yaml possibly17:28
rick_h_or I've got a really old charm-tools (/me checks that next)17:28
jeandrick_h_, when I run juju charm proof on my side it doesn't complain17:29
jeandjuju --version17:29
jeand1.24.4-trusty-amd6417:29
aisraelWhat's `charm version` say?17:31
jeandcharm version17:32
jeandcharm-tools 1.5.117:32
rick_h_jeand: yea, fresh install here and no PPA so looks like I've got a really old charm-tools of 1.0.0 :)17:32
rick_h_jeand: ok, so yea follow the process for the review queue, I'm not sure what the current times are on that atm though17:32
jeandok cool17:33
jeandthanks for the help here17:33
rick_h_np, good luck!17:33
jeandlooks like it's present on the charm store now !17:34
jeandhttps://jujucharms.com/u/jean-deruelle/mobicents-restcomm-charm/trusty/017:34
jeandThanks !17:34
rick_h_jeand: very cool17:34
rick_h_jeand: thanks for your patience. Once we kill off the old system we'll be making it a lot faster.17:35
aisraeljeand: Your charm should pop up here within a couple hours: http://review.juju.solutions/17:35
=== zz_CyberJacob is now known as CyberJacob
aisraelThere's a bit of a backlog we're working through, unfortunately.17:35
jeandno worries, thanks for the notice17:37
jeandI'm testing a tentative bundle in the meanwhile17:37
coreycbbeisner, charm-helpers have been synced to openstack next charms17:46
beisnercoreycb, ok thanks.  fyi, fired off a trusty-liberty-proposed next deploy to see how we fair.17:49
lazyPowermbruzek: do you have a spare cycle? i need a hot review on this for OIL - https://github.com/whitmo/etcd-charm/pull/1717:59
skylerbergIs there a way to run amulet tests with a local charm? I want to specify a repository with a path, but I haven't seen anything besides the default resolver that checks the charm store when I use add.18:02
lazyPowerexport JUJU_REPOSITORY=path/to/charm/repo18:03
lazyPowerensure the amulet test doesnt' specify CS:<series> and isntead just declares the service18:03
lazyPowerfor example if you're testing the charm "foo"18:03
lazyPoweramulet.deploy("foo")18:03
lazyPowerit should auto-pick the local copy of the charm to deploy18:04
skylerberglazyPower: Can I mix and match? I want to use some charms from the store and then my charm locally.18:04
lazyPowerwell, amulet should only be deploying the local charm thats under load18:04
lazyPowerif you need multiple18:04
lazyPoweruse the local:series/charm directive18:04
lazyPowerand make sure when you commit, its using the proper resource locations that are not local:18:04
lazyPoweras that will just confuse CI and things will blow up on reporting18:04
lazyPoweralai:  https://github.com/whitmo/etcd-charm/pull/17 - could use your input on this18:05
alailazyPower, cool i'll take a look18:06
skylerberglazyPower: Thanks for the help, that should get me going on writing these tests.18:06
alailazyPower, +1 thanks for a quick patch18:12
beisnerwolsen, gnuoy`, coreycb - fyi - in resuming the rmq edge issues @ vivid-kilo, got the 2nd of two bugs filed and I'm calling the VK test disabled-ufn:18:28
lazyPowerapuimedo: i understand you're having issues with LXC on yoru cloud?18:28
lazyPowerwhich cloud provider is this?18:29
lazyPowerand how are the services deployed?18:29
beisnerwolsen, gnuoy`, coreycb :  bug 148617718:29
mupBug #1486177: vivid-kilo 3-node native cluster race:  cluster-relation-changed Error: unable to connect to nodes ['rabbit@juju-X-machine-N']: nodedown <amulet> <openstack> <uosci> <rabbitmq-server (Juju Charms Collection):New> <https://launchpad.net/bugs/1486177>18:29
apuimedosome OSt18:29
apuimedobut it's the same I had with DO18:29
beisnerwolsen, gnuoy`, coreycb :  bug 148572218:29
mupBug #1485722: rmq on >= vivid has mnesia (no data dir) <amulet> <openstack> <uosci> <nrpe (Juju Charms Collection):New> <rabbitmq-server (Juju Charms Collection):New> <https://launchpad.net/bugs/1485722>18:29
apuimedoI can't connect to lxc containers18:29
apuimedoexcept from the instance they run on18:29
apuimedomy main suspect is the arp filtering that cloud providers usually do18:30
beisnerwolsen, gnuoy`, coreycb - tldr:  half the time, one unit fails to cluster, and when all 3 do cluster ok, a separate blocker exists.18:30
lazyPowerapuimedo: this is the host only networking exception18:32
lazyPowerwhich version of juju? i was under the impression 1.24 removed this limitation, but i may be wrong18:32
lazyPowerlet me fetch the guide that i did to fix this w/ overlay networking18:32
apuimedo1.24.4-trusty-amd6418:32
lazyPowerhttp://blog.dasroot.net/container-networking-with-flannel.html18:32
lazyPoweryeah it seems like the networking only works on certain substrates (aws, and openstack)18:33
apuimedoI'm using OpenStack18:33
lazyPowerweird, i'll have to re-ping dimiter on it then18:33
lazyPowerits quite possible i am misinformed18:34
lazyPowerThere are bolt on services you can use to work around this18:34
lazyPowerthe problem is the LXC containers that are being spun up on the lost are 10.0.3.x addressing, and the juju state server has no means to communicate with them18:34
lazyPowernetworking addons like the fan, calico, flannel, et-al are designed to offer an SDN approach to fixing this18:34
apuimedothe juju state server works18:35
lazyPowerbut this also requires the LXC containers to be reconfigured to attach to that networking bridge that the state server can connect to18:35
apuimedothe relations are established18:35
lazyPowerso, you can reach the LXC container based service, from the state server18:35
lazyPowerbut not when you juju ssh <service>/<unit> ?18:35
apuimedoI think it is most likely a matter of the undercloud having a too strict security group18:35
apuimedoyeah, juju ssh does not work18:35
lazyPowerthats a bug18:35
lazyPowerdo you mind filing it and linking me? i'd like to track this and reference it when i poke dimiter about it18:36
apuimedook ;-)18:36
lazyPowerwe'll want the output from juju status,  the service attempting to connect to via juju ssh, any verbose debug logging, and which cloud provider if applicable18:36
apuimedook18:38
lazyPoweralai: fix is upstream in ~kubernetes namespace, open review item here - https://code.launchpad.net/~kubernetes/charms/trusty/etcd/trunk/+merge/26837318:45
lazyPowerwhich is for the charm store copy in ~charmers namespace.18:45
alaicool... testing it now18:54
marcoceppirbasak: you around? I have a packaging question19:26
apuimedolazyPower: from what I see in my machines19:52
apuimedothere's only eth0 that has the "public ip" and lxcbr0 that gets a 10.0.3.1/2419:53
apuimedobut that has no link device19:53
apuimedoonly veths to the lxc containers19:53
apuimedoI can't see how the different lxc containers could be able to talk to each other19:54
lazyPowerapuimedo: correct19:54
lazyPowerthere's no cross host networking by default in juju w/ those containers19:54
lazyPowerthis is why SDN as a work around exists today19:54
lazyPowerand juju is slowly growing support for cross-host networking natively w/ the juju networking modules.19:54
apuimedolazyPower: so I would have to run flannel for that?19:54
apuimedowhich is the simplest solution?19:54
lazyPowerflannel, calico, the fan,  just to name a few that we have charms for.19:54
apuimedofan?19:54
lazyPowerhttps://insights.ubuntu.com/2015/06/22/fan-networking/19:55
lazyPoweri use flannel quite a bit because it works cross host over an encrypted ip tunnel. its quite slow, requires ETCD to work/ do coordination, but it gets the job done.19:56
apuimedolazyPower: is there one for the flannel integration?20:11
apuimedoarticle, I mean20:11
lazyPowerapuimedo: the article covers the bases of how to properly get hosts talking20:11
lazyPowerit requires deploying the flannel charm first, then deploy --to lxc: on that host20:11
cholcombelazyPower, do you have RSI in your hands?  You seem to type more than anyone i've ever seen :)20:11
lazyPowercholcombe: Richardson Space Industries? nah... it would be cool if i had star citizen in my hands :D20:12
cholcombelol20:12
cholcombeno repetitive stress injury20:12
lazyPowerwell, to a degree, yeah20:12
lazyPowermy hands hurt on a regular basis20:12
lazyPoweryou'll see me massaging my hands in hangouts if you're looking20:12
cholcombeyeah20:12
cholcombeseems to be a common problem with engineers20:13
lazyPoweryears of being a keyboard cowboy i suppose takes its toll20:13
lazyPowersome day we'll get hazard pay for it20:13
cholcombeyep20:13
cholcombehaha i wish20:13
lazyPowerit was terrible cholcombe, there were cheese cakes, pizzas and beers everywhere. Our hands were cramping and we couldn't even hold on to any of the goodies!20:14
cholcombehahah20:14
cholcombelazyPower, well the joints in my hands are starting to sting.  i've been wondering what others are doing to alleviate it20:14
cholcombelazyPower, i didn't mean to side track ya :)20:15
lazyPowerall good man, i'm on a roll over here. running support and hacking on kubes20:15
cholcombenice!20:16
skylerbergIs it standard practice to upload partially complete juju charms to our personal namespaces or should I not do that until I think it would be usable by others?20:47
skylerbergI am not sure if I am supposed to use that as version control or as a publishing platform.20:48
=== sarnold is now known as sarnold_
hazmatskylerberg: publishing not vcs21:28
hazmatskylerberg: vcs in git(hub) ;-)21:28
hazmatlazyPower: plus vs fan, it support aws and gce native backends no ip in ip21:29
hazmatlazyPower: what's the state of the art on monitoring21:29
lazyPowerhazmat: in the jujuverse?21:29
lazyPowerhazmat: i'm assuming thats what you're asking for - we haven't had extra cycles to devote to it that i'm aware of. the community may be working on additional componentry like promethius or carbon.  The question is rather contextless at this point.21:32
hazmatlazyPower: fair enough, jujuverse.. best charms for monitoring for context.. say big data21:33
lazyPowerhazmat: we recently published to the mailing list a rather large story about syslog analytics21:35
lazyPowerincluding bundle21:35
hazmatoh.. cool.21:35
lazyPowerthats state of the art w/ big data and monitoring + some interesting ganglia metrics coming21:36
* hazmat trawls archives21:36
lazyPoweras it has native integration with the big data components21:36
skylerbergexit22:34
skylerbergoops, lol22:34
marcoceppio/ skylerberg thanks for the contributions so far22:37
skylerbergmarcoceppi: No prob. And thank y'all for being really responsive whenever I run into any issues.22:40
=== CyberJacob is now known as zz_CyberJacob
plarswget: unable to resolve host address ''ubuntu-14.04-server-cloudimg-amd64-root.tar.gz'23:26
plarsgetting this when trying to deploy things to lxc under maas23:26
plarshere's a more complete log, any ideas? http://paste.ubuntu.com/12121232/23:26
skylerbergIn amulet I cannot find a way to relate a service that is deployed locally. The problem is that the service name is "local:trusty/cinder-tintri". Then when I try to add the relation I have to provide a string like "local:trusty/cinder-tintri:storage-backend". The extra colon then confuses the relate function.23:36
marcoceppiskylerberg: the "local:trusty/cinder-tintri" is the name of the charm, the service is just "cinder-tintri"23:40
marcoceppiso, it's just cinder-tintri:storage-backend23:40
marcoceppis/name/url of the charm23:41
skylerbergmarcoceppi: If I try that I get a ValueError on deployer.py:261 saying that the service is not deployed. I think the whole "local:..." string is being stored as the name of the deployed charm inside amulet.23:45
marcoceppiskylerberg: can you share your amulet test file?23:45
skylerbergyeah, just a sec23:46
marcoceppisomething like gist or paste.ubuntu.com should suffice23:46
skylerberghttp://paste.ubuntu.com/12121295/23:47
marcoceppiskylerberg: ah, that's why, don't call the CINDER_TINTRI charm "local:trusty/cinder-tintri" that should just say cinder-tintri. amulet will detect that if the test is in the charm's name that matches the deploy line to use that instead of trying to resovle a charm store address23:48
marcoceppiskylerberg: you'll also want to make sure you have amulet 1.11.0 installed, it has some fixes for testing with more recent versions of deployer/juju23:50
skylerbergmarcoceppi: Changing it to just "cinder-tintri" gives me a 404 message about the charm not being found. I just checked the version and it is 1.11.0.23:52
marcoceppiskylerberg: and this test resides within the tests directory in the charm and the charm directory is named "cinder-tintri" ?23:53
skylerbergYes, that is correct.23:54
marcoceppiskylerberg: that shouldn't be happening23:55
skylerbergIf you can point me to the line where it checks if the charm name matches the directory then I should be able to insert a debugging print statement and figure out why that isn't triggering.23:55
marcoceppiskylerberg: https://github.com/juju/amulet/blob/master/amulet/charm.py#L5423:59
marcoceppiskylerberg: that's coming from https://github.com/juju/amulet/blob/master/amulet/deployer.py#L11523:59

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