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

=== Zetas_ is now known as Zetas
stubx58: yes05:34
x58stub: Unfortunately adding a layer.yml doesn't fix the ignore issue :-(05:37
stubx58: I don't think there is anything else I can do in the apt layer. You might need to make a local fork and remove README.md from it until it can be addressed in charm-tools.05:42
stubMaybe this is why nobody else documents their layers ;)05:43
x58stub: README.md is also coming from the layer:basic :P05:46
x58If I only have a single layer I pull in layer:basic for example, ignore works just fine, if I pull in multiple layers, things go sideways.05:46
x58rm build/mycharm/README.md :P05:47
x58before doing a charm push . works :P05:47
x58stub: Appreciate the work you do :-)05:48
=== petevg_ is now known as petevg
kjackalHello Juju World!06:57
=== frankban|afk is now known as frankban
KpuCkoyesterday everyting went fine with juju, today im started new installation, same way as yesterday, but when i try to deploy application is got: panic: unknown channel "edge"08:27
KpuCkogoroutine 1 [running]:08:27
KpuCkopanic(0x1a24400, 0xc8200d7320)08:27
BlackDexHello there, if i install neutron-gateway via juju (trusty-liberty) the neutron-gateway doesn't have l3 agent installed.08:33
zeestratKpuCko: What version of Juju are you on?08:39
KpuCko2.008:51
KpuCkozeestrat http://pastebin.com/MBusU0U508:53
zeestratKpuCko: It looks like you might be on the beta15 release. There was an update to the charm store which breaks that release (https://blog.jujugui.org/2016/08/30/jujucharms-com-updated-with-new-channel-support/). I suggest you update your Juju to beta16.08:56
KpuCkohow to update?08:56
KpuCkoim using ubuntu 16.04 lts with the repository package08:57
KpuCkoi do apt-get update && apt-get upgrade, and juju stay with the same version08:57
KpuCkosame issue when i add latest stable release ot juju with ppa repository08:58
zeestratKpuCko: Ah, I see. Juju is currently transitioning to version 2.0, but it is still in beta release. Unfortunately due to the transition the current default docs and packages in the stable repository are a bit of a mess. If you want to continue to use Juju 2.0 beta releases, then I suggest you add ppa:juju/devel repo and install beta16. Otherwise you can09:04
zeestratinstall juju-1.25 package which is the current stable one.09:04
PCdudemagicaltrout: I have a trouble with JUJU now....09:05
PCdudehttp://imgur.com/BCOZSpC09:05
PCdudeany idea?09:05
rock__Hi. How can I set bugs-url and homepage  for my newly developed charm? Please anyone respond to this.09:06
PCdudeI think the environments.yaml is wrong, but I have no idea what is wrong with it09:06
PCdudemagicaltrout:  the rest of it: http://askubuntu.com/questions/819506/juju-bootstrap-fails-with-openstack-cloud-installer09:20
babbageclunkPCdude: The screenshots you're posting don't show the error. Can you put the log file you're showing in nano on a pastebin (like paste.ubuntu.com) instead?09:34
kivilahtioHi! I am trying to add a Raspberry pi running Raspbian-linux as a new machine to to my juju model. juju add-machine ssh:pi@xxxx tells me that it cannot find provisioning script. How can I add a provisioning script? I cannot find a clear place in the source code where the provision scripts are generated?09:36
kivilahtioI tried to make my Raspbian to idnetify itself as a 'xenial' instead of 'jessie', but still i get the same error. Maybe it is because of the ARM-architecture?09:37
kivilahtioI am using juju 2.0beta1509:37
kivilahtioI would like to start using juju in our whole server infrastructure, but Raspberry Pi-based monitoring devices are part of that and I would like to control the lifecycle of the software therein using juju actions09:38
PCdudebabbageclunk: here is the pastebin: http://pastebin.com/42JXtMmD . this is the output of ~/.cloud-install/*.log09:39
kivilahtioI would imagine if I add the Raspberry Pi as a new machine to my model, then deploy a charm to the machine, I should be able to manage them  using juju?09:39
PCdudebabbageclunk:  the error what I get is the above one in this question: http://askubuntu.com/questions/819506/juju-bootstrap-fails-with-openstack-cloud-installer09:40
kivilahtiowithout actually instantiating any virtualization in the Raspbian itself09:40
=== degville is now known as degville_
=== degville_ is now known as degville
babbageclunkPCdude: The juju output (the line starting "Problem during bootstrap") is still truncated - it looks like you cut and paste from within nano?09:42
babbageclunkPCdude: If you install pastebinit you can paste a file directly without needing to cut and paste it.09:43
PCdudebabbageclunk:  sorry that is all there is.. maybe I can higher the verbose level?09:43
babbageclunkPCdude: no, I'm sure there's more in the file, it's just that the line is long so nano isn't displaying it.09:44
PCdudebabbageclunk: yup u are right, I thought I copied all of it09:45
PCdudebabbageclunk:  let me make another pastebin09:46
PCdudeone second09:46
babbageclunkPCdude: use pastebinit - it's a command-line util that will let you put the whole file into the pastebin.09:46
PCdudebabbageclunk: here is the pastebin: http://pastebin.com/ujM62KZH09:47
PCdudebabbageclunk: I will install that program next, did not know that exsisted09:47
PCdudebabbageclunk: is that enough information?09:56
babbageclunkPCdude: sorry, on a call10:01
PCdudebabbageclunk: np, I am just curious what the problem is so I can fix it10:04
KpuCkozeestrat  thanks a lot10:11
PCdudebabbageclunk: I am afk for20 minutes, but I am back after that10:11
babbageclunkPCdude: I reformatted the last bit of the Juju output http://paste.ubuntu.com/23119674/10:13
babbageclunkYou can see that downloading the agent failed because it couldn't get to https://streams.canonical.com/juju/tools/agent/1.25.6/juju-1.25.6-trusty-amd64.tgz10:14
PCdudedoes that mean the node does not have internet?10:14
babbageclunkI can download that, so possibly there's a connectivity problem on your end?10:14
babbageclunkPCdude: I think so10:14
PCdudebabbageclunk: uhm strange, if u look a little earlier in the dump file, u can see it is reaching for the ubuntu archives and it gets there too10:16
PCdudewhen I click the link of JUJU it works on my own PC, so no firewall crap or something like that10:16
babbageclunkHmm, not sure then10:17
PCdudeI will aquire a node in MAAS and try to download that package manually, just to check that it can get there10:17
babbageclunkPCdude: I was just about to say the same thing10:18
babbageclunkI think maas does some proxying for apt packages, so that might be working while general connectivity from a node to the internet isn't.10:19
PCdudebabbageclunk: uhm good point, that is true.10:20
PCdudeMAAS is deploying a node as we speak10:20
PCdudebabbageclunk:  ok it is deployed how do I login again with the SSH key? (been some time haha)10:36
babbageclunkPCdude: I think you had to specify a public key in maas?10:36
PCdudeyeah did that, only forgot the last letter of the key.... I am in10:37
PCdudeand bingo, it can't get to the internet10:38
PCdudebabbageclunk:  the server with MAAS installed has internet, but the nodes should route through that node10:40
babbageclunkPCdude: can it resolve DNS? Something I always forget is to set the upstream DNS - under Settings in the MAAS UI.10:42
PCdudebabbageclunk:  haha, just what I was checking and yes it can resolve DNS it can also ping the gateway, but just not to the outside10:43
PCdudelet me check the settings again10:43
PCdudemaybe some stupid setttings10:43
babbageclunkPCdude: Ok, sounds like you're on it10:44
PCdudebabbageclunk: at least thanks for the help, I will try some stuff and will keep u updated10:45
babbageclunkPCdude: :)10:45
=== ant_ is now known as Guest4912
PCdudebabbageclunk: how can I manage routing in MAAS?11:06
babbageclunkPCdude: I'm not sure, sorry11:07
PCdudebabbageclunk: every apt command can indeed reach the internet. pings to the gateway succeed and dnslookups succeed too. ping an ip address outside the LAN fails and also to a hostname11:09
babbageclunkPCdude: is the gateway for the subnet the nodes are on the IP of the controller, or the switch?11:12
babbageclunkPCdude: My knowledge gets a bit spotty here, you might need someone else's help11:13
PCdudeits the IP of the controller11:13
PCdudebabbageclunk:  ah ok, yeah the MAAS channel is pretty silent most of the time, maybe u know another channel?11:13
babbageclunkPCdude: You could try setting it to the IP of the switch instead (not sure that's right though).11:26
babbageclunkPCdude: You could ask on the maas mailing list?11:27
PCdudehttp://askubuntu.com/questions/717803/openstack-install-problem-with-juju-bootstrap/718820#71882011:28
babbageclunkPCdude: this is the point where I'd often ask dimitern ;)11:28
PCdudebabbageclunk: that sounds promising11:28
PCdudeuhm ok haha, I am gonna remember that name11:28
dimitern:)11:28
dimiternPCdude: I'm having a look now11:28
PCdudegood nice!11:28
dimiternPCdude: AFAIK MAAS 2.1, currently in recently release alpha1 has some support for managing routes via the API11:30
PCdudeah ok, well to try openstack and landscape I will need to stick to the 1.x version of MAAS11:31
PCdudeJUJU is still beta and does not work for me yet11:31
PCdudedimitern: but the link I provided might be a solution11:31
dimiternPCdude: but otherwise, earlier versions do the bare minimum, like allow you to specify different gateways for different subnets, which might not work that well11:31
PCdudedimitern: indeed, very very basic stuff only11:31
dimiternPCdude: if you only need to allow nodes to access the internet via NAT, that's easy - do basically what's described in that askubuntu answer11:32
PCdudeyeah, right now, that is sufficient, but I know myself pretty good with those things and I will be fucking around with those files within 1 week11:33
PCdudedimitern: are there maybe extra programs I can add to manage all that?11:33
dimiternPCdude: I'm sure there are more user-friendly ways to manage a firewall on linux than iptables CLI :), if that's what you're asking about11:34
dimiternbut usually I never bother with these11:35
PCdudedimitern: added the firewall rules, lets try again :)11:41
PCdudedimitern: and babbageclunk many thanks I have internet now on my nodes!11:53
dimiternPCdude: \o/ awesome! :)11:53
babbageclunkPCdude: woot!11:54
=== natefinch-afk is now known as natefinch
=== infinityplusb_ is now known as infinityplusb
magicaltroutah the chaos of my life14:15
magicaltroutnow to spin up demo #214:15
cholcombeis there a force flag for application removal?  I have an app that has no machines attached to it that i can't remove14:28
lazyPowernot that i'm aware of cholcombe15:13
lazyPoweranything in the logs associated with the application?15:13
cholcombelazyPower, lemme check15:15
cholcombelazyPower, nadda15:15
lazyPowersingle service left in teh model?15:16
lazyPoweris it related to anything?15:16
__szilard_csereyhi16:04
__szilard_csereyhi16:04
lazyPowercory_fu kwmonroe https://github.com/juju-solutions/charmbox/pull/5516:06
lazyPowerneed an express on this if we can land it before seman comes in we'll have CWR fixed in time to intercept todays runs with a working build16:06
cory_fulazyPower: Am I reading that right that installing snaps depends on systemd?16:07
lazyPoweryep16:08
cory_fu...16:08
lazyPowerwell at least system logging16:08
cory_fuWhy?16:08
cory_fu*sigh*16:08
lazyPowerthere's no init, so theres no logging socket16:08
lazyPowersame issue we ran into with conjure-up that stokachu  fixed16:08
lazyPoweri'll get a bug filed and xreference16:08
lazyPowerand we can follow up on teh snappy list16:08
magicaltroutI need to NAT juju gui from LXD to an external port16:12
magicaltroutnot websocket protocol16:12
magicaltroutwhat have i forgotten?16:12
magicaltroutactually ssh portforward may suffice16:13
magicaltroutnope16:14
magicaltroutgaa annoyance16:14
magicaltroutoh it does16:15
magicaltroutif i pass the full url16:15
lazyPowernice16:15
magicaltrouthttps://ibin.co/2taneCgvEp1T.png16:17
magicaltrouttonights demo16:17
magicaltroutall in LXD16:17
cory_fulazyPower: Reviewed and tested.  +116:18
lazyPowernice magicaltrout16:18
lazyPowercory_fu ta, waiting for mbruzek to give final +1 and we'll cut a release16:18
lazyPowerperfect, merged and cut16:32
lazyPowerthanks for the help gents *hat tips*16:32
magicaltroutany idea on this one lazyPower16:47
magicaltroutThe following errors occurred while retrieving bundle changes: cannot read bundle YAML: cannot unmarshal bundle data: yaml: unmarshal errors: line 1: cannot unmarshal !!str `xenial` into charm.legacyBundleData16:47
magicaltroutexported my stuff16:47
lazyPowererr16:47
magicaltroutand tried to import it16:47
lazyPowerpastebin the bundle?16:47
magicaltrouton a new controller16:47
magicaltrouthttp://paste.ubuntu.com/23120903/16:47
lazyPowerimported via the gui i presume?16:48
magicaltroutsame juju installation , just exported my lxd model and wanted to import it into a aws one16:48
magicaltroutyeah16:48
lazyPowerok hang on16:49
lazyPoweri'm trying from cli first16:49
lazyPowerthen i'll try import into a gui16:49
=== frankban is now known as frankban|afk
magicaltroutcommand line works lazyPower don't worry about it16:54
magicaltroutgui bug i guess16:54
lazyPowerwell it appears to be a gui bug16:54
lazyPoweryeah16:54
lazyPowerwe should get that filed16:54
magicaltroutcan you do it, i'm well short on time before i need to head down16:54
magicaltrout(pretty please)16:55
lazyPoweryou betchya16:55
magicaltroutthanks16:55
lazyPowermagicaltrout - which log did you get that output from?16:55
lazyPowerbrowser or unit log on the controller?16:55
magicaltroutthe error message?16:55
magicaltroutits just spat out by juju gui to a warning modal16:56
lazyPowerok17:01
lazyPowermagicaltrout https://github.com/juju/juju-gui/issues/1966 and https://bugs.launchpad.net/juju/+bug/161938917:14
mupBug #1619389: juju-gui fails to parse exported bundle in beta-16 <juju:New> <https://launchpad.net/bugs/1619389>17:14
magicaltroutthanks lazyPower17:15
=== bcsaller_ is now known as bcsaller
lazyPowermagicaltrout - its apparently fixed, will come with the next release of hte gui17:16
magicaltroutk17:17
AnitaAnita17:19
magicaltroutthat you are!17:20
=== Anita is now known as Guest46979
Guest46979I am getting following error17:20
Guest46979root@ptcvm3:~# juju bootstrap local.lxd-test localhost Creating Juju controller "local.lxd-test" on localhost/localhost Bootstrapping model "controller" Starting new instance for initial controller Launching instance ERROR failed to bootstrap model: cannot start bootstrap instance: unable to get LXD image for ubuntu-xenial: The requested image couldn't be found. root@ptcvm3:~#17:20
Guest46979during juju boorstrap17:20
Guest46979any idea, why I am getting17:20
magicaltroutsomeone else had that yesterday17:21
magicaltrouti think the solution was to make sure you're on beta1617:21
Guest46979beta16 has already an issue17:21
lazyPowerGuest46979 - update juju-2.0 by adding the devel ppa, and then running sudo apt update && sudo apt upgrade juju-2.017:21
Guest46979thats why I downgraded17:21
Guest46979to beta1517:21
magicaltroutthats beta's for you17:21
Guest46979Yes, Its beta1517:22
magicaltroutindeed17:22
magicaltroutwhich  doesn't work with lxd17:22
Guest46979beta15 does not work with lxd?17:22
magicaltroutnope17:22
magicaltroutbut beta 16 does17:22
Guest46979but in one of the other m/c i have beta1517:22
Guest46979which works fine17:23
lazyPowerGuest46979 - beta16 added the image fetching routine and made the entire lxd bootstrap experience more robust17:23
Guest46979lazypower_: do you suggest me to apply beta16?17:23
lazyPowerGuest46979 - yep, here's the release notes of what changed https://jujucharms.com/docs/stable/temp-release-notes17:24
=== lazyPower 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 || Charmer Summit Sept 12-14th http://summit.juju.solutions || Juju 2.0 beta-16 release notes: https://jujucharms.com/docs/devel/temp-release-notes
lazyPowercory_fu sorry i missed one https://github.com/juju-solutions/charmbox/pull/5617:26
lazyPowerwhen i tested i didn't give it a full bundletester test, and it failed miserably. http://ci.containers.juju.solutions:8080/job/Kube-Core-Bundle-Test/12/console17:26
lazyPowerbut that little bump to six seems ot resolve it17:26
Guest46979lazyPower_:ok let me try beta1617:27
cholcombeis there a way in actions.yaml to say i want the user to specify one parameter or the other but not both?17:44
cholcombei suppose i could make one the default17:44
marcoceppicholcombe: check jsonschema, not sure but probably17:51
cholcombemarcoceppi, yeah good point.  thanks17:54
iceybdx I deployed your vault, consul, and consul-agent charms but the vault charm didn't seem to work with my charm17:54
Guest46979lazyPower_:lxc config set core.https_address [::] , with this work around, finished bootstrapping.17:57
lazyPowerGuest46979 - ah i didnt setup ipv6 networking on my lxd bridge17:58
lazyPowermakes sense though17:58
Guest46979lazyPower_:it was mentioned in one of the mail. I didnt setup ipv6...17:59
Guest46979lazyPower_:Thanks17:59
bdxicey: how so?19:27
iceybdx it almost seems to not send keys in response to the token.requested state19:27
iceybdx please tell me I'm just using it wrong :-P19:27
iceyit's my unlock_ceph charm that isn't working19:28
bdxwhaa ... let me stand up a deploy real quick19:28
iceywant to see?19:28
iceybdx ^19:29
bdxicey: ya20:12
bdxicey: deploying now ... did you deploy -> https://gist.github.com/jamesbeedy/102d1bbcfe5dbf6227f014348026d0a320:12
bdx?20:12
iceybasically, PM'd you a hangouts link20:12
BrochachoIs the juju 2.0 getting started guide up to date?22:54
BrochachoSeem to get 'ERROR failed to bootstrap model: cannot start bootstrap instance: unable to get LXD image for ubuntu-xenial: The requested image couldn't be found.' when bootstraping using lxd22:55
pragsmikeBro I got that same error23:37
pragsmikeYou can work around it by logging into the container host and copying in that image under that alias23:37
pragsmikelxc image copy ubuntu:16.04/amd64 local: --alias ubuntu-xenial23:38

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