/srv/irclogs.ubuntu.com/2014/04/10/#juju.txt

=== CyberJacob is now known as CyberJacob|Away
smoserwaigani, around ?00:34
waiganismoser: yep00:34
smosercan you answer my query in canonical irc ?00:34
smoserwaigani, ^00:35
waiganismoser: you mean the #canonical channel? I don't see your query sorry?00:36
smosercanonical irc. (not freenode).00:36
=== FourDollars_ is now known as FourDollars
=== alexlist` is now known as alexlist
=== vladk|offline is now known as vladk
=== CyberJacob|Away is now known as CyberJacob
=== vladk is now known as vladk|offline
=== rogpeppe2 is now known as rogpeppe
caribouIs there a way to tell which serie to use when deploying to the local provider with "--to=kvm:0" ?09:06
caribou I mean, my kvm instance is running trusty (like my host) but I'm deploying using precise charms09:06
=== natefinch-afk is now known as natefinch
=== vladk|offline is now known as vladk
jam1caribou: "juju deploy precise/charm --to kvm:0"09:42
jam1caribou: generally you define the series by the charm you are deploying09:42
cariboujam1: yeah, but the kvm instance still get built on trusty09:43
cariboujam1: in the nova-compute charm, it does a lsb_release to get the distro & sees trusty whereas the charm is for precise so it fails09:44
jamcaribou: I've honestly only heard of this bug: https://bugs.launchpad.net/juju-core/+bug/130282009:57
_mup_Bug #1302820: juju deploy --to lxc:0 cs:trusty/ubuntu creates precise container <landscape> <juju-core:Fix Committed by thumper> <https://launchpad.net/bugs/1302820>09:57
jamwhich should be the opposite of what you are seeing09:57
cariboujam: indeed; well I hacked around it by providing trusty/nova-compute and it works09:58
thumpersame bug09:58
thumperfix isn't in a release09:59
jamthumper: ah that is that your creating LXC with the same lsb-release as the host09:59
jamhe is on trusty and wants precise09:59
jamoriginal bug was on precise and wanted trusty09:59
jamgotcha09:59
jamthumper: should we be backporting the fix to 1.18.1 ?10:00
thumperjam: probably10:00
caribouthumper: I can live with my workaround, I was just curious since that --to kvm:0 is rather new stuff (to me at least)10:00
* thumper nods10:00
caribouright now, I'm stucked on something else I keep getting "Host '192.168.122.154' is not allowed to connect to this MySQL server" when I try to add a relation & both services are on the same machine10:04
caribou(mysql & keystone for now, but I get this with other services)10:04
caribouif mysql & keystone are on separate machines it works10:08
thumpercaribou: you are using the local provider?10:17
caribouthumper: yes, but my colleague sees the same thing on a maas deployment10:17
caribouthumper: he's just opened https://bugs.launchpad.net/charms/+source/mysql/+bug/130558210:17
thumpercaribou: do you have the network-bridge in the local config set to 'virbr0' ?10:17
_mup_Bug #1305582: relation with mysql fail when mysql and glance are deployed on the same node <mysql (Juju Charms Collection):Confirmed> <https://launchpad.net/bugs/1305582>10:17
caribouthumper: yes10:17
caribouthumper: but both my machines are LXC container, I only use kvm for the  nova-compute charm10:18
thumperok10:18
strikovHi guys. I'm trying to use juju with my own openstack cloud. Bootstrap finished correctly but when i'm trying to deploy mysql charm I'm getting this: "ERROR error uploading charm: cannot upload charm to provider storage: cannot make Swift control container: failed to create container: juju-123456789" But swift is accessible and bootstrap was able to create this container already and populated it with some files. What I'm doing wrong? Thanks12:11
joselazyPower: ping13:19
lazyPowerjose: pong13:19
joselazyPower: looks like I fixed it!13:19
josewell, kinda13:19
lazyPowerwooo!13:19
* lazyPower dances13:19
josethe only problem we have is it doesn't migrate apps13:20
joselike, people would have to re-enable them manually13:20
josebut let's say, data is preserved, I think, the calendar app did preserve data13:21
joselazyPower: ^13:29
lazyPowerjose: ok. Did you update your MP yet?13:29
lazyPowers/yet//13:30
lazyPowerI can pull it and take a look after hours today and see what the status is and look at how difficult the plugin migration would be13:30
joseok, I'll update the MP asap13:32
josethe branch is updated13:32
=== Ursinha is now known as Ursinha-afk
=== hatch__ is now known as hatch
lazyPowerjose: no rush14:07
lazyPoweri wont be able to get to it until after my workday14:07
=== Ursinha-afk is now known as Ursinha
cory_fuI'm getting an error that I don't understand at all when trying to run my amulet test: http://pastebin.ubuntu.com/7231112/ and my test, in case it's relevant: http://pastebin.ubuntu.com/7231117/14:53
cory_fujuju status just after shows only the machine and no indication of any units being created.  Unfortunately, since it's LXC, I can't get access to juju log at all14:54
mbruzekcory_fu, can you check ~/.juju/local/log/ for the logs14:56
cory_fuWell, apparently I can, and that's good to know14:56
cory_fuBut it doesn't seem to have anything useful in it14:56
mbruzekcory_fu Can you patebin all-machines-log.0?14:57
cory_fumbruzek: http://pastebin.ubuntu.com/7231138/14:58
mbruzekOK cory_fu I don't see anything in that log.  It looks like a deployer or amulet bug to me.  Does anyone else have insight on the error http://pastebin.ubuntu.com/7231112/15:01
mbruzekcory_fu, You can enable higher trace on your juju environment by running a command after bootstrap.  The command only turns up debugging for one boostrap/destroy-environment session, but it might help print out more details.15:03
mbruzekjuju set-env 'logging-config=<root>=DEBUG;juju.provider=DEBUG'15:03
marcoceppicory_fu: mbruzek https://bugs.launchpad.net/amulet/+bug/129387815:04
_mup_Bug #1293878: Amulet should work with local charms that are not in version control <Amulet:Triaged by marcoceppi> <https://launchpad.net/bugs/1293878>15:04
mbruzekoh oops that is a bug I reported15:05
cory_fuYep, that looks like it15:05
cory_fuThanks15:05
mbruzekthanks marcoceppi15:05
mbruzekcory_fu, if I remember correctly the solution was to add the charm to bzr under my own namespace15:05
marcoceppijsut being in bazaar will fix it, doesn't need to be pushed or anything15:06
mbruzekwell a workround.15:06
cory_fuI guess I have to move my bzr learning phase up to before making sure the test passes.  :-p15:06
marcoceppideployer expects bazaar, so in the future amulet will transparently move non versioned and other versioned charms to bzr15:06
mbruzekcory_fu if you have bzr questions send them to marc... me15:07
cory_fu:-)15:07
mbruzekcory_fu, It was really easy to add it to a personal branch15:07
cory_fuHrm.  Do we need to make and upload new public keys for launchpad because of heartbleed?15:10
cory_fuOh, no, that shouldn't affect ssh15:10
cory_fuHrm.  Then why did bzr start giving me a publickey error15:11
marcoceppicory_fu: just now?15:13
lazyPowercory_fu: positive that the current identity is uploaded to launchpad?15:13
cory_fuWell, I swear it was working yesterday, but just now I got a publickey error15:14
lazyPowercory_fu: and its yoru standard ~/.ssh/id_rsa right?15:15
cory_fuWell, it's a different one but I have a Host launchpad.net section in my .ssh/config15:16
lazyPowerOk, and your config is owned by your user, with proper permissions?15:16
cory_fuYep15:17
lazyPowerInteresting. that should be fine15:17
cory_fuHrm.  Maybe I should generate a new pair.  :-(15:17
lazyPowerYou can also try removing the pubkey and resetting it15:18
lazyPoweri doubt thats it but worth a shot15:18
cory_fuAh.  I needed the full bazaar.launchpad.net on the Host line15:23
cory_fuCould swear it worked yesterday.  Maybe because I hadn't done bzr whoami yet15:23
cory_fuOr some other config to indicate which account to use15:24
* lazyPower thumbs up15:25
cory_fu    from fastimport.helpers import (15:26
cory_fuImportError: cannot import name single_plural15:26
cory_fuo_O15:27
=== whit is now known as whit|run
cory_fuIs there any workaround for getting "ImportError: cannot import name single_plural" from bzr when trying to use fastimport to import from git?16:47
cory_fumbruzek: ?16:48
=== 21WAABD33 is now known as sarnold
lazyPowersarnold: ping17:08
sarnoldhey lazyPower :)17:09
lazyPowerSo, you're a random number in the ether until you 'officially' arrive? as predeciated by your status update at 13:04:25 EST17:10
sarnoldlazyPower: maybe several confounded random functions -- if my pandaboard hangs, then I arrive -- if my pandaboard doesn't hang, then I'm always here :)17:11
lazyPoweri need to 1:1 with you at some point about building an in house low power maas cluster sinc eyou've got more micro board experience than I do17:11
lazyPowermore along the lines of what to look at and what to stay away from17:12
lazyPowerbefore i let that statement run away with context17:12
sarnoldlazyPower: heh, i've just got the one pandaboard, and I think my experience with it is clear to find something else entirely :)17:13
lazyPowerhaha17:13
lazyPowerFair enough17:13
sarnoldlazyPower: back when our buildds were using pandaboards, someone from IS had to poke them just about daily to keep them building :(17:13
ppetrakihey do we have a charm that just deploys a base line server? I swear we did17:15
sarnoldppetraki: was that 'ubuntu'?17:16
lazyPowerppetraki: its the ubuntu charm17:16
lazyPowerdeploys a no frills ubuntu server installation17:16
ppetrakisarnold, thanks17:18
lazyPowersarnold: also, last night i learned that you cannot colocate a juju-local installation on your maas region controller if you're using bridged ethernet devices without doing some serious voodoo in the juju config17:22
lazyPowerit tanked networking on my server until i removed the juju-local package :P17:22
sarnoldlazyPower: hah, yikes17:22
lazyPoweryeah im like, poking around at really strange configurations17:22
sarnoldlazyPower: somehow I'm not too surprised, the assumptions of all the different tools involved are pretty strong17:22
lazyPoweri went from having my maas-master as a virtual machine to using bare metal as the region controller, controlling kvm instances.17:23
lazyPowerthis is all for a blog post about what configurations i found that work, for someone that wants to build an "all encompassing juju lab"17:23
sarnoldoh nice17:24
sarnoldsome more 'real world' stories of maas and juju use would be pretty cool17:24
lazyPowerwell, i've got 3 special interest groups from CMU that contacted me about running juju workshops17:24
sarnoldit's either "hey look at this wordpress install" or "yes we have customers with a few hundred or thousands of machines doing this on private clouds and they seem to like it"...17:25
sarnoldsweet!17:25
lazyPowerI'll try to get them to publish their experiences to the list so we can reblog and promote their use. The biggest use case i see is a LUG on campus is offering free VM's with openstack17:25
lazyPowerthey want to do the full maas + juju  + openstack path17:25
sarnoldoooo17:29
sarnoldman, when I was at school, we had one "linux lab" of machines that were castoffs from the windows labs but worked great for us..17:29
ppetrakican we support bundles from git hub?17:39
ppetrakierr do we?17:39
lazyPowersarnold: make ingest faster17:42
sarnoldlazyPower?17:43
lazyPoweri'm waiting for a bundle i just published to ingest so i can deploy it using deployer... make ingest run faster!17:43
lazyPoweri know you're secretly the wizard behind all of this17:43
* sarnold waves his hands meaningfully17:44
lazyPowerwooo juju genie powers17:44
Kupo24zHaving issues with Ceilometer HTTP connection exception: [Errno 111] ECONNREFUSED with a fresh charm install, is there anything special that needs to be done to get keystone to authorize it?17:47
joseKupo24z: have you exposed the service?17:48
Kupo24zjose: No, not yet17:48
joseKupo24z: can you try exposing it?17:48
Kupo24zSame issue after exposing17:49
lazyPowerKupo24z: what environment are you running on?17:50
lazyPowerand can you reach the instance with juju ssh <unit #>?17:50
Kupo24zYes17:51
Kupo24zjuju ssh ceilometer/017:52
timrcSo the jenkins charm on trusty listens on ipv6 only.  We can can add "-Djava.net.preferIPv4Stack=true" to JAVA_ARGS and restart the server to get it to listen on ipv4 but is this the preferred way of doing this?17:52
timrcrestart the service*17:52
Kupo24zthis is on ubuntu 12.04 LTS with openstack-origin: cloud:precise-havana17:52
lazyPowertimrc: ideally it should be a boolean option in the config and the charm should handle adding that option17:53
timrclazyPower, I can add that.  Sounds like a good idea17:53
lazyPowerKupo24z: ok, so it really is with just ceilometer, i'm not 100% familiar with the charm, but I would check the service to ensure its listening on the public address17:54
lazyPoweri'm willing to bet its only exposed to the private address17:54
lazyPoweractually17:55
lazyPowersince you're ssh'd in, try to curl get the address on the private ip vs public ip17:55
lazyPowerand see if it responds on one or the other17:55
Kupo24zthis is the only thing (non -sshd) that its listening17:55
Kupo24ztcp        0      0 0.0.0.0:8777            0.0.0.0:*               LISTEN      8118/python17:55
Kupo24zPID 8118 is /usr/bin/python /usr/bin/ceilometer-api --log-dir=/var/log/ceilometer17:56
lazyPowerKupo24z: i've asked in #ubuntu-server, waiting on a response. I've not managed openstack outside of using the horizon dashboard17:57
=== vladk is now known as vladk|offline
=== mattgriffin is now known as mattgriffin-afk
=== mattgriffin-afk is now known as mattgriffin
Kupo24zCan someone assist with the ceph charm? are OSD devices physical disks or partitions to use for the ceph storage cluster?20:03
lazyPowerKupo24z: block storage devices.20:05
lazyPowereg: /dev/sda220:05
Kupo24zDo they need to be unpartitioned disks or anything that is a traditional block device will work?20:05
lazyPowerKupo24z: i'm fairly certain it runs a format for you if it does not report as having a filesystem20:06
Kupo24zand im assuming all ceph nodes need to have the same block devies avalible if spawning multiple nodes since they all rely on the same config file20:07
lazyPowercorrect, unless you want to deploy named ceph nodes20:21
mbruzekKupo24z, If you use a more recent source with the ceph charm you are able to use a directory as the storage device.20:23
mbruzekKupo24z, I ran into a problem where the block devices were difficult to create, so I set the "source" configuration option to "cloud:precise-updates/havana" which gives you a more recent ceph20:25
mbruzekKupo24z, With that version of ceph I was able to specify another config option 'osd-devices' to a non existing directory "/srv/osd/" and ceph created a block device there.20:27
Kupo24zmbruzek: wouldnt that create additional overhead if you are going through the filesystem for ceph storage?20:31
Kupo24zeg partition -> ext4 -> ceph vs partition -> ceph20:32
mbruzekyes but I thought you were asking how to create devices.  If you already have devices then you can safely ignore my comments.20:32
lazyPowermbruzek: thats good to know!20:38
lazyPoweryou told me that last week, however i forgot. WRiting that down.20:38
seepaHello, I'm trying to deploy juju-gui on local-provider (all in a lxc), but when I expose the service, agent-stat-info returns: '(error: error executing "lxc-clone": lxc_container: failed mounting /var/lib/lxc/juju-precise-template/rootfs onto /var/lib/lxc/juju-precise-template/rootfs; lxc_container: Error copying storage; clone failed)'21:26
seepaI'm running juju 1.18-0-trusty-amd6421:27
rick_h_seepa: you shouldn't need to expose things in the lxc environments. They don't support it21:28
seeparick_h_: oh, I see.21:29
seeparick_h_: The error occurs after juju deploy juju-gui.21:34
rick_h_seepa: oh hmm, yea looks like your error is with creating the lxc machine. I'm not sure on that end21:36
seepahow can juju even mount /var/lib/lxc/juju-precise-template/rootfs? /var/lib/lxc is owned by root rwx------ ...21:40
seepawell it can't, but tries to mount it21:41
Kupo24zSeems I cannot destroy a service if the relation is still open. Ive got Ceph as 'life: dying' however it just hangs there, probably because of an existing relation21:57
Kupo24zhowever when I try to remove the relation nothing happens, is there a force?21:57
joseKupo24z: what's the state of the service?22:24
Kupo24zjose: http://pastebin.ubuntu.com/7232718/22:28
lazyPowerKupo24z: show me the full output of your status23:05
lazyPowerif you haven't resolved it23:05
Kupo24zlazyPower: I just destroyed the environment and started over23:06
lazyPowerOk. If a dependent service that it's related to is in an error state23:07
Kupo24zNothing was in error state23:07
lazyPowerthat error will need to be resolved before that service will continue being destroyed23:07
Kupo24zIt wasnt removing a relation for some reason, no errors at all on juju status23:07
lazyPowerOk, if you run into it again ship me the full output listing from juju status and we can investigate from there23:08
lazyPowerlike, ping me. I'm half in half out tonight on IRC.23:08
lazyPowerjose: did you get that branch pushed?23:08
joselazyPower: yep, and MP updated23:38
lazyPowerjose: awesome. I'll take a look after i eat dinner.23:38
joseenjoy!23:38
lazyPowerthanks for the quick turn around and effort on that23:38
joseI hope it's something that actually works and follows the charm store policy23:38
lazyPowerIf it needs doctoring I'll be happy to doctor it up and submit a MP to your branch23:39
lazyPowerthen we'll poke matt or marco to take a look as confirmation23:39
joseawesome then :)23:39
=== CyberJacob is now known as CyberJacob|Away

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