/srv/irclogs.ubuntu.com/2016/03/28/#juju.txt

=== LibreSponge is now known as AuroraAvenue
Sophie_hellooooo09:18
Sophie_may I ask a question ?09:18
Sophie_I am trying to bootstrap juju on maas on a node but always I get an error that is says "dial tcp 127.0.0.1:80: connection refused"09:18
Sophie_my maas server is on localhost09:19
beisnerhi jcastro, can you squeeze these couple of 1-liners into your review?  tldr;  use `charm-proof`now instead of `charm proof`13:51
beisnerhttps://code.launchpad.net/~1chb1n/charms/trusty/mongodb/update-charm-proof/+merge/29019813:51
beisnerhttps://code.launchpad.net/~1chb1n/charms/trusty/ubuntu/update-charm-proof/+merge/29019613:51
jcastrobeisner: I've not done code reviews before, that time is usually for doc and AU reviews13:57
jcastrothough these seem so trivial I'll pair up with someone and learn the process13:57
beisnerjcastro, ah gotcha.   & thx :)13:58
=== cos1 is now known as c0s
arosalesmorning o/14:34
marcoceppi\o14:39
tych0hi everyone. if i just want a juju xenaial instance (on gce, if it matters), how do i do that? juju deploy cs:xenial/ubuntu gives me a "charm not found"15:38
cheryljtych0: juju add-machine --series xenial should work for you15:42
tych0cherylj: sweet, thanks!15:49
=== skr is now known as Guest57293
tych0hmm, although it puts me in the "error" state15:52
tych0how do i figure out what went wrong? juju debug-log -n50 -l DEBUG doesn't tell me anything15:53
tych0ah, juju status --format=yaml says something helpful,15:59
tych0no "xenial" images in us-central1 with arches [amd64]15:59
cheryljtych0: are you just trying to get a xenial machine?  I mean, can it be outside of juju?16:00
cherylj(and btw for the above error - maybe set the image-stream to daily?)16:01
tych0well, i want juju to know about it so i can test some lxd container type code16:01
tych0cherylj: yeah, that's what i probably need to do, but i don't know how to do that :)16:01
cheryljtych0: juju get-model-config | grep image-stream will tell you if / what it's set to16:01
cheryljtych0: then juju set-model-config image-stream="daily"16:01
cheryljif you need to change it16:01
tych0cool, thanks16:02
tych0how do i delete this failed machine?16:02
tych0remove-machine :)16:02
tych0cherylj: hmm. is the google provider busted?16:03
tych0oh, maybe not16:03
tych0http://paste.ubuntu.com/15540341/16:04
tych0Odd_Bloke: ^^16:04
tych0does that mean the gce daily streams are broken?16:04
josebeisner: ping16:21
beisnerhi jose16:21
josebeisner: hey, I see that you did a couple lint fixes on ubuntu and mongodb, are those intended for review by any charmer or by openstack charmers?16:21
joseI mean, I could take a look, but wouldn't want to touch them if you expect openstack charmers to review16:22
beisnerjose, yep they're not openstack-specific.  i think jcastro was going to have a go with the merge/review, but might be happy to have the first-available reviewer take it instead.  whaddaya say, jorge?16:24
josejcastro: if you want me to guide you through the process I'd be happy to16:26
rcjtych0: that daily should be usable: http://paste.ubuntu.com/15540787/16:32
cholcombetinwood, for your merge conflict you can just git review again and gerrit will merge and tell you which files to fix :)16:35
tych0rcj: ok, so this is a juju bug then?16:37
rcjtych0, ah, I see the problem16:40
rcjimage is in ubuntu-os-cloud-devel project, not ubuntu-os-cloud16:40
tych0rcj: ok, what does that mean? :)16:41
rcjtych0, well, to use the gcloud cli as an example, this would launch that image... gcloud compute instances create "gce-rcj-x2" --zone us-central1-c --machine-type g1-small --network "default" --boot-disk-size 10 --boot-disk-type "pd-ssd" --boot-disk-device-name "gce-rcj-x1" --image /ubuntu-os-cloud-devel/daily-ubuntu-1604-xenial-v2016032616:45
rcjtych0, the paste you had showed the image in /ubuntu-os-cloud/ which is where we put release images only, not daily.16:46
tych0rcj: so is it fair to say that,16:47
tych0ubuntuImageBasePath  = "projects/ubuntu-os-cloud/global/images/"16:47
tych0we need another constant like that that looks like,16:47
tych0ubuntuDailyImageBasePath = "projects/ubuntu-os-cloud-devel/global/images/"16:47
tych0?16:47
rcjyes16:47
tych0cool16:47
tych0ah, fuck.16:48
tych0looks like juju doesn't have access to the stream at that point maybe16:48
tych0rcj: thanks. i'll try to send a juju patch for htis16:50
tych0i'll close that CPC issue too, one sec16:50
tych0rcj: cherylj: https://github.com/juju/juju/pull/490217:19
c0skjackal_ kwmonroe cory_fu: I am looking into https://api.jujucharms.com/charmstore/v5/trusty/apache-spark-6/archive/config.yaml and just noticed the "yarn-client" execution mode for Spark17:36
c0sany reasons yarn-standalone wasn't used?17:36
c0sthis is the _driver_ execution mode17:37
iceyin juju 2, is there still an environment variable that can be set to control the controller/model for juju to connect to?17:39
kwmonroec0s: i think the 2 yarn options are yarn-cluster and yarn-client, and we went with client because we wanted to use yarn resources as workers, but keep the spark master separate from yarn.  had we used yarn-cluster, i believe that would use a yarn resource for the spark master as well.17:41
kwmonroec0s: unless yarn-standalone is new for spark > 1.5, in which case, i'm not sure what that does.17:42
c0skwmonroe: the diff between yarn-client and yarn-standalone is where the _driver_ be running, really.17:44
c0sin the case of yarn-client, it will be executed on the client host, which might be totally outside of the cluster. hence adding more network traffic, etc.17:45
cory_fukwmonroe: https://spark.apache.org/docs/0.8.1/running-on-yarn.html mentions yarn-standalone so it's not new.  But https://spark.apache.org/docs/latest/running-on-yarn.html doesn't mention it.  Is it perhaps an older spelling?17:45
c0sin yarn-standalone, the dirver will be co-located on a thread in Application Manager17:45
c0scory_fu: indeed, it isn't a new thing17:46
c0sI am not sure why Spark docs don't have it any more. In all honesty, I am not sure about many thing that Spark project does nowadays17:47
cory_fuc0s: Looks like the spelling of the options might have changed to --master yarn --deploy-mode {cluster,client,standalone}?17:47
kwmonroec0s: :)  cory_fu, i think you're right.  looks like our latest spark charm isn't up with the times: https://github.com/juju-solutions/layer-apache-spark/blob/master/lib/charms/layer/apache_spark.py#L10717:48
cory_fuHrm, no, I think --deploy-mode only accepts {cluster,client}17:48
c0soh, that's interesting17:48
kwmonroeiow, i don't think --master yarn-* is relevant in my read of the latest docs.  it needs to be --master yarn and --deploy-mode cluster|client17:48
c0sat any rate - if we are thinking of moving away from yarn deployment model, this whole discussion might be mott17:49
kjackal_http://spark.apache.org/docs/latest/running-on-yarn.html17:49
c0skwmonroe: perhaps --master yarn --deploy-mode cluster replaces the yarn-standalone thing. I could check the source code to make sure, if it is of any interest to anyone ;)17:49
kjackal_Thank you c0s please keep me in the loop17:50
kwmonroeit is indeed of interest to me c0s -- i'd like to get our --master fixed, because what we have now shouldn't work (unless i'm missing deprecation warnings)17:50
c0sindeed so .... https://github.com/apache/spark/pull/9517:51
c0syarn-standalone has been renamed17:52
c0splease accept my apologies for confusing the hell out of everybody17:52
kwmonroelol17:52
* c0s ducks17:52
* magicaltrout is permenantly in a state of confusion anywa17:53
c0skjackal_: however, it still might worth changing yarn-client to yarn-cluster in the scope of this discussion ;)17:53
kwmonroei think we're still not correct c0s.  we pass execution mode config setting as the --master $var, but in the latest docs form kjackal_, it seems any yarn mode needs --master yarn followed by another setting controlling what type of yarn mode we want.17:53
magicaltroutpermanently17:53
c0sI think you're right kwmonroe17:53
c0smagicaltrout: thanks, I feel better for at least not adding to your burden ;)17:54
kjackal_the "yarn-client" resolves to master=yarn and deploy=client17:54
c0syeah, that's what I am saying17:54
kjackal_let me try to find the doc I read about this17:54
c0sand deploy, I believe, needs to be cluster17:55
kjackal_but you are right it is the prefered way17:55
c0sI think --deploy-mode client is good for spark-shell and some such nonsenses17:56
kjackal_http://spark.apache.org/docs/latest/submitting-applications.html17:56
kjackal_yarn-clientEquivalent to yarn with --deploy-mode client, which is preferred to `yarn-client`17:57
kjackal_yarn-clusterEquivalent to yarn with --deploy-mode cluster, which is preferred to `yarn-cluster`17:57
cory_fuThat's an awfully non-committal deprecation note17:58
c0syeah, also this is what's important really17:59
c0s--deploy-mode: Whether to deploy your driver on the worker nodes (cluster) or locally as an external client (client) (default: client)  †17:59
c0salong with the foot-note17:59
kwmonroeso c0s, you're saying that you want this in cluster mode so both master (driver) and workers are in the yarn cluster.  i'm ok with that, but originally, we thought it might be best for the driver to be outside of yarn.  i'm not sure why.  probably flipped a coin.17:59
c0shere it is18:00
c0s† A common deployment strategy is to submit your application from a gateway machine that is physically co-located with your worker machines (e.g. Master node in a standalone EC2 cluster). In this setup, client mode is appropriate. In client mode, the driver is launched directly within the spark-submit process which acts as a client to the cluster. The input and output of the application is attached to the console. Thus, this mode is especially suitable for applica18:00
c0sas I said earlier: client mode will involve more network traffic and will require an alive connection between the client machine and the cluster to avoid loosing some output, etc.18:01
c0showever, it seems that in case where the client machine is co-located with the cluster - the deploy mode doesn't make much of a difference18:02
cory_fuDoesn't this only affect jobs that are run by the charm, in which case they *would* be co-located within the cluster?18:02
cory_fuAnd they mention it being "especially suitable for applications that involve the REPL (e.g. Spark shell)."  That seems like it would include the Zeppelin notebooks, no?18:03
c0swhat if the configuration from such charmed cluster is copied to an external client and used there then?18:03
c0sif you, however, frame the question like cory_fu does - then it makes sense to use client one, I guess18:04
c0sagain, apologies for crying wolf18:05
cory_fuc0s: Hrm.  I don't think we should be supporting copying the config like that.  For one thing, it will reference cloud-internal IPs for everything, which wouldn't work outside anyway.  Instead, we should probably have an action or something that gives you the config you need to use the cluster from an external client18:05
c0sfair enough, cory_fu18:09
kwmonroehey cory_fu, i'm working with Guest57293 (that's her given name).  what would cause something like this:18:27
kwmonroe update-status   File "/usr/local/lib/python3.4/dist-packages/charms/reactive/relations.py", line 255, in conversation 2016-03-28 17:42:32 INFO update-status     raise ValueError('Unable to determine default scope: no current hook or global scope') 2016-03-28 17:42:32 INFO update-status ValueError: Unable to determine default scope: no current hook or global scope18:27
kwmonroetrying to access a conversation from something like config-changed?18:27
cory_fuThat means your interface layer is not scope=GLOBAL and is using a method that requires a default conversation, like self.conversation(), self.get_remote(), etc.  IOW, you're asking it to tell you something about "this conversation" without it having enough information to know what conversation  you're talking about18:30
cory_fuThe conversation metaphor was intended to simplify things but I think ended up making things more confusing.  :(18:30
cory_fuI'd have to see the specific code in question, but self.get_remote(), self.set_remote(), or self.conversation() (singular) are the most common cause, and it generally means you need to instead have a "for conv in self.conversations(): conv.get_remote()" or similar loop.18:32
cory_fuLet me find an example18:32
magicaltrouta confusing metaphor in Juju?! no way!18:32
* magicaltrout is truely shocked18:32
magicaltrout-e18:33
cory_fuI think https://github.com/juju-solutions/interface-mapred/blob/master/provides.py is a fair example.  You'll notice that inside @hook decorated methods, it uses self.conversation().  That's because it's handling a specific relation hook, and so it knows what remote unit its talking to.  But in the other methods, it has to be aware that it could be talking about several different remote units at once, so it loops over the list of conversations and18:36
cory_fuhandles each one separately18:36
cory_fukwmonroe, Guest57293: If you can point me to the code that's causing the error, I can give more specific advice18:36
Guest57293Hi Cory, you can find the code here : provides.py : http://paste.ubuntu.com/15541870/18:42
Guest57293requires.py : http://paste.ubuntu.com/15541889/18:42
cory_fuGuest57293: Ok, so in provides.py, the scope.UNIT seems right because you might be providing NFS storage to several different clients.  However, that means that host_name has to send the hostname_storage to  every client, and nfsclient_ip might return several addresses, one for each client.18:46
cory_fuGuest57293: So, both of those need to use the "for conv in self.conversations():" loop, and nfsclient_ip I guess needs to return a list instead of one value18:47
Guest57293ok.18:49
Guest57293I had one more doubt, one I am having a relation between NFS Storage Server and n number of nfs clients. For the first unit of nfs client, all states and values are set, which is fine.18:51
Guest57293But for the second unit , the previous state values are retained, so it directly enters the @when condition. How can I reset my state values and variables ?18:52
Guest57293for nfs client units18:53
cory_fuGuest57293: So, there are two approaches to that for the interface layer.  My preferred approach is for the interface layer to set the states according to what is connected / available, and then have the charm use things like "data_changed" to figure out if something changed and needs to be responded to19:02
cory_fuGuest57293: The other approach is more what you're talking about, which is to set the state when something happens and then remove the states once its been processed.  In that case,  you'd need to add an "acknowledge_client" method on the interface which would remove the states.19:03
cory_fuGuest57293: The downside of that approach is that you then can no longer ask the interface layer "what are all the connected nodes", for instance.19:04
cory_fuBut maybe you don't need that and the other approach might simplify your charm.19:04
magicaltroutmarcoceppi: i have a charm in the review queue with ancient tests so it flags red19:04
magicaltrouta) does that matter? b) can I do anything about it or do I just wait?19:05
marcoceppimagicaltrout: do you want another test run?19:05
magicaltroutbe nice19:05
magicaltroutthey run in bundletester19:05
Guest57293thanks cory19:05
magicaltroutbut I have no clue how that translates to the real thing19:05
marcoceppimagicaltrout: which charm?19:05
marcoceppimagicaltrout: bundletester is what we run in the test env19:05
magicaltroutyeah, but a lxc juju 1.2 instance != the canonical test env ;) saikuanalytics-enterprise19:06
marcoceppimagicaltrout: heh, which charm?19:06
magicaltrouthttps://jujucharms.com/u/spicule/saikuanalytics-enterprise/trusty/619:07
marcoceppimagicaltrout: I just rekicked the test19:07
marcoceppithey old19:08
magicaltroutta19:08
magicaltroutyeah, i assumed that dumping your charm back into the review queue would re-test the charm19:08
magicaltroutbut that assumption was invalid :)19:08
marcoceppimagicaltrout: it will in new review queue! but not in current one19:14
magicaltroutsupposedly this new review queue will also write my charm for me....19:14
cholcombemake lint keeps catching me ridin dirty haha20:11
gQuigsis there a charm config way I missed to disable SSLv3 /RC4 in  juju-gui or openstack-dashboard  (also asked if charms should just do that by default in -dev)20:18
durschatz1What is the best way to find out the exact steps taken to upgrade the openstack  neutron-dhcp-agent?  I'm not sure who the charmer is to ask.20:23
deanmanI'm having layer-docker charm failing to install properly during install hook. Is debug-hooks the proper way to debug this ?20:26
kwmonroedeanman: you could do debug-hooks on the failed unit, then "juju resolved --retry <unit>" in another terminal to manuall run the install hook.  or you could "juju debug-log --include <unit> -n 100" to see the last 100 lines of unit log.20:50
marcoceppigQuigs: https://jujucharms.com/juju-gui/#charm-config-secure that seems to be what you want, though it may not work in the gui charm20:58
deanmankwmonroe: Thanks, i found the problem.21:02
deanmanIs deploying a layer-docker inside an lxc a bad practice? I'm trying to learn how to deploy my custom docker images  but it seems that they are failing when deploying on a wily lxc container using the layer-docker charm template/21:03
kwmonroedeanman: lazyPower or mbruzek know for sure, but i didn't think docker inside lxc containers worked.21:04
kwmonroe(sorry, i don't know why, but think i've heard that recently.  i should probably be quiet)21:05
lazyPowerdeanman - it works only if (that i myself have verified, others may work but i havent vetted them):  you're on xenial installing the docker.io package   inside a lxd container21:05
lazyPowerand yeah, docker inside lxd totally works if you do the above :)21:05
deanmankwmonroe: How would you propose to work a local dev machine then with docker ?21:05
lazyPowerthe default fs type needs to be changed to overlay as well, vs the default of aufs. I believe there's still some tweaking that needs to happen to the docker profile.21:06
deanmanI have local bootstrap VM deploying into lxc21:06
lazyPowerah also, you have to fire up that lxd image w/ the docker profile to disable the appropriate cgroups.21:06
lazyPowerdeanman - i haven't had any luck in that method :(21:06
lazyPowerdeanman - what we've done i the past, is use juju 1.25 w/ local: kvm21:07
bdxIs anyone else having issues with filing bugs on launchpad?21:07
mbruzekdeanman: what Ubuntu version is your VM?21:07
bdx-> https://www.dropbox.com/s/vl3hac0ns9kvcwg/Screen%20Shot%202016-03-28%20at%202.04.56%20PM.png?dl=021:08
deanmanlazyPower: i think i saw somewhere juju nagging about my cpu not supporting KVM or something (running MacOS and then vagrant to host my juju env)21:08
lazyPowerah yeah, hypervisor in a hypervisor21:08
mbruzekbdx: there is a #launchpad channel on IRC21:09
lazyPowereven if it did work, the performance would be abysmal21:09
deanmanmbruzek: wily6421:09
bdxmbruzek: sweet, thx21:09
mbruzekdeanman: I have only got it two work with xenial21:09
deanmanmbruzek: Would it be stable enough to do my juju learning and invite colleagues to participate ?21:10
lazyPowerdeanman - if you dont have a local configuration to work with, you can registher for the charm developer program and we'll give you some AWS credits to dev with21:10
mbruzekdeanman or is lxc a requirement?21:10
deanmanlazyPower: by local configuration you mean a non-virtualised ubuntu environment right ?21:12
deanmanmbruzek: My only requirement is how to port a product we have in docker into juju and share the magic with my colleagues :-)21:13
lazyPowerdeanman - Right. If you have spare hardware there's a few options available to you as well, such as setting up a single server to run juju w/ kvm to work on docker workloads until we've gotten a stable docker-running-in-lxd story.21:13
lazyPowerdeanman - but to start, here's the form for the charm developer program: https://developer.juju.solutions/21:13
mbruzekdeanman: OK. Yeah LXD/LXC can run together, but that is really coming together for 16.04 (yet unreleased)  and the experience is not great. You can sign up for the developer program to use amazon21:15
mbruzekwhere you get a full vm and it will run docker, lxc whatever21:15
mbruzekI have an early copy of 16.04 (xenial) on my laptop and have been able to run Docker inside LXC, but not through Juju yet.21:16
mbruzekI was able to run this manually21:16
mbruzekI use the local kvm provider with Juju 1.25 with much success.21:17
deanmanso for docker workloads you either deploy on a bare machine e.g. --to 1 or if you want to pack more using --to kvm:x ?21:17
gQuigsmarcoceppi that just makes it not in plain text, I want it to use modern SSL..  thanks though21:18
lazyPowerdeanman: correct21:18
mbruzekdeanman: actually give me "juju version"21:19
lazyPoweronly we dont use --to kvm:x, the local:kvm provider routes all "machine" requests through the kvm installation, and spins up vm's that act as bare metal.21:19
mbruzekhttps://jujucharms.com/docs/stable/config-KVM21:19
deanmanmbruzek: 1.25.3-wily-amd6421:19
mbruzekThis works with juju 1.25, use ^ document to set up the kvm provider21:20
mbruzekThen you can deploy all the docker workloads you want21:20
deanmanThat's for the remote juju deployment/workflow. For local dev i'll have to wait for xenial ?21:21
deanmanor at least in my case running mac21:22
lazyPowerdeanman - yep, and possibly a bit longer21:22
lazyPowerwe're still exploring and piloting running docker based workloads in lxd21:22
mbruzekdeanman: That is our local provider setup.  I don't own a mac so I can't tell you if kvm will work with your vm solution21:23
deanmanmbruzek: on a linux based pc for local dev. KVM is fast enough ?21:24
mbruzekdeanman: Are you doing vagrant to get wily64 ?21:24
deanmanmbruzek: Yeap! Using vagrant to ease the whole process and to introduce it to a wide audience, mostly windows machines and less linux.21:24
mbruzekdeanman: KVM is awesome fast. But if you are using a mac, you are doing virtualization, and then kvm (another virtualization) it wouldn't be what I would choose21:25
mbruzekaisrael: lazyPower: can vagrant vms do KVM inside them?  I have heard parallels can.21:25
mbruzekbut I don't know vagrant.21:26
deanmanmbruzek: vagrant -> virtualbox21:26
mbruzekdeanman: Then that should work, the setup for the local provider is pretty simple/easy.21:26
mbruzekyou will know for sure soon enough.21:26
mbruzekdeanman: If that does not work sign up for the developer program that lazyPower referenced and you can get some free amazon creds.21:27
mbruzekdeanman: my w540 laptop has linux on it,  have ubuntu installed, and then configure the local kvm provider and it is crazy fast.21:28
mbruzekthrough juju21:28
mattraehi, is it possible to change how Juju generates the hostnames of LXC containers (i.e. juju-machine-1-lxc-10) to avoid having duplicate names if managing mulitple juju environments with the DNS domain?21:29
mbruzekmattrae: you would have to contact a core developer on that one.21:32
mbruzekmattrae: how are you getting a duplicate name?21:33
mattraembruzek: thanks mbruzek. i need to do more testing, it happens reportedly by having multiple environments on the same maas server, both environments will use juju-machine-1-lxc-1 for their first container on machine 121:36
mbruzekmattrae: I see now. This is not something I have ever tried, and don't know how to do.21:36
mbruzekmattrae: I once ran 2 lxc providers on the same machine and was able to change the ports of juju so they would not collide, but not the names of the instances21:37
deanmanmbruzek: following the kvm guide your shared and it complains about "failed verification of local provider prerequisites: kvm ok is not installed"21:37
mbruzekdeanman: `sudo apt-get install juju-local`21:38
mattraembruzek: cool thanks for the suggestions :)21:38
mbruzekdeanman: you may also need to install kvm, let me check the packages that I have installed21:38
deanmanmbruzek: i think it's not supported on macos21:39
mbruzekdeanman install it on your wiley6421:39
mbruzekdeanman: if the juju-local does not install qemu-kvm you should install that too21:39
mbruzekbut I think it should21:40
deanmanmrjazzcat: "KVM acceleration can NOT be used" when running kvm-ok inside the vm21:40
deanmanmbruzek: "KVM acceleration can NOT be used" when running kvm-ok inside the vm21:40
mbruzekdeanman: that means kvm will run slow, but I suspect it will still run21:41
mbruzekdeanman: Some virtualization technologies do not run nested virtualization. On Ubuntu I am able to run KVM within KVM21:41
deanmani think it didn't like it when defined inside environments.yaml (container: kvm)21:42
mbruzekdeanman: what was the error?21:42
mbruzekdeanman: juju would give you an error when you tried to bootstrap, if you got an environments.yaml error I suspect a yaml format error21:43
deanmanmbruzek: "ERROR there was an issue examining the environment: failed verification of local provider prerequisites: kvm-ok is not installed. Please install the cpu-checker package."21:43
mbruzekapt-get install cpu-checker21:44
deanmanmbruzek: cpu-checker is installed ;-)21:44
deanmanminor bug21:44
mbruzekOK21:44
mbruzekwell then sign up for the developer program and use aws21:44
mbruzekI apologize this didn't work, I am not mac savvy21:45
deanmanok it did go forward and was able to deploy juju-gui on a new machine (guessing KVM)21:45
mbruzekvirsh list --all21:45
mbruzekthat will show the kvm machines on the ssystem.21:47
deanmanmbruzek: empty but after bootstrapping a local provider inside a vm and issuing juju deploy juju-gut i saw a new machine being added and the charm actually deploying21:47
deanmanhad to use sudo though for virsh, that's the expected way right?21:48
mbruzekdeanman: yes but you can add the user to the virsh group and use virsh commands21:48
deanmanwould sudo report something different? no entries on virsh21:49
mbruzekdeanman: no sudo would give you everything21:49
deanmanmbruzek: ok so I'm not running that charm inside kvm, where am i running it then ? :-021:50
mbruzekdeanman: did you specify kvm when you bootstrapped? I suspect you might be in lxc21:51
deanmanmbruzek: nope, no kvm or lxc reference whatsoever while bootstrapping or in environments.yaml21:52
mbruzekdeanman: http://pastebin.ubuntu.com/15544632/21:53
mbruzekThat is what my virsh list --all looks like21:53
deanmanhttp://pastebin.ubuntu.com/15544671/21:54
mbruzeklocal in this case is lxc21:54
mbruzeksudo lxc image list21:55
deanmanand this is my environments http://pastebin.ubuntu.com/15544688/21:55
mbruzekwhere was your kvm configuration21:55
mbruzek?21:55
deanmanit was in that environments.yam file but removed when it complained during bootstrap21:56
mbruzekdeanman: That is LXC then: https://jujucharms.com/docs/stable/config-LXC21:56
mbruzekYou will not be able to use docker within those LXC containers.21:57
deanmanmbruzek: yeah it seems so...21:57
mbruzekThe gui will deploy and other charms should work fine, just Docker does not play nice with the wily code21:57
mbruzekI have to get going soon, I recommend the developer program and use aws21:58
mbruzekdeanman: https://developer.juju.solutions/21:59
mbruzekand ping marcoceppi once you fill that out, then you can use a real cloud22:00
deanmanmbruzek: Thank you22:03
mbruzekdeanman: you are welcome good luck.22:09
LiftedKiltIs there a way to specify the series in the lxc containers that are created? For example my maas default deploy is xenial, and I want all my servers to be xenial. If I need to deploy a charm that doesn't support xenial, can I have juju request a new xenial server, and deploy the charm in a trusty container?22:31
marcoceppiLiftedKilt: you can create a xenial machine then tell juju to put a trusty lxc on int22:34
marcoceppijuju add-machine --series xenial22:34
marcoceppithat gives you, say machine 822:34
marcoceppijuju deploy trusty/juju-gui --to lxc:822:35
LiftedKiltmarcoceppi: awesome - that's exactly what I was hoping for22:35
LiftedKiltmarcoceppi: is there a way to deploy it without first adding the machine or specifying which machine I want it on?22:36
marcoceppiLiftedKilt: not entirely22:38
marcoceppiLiftedKilt: are you looking to do this in a bundle?22:39
LiftedKiltmarcoceppi: potentially, but not exclusively22:39
LiftedKiltmarcoceppi: was hoping for a way to be able to "juju deploy charm --to lxc:" and let it pick a machine or create one as it sees fit22:40
LiftedKiltmarcoceppi: essentially I want to be able to deploy charms without worrying about series, and have juju create the appropriate containers to faciliate those charms22:43
LiftedKiltmarcoceppi: with the intention of deploying every charm to a separate container22:44
marcoceppiLiftedKilt: that's a great idea, but not one that exists today23:14
LiftedKiltmarcoceppi: haha well that's a bummer23:27
marcoceppiLiftedKilt: it's not a bad idea to reply to the 2.1 roadmap email about it23:27
LiftedKiltmarcoceppi: I think I can make do without, but it would definitely make things easier23:27
marcoceppi--to lxc: would be nice23:27

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