/srv/irclogs.ubuntu.com/2016/09/26/#juju.txt

=== SaMnCo_ is now known as SaMnCo
=== petevg_ is now known as petevg
=== dooferlad_ is now known as dooferlad
=== mpontillo_ is now known as mpontillo
=== Tribaal_ is now known as Tribaal
=== X-Istence is now known as x58
madhukarHi All, I am using juju 2.0-beta15. I am trying to deploy a charm bundle. Inside the charm bundle there are few charms which I have pointed to my local charm directory.06:24
madhukarThis is how I have pointed to the local directory:06:25
madhukar  cassandra:     charm: local:trusty/cassandra06:25
madhukarand I have updated the $JUJU_REPOSITORY env variable06:25
madhukarWhen I deploy this charm, I am getting the below error06:26
madhukarERROR cannot deploy bundle: cannot resolve URL "local:trusty/cassandra": unknown schema for charm URL "local:trusty/cassandra"06:26
madhukarAm I missing something here06:26
madhukar?06:26
hloeungmadhukar: what does $JUJU_REPOSITORY point to?06:28
hloeungand within $JUJU_REPOSITORY, is the charm present as 'trusty/cassandra' (so trusty directory followed by cassandra)?06:28
madhukarubuntu@juju-api-client:~$ echo $JUJU_REPOSITORY /home/ubuntu/juju/06:28
madhukaryeah I have trusty directory followed by cassandra06:29
hloeunghmm, not sure then. Maybe 'juju --show-log --debug' might show something more helpful06:30
madhukarok let me try that06:30
=== frankban_ is now known as frankban
Rajithhi, In ubunt 14.04, getting error: The requested backend 'zfs' isn't available on your system (missing tools).07:20
Rajithif I try to install zfsutils-linux, getting error unable to locate package zfsutils-linux.  Let me know how to install zfs file system on ubuntu14.0407:23
=== Guest26208 is now known as CyberJacob
=== gnuoy` is now known as gnuoy
junaidaliHi everyone, I'm deploying a single-controller cluster with juju 2.0 on xenial but percona-cluster seems to have issues. After sometime, other openstack services are not able to connect to mysql. To solve, i have to restart mysql service. There isn't any networking issue as I had deployed single-controller bundle with juju 2.0 on trusty several times on the same setup. Has anyone else facing this issue? or any  idea what might be the cause?09:14
rockHi. On juju version, 2.0-rc1-xenial-amd64 I want to deploy a charm bundle. Inside charm bundle several charms are there. I want to point one of the bundle charm to local charm directory. For that How can I exactly edit the bundle.yaml?10:42
zeestratrock: Try just using "charm: /path/to/local/charm" instead of "charm: cs:xenial/ceph-mon-3"10:47
rockzeestrat: Oh. Thank you.10:48
rockzeestrat: Am I need to change $JUJU_Repository?10:49
rockI mean am I need to update  $JUJU_REPOSITORY environment variable?10:51
zeestratrock: I don't think so if you use an absolute path, but I can't say for sure. P.S. It can be helpful to run juju deploy with the --debug flag to get a bit more info on where Juju is looking for bundle/charms10:53
rockzeestrat: OK. Thank you.10:54
rockHi. I have a question. I have openstack-on-lxd setup with juju version 2.0-beta15. So now I want to enable multipath on nova service deployed LXD container  and cinder service deployed LXD container using our own "cinder-storage" driver charm. But we are facing an issue. http://paste.openstack.org/show/582934/11:06
rockhow to resolve this please?11:06
rockHi. # apt-get install multipath-tools --yes   this command is failing on LXD containers. Please anyone tell me the reason for this.11:44
rick_h_rock: I'm not familiar with the package, but it looks like it might run afoul of the security settings/apparmor bits that allows lxd containers to be isolated cleanly11:46
=== rogpeppe is now known as rogpeppe1
=== rogpeppe1 is now known as rogpeppe
rockrick_h_: Thank you for your information. Am I need to change kernal level security settings? But the same package working fine in 16.04 and 14.04 machine.11:50
rick_h_rock: in a lxd container?11:50
rick_h_rock: because containers have a shared kernel, there's a lot of work into locking things that could cause issues there.11:51
rick_h_rock: it might be worth engaging the upstream lxd team on this for better details11:51
rockrick_h_: Oh. Thank you. How can approach upstream lxd team?11:52
rick_h_rock: check out https://linuxcontainers.org/11:52
rick_h_rock: if you go into the lxd xection there's irc, mailing list, etc11:52
rockrick_h_: Thank you.11:54
zeestratrick_h_: Are you guys still aiming for compatibility between RC's so you can upgrade between them?11:54
rick_h_zeestrat: yes, very much so11:54
zeestratrick_h_: Good to hear. Thanks.12:01
=== freyes__ is now known as freyes
=== verterok` is now known as verterok
lazyPowercmars: yo lmk when youre ready for another round of refresh, i think we have the ingress lb sorted as well12:57
=== mhall119_ is now known as mhall119
cmarslazyPower, cool. i'm having trouble with hacking on local builds of the master & worker charms. system seems to thrash like mad when i upload that 1gb resource :(13:25
lazyPowerwell, yeah13:25
cmarslazyPower, how do y'all develop on them?13:25
lazyPowerwait13:25
lazyPower1gb resource?13:25
lazyPoweryou're repacking the release tarball right?13:25
cmarslazyPower, um13:26
cmarslazyPower, no?13:26
cmars:)13:26
lazyPowerI sent over a bash script to take that kubernetes releae tarball and split out a worker/master resource package :D13:26
cmarsLOL13:26
cmarsok13:26
cmarswow13:26
lazyPowerlol sorry i wasn't too specific on details, something about deadlines, no time, and lack of sleep13:26
cmarsno worries13:26
lazyPower1 sec i'll re-gist13:26
cmarsi'm just hackety-hacking on an experiment13:26
lazyPowerhttps://gist.github.com/fa4a1dca1d313967609bc07183bb272a13:26
cmarslazyPower, thanks, will take a look13:27
cmarsotoh, i've possibly found a nice way to stress jujud for future profiling >:)13:27
lazyPowerhaha sick13:35
lazyPowercmars: yeah actually we can tank an rc1 container pretty consistently13:35
lazyPowercmars: around deploy 30/40 of these k8s bundles in succession the controller seems to go unresponsive during a resource upload, and its not clear why13:36
lazyPoweri want to get more time to dig into it and fetch the logs and submit a bug, none to report so far...13:36
=== rye_ is now known as ryebot
=== pmatulis_ is now known as pmatulis
=== scuttle is now known as scuttlemonkey
=== hatch_ is now known as hatch
=== lutostag_ is now known as lutostag
=== hatch is now known as Guest72453
=== Guest92615 is now known as zeus
=== BradCrittenden is now known as bac
=== hatch_ is now known as hatch
geethaHi, `juju get-config` command is unrecognized in juju-2.0 rc1.14:43
tvansteenburghgeetha: it's just `juju config` now (changed in beta18)14:46
geethaok, thank you tvansteenburgh..:)14:50
madhukarHello14:57
rick_h_howdy madhukar14:57
madhukarI am trying to install juju 2.0. However when I try to add the ppa, its giving me the below error14:57
madhukarubuntu@juju-api-client:~$ sudo add-apt-repository ppa:juju/devel  Cannot add PPA: 'ppa:~juju/ubuntu/devel'. ERROR: '~juju' user or team does not exist.14:58
rick_h_there's a firewall issue atm and wonder if that's causing you issues14:58
rick_h_madhukar: the network is working to get corrected atm14:58
axinoyes this is because of a network outage we're having14:58
axinowe're working on it14:58
rick_h_ty axino14:58
madhukarThanks for the update :)14:58
axinosorry for the inconvenience14:58
madhukarNo Problem!15:00
madhukarAny link from where I can track this issue?15:02
axinomadhukar: I'm afraid not15:02
madhukarhmmm!   Is it possible for somebody to update in this group?15:03
rick_h_madhukar: there's folks notifying on the launchpad and the juju-gui twitter handles15:03
rick_h_madhukar: will do15:03
madhukarok thanks15:03
=== rick_h_ changed the topic of #juju to: Welcome to Juju! || Jujucharms.com unavailable due to firewall issue. || Docs: http://jujucharms.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://review.juju.solutions || Unanswered Questions: http://goo.gl/dNj8CP || Youtube: https://www.youtube.com/c/jujucharms || Juju 2.0 rc release notes: https://jujucharms.com/docs/devel/temp-release-notes
madhukarrick: I m able to add the ppa and install juju 2.0. Thanks for the help!15:22
rick_h_madhukar: glad it's coming back up15:23
=== daniel3 is now known as Odd_Bloke
=== kadams54 is now known as kadams54-lunch
lazyPowerrick_h_: ^5 on getting the topic16:08
stokachucould probably remove that part now16:11
stokachuseems it's all back up16:12
* rick_h_ thought he did16:12
=== rick_h_ changed the topic of #juju to: Welcome to Juju! || Docs: http://jujucharms.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://review.juju.solutions || Unanswered Questions: http://goo.gl/dNj8CP || Youtube: https://www.youtube.com/c/jujucharms || Juju 2.0 rc release notes: https://jujucharms.com/docs/devel/temp-release-notes
stokachu\o/16:12
lazyPowercory_fu: i wrote an action in python and need that magic syspath bit that reactive gives me. can you refresh me on what that looks like?16:17
lazyPoweroh i meant updating from beta18 in topic to rc16:18
lazyPowerstokachu: also, hey, we have new kubes16:18
lazyPowerstokachu: wanna give conjure a go and make sure it works as expected?16:18
stokachulazyPower: yea ill do a run now16:19
lazyPowerstokachu: ok hang on16:19
lazyPowerwe have an edge channel bundle16:19
lazyPowerit fails to resolve elasticsearch when you punch in juju deploy cs:~containers/canonical-kubernetes --channel=edge though16:19
lazyPoweri have no idea why16:19
stokachulazyPower: i should update https://github.com/conjure-up/spells/blob/master/observable-kubernetes/metadata.yaml#L5 right?16:19
stokachupoint to canonical one?16:19
lazyPoweror just juju deploy canonical-kubernetes --channel=edge16:19
lazyPoweryep16:20
stokachuok16:20
mbruzekI don't have any idea either, we do have elasticsearch-18 in the store, but I can't get it to deploy out of a bundle.16:20
lazyPowerobservable-kubernets has been deprecated in favor of "Canonical distribution of Kubenetes"16:20
lazyPowerstokachu: make sure you use those words, but properly spell kubernetes16:20
lazyPowerit was apparently a big deal last week16:20
stokachucool ill get it renamed16:21
stokachudeploying now16:25
=== kadams54-lunch is now known as kadams54
stokachulazyPower: mbruzek http://paste.ubuntu.com/23234120/16:36
stokachuso far so good16:36
mbruzekstokachu: cool16:37
mbruzekyou attached the resources or is this a charm store deploy?16:37
stokachuyea this is basically your juju deploy bundle16:37
lazyPowernice16:38
lazyPoweri think16:38
lazyPower:D16:39
stokachui can do the upgrade-charm with resources if you want16:39
stokachuto test that16:39
stokachulooks like i hit an issue with etcd though: http://paste.ubuntu.com/23234120/16:41
stokachuhttp://paste.ubuntu.com/23234147/16:41
stokachu^ sorry that one16:41
=== frankban is now known as frankban|afk
mbruzekstokachu: That is an old bundle, we have a new one that splits master / worker16:49
lazyPowerstokachu: yeah thats been fixed in the latest etcd. no longer running via rendered shell, i'm using the etcd python api libs16:49
stokachuhttps://api.jujucharms.com/charmstore/v5/canonical-kubernetes/archive/bundle.yaml16:50
lazyPowerstokachu: so, this bundle we push this afternoon will land in stable channel, should be nbd then.16:50
stokachuthats the bundle im using is there another one16:50
stokachuah ok16:50
lazyPoweri dont think thats our edge channel bundle16:50
stokachuyea it's just stable16:50
lazyPowerand the store makes it hard to view bundles in different channels16:50
stokachugotcha, yea conjure-up doesn't support edge either16:50
stokachuok just ping me here when that bundle is in stable and ill rerun16:51
lazyPowerok will do stokachu, thanks for TAL so quickly16:52
kwmonroehey lazyPower mbruzek, kibana's action is called 'load-dashboard', but i see 'deploy-dashboard' in a couple places (https://jujucharms.com/u/containers/beats-core and chuck's blog: http://insights.ubuntu.com/2016/09/22/monitoring-big-software-stacks-with-the-elastic-stack/).  i don't mind fixing, but how would you like to do it?  symlink deploy->load in kibana, or update the beats-core readme and blog post(s)?16:57
mbruzekkwmonroe: yeah write a bug for it, so we don't forget16:59
kwmonroeack16:59
mbruzekkwmonroe: symlink would be fine so we don't have to change the blog, but we should also change the readme to be correct.17:01
mbruzekso both17:01
mbruzekgood find, sorry for the bug17:01
=== Guest68174 is now known as med_
lazyPowerkwmonroe: its a config option these days. probably prefer to load dashboards via config eh?17:32
kwmonroehard to say lazyPower, mostly because i don't know kibana very well.  dashboards via config might get dicey if i want beats today and beats plus something else tommorow.  in that case, would i config set dashboards="foo bar beats"?  if i forget "beats" in that string, do those dashboards go away?  if dashboards are meant to be "load once, available forever", then i think an action is appropriate.17:41
kwmonroejuju my $0.0217:41
kwmonroeer, *just17:42
lazyPowerkwmonroe: its load once, available forever in both contexts17:42
lazyPowerwe supported the config option for bundle deployment to setup the dashboards.. but you bring up an important note17:43
lazyPowerwe have introduce immutability into our config17:43
lazyPower*introduced17:43
kwmonroessssshhhhhhhhhh... mbruzek will hear.17:43
lazyPowerit needs to be said17:43
CorvetteZR1hi.  i got openstack up and running with openstack-base-xenial-mitaka charm17:44
CorvetteZR1i can log into the dashboard, but when i go to containers, i get an error:  Unable to get the Swift container listing.17:44
CorvetteZR1how do i configure this?  how do i log into the servers juju configured?  i can't ssh to them...17:45
lazyPowerCorvetteZR1: juju ssh charm/unit#17:51
lazyPowereg: juju ssh swift/017:51
CorvetteZR1cool, gonna try that17:52
CorvetteZR1trying to figure out which box it's on :D17:53
CorvetteZR1ah, it's one of the ceph boxes which failed to deploy...17:53
CorvetteZR1i can ssh to the node, thanks for the tip lazyPower17:55
CorvetteZR1not sure if i'll be able to fix my issue from here, but i'll see what i can find :)17:55
lazyPowerCorvetteZR1: happy to help, just let us know, or reach out over the mailing list if nobody seems to be around that knows the answer18:01
lazyPowerprotip: juju@lists.ubuntu.com18:01
CorvetteZR1cool, thanks18:01
lazyPowertvansteenburgh: standup ping18:02
charles2nick lazyPower18:14
=== charles2 is now known as lazyPower
=== natefinch is now known as natefinch-afk
SivaI used an yaml file to deploy with juju2.0 and it worked fine20:25
SivaI am trying the same yaml file with juju1.25 and deployed it using juju-deployer20:26
SivaI am getting the following error20:26
Sivaubuntu@juju-1-25-api-client:~$ juju-deployer -c contrail-trusty-3.0.2.1-4-liberty-cs-edit2.yaml -d 2016-09-26 19:58:24 [DEBUG] deployer.cli: Using runtime GoEnvironment on maas 2016-09-26 19:58:24 [ERROR] deployer.cli: Deployment name must be specified. available: ('machines', 'relations', 'series', 'services')20:26
SivaAny idea what is wrong here?20:26
SivaAny help is much appreciated20:27
rick_h_Siva: last year we updated the bundle format to v4 and juju 2.0 uses that. See https://blog.jujugui.org/2015/08/13/bundles-bundles-bundles/20:28
Sivadoes it mean juju-deployer does not support format v4?20:29
rick_h_Siva: it does support the v4 format20:31
rick_h_Siva: sorry, I read that backwards20:31
rick_h_Siva: that you had an old bundle that juju 2.0 would not accept20:32
rick_h_Siva: what version of 1.25? and maybe you need to s/applications/services in the bundle to get it to work on 1.25?20:32
SivaThis is my juju version20:34
Sivaubuntu@juju-1-25-api-client:~$ juju --version 1.25.6-trusty-amd6420:34
rick_h_Siva: right, what does the bundle look like?20:34
rick_h_Siva: services were renamed applications in 2.0 so if it's "applications" I don't know if the deploy will remap that for you20:34
SivaIt looks like this20:37
Sivahttp://pastebin.ubuntu.com/23235034/20:37
SivaThis is not the full yaml file but something like this20:37
SivaThis is not the full yaml file but something like the above20:37
Sivarick_h_: Are u able to look at the yaml file pasted in pastebin?20:40
SivaWhat should I change there to make it work with Juju 1.2520:40
lazyPowerstokachu: ping re: kubernetes being ready for a go20:45
Sivarick_h_: Do you want me to paste the full yaml file? Please let me know20:47
rick_h_Siva: hmm, ok yea that looks about right20:54
rick_h_Siva: not sure on the series outside20:54
rick_h_Siva: that might be what's confusing it20:54
SivaDo you mean the 'series:trusty20:56
SivaDo you mean the 'series:trusty' in the very first line?20:56
rick_h_Siva: yes, try without that?20:57
SivaOK. Tried. I am still getting the same error20:58
rick_h_Siva: hmm, ok. so the error from the deployer is fussing about the keys21:01
SivaWhat does that mean?21:02
rick_h_Siva: sorry, on the phone. I mean to double check the keys are named matching the deployer error21:04
Siva@rick_h_, yes all the keys are available in yaml file21:08
Sivaso don't know why it is complaining that it must be specified21:08
kwmonroeSiva: are you running this?   juju-deployer -c contrail-trusty-3.0.2.1-4-liberty-cs-edit2.yaml -d21:21
kwmonroeSiva: was able to able to start the deploy with your pastebin'd yaml.  looked ok to me (it eventually failed on undefined relations, but i attribute that to not being your full yaml file).  anyway, i'm running juju-1.25.6-trusty-amd64 and  juju-deployer-0.9.0~bzr193~58~ubuntu14.04.121:31
Sivakwmonore:  yes I ran the command 'juju-deployer -c contrail-trusty-3.0.2.1-4-liberty-cs-edit2.yaml -d'21:41
SivaI am using the following version of juju-deployer21:42
Sivaubuntu@juju-1-25-api-client:~/.juju$ dpkg -l | grep deployer ii  juju-deployer                    0.6.4~bzr168~49~ubuntu14.04.1    amd64        A tool to deploy complex stacks of services using juju21:42
Siva0.6.4~bzr168~49~ubuntu14.04.121:42
SivaI am using the same version of juju 1.25 you are using as well21:43
SivaHow do I install the version of juju-deployer you are using?21:44
kwmonroetvansteenburgh: Siva's asking about juju-deployer v0.9.  i got that from your ppa.  is that the best place to grab it?21:48
kwmonroe...backscroll for context21:48
kwmonroeSiva: unless tvansteenburgh says different, you can get 0.9 with:  add-apt-repository -y ppa:tvansteenburgh/ppa21:50
SivaOK. I will try with the version you are using an see if it works21:52
SivaI feel may be the version of juju-deployer I am using is having some issues21:52
kwmonroeyeah Siva, the error message you got ("Deployment name must be specified"), sounds an awful lot like juju-deployer isn't recognizing your v4 bundle format.  not sure when that support was introduced, but i know that juju-deployer-0.9 definitely supports v4.21:54
Sivakwmonore: I destroyed my existing container and doing it fresh. Give me 10 more mts. I will update you22:10
Sivasorry for the delay22:10
veebersalexisb: Do you have the link for the bug filed by OIL you mentioned in the stand up? (race condition with adding/removing/listing models)22:11
alexisbveebers, yes22:15
alexisbveebers, https://bugs.launchpad.net/juju/+bug/161821222:18
mupBug #1618212: juju models fails during model destruction <oil> <oil-2.0> <juju:Triaged> <https://launchpad.net/bugs/1618212>22:18
alexisbthumper, I will jump back on the call22:18
veebersalexisb: sweet thanks, I think this is the bug I see as well22:19
Sivakwmonroe: Thank you so much. I am not getting that error anymore22:27
SivaIt is deploying it now22:27
Sivaso the version of juju-deployer you pointed out has support for the v4 bundle format22:27
kwmonroeglad it's working Siva!22:48
magicalt1outliar22:49
=== magicalt1out is now known as magicaltrout

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