/srv/irclogs.ubuntu.com/2017/02/20/#juju.txt

=== Tyrantelf_ is now known as Tyrantelf
=== danilos` is now known as danilos
AnkammaraoHI , frankban07:24
Ankammaraocharm release giving error "ERROR cannot release charm or bundle: unauthorized: access denied for user "achittet""07:25
Ankammaraois this beacase of user issue , please help to resolve this issue07:25
deanmanaxw, ping!07:33
axwdeanman: pong?07:33
deanmanaxw, thanks for looking into this bug :-). I still get the same error -> http://paste.ubuntu.com/24032595/07:39
deanmani need juju build as well >07:39
deanman?07:39
deanmanbuilt*07:39
axwdeanman: try passing "-u" to go get, to pull the latest source07:40
axwdeanman: latest source for juju-tools that is07:41
deanmanok got i!07:43
deanmanaxw, do you need to have an lxd image running already or you could also do `juju deploy <centos7charm>` and it will work the same?07:45
axwdeanman: it should not need to add-machine first07:50
axwdeanman: juju deploy centos7-charm should work just as well07:50
kjackalGood morning Juju world!08:01
=== frankban|afk is now known as frankban
frankbanAnkammarao: hey, what's the output of "charm whoami"08:41
Ankammaraofrankban : User: achittet Group membership: ibmcharmers08:48
frankbanAnkammarao: and what command are you using for releasing the charm?08:49
Ankammaraofrankban : charm release cs:~ibmcharmers/xenial/ibm-db2-008:49
Ankammaraofrankban : with resource charm release cs:~ibmcharmers/xenial/ibm-db2-4 --resource ibm_db2_installer-008:51
frankbanmhilton: could you please help? ^^^ ibmcharmers have write permission on the charm, achittet is part of ibmcharmers but gets: "ERROR cannot release charm or bundle: unauthorized: access denied for user "achittet"" when trying "charm release cs:~ibmcharmers/xenial/ibm-db2-0"09:23
frankbanAnkammarao: could you please try to log into jujucharms.com as achittet ?09:24
Ankammaraofrankban: You're logged in as achittet09:25
Ankammaraofrankban : logged in to jujucharms.com but no use , still i am getting the same issue09:26
mhiltonAnkammarao, hi, what does charm whoami tell you? does the list of groups include idmcharmers?09:27
frankbanmhilton: already asked, see above: User: achittet Group membership: ibmcharmers09:28
Ankammaraomhilton : yes listed include ibmcharmers09:30
mhiltonfrankban, Ankammarao: OK It looks like that charm is promulgated (at least the trusty one is) The current behaviour is that only members of ~charmers can publish promulgated charms to the stable channel (frankban please correct me if I've got that wrong)09:33
frankbanmhilton: ah, yes, we should probably return a better error message09:40
Ankammaraomhilton : that charm ealrier pushed to charm store with different user and series(trusty)09:41
Ankammaraoand now i am trying to push it for xenial series09:41
mhiltonAnkammarao, yes the charmstore applies the same rules to all charms that have the same name and owner. The different series is just seen as a variation of the same charm. you should be able to publish to any other channel (such as development or edge). In order to publish to the stable channel however we will need to find somebody who has the permission to do it. frankban do you know who is allowed off the top of your head?09:45
frankbanmarcoceppi ^^^09:46
Ankammaraomhilton : even i have tried with the same user who pushed to the trusty charm earlier , but we are getting the same error09:51
kjackalHi Ankammarao, frankban, mhilton, If you have ibm-db2 promulgated you should submit a new revision request to push an update09:57
mhiltonAnkammarao, yes it's nothing wrong with your new user, just bacause the charm is deemed as being in the global namespace (promulgated) only trusted users are allowed to publish new ones.09:57
mhiltonAnkammarao, depending on what you are trying to do (for example if you want to test the charm) you can still publish to other channels. see the --channel flag on publish.09:58
kjackalAnkammarao: frankban: mhilton: since the promulgated charm is released from the stable channel from your namespace, non-charmers lose any access rights they have on that channel (stable)09:59
frankbanthanks kjackal09:59
Ankammaraomhilton, so now i can push the charm to other channels like edge10:13
mhiltonAnkammarao, yes it's only the stable channel that becomes restricted on promulgated charms.10:15
Ankammaraomhilton, i pushed to cs with edge channel and now i am unable to view the charm in the charm store10:19
Ankammaraoit still showing the trusty charm only10:19
mhiltonAnkammarao, I think it is this one https://jujucharms.com/ibm-db2/xenial/4, IIRC the search will only return charms in the stable channel, as that's what most users are likely to want to find.10:23
mhiltonAnkammarao, If the charm is ready to be pushed into the stable channel then you'll need to submit a new revision request as kjackal said earlier (although I don't know how you do that)10:24
kjackalAnkammarao: mhilton: Submitting a new review request is done through this interface: https://review.jujucharms.com/reviews10:27
mhiltonkjackal, thanks10:27
Ankammaraomhilton , kjackal, frankban : thanks for your help10:30
kjackalAnkammarao: what is the charmname+revision of the charm you pushed to edge?10:31
Ankammaraokjackal : charmname = ibm-db2, charm-revision=410:32
kjackalAnkammarao: this charm seems to be xenial only (https://jujucharms.com/ibm-db2/xenial/4) is this what you want?10:33
Ankammaraokjackal: yes, exactly10:34
kjackalAnkammarao: Wouldn;t you prefer to have a multiseries (trusty and xenial) for your promulgated charm?10:34
kjackalAnkammarao: Are you dropping the support for trusty?10:35
Ankammaraokjackal : no we need for both series10:37
kjackalAnkammarao: Have you considered the series field in your metadata.yaml? You can set there series: ['xenial', 'trusty'] so you get the same charm available in both trusty and xenial10:40
kjackalhttps://jujucharms.com/docs/2.0/authors-charm-metadata10:40
Ankammaraokjackal, yes i have mentioned both series in the metada.yaml10:41
kjackalAnkammarao:I am not sure why I see the charm only for xenial. I would expect to see both xenial and trusty as supported platforms.10:44
kjackalAnkammarao: Have alook at this charm: https://jujucharms.com/apache-hadoop-plugin/trusty/1510:44
kjackalAnkammarao: Right after "By bigdat-charmers" you see both trusty and xenial10:45
Ankammaraokjackal: i would have push to both series , i will try to push it again for both xenial and trusty10:48
kjackalAnkammarao: if you have a multiseries charm you do not need to specify a sieries when you do the push10:49
kjackalAnkammarao: it should eb just "charm push "10:49
Ankammaraokjackal: ok, got it thank you10:50
magicaltrouthow are you   .12:07
magicaltroutnice12:07
magicaltroutstupid lag12:07
magicaltrouthow are you supposed to move resources around, jujuresources.install() ?12:08
magicaltrouthttps://github.com/USCDataScience/sparkler/blob/master/sparkler-deployment/juju/sparkler/reactive/sparkler.py#L34 I have that12:11
magicaltroutand https://github.com/USCDataScience/sparkler/blob/master/sparkler-deployment/juju/sparkler/resources.yaml#L212:11
magicaltroutand it doesn't do anything12:11
magicaltroutno errors or execution statements in the logs12:11
magicaltroutjust silent failure12:11
magicaltroutkjackal: any idea?12:17
kjackalhello magicaltrout, reading... just a sec12:25
magicaltroutcory_fu should be awake by now, he can shed light on it :)12:33
kjackalmagicaltrout: I think its public holidays in the US12:34
magicaltroutpfft12:34
magicaltroutstupid americans12:34
kjackalSo... we are not talking about juju resources12:35
kjackalthese are "old style resources"12:35
magicaltrouter right12:35
magicaltrouti googled juju charms resources12:35
magicaltroutthats what i got :)12:35
magicaltroutbut, it also want something thats not bundled with the charm12:36
magicaltroutof cource I could just download it using standard python, i was just assuming I was sticking with the current ecosystem12:36
magicaltroutcource/course12:37
kjackalmagicaltrout: do you want to give juju resources a try? Here is how they work: https://jujucharms.com/docs/2.0/developer-resources12:38
magicaltrouti have to bundle the resource with the charm though don't I kjackal ?12:39
kjackalYou essentialy declare the resources in metadata.yaml and then at deployment time you can do a juju attach resource12:39
magicaltroutno then :)12:39
magicaltroutI'll just grab it using standard python stuff12:40
kjackalYou have to upload a default (potentialy dummy) default resource12:40
kjackalSo for the "old style" resources have a look here: https://github.com/juju-solutions/layer-apache-zeppelin/blob/master/lib/charms/layer/apache_zeppelin.py#L8612:41
kjackalWhich I think is what you are doing12:42
magicaltroutdon't worry about it, i have that stuff, but the install does nothing12:42
magicaltrouti'll just use urllib12:42
kjackalhttps://github.com/juju-solutions/jujuresources/blob/master/jujuresources/backend.py#L10612:44
kjackalmagicaltrout: is it possible the verification is failing?12:45
magicaltroutmaybe its not exactly high on the debug log entries though is it :)12:46
magicaltroutdon't worry about it kjackal we'll move to new resources eventually12:47
magicaltroutI'll still with urllib12:47
magicaltroutstick12:47
kklimondacan I change LXD image server?13:30
kklimondait seems to be defaulting to cloud-images.ubuntu.com13:30
=== lazyPower changed the topic of #juju to: http://summit.juju.solutions || https://review.jujucharms.com/ || https://jujucharms.com/docs/ || http://goo.gl/MsNu4I || Youtube: https://www.youtube.com/c/jujucharms
=== hml_ is now known as hml
bdxmagicaltrout: https://gist.github.com/jamesbeedy/c5c2dc96dc517e03ebbde44da5fffa8f15:36
eeemilHello, does anyone know how MaaS relates to "juju expose" and/or how I can set up networking on MaaS for enabling expose/unexpose functionality?16:00
bdxeeemil: good question, I'm not sure the 'expose' command does anything on the maas provider ....16:01
bdxeeemil: maas doesn't control any kind of port based security, so I'm guessing the 'expose' commnd doesn't have any function there16:02
bdxis cross-model-relations available under a feature flag somewhere?16:17
kwmonroebdx: rick_h probably knows ^^, but in case he's out for the holiday, you might try asking in #juju-dev as well.16:23
rick_hbdx: yes, in 2.2 though. The in dev stuff.16:28
rick_hbdx: there might have been some bits in 2.1 but you want to stick around trunk.16:29
erlonfolks, how do I make the bootstrap instance to use a proxy?16:30
erlonIve used all proxy, since setting env to using juju model config, but I still getting this error: http://paste.openstack.org/show/599699/16:30
bdxrick_h: yeah ... just looking forward .... I want to prep my charms for XMR :-) :-) :-)16:30
rick_hbdx: heh, good news is should need anything. Just support the relation endpoints.16:31
bdxrick_h: so, if I pull down 'develop', its not behind a feature flag or anything?16:32
bdxrick_h: how do I "support the relation endpoints"?16:32
kwmonroeerlon: there's bootstrap config and model config.. for my proxy madness, i do this to get 'em all set:16:32
kwmonroejuju bootstrap --config http-proxy=$http_proxy --config https-proxy=$https_proxy --config no-proxy=$no_proxy --model-default http-proxy=$http_proxy --model-default https-proxy=$https_proxy --model-default no-proxy=$no_proxy localhost16:32
kwmonroeerlon: above, i have $[http|https|no]_proxy eniron vars already exported16:33
erlonkwmonroe: right that is for setting both the bootstrap and the model configs right?16:34
erlonkwmonroe: is there a way to set the proxy after the bootstrap is created?16:34
kwmonroeerlon: you could try "juju switch controller; juju model-config [http|https|no]-proxy=foo"16:35
erlonkwmonroe: I only have 1 controller16:36
rick_hbdx: sorry, off today running errands so erratic IRC times. I think it's still behind a flag in develop, and by support the relation endpoints I mean if the relation works in a model it'll work across them.16:37
erlonkwmonroe: ill try to create another controller using this command you suggested16:37
rick_hbdx: no special charm-fu at this time.16:37
kwmonroeright erlon, "juju switch controller" means "make the bootstrap/controller model active".  and then the subsequent "juju model-config x=y" would set the config on that active model.16:37
erlonkwmonroe: does this no-proxy configuration adds the juju-controller net automatically or I have to manually set?16:38
bdxrick_h: no worreies16:38
bdxrick_h: lets say I have mysql in model foo, and wordpress in model bar .... so `juju add-relation foo:mysql bar:wordpress` ?16:39
kwmonroeerlon: i manually set it in my env to the lxd subnet... it's ugly, but i do this in my .bashrc:  export no_proxy=`echo localhost 10.44.139.{1..255} | sed 's/ /,/g'`16:39
kwmonroewhere 10.44.139.x is my lxd subnet16:39
erlonkwmonroe: if a run juju model-config  with no arguments it shows the list with the parameters that I need there, I believe that is enough to guarantee that it is using what I set right?16:39
rick_hbdx: basically yes. I think the model name on the local item can/is left off.16:39
bdxahh, nice16:40
kwmonroeright erlon - if 'juju model-config' shows the right stuff, that's all you should need.16:40
erlonkwmonroe: that is in the juju client container? or inside the boostrap?16:40
=== scuttlemonkey is now known as scuttle|afk
kwmonroeerlon: that's from my laptop's term (my juju client).  here's my full rundown:  http://paste.ubuntu.com/24034672/16:43
erlonhmmm, kwmonroe, nice16:44
eeemilbdx: Thanks for the answer!17:09
bdxeeemil: np17:09
bdxrick_h: http://paste.ubuntu.com/24034870/17:09
bdxI guess I'm not sure exactly what the syntax is there17:09
=== CyberJacob_ is now known as CyberJacob
bdxrick_h: an application doesn't seem to know about applications in other models via juju-gui either  https://imgur.com/a/ILxcX17:12
bdxpossibly it is behind a flag?17:12
rick_hbdx: yes behind the flag.17:15
rick_hBdx the colon is the correct syntax17:16
bdxrick_h: whats the flag?17:16
rick_hbdx: let me check17:17
bdxrick_h: possibly "consume"? https://github.com/juju/juju/commit/73924d924b49b501b0249a612741f922d46224be17:18
bdxand/or find-endpoints17:18
rick_hbdx: see pm17:19
erlonkwmonroe: maan, love you!17:21
erlonkwmonroe: thanks very much!17:21
erlonkwmonroe: are you from ubuntu?17:21
kwmonroeerlon: glad it helped!  i do work for canonical, but my parents might take offense if i said i was 'from ubuntu' ;)17:33
kwmonroeerlon: you're not the first to get tripped up by the bootstrap vs model proxy settings.. i'll write something up for https://jujucharms.com/docs/2.0/models-config in case others could benefit from an example.17:35
erlonkwmonroe: ow,, sorry haha, did know that difference17:36
erlonkwmonroe: hmm, that would be nice. I would suggest that. Another thing that would be very valuable, is a global view of how the ubuntu deploying tools works17:37
erlonkwmonroe: like, autopilot, juju, maas, etc,17:37
erlonkwmonroe: it is very hard to find a way to put all those pieces toguether17:38
kwmonroeahh, yup erlon, i'll make a note of that too for our docs.  thanks for the feedback!17:38
erlonkwmonroe: welcome17:40
erlonkwmonroe: for example, now the maas says the the nodes are deployed, but what do I do now? haha, do you know any link for a how to with juju? I was following an certification guide that doest not explain this part17:42
kwmonroeerlon: you lost me at "what do i do now?".  if juju is bootstrapped with your maas env, you can just start deploying charms/workloads, as described here: https://jujucharms.com/docs/stable/getting-started#deploy-applications17:48
kwmonroeerlon: can you link me to the certification guide you're following?  maybe that would help me understand what you're up to.17:49
erlonkwmonroe: , hmm, sorry, I went ahead of what you said, I did that, deployed the controller, and then after run a charm 'juju deploy cs:bundle/openstack-base-48 --show-log'17:49
kwmonroeah - cool erlon!  did the deployment show any errors?17:51
erlonkwmonroe: Canonical & Juniper Contrail Lab Solutions Guide Prepared17:52
erlonkwmonroe: I received from our allience partner at Cananical17:52
erlonkwmonroe: theres no errors17:54
kwmonroeerlon: how about "juju status"?  does that look ok?17:55
erlonkwmonroe: hmm, interesting17:55
erlonkwmonroe: hold on17:55
erlonkwmonroe: http://paste.openstack.org/show/599709/17:56
erlonkwmonroe: vms (4) have only 4GB of ram, I wonder if that is enough17:57
kwmonroeerlon: you have reached the limit of my knowledge -- i'm really not sure about vm/ram reqs for the openstack-base bundle.    would you mind joining the #openstack-charms channel, posting your paste, and asking if your env meets the minimum specs?18:01
erlonkwmonroe: sure, I will, but juju status revealed a lot of useful information18:02
erlonkwmonroe: like, where will be the dashboard18:03
kwmonroeah yes erlon -- 'juju status' is definitely the first place to check for details about a deployment18:04
julenHi there! Is there any tutorial for installing juju on a server which already has MaaS on it?18:15
julenThe "juju generate-config" is not there anymore, and everything I find is build on LXD. But following the instructions I get conflicts between LXD and MaaS (as they both run on the same machine)18:17
erlonkwmonroe: is there a clean way to stop all and re-start? there are some services that seems to be stuck: http://paste.openstack.org/show/599710/18:20
erlonkwmonroe: or should I wait more?18:20
kwmonroeerlon: checkout "juju debug-log --tail"18:22
kwmonroeerlon: if that doesn't produce any output for a few minutes, then it might be stuck.  if it looks busy, i'd wait more.18:23
erlonkwmonroe: yeah, still running, but Ill delete the deployment increase the memory and restart again after it finishes18:25
kwmonroeerlon: you don't need to be nice to it.  you can do "juju destroy-controller cloud-name-hds-4 --destroy-all-models" to tear it down even if it's not done.18:26
kwmonroeit doesn't feel pain :)18:27
erlonkwmonroe: hmm, nice, much better :)18:27
erlonkwmonroe: Im so happy it went off that I dont want to hurt it lol18:27
kwmonroeone thing to mention erlon18:28
kwmonroei'm assuming you don't have any other models on the cloud-name-hds-4 controller18:28
* kwmonroe should have asked that earlier18:28
kwmonroethe --destroy-all-models flag will tear down the entire controller.. just fyi.18:28
=== GoosGoarch is now known as ayan
erlonhmm, no I dont18:39
erlonkwmonroe: hmm, it seems it have finished now, what is the url of the dashboard?18:43
erlonkwmonroe: it says dashboard is in: openstack-dashboard/0*    active    idle   3/lxd/2  192.168.51.78   80/tcp,443/tcp  Unit is ready18:44
erlonkwmonroe: but I only can see a standard apache welcome18:44
erlon192.168.51.78/dashboard also has nothing18:45
erlonkwmonroe: wait, nevermind, log says there still things being configured18:46
kwmonroeerlon: not 100% what URLs are available to you, but the openstack-base readme makes me think it's http://192.168.51.78/horizon - see towards the end of this page: https://jujucharms.com/openstack-base/18:47
erlonkwmonroe: hmmm, there it is the requirements, sorry about filling you up with questions, own you a beer18:48
kwmonroe:)  np erlon18:49
erlonkwmonroe: have you been to the OpenStack summit?18:49
kwmonroei haven't erlon.  should i go to the next one to cash in on my free beer?18:50
erlonkwmonroe: haha, I asked because beers don't  have much value in the Summits, they are usually given at free for everyone, you should definitely go18:51
kwmonroewell, "free for everyone" is not the same as "free, hand-delivered by erlon".  i'll mark my calendar :)18:53
erlonkwmonroe: owww nice!! Ill be in the one in Sidney, meet me there :)18:54
erlonkwmonroe: one more question and I let you live, the bubble page says me to source novarc, but I don't know where juju save those scripts18:59
=== ayan is now known as ayan-afk
kwmonroeah yes erlon, i see that too.  just above the section where it says "source novarc" it asks you to "download this bundle ... all commands are executed from within the expanded bundle".  to do that, see the upper-right box on that page -- the "Files" box, and click the "Download .zip" link to grab the bundle.19:03
kwmonroeerlon: alternatively, wget/curl the link, as in "curl https://api.jujucharms.com/charmstore/v5/openstack-base/archive -o ~/bundle.zip", then unzip it.19:04
erlonkwmonroe: hmm, sweet19:04
kklimondaI have a problem with deploying openstack charms keystone (so far) is not configured with mysql vip, and not all 3 controller nodes are granted access to keystone db.19:10
kwmonroekklimonda: i'm not sure many openstack charmers are monitoring this channel today (it's a US holiday).  you might have more success in the #openstack-charms channel.19:13
kklimondaoh, didn't know there was a separate channel19:14
kklimondathanks19:14
kwmonroenp19:14
andrew-iiI have a maas node that keeps getting stuck at "pendning" when allocating LXD containers. Is there a way to get LXD debug info when it (almost?) attempts to create a container?20:53
andrew-iiThe command `cat /var/log/lxd/lxd.log` just shows a half-hearted attempt to get a xenial image and then... nothing ever happens after that.20:54

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