=== ABC is now known as Guest50105 | ||
Guest50105 | I have an input.yaml file like this: | 03:52 |
---|---|---|
Guest50105 | http://pastebin.ubuntu.com/23346821/ | 03:52 |
Guest50105 | When I use the above yaml file in 'juju deploy' I get the following error | 03:52 |
Guest50105 | ubuntu@juju-api-client:~$ juju deploy --series trusty --to Compute-Storage-3.maas --config input.yaml ./contrail-tsn Deploying charm "local:trusty/contrail-tsn-35". ERROR unknown option "install-sources" | 03:52 |
Guest50105 | What is wrong with yaml format? | 03:53 |
Guest50105 | The above mentioned yaml passes the online yaml parsing | 04:16 |
Guest50105 | The above mentioned yaml passes the online yaml parser | 04:17 |
Guest50105 | Never mind. I fixed the issue | 04:46 |
kjackal_ | Good morninf Juju world! | 06:53 |
kjackal_ | *morning | 06:53 |
deanman | Hello, using xenial with juju 2.0 and juju bootstrap command halts without completing. I'm running behind a proxy. Is there a way to setup proxy for consecutive LXD containers before running bootstrap command ? | 08:41 |
=== jamespag` is now known as jamespage | ||
suchvenu | Hi.. | 09:58 |
suchvenu | I have an issue while deploying a service uisng MAAS provider. Anyone here who can hep me with this ? | 09:58 |
cargill | if a service goes down, it's the job of update-status hook to identify and report it if it affects the unit, right? does it do that using status_set or returning something? | 10:12 |
cargill | and what would be the appropriate status to set? the docs seem to imply that error state is only for hooks failing | 10:27 |
kjackal_ | cargill: yes, update-status is a good hook to report service failures. Seting the status is the right way to go. Of course the update status hook could try to restart the service. The appropriate status is to say "blocked" in case user action is required or "waiting" in case there is an automated recovery on the way | 11:10 |
MrDan | hi, is there documentation, besides the charm descriptions, on how to deploy openstack with neutron-gateway external network, and tunneling data network between neutron and compute nodes? | 11:19 |
MrDan | with OVS | 11:21 |
MrDan | i've read that i need os-data-network | 11:26 |
MrDan | but how does it corelate with bridge-mappings and data-port? | 11:26 |
zeestrat | MrDan: You might get some more action in #openstack-charms | 12:00 |
MrDan | ah, ok, did not know about that channel, thanks | 12:00 |
zeestrat | MrDan: The guys that developed the charms are there :) | 12:01 |
cargill | can I combine the @hook and @when decorators? | 12:51 |
cargill | seems quite useful for the update-status hook | 12:52 |
lazyPower | cargill - its not obvious why you cant, but mixing @hook and @when will yield bad behavior. We dont currently list that as a supported way to use the reactive decorators | 12:57 |
lazyPower | you can use either/or, but not both on the same method. | 12:57 |
lazyPower | cargill if you have need of introspecting state in that method body, i can recommend decorating with the @hook decorator, and you can import is_state and use that to check in the method body if a state is set. | 12:57 |
cargill | yeah, that's what I see, nothing really happening, but I think that just guarding on the desired state will do the right thing | 12:57 |
cargill | I'm not sure the charms even see hooks anymore as such | 12:58 |
lazyPower | or just decorate for the state, and handle the cases where its being called. | 12:58 |
lazyPower | right, thats been the authors intent with reactive is to fully abstract teh hook mechanism and urge developers to only use reactive states. | 12:58 |
cargill | yeah, is what I ended up doing (well, waiting for the test to finish) | 12:59 |
cargill | seems super useful to think of the reactive states in terms of a petri net, makes it quite simple to alter the design (add new states or separate processes/relations) | 13:02 |
Spaulding | kjackal_: did you recommend to me yesterday juju-relation-mysql? | 13:05 |
Spaulding | cause i've got problem with it | 13:05 |
lazyPower | Spaulding - yep, that was mentioned by magicaltrout. What can i do to help you? | 13:06 |
kjackal_ | Spaulding: I do not think it was me but what is the problem, I might be able to help | 13:06 |
Spaulding | oh yes, sorry - my bad... to many nicknames to remember! | 13:06 |
Spaulding | One sec, I'm creating gist :) | 13:07 |
Spaulding | https://gist.github.com/pananormalny/58ee2c54acf127dc279bf34990b94238 | 13:08 |
Spaulding | After I deployed my charm - I've " juju add-relation mysql sme" | 13:08 |
Spaulding | In debug-log I can see that hook is executed | 13:09 |
magicaltrout | your includes is incorrect | 13:09 |
magicaltrout | interface:mysql | 13:09 |
Spaulding | So I need to add mysql interface as well or I should change last line? | 13:10 |
magicaltrout | i don't define it in yaml | 13:13 |
magicaltrout | but in mine | 13:13 |
magicaltrout | i put | 13:13 |
magicaltrout | includes: ['layer:basic', 'interface:mysql', 'interface:pgsql'] | 13:13 |
magicaltrout | so i assume yours should say interface:mysql | 13:13 |
magicaltrout | s/yaml/yaml list | 13:13 |
Spaulding | ok... so how to use juju-relation-mysql? | 13:14 |
Spaulding | I think I should provide it as well? | 13:15 |
Spaulding | But I'm not sure about that | 13:15 |
magicaltrout | i have no idea what juju-relation-mysql is | 13:17 |
magicaltrout | so i think you've made it up :) | 13:17 |
magicaltrout | oh its just the name of the github repository | 13:17 |
* lazyPower smirks | 13:17 | |
magicaltrout | you are allowed to ignore that | 13:17 |
Spaulding | https://github.com/johnsca/juju-relation-mysql | 13:18 |
Spaulding | magicaltrout you dirty devil! | 13:19 |
* Spaulding hides | 13:19 | |
magicaltrout | https://github.com/johnsca/juju-relation-mysql/blob/master/interface.yaml#L1 | 13:20 |
magicaltrout | thats the bit you're interested in Spaulding | 13:20 |
Spaulding | exactly | 13:20 |
Spaulding | you proposed that yesterday | 13:20 |
lazyPower | Spaulding - i think he's calling out that in line25 of your gist, you're including 'interface:juju-relation-mysql' | 13:20 |
lazyPower | which will never resolve | 13:20 |
lazyPower | it should instead be 'interface:mysql' | 13:21 |
Spaulding | surprisingly it's resolved to mysql | 13:22 |
Spaulding | build: Processing interface: mysql | 13:22 |
Spaulding | build: Processing interface: mysql | 13:22 |
magicaltrout | its like magic | 13:22 |
lazyPower | magicaltrout - did you see the recent announcement that elastic is teaming up with prelert for machine learning against operational data? | 13:23 |
lazyPower | https://www.elastic.co/blog/welcome-prelert-to-the-elastic-team -- for context | 13:25 |
magicaltrout | very interesting | 13:26 |
lazyPower | this is what merlijin was talking about a while ago right? | 13:27 |
magicaltrout | this is the future for log analytics stuff, where you have beats, splunk, graylog whatever | 13:27 |
magicaltrout | just pumping logs through an indexer is okay, but where is the added value? | 13:27 |
magicaltrout | it needs so magical powers to enhance the logging to do more and tell you stuff you didnt' already know | 13:27 |
lazyPower | doing deep machine-learning analysis on log data to identify system issues and auto-diagnose problems... seems like the first step to yet another layer of auto-healing | 13:28 |
magicaltrout | yup | 13:28 |
lazyPower | s/auto/self/ | 13:28 |
lazyPower | kwmonroe cory_fu - that article above is probably of interest to you two as well. | 13:28 |
magicaltrout | the only articles kwmonroe is interested in are swimming pool enhancements | 13:29 |
lazyPower | well, i used to install those too. if he wants a discount on hayward/jandy hardware i can probably put him in touch with the right people | 13:30 |
lazyPower | http://www.choicepoolsandhardscapes.com/ -- some of my previous work (both the site and the construction projects used as illustration) | 13:31 |
jrwren | lazyPower: sounds awesome. with enough security data it would make a sweet platform for a SIEM or ESM system. | 13:31 |
lazyPower | i dont know what those acronyms are, but they sound very official | 13:31 |
jrwren | Security information and event management / Enterprise Security monitoring. | 13:32 |
lazyPower | oh right, i knew that | 13:32 |
lazyPower | indeed jrwren, indeed | 13:33 |
jrwren | sorry lazyPower, i previously worked in security. | 13:33 |
magicaltrout | lazyPower previously worked in swimming pools | 13:33 |
magicaltrout | and very nice they look too! | 13:33 |
lazyPower | ^ | 13:33 |
lazyPower | thanks :) | 13:34 |
lazyPower | i'm happy i'm done with what we dubbed as hebrew labor, carting stones across someones bakc yard to build those retaining walls. | 13:34 |
lazyPower | not sure if thats offensive, so if it is, i apologize in advance | 13:34 |
magicaltrout | probably :P | 13:35 |
magicaltrout | i dug out my telescope foundations by hand which were a 3m cubic hole, that was the hardest thing I've ever one | 13:35 |
lazyPower | yeah, thats hard work man. anybody that said ditch digging is easy is either a liar or has a bobcat | 13:49 |
* magicaltrout on NASA call "we've written our UI and middleware in Python... do you mind writing the backend in python"..... "sure.... not a problem" | 13:58 | |
* magicaltrout furiously googles python stuff | 13:58 | |
lazyPower | magicaltrout welcome to the painnnnnnnn ;) i kid i kid, python isn't so bad | 14:00 |
magicaltrout | na | 14:01 |
magicaltrout | this flask stuff looks pretty straightforward | 14:01 |
lazyPower | flask is very simple, and very extensible | 14:01 |
magicaltrout | have to write a dockerfile generator for machine learning toolkits | 14:01 |
lazyPower | yeah, combine that with some jinja templating logic and you've got yourself a web service to spit out dockerfiles | 14:02 |
skay | I need advice to know if it is illadvised to try and make a charm that configures lxd for me | 14:32 |
skay | and also, how the heck I'd do it | 14:33 |
magicaltrout | well the lovely lazyPower maintains layer-docker i believe | 14:34 |
skay | I've got lxd configured by hand on my laptop and I have some scripts that make containers for me and run through tests to check if my code it good to merge | 14:34 |
magicaltrout | so I don't see why you wouldn't have layer-lxd | 14:34 |
skay | and a coworker has a charm that they use for checking out repos and running scripts that happent o use old lxc commands | 14:35 |
lazyPower | thats tricky, its fine if the charm is going to maintain its own lxd container and its setup, but wholesale reconfiguring the lxd daemon would likely disrupt the native juju lxd components | 14:35 |
skay | this is the charm that works with all the old lxc stuff https://github.com/checkbox/pmr-configs | 14:36 |
skay | my other coworker just uses travis, but his repo is on github | 14:37 |
skay | mine's on lp | 14:37 |
skay | the lp teammates have that charm to set up a little ci environment for us | 14:38 |
lazyPower | skay - i think its fine to manage a set of lxd containers on a host with a charm | 14:40 |
lazyPower | skay i just wouldn't wholesale reconfigure the lxd service on the unit if you ever plan on using juju's native lxd bits on that unit, eg: --to lxd:# | 14:41 |
lazyPower | marcoceppi or others may disagree. but i'm in favor of not limiting what you can do, just so long as you're aware of the potential caveats | 14:41 |
skay | lazyPower: magicaltrout: thank's y'all. | 14:44 |
skay | whoops that ' cloned its self and hoped back 2 | 14:44 |
skay | needs more coffee | 14:44 |
hml | is there a way to remove charms where the agent is “lost”? remove-unit and remove-machine are not doing the job. i do want to remove it, i’ve already replaced the “lost” unit with a new one | 15:06 |
ryebot | hml: don't suppose you tried remove-machine with --force? | 15:07 |
hml | ryebot: trying now, i missed the —force option | 15:08 |
hml | ryebot: that did it - thanks. | 15:09 |
Spaulding | could someone look at it and tell me why it stuck on "Please add relation" | 15:09 |
Spaulding | https://gist.github.com/pananormalny/aa3be95bfb285ecaa2d0b3e2486101e4 | 15:09 |
ryebot | hml: awesome! np | 15:09 |
Spaulding | Even when I've added a relation... | 15:09 |
Spaulding | I followed the layer-vanilla... | 15:09 |
bdx | jose: ping | 15:11 |
natefinch | marcoceppi: pretty sure your response to my email distills down to "don't use colocation or manual provider" :) Which, btw, I agree with :) | 15:19 |
marcoceppi | natefinch: yeah, but we're forced to do these things because not everything works in lxd machines | 15:19 |
natefinch | marcoceppi: yeah, I really wish we could just default to tossing everything in a contain | 15:20 |
marcoceppi | lazyPower mbruzek I wonder if we can explore using --to kvm: for some of these workloads? | 15:20 |
natefinch | er | 15:20 |
marcoceppi | natefinch: ultimately, that would be the best thing | 15:20 |
lazyPower | marcoceppi - we're going to have the same networking issues. | 15:20 |
marcoceppi | lazyPower: ack, ta | 15:20 |
lazyPower | which is why we've modeled our dense deployment as is today | 15:20 |
natefinch | marcoceppi: btw, on the stop hooks, the docs are pretty clear. They might possibly be wrong, but they're clear at least: https://jujucharms.com/docs/2.0/authors-charm-hooks#stop | 15:21 |
marcoceppi | natefinch: I just looked them up, that's not what they were always set to | 15:21 |
marcoceppi | maybe this is just a failure to name things appropriately | 15:21 |
marcoceppi | but stop =/= uninstall to me | 15:22 |
lazyPower | i wrote that docpage | 15:22 |
lazyPower | if its wrong, its my fault | 15:22 |
natefinch | marcoceppi: certainly. start and stop vs. install and uninstall | 15:22 |
natefinch | I guess we have an install hook | 15:22 |
marcoceppi | natefinch: I also think stop hook is run on all containers where the parent machine is about to be rebooted because of `juju-reboot` | 15:22 |
marcoceppi | natefinch: I will experiment | 15:23 |
natefinch | marcoceppi: would be good to know. I'd be surprised if it ran on reboot, but only slightly surprised :) | 15:23 |
Spaulding | marcoceppi: could you help me with interface:mysql? I can't get it working... :( | 15:43 |
marcoceppi | Spaulding: absolutley, what's not working? | 15:43 |
Spaulding | it stuck on "add relation" | 15:44 |
Spaulding | but relation is there... and i can see creds in debug-log as well | 15:44 |
Spaulding | https://gist.github.com/pananormalny/aa3be95bfb285ecaa2d0b3e2486101e4 my reactive | 15:44 |
Spaulding | database stuff is at the bottom of file | 15:44 |
marcoceppi | Spaulding: what does juju status say atm? | 15:45 |
marcoceppi | Spaulding: and can I see your metadata.yaml? | 15:46 |
Spaulding | blocked "Please add relation to mysql" | 15:46 |
Spaulding | sure | 15:46 |
Spaulding | here you have: https://gist.github.com/pananormalny/68680a0a104c881506ee0f6881103ca8 | 15:46 |
marcoceppi | Spaulding: so, this is just a mismatch in naming | 15:47 |
marcoceppi | Spaulding: you named the relations "db" but you refer to it as "database." in reactive. Either change metadata.yaml to be database or change your decorators to be db.connected and db.available | 15:47 |
Spaulding | ok... so this db should be mysql? | 15:47 |
Spaulding | yeah | 15:47 |
Spaulding | now i got it! | 15:47 |
marcoceppi | Spaulding: yeah, thta's probably not highlighted very well in the readme, I'll make sure we update that | 15:48 |
marcoceppi | Spaulding: everything else looks great! | 15:48 |
Spaulding | and i spent like 3 hrs | 15:48 |
Spaulding | changing when and when_not | 15:48 |
Spaulding | thx again marcoceppi ! | 15:49 |
marcoceppi | Spaulding: sorry :( hopefully this gets you sorted | 15:49 |
Spaulding | yeah, now I can proceed | 15:49 |
Spaulding | I don't have much time today but tomorrow I hope I'll be able to restore sql dump finish this charm finally | 15:50 |
Spaulding | and finish*** | 15:50 |
marcoceppi | Spaulding: awesome, feel free to ping here if you have any more questions! | 15:52 |
Spaulding | will do - for sure! | 15:53 |
=== arturt___ is now known as arturt | ||
jose | bdx: yes? | 16:32 |
bdx | jose: https://github.com/jamesbeedy/charm-mailman | 16:47 |
jose | bdx: sorry, I don't work with layers, but if you want to push that, feel free to | 16:47 |
bdx | jose: oh, I thought you wrote the OG mailman charm | 16:48 |
bdx | ? | 16:48 |
jose | yes, but again, I don't work with layers, if you want to push a trusty/xenial version for it, feel free to | 16:48 |
jose | I probably won't get around to it until a month from now at least | 16:48 |
jose | maybe even two, considering my schedule | 16:49 |
bdx | no worries, just thought you would like to have a looksie | 16:49 |
bdx | I'm not pressing anything lol .... just thought I would share w/you :-) | 16:49 |
jose | cool | 16:49 |
neiljerram | Hi all, a question about running Juju (2.0) on GCE: is it possible to configure Juju so that it does _not_ allocate a GCE External IP for each machine? (I also asked this yesterday morning, but hopefully there are different folks around now...) | 16:55 |
rick_h_ | dimitern: any idea? ^ | 16:55 |
dimitern | neiljerram: I don't think so, but let me double check.. | 16:56 |
bdx | hey guys, are the bootstrap configs/constraints enumerated anywhere in the docs .... can't seem to find anything really ... | 16:57 |
neiljerram | rick_h_, dimitern - thanks! | 16:57 |
rick_h_ | bdx: not at the moment. We need to build one. Most of it is there if you dump the list of controller config. | 16:57 |
bdx | rick_h_: thanks | 16:58 |
rick_h_ | bdx: or honestly I poke at code most of the time. We've got a todo to dump things out into an official doc list | 16:58 |
bdx | rick_h_: I remember hearing about a new ssl config that can be specified at bootstrap to allow proxying to the gui ..... I'm about to bootstrap for the long haul ... trying to make sure I have all of the relevant configs in there | 17:00 |
dimitern | neiljerram: no way to disable this at the moment, sorry :/ | 17:00 |
bdx | rick_h_: from the user perspective, its a bummer I have to go searching to this extent to find the pieces I need to get up and going | 17:01 |
neiljerram | dimitern, Thanks for checking that. Would it be of useful or of interest for me to register a wish for that somewhere? | 17:01 |
dimitern | neiljerram: of course! :) I see a bunch of TODOs in the source about "let's make this configurable", so it was always planned to be possible, just not yet | 17:02 |
neiljerram | dimitern, Do you mean in network.go after "Type: NetworkAccessOneToOneNAT"? I was just looking there too :-) | 17:04 |
dimitern | neiljerram: yeah, that's just one of many apparently :) | 17:04 |
neiljerram | dimitern, So where is the right place to request this? | 17:05 |
dimitern | neiljerram: I'd suggest filing a bug against lp:juju https://bugs.launchpad.net/juju/+filebug | 17:14 |
dimitern | neiljerram: that way we can schedule it and track it better | 17:14 |
neiljerram | dimitern, Thanks, I'll do that. | 17:14 |
dimitern | neiljerram: awesome! thank you ;) | 17:15 |
ahasenack | when using the openstack provider, how do I tell juju at bootstrap time which neutron network to use for the instance, if there are multiple? | 17:16 |
ahasenack | error info: {"conflictingRequest": {"message": "Multiple possible networks found, use a Network ID to be more specific.", "code": 409 | 17:16 |
ahasenack | what's the parameter name for --config? | 17:16 |
bdx | ahasenack: --config network=xxx.xxx.xxx.xxx | 17:16 |
ahasenack | bdx: thx | 17:19 |
bdx | ahasenack: np, too bad its not an available bootstrap config for aws ;-( | 17:41 |
aluria | hi, in juju-deployer, I used to use "overrides" for config variables that existed in multiple services (now applications) -- I haven't found such an option on juju2 bundles -- would I need to repeat the same key-value on all charms that have it as config param? | 18:01 |
jhobbs | that's what i've done aluria | 18:02 |
jhobbs | afaik that's the only way | 18:02 |
aluria | jhobbs: ack, asking just in case -- thanks | 18:02 |
=== scuttle` is now known as scuttle|afk | ||
bdx | hey guys, I'm getting this error intermitently when sending off deploys -> http://paste.ubuntu.com/23349938/ | 18:30 |
bdx | not sure if its been noted yet | 18:31 |
bdx | rick_h_: ^^? | 18:34 |
rick_h_ | bdx: looking | 18:34 |
rick_h_ | bdx: hmm, looks like a header auth issue. | 18:35 |
rick_h_ | bdx: need to file a bug on that to get the charmstore folks looking at it please. github.com/canonicalltd/jujucharmscom | 18:35 |
rick_h_ | bdx: quick fix is probably to logout/back in and maybe to remove cookies. | 18:35 |
rick_h_ | jrwren: where are the go cookies these days? | 18:35 |
rick_h_ | jrwren: it's not .go-cookies any more right? | 18:35 |
jrwren | rick_h_: it is still that. | 18:36 |
rick_h_ | jrwren: ah ok | 18:36 |
rick_h_ | bdx: clear ~/.go-cookies | 18:36 |
bdx | rick_h_: -> http://paste.ubuntu.com/23349960/ | 18:37 |
bdx | jwren: ^ | 18:38 |
rick_h_ | bdx: juju login? | 18:38 |
bdx | oooh | 18:38 |
bdx | rick_h_: wow, .local/share/juju/accounts.yaml doesn't have my most current controller in there ... I may as well go back to sleep today | 18:40 |
bdx | now that I've logged out | 18:41 |
bdx | I have no record of the password | 18:41 |
bdx | foolish | 18:41 |
bdx | oh well | 18:41 |
bdx | redo | 18:41 |
rick_h_ | bdx: ?! | 18:42 |
bdx | rick_h_: http://paste.ubuntu.com/23349979/ | 18:42 |
rick_h_ | well that seems scary if you can dupe that I'd be curious what happened to lose a controller from there w/o an unregister command. | 18:42 |
bdx | rick_h_: neither of those accounts/controllers exist anymore | 18:43 |
bdx | rick_h_: and my recent bootstrap to aws isn't listed | 18:43 |
rick_h_ | bdx: oh, so those were there and have been torn down or the like? that's what unregister is for cleaning up | 18:43 |
bdx | rick_h_: yeah, but accounts.yaml doesn't show my aws controller | 18:44 |
bdx | the one I just logged out of trying to get charmstore to work | 18:44 |
bdx | ahhh ..... logout removes the entry from accounts.yaml | 18:44 |
bdx | I didn't previously know that | 18:44 |
rick_h_ | bdx: hmmm, but it's still in the controllers list? | 18:44 |
rick_h_ | bdx: e.g. you can juju controllers and see ones you're not logged in with? | 18:45 |
bdx | rick_h_: yes -> http://paste.ubuntu.com/23349994/ | 18:45 |
rick_h_ | bdx: ah ok, that makes me feel less freaked out | 18:46 |
bdx | but since I neglected to grab my account details before I logged out .... I'm out of luck | 18:46 |
bdx | not that I had anything deployed yet | 18:46 |
bdx | but good thing to note for the future | 18:46 |
rick_h_ | bdx: :/ yea that sucks. /me needs to figure out how we should do that better... | 18:46 |
bdx | rick_h_: possibly, if an admin logs out of the controller we should add a message that alerts them that they will not be able to log back in unless they have their password saved somewhere outside of Juju | 18:49 |
rick_h_ | bdx: yea, and seems like a documented way for admins to get their password from the controller maybe | 18:49 |
rick_h_ | not sure if it's available over there, if you can ssh there can you get the password out. | 18:49 |
bdx | rick_h_: I'm in | 18:50 |
rick_h_ | bdx: can deploy? | 18:51 |
bdx | rick_h_: no, I was able to ssh into the controller node | 18:51 |
rick_h_ | bdx: ah ok | 18:51 |
rick_h_ | bdx: yea, I have no idea if the password is retrievable | 18:51 |
rick_h_ | perrito666: any ideas? ^ | 18:51 |
bdx | ooho, I thought you were saying "if I could get in, there is a way" | 18:52 |
rick_h_ | bdx: sorry, I was saying "I wonder if we can document some path that allows you to get your password if ssh works" | 18:52 |
bdx | rick_h_: aaah | 18:52 |
bdx | rick_h_: its not a biggie, I can just tear down and redeploy | 18:53 |
bdx | rick_h_: thx | 18:53 |
rick_h_ | bdx: k, sorry. Thanks for bringing up the issue | 18:53 |
petevg | cory_fu, bcsaller: Work in progress PR for the glitch plan/actions refactor here: https://github.com/juju-solutions/matrix/pull/4 | 19:21 |
petevg | (I merged the two dicts, but haven't actually attempted to execute the code just yet -- it is very much a WIP!) | 19:22 |
petevg | https://github.com/juju-solutions/matrix/pull/4 | 19:22 |
bcsaller | petevg: thanks :) | 19:22 |
petevg | np | 19:22 |
perrito666 | rick_h_: bdx no | 19:31 |
lazyPower | ryebot Cynerva - bite sized one here https://github.com/juju-solutions/interface-sdn-plugin/pull/4 | 19:33 |
ryebot | lazyPower: looking | 19:33 |
lazyPower | ryebot Cynerva less bite sized review here: https://github.com/juju-solutions/charm-flannel/pull/20 | 19:35 |
ryebot | lazyPower: +1 also looking | 19:35 |
lazyPower | ryebot Cynerva - and finally - the consumer of those changes https://github.com/juju-solutions/layer-docker/pull/92 | 19:37 |
ryebot | lazyPower: cool looking | 19:38 |
lazyPower | that should be it though, thanks for taking a look | 19:38 |
ryebot | lazyPower: commented! | 19:49 |
lazyPower | ryebot good shout, seems odd but it is indeed possible | 19:50 |
* lazyPower amends | 19:50 | |
bdx | rick_h_, perrito666: when I pass the debug flag to `juju bootstrap`, I see the subnets in my vpc/region listed as constraints, see http://paste.ubuntu.com/23350343/ | 20:00 |
bdx | rick_h_, perrito666: does this mean I can somehow add a constraint to select one of the subnets on bootstrap? | 20:01 |
bdx | to bootstrap to? | 20:02 |
perrito666 | bdx: wouldn't know sorry :( | 20:02 |
mgz | bdx: you may be able to if you create some spaces that encapsulate them, I'm not quite sure of the current state of that on ec2 | 20:05 |
bdx | mgz: you have to have a controller first though, to be able to create spaces | 20:07 |
mgz | hm, not in the maas model | 20:07 |
mgz | but yeah, that's an issue with ec2 | 20:07 |
bdx | from the context of juju though | 20:08 |
mgz | so, from the context of juju on maas, you can create a maas space that includes a subnet, then bootstrap with a constraint that the machine must be in that sapce | 20:08 |
bdx | mgz: totally | 20:09 |
bdx | and the openstack provider accepts a 'network' config on bootstrap | 20:10 |
mgz | that's mostly a hack to deal with multiple neutron networks existing | 20:10 |
bdx | mgz: hack or no hack it provides a solution | 20:11 |
mgz | so, I'm not actually sure what the finished solution should look like for ec2/openstack | 20:11 |
bdx | mgz: is there a similar hack for ec2 that you know of? | 20:12 |
bdx | :-) | 20:12 |
mgz | I added the openstack one, I did not add an ec2 one at the same time, let me just check the provider | 20:12 |
mgz | hm, no you can force a particular vpc | 20:13 |
mgz | so, you can maybe create a seperate vpc with what you want and make juju use that? but pretty hard limits on a bunch of these network bits in ec2 | 20:13 |
bdx | yeah, now thats a hack | 20:14 |
mgz | sorry bdx | 20:14 |
bdx | mgz: I feel it would be such an easy add | 20:14 |
bdx | just filter the list of subnets returned on bootstrap and ensure the one selected exests and is in the region and vpc | 20:15 |
bdx | is there something I'm missing here? | 20:15 |
mgz | I think we probably don't want to do that without a good model that works across providers, is the holdup | 20:15 |
mgz | but I'm still somewhat out of the loop on networking plans currently | 20:16 |
bdx | meh | 20:17 |
bdx | mgz: thanks for your input here | 20:17 |
mgz | bdx: it may be worth a message to the list just to spell out your use case and find out what the plans are | 20:18 |
bdx | mgz: entirely | 20:18 |
bdx | mgz, rick_h_: so, a new environSchema field for 'subnet' here -> https://github.com/juju/juju/blob/staging/provider/ec2/config.go#L28 | 21:05 |
bdx | and a 'getUserSubnet()' here -> https://github.com/juju/juju/blob/staging/provider/ec2/environ_vpc.go#L198 | 21:06 |
bdx | or possibly 'getBootstrapVPC' | 21:08 |
bdx | rick_h_: again, http://paste.ubuntu.com/23350619/ | 21:11 |
bdx | rick_h_: `charm list -u createivedrive` shows my charm -> http://paste.ubuntu.com/23350624/ | 21:13 |
bdx | but I can't seem to deploy it | 21:13 |
bdx | I have a feeling this is highly related to the reason I can't see my charms for any other namespace other than my user namespace in the store | 21:14 |
bdx | via juju-gue | 21:14 |
bdx | *juju-gui | 21:14 |
bdx | while logging into jujucharms.com, I am still able to view namespaces other than my personal namespace, see -> https://s18.postimg.org/skemexkk9/Screen_Shot_2016_10_19_at_2_16_15_PM.png | 21:18 |
bdx | when logged into the charmstore via juju-gui, I don't have access to any of the charms in team namespaces, see -> https://s17.postimg.org/thm3ooapb/Screen_Shot_2016_10_19_at_2_18_15_PM.png | 21:19 |
magicaltrout | bdx: i've started work on a Juju cookbook, when you finish up your networking/subnetting and any other crazy stuff, i'll be picking your brains | 21:29 |
magicaltrout | content for the "crazy and advanced" section | 21:29 |
bdx | magicaltrout: ha, thanks, hopefully I can have some good adds for you! ... (harsh segue) )do you have a launchpad team, or charmstore namespace other than your personal namespace? | 21:47 |
magicaltrout | i don't, i caused enough havoc in the charmstore by renaming my user in launchpad | 21:49 |
magicaltrout | that made enough shit break so i leave it well alone ;) | 21:49 |
bdx | bahahah | 21:51 |
bdx | your next mission, should you choose to accept it | 21:52 |
bdx | create a launchpad team, push some charms up to different channels, add 50 users, have the users start pushing charms, rename the launchpad team, remove and re-add 1/2 of your users to the newly named team, change team name againn, submit bug | 21:54 |
MrDanDan | juju set/set-config, and get as well, was removed in 2.0.0? | 23:30 |
anastasiamac | MrDanDan: not removed. renamed - feel free to browse release notes for 2.0 for changes :D https://jujucharms.com/docs/2.0/reference-release-notes | 23:38 |
MrDanDan | thanks | 23:40 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!