/srv/irclogs.ubuntu.com/2016/09/02/#juju-dev.txt

wallyworldredir: thanks for doc, i may have missed it, was there a test to check that "source" of config value is updated dynamically? ie if it shows "controller" and I update the region value to match that of the controller, the source should now say "region"00:02
redirerm, lemme look00:02
wallyworldredir: also, i assigned you a nice card to pick up next :-)00:05
redirwallyworld: how do you update the region value to match that of the controller?00:07
redir06711800:07
wallyworldredir: you should be able to do all the development either with lxd or aws without teardown of server so dev cycle should be fast00:07
redirwallyworld: would you care to HO for a minute on the QA/CI stuff? prolly faster00:08
wallyworldsure00:08
wallyworldstandup00:08
menn0anastasiamac: I've added a request for more information, with instructions, on that ticket00:23
anastasiamacmenn0: u r brilliant! tahnk you :D00:24
anastasiamacthank you even00:24
anastasiamacthumper: i've missed 3 days. did u have a chance to import/export workloads for model migration?00:30
anastasiamacwallyworld: model confi defaults: are cloud region default done? and command re-work?00:31
anastasiamaccommands*00:31
wallyworldno00:32
wallyworldthere's cards for it on the board00:32
anastasiamacq1 or q2 or both?00:32
wallyworldregion defaults done partly00:32
anastasiamack00:32
axwanastasiamac: I'm back01:05
anastasiamacveebers: r u available? m happy to chat without u if u r busy and pull u in if we can;t live without :D01:05
veebersanastasiamac: I'm available01:07
anastasiamacveebers: pm-ed u01:08
thumperanastasiamac: payloads?01:24
thumperyes01:24
thumperresources, no01:24
anastasiamack:D01:24
katcoaxw: ping01:43
axwkatco: [ong01:43
axwpong even01:43
katcoaxw: hey, long time. o/01:43
axwkatco: indeed, how's it going ?01:43
katcoaxw: kind of chaotic here. kiddo is probably coming down with something :(01:43
katcoaxw: how is your family doing?01:44
axwthat's never fun01:44
katcoyeah, it's no fun01:44
axwkatco: not bad, nothing eventful as that :p01:44
katcolol, well that is good to hear ;)01:44
katcoaxw: i pushed up further refactor of the deploy command. i couldn't get the tests passing tonight, but wanted to get someone's eyes on it since i'll be out for the next 2 weeks01:45
katcoaxw: it's http://reviews.vapour.ws/r/5582/ if you (or anyone else) get a chance today. i'm afraid it's quite long, but i think a lot of the diff is tests01:46
axwkatco: ok. pretty busy today, but I'll see what I can do01:46
katcoaxw: no worries. i understand if you can't get to it01:47
katcoso is it getting warmer over there?01:47
axwkatco: not really that warm here yet01:50
axwkatco: not as cold as it was a few weeks ago, but still fairly chilly01:50
katcolucky01:50
katcowe had a nice fallish day today01:50
natefinchSomeday fall will come here.  It's been unseasonably hot all summer.01:54
katcowell we're technically still in summer i suppose01:55
natefinchI think we've had like one below average temperature day all summer.  New England... where all the days are above average01:56
katcowondering how much of that is climate change too =/01:56
natefinchwell yeah. When the last like 15 months or something have all been record highs, globally, and 14 of the 15 hottest years have been since 2000 (or some numbers pretty close to those)01:57
mwhudsonperrito666, etc: juju-mongodb3.2 3.2.9 builds fine on trusty it seems https://launchpad.net/~mwhudson/+archive/ubuntu/devirt/+packages01:58
natefinchso weird.... the X button (window close) in the upper left of my windows is disabled when windows are maximized02:17
natefinchno, sorry, all those buttons (minimize and maximize too) are disabled02:18
thumpermenn0, veebers: who is ready for a call now?02:38
menn0menn0: i'm around02:38
veebersthumper: I'm available02:39
thumperI'll go with menn0 first because I think it'll be shorter02:39
thumpermenn0: 1:1?02:39
menn0thumper: ok02:39
thumperveebers: now?02:53
wallyworldmwhudson: that's awesome. maybe we can get juju-mongodb on trusty updated at some points?02:59
mwhudsonwallyworld: yeah, should be possible02:59
wallyworld\o/02:59
veebersthumper: in 5?03:02
thumperveebers: sure03:03
veebersthumper: actually I wanted to ask wallyworld something but he's just disconnected. Now is fine :-)03:03
thumperok03:03
thumperveebers: https://hangouts.google.com/hangouts/_/canonical.com/manual-ci?authuser=003:03
anastasiamacthumper: menn0: axw: is it possible to use `juju scp` to copy between units directly?03:03
thumperkinda03:04
thumpergoes via the host03:04
menn0anastasiamac: yes03:04
thumperbut yes, I think03:04
menn0juju scp -- -3 from:path/to/file to:03:04
menn0something like that03:04
anastasiamac\o/ thank you :D then we have a bug... but i'll target it ;D03:05
menn0the -3 is important03:05
menn0you can't copy directly between machines because they don't have SSH keys for each other03:05
menn0anastasiamac: I even made sure there was an example of this in the help03:05
menn0(last one)03:05
anastasiamacmenn0: and that's why u r brilliant \o/ tyvm03:06
anastasiamacmenn0: -3 is importnt because it's...?03:08
menn0$ man scp | grep -- -303:09
menn0     -3      Copies between two remote hosts are transferred through the local host.  Without this option the data is copied directly between the two remote hosts.  Note that this option disables the progress meter.03:09
menn0anastasiamac: ^03:09
anastasiamacmenn0: \o/03:09
menn0anastasiamac: the client can connect to the 2 Juju managed hosts, but the hosts can't connect to each other, so -3 works around that03:10
anastasiamacmenn0: awesome! i'll add it to the comment in the bug... i hope it's a user error and we don't need to do anything! thank you03:10
veeberswallyworld: you recently landed changes re: controller UUID handling right?03:30
veeberswallyworld: would this change what appears in a log forwarded syslog? (I think maybe the CI test for log-forward needs updated as it might be looking for the wrong uuid in the syslog file)03:31
wallyworldyes - controller uuid is now different to controller model uuid03:31
veeberswallyworld: which uuid will get forwarded for log-forwarding (and also, how would one get that uuid used)03:32
wallyworldi'll look. if the test assumed controller UUID = controller model UUID then it needs fixing03:32
wallyworldthose values happened to be the same before but it is wrong to assume that03:32
wallyworldyou know the uuid of the controller as it is the one you are connecting to03:33
wallyworldlet me look at the test output03:33
veeberswallyworld: we were using the uuid from 'show-controller' json/yaml output under controllername -> details -> uuid03:34
wallyworldthat is the correct thing to do03:36
veeberswallyworld: hmm, that would suggest that the ci test is doing the right thing but it fails. I'll dig deeper to see what's happenig03:37
wallyworldi'm just looking at the code03:38
wallyworldveebers: it depends on what you are looking for - the rfc5424 appname contains the model uuid not the controller uuid03:54
wallyworldit would have worked by coincidence before if you are searching using controller uuid03:55
wallyworldwe do record the controller uuid in syslog structured data03:55
veeberswallyworld: For this test I use the UUID found as outlined before to check the logs of the rsync-sink to ensure expected output is landing there.04:00
wallyworldveebers: you misunderstand - i am saying you are probably checking the wrong content04:00
veeberswallyworld: oh04:00
wallyworldwe record the model uuid, you are checking for controller uuid04:00
wallyworldwe record the model uuid in the appname field04:01
veeberswallyworld: right, so I'm using the wrong uuid04:01
wallyworldonly if the script is looking in appname04:01
veeberswallyworld: how does one get the controller model uuid?04:01
wallyworldif the script if looking in structured data then it is correct04:01
veeberswallyworld: its checking content of syslog on the rsyslog syslog file04:01
wallyworldright, but the syslog content contans lots of diffrent fields :-)04:02
wallyworldwhich field is the script looking for04:02
wallyworldappname of the structured data04:02
wallyworld*or04:02
veeberswallyworld: the check is doing a regex grep on syslog similar to: ^[A-Z][a-z]{,2}\ +[0-9]+\ +[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}\ machine-0.0518053c\-31cd\-4d49\-8316\-a504c6d78389\ jujud-machine-agent-0518053c\-31cd\-4d49\-8316\-a504\ .*$04:03
veebers(this is a specific example from a test)04:03
wallyworldright, so i guess it is grepping assuming it is parsing the appname field04:03
wallyworlduse use show-model controller to see the controller model uuid04:04
veeberswallyworld: ok, I'll give that a spin now04:06
wallyworldfingers crossed, should be a simple fix hopefully :-)04:06
veebershopefully :-)04:06
wallyworld"juju show-model controller" prodiceds yaml similar to show-controller04:06
wallyworldand you just get that uuid instead04:07
veeberscool, makes sense04:07
wallyworldwe just needed to see what was being searched for in the syslog output04:07
wallyworldappname field or structured data04:07
wallyworldand now the tests will be even better because a faulty assumption will be fixed :-)04:07
veeberswallyworld: can you have structured data in the syslog log file (or am I misunderstanding again?)04:08
wallyworldyes, it is text, and can be parsed into simple fields and structured data. i think the structured data is written out inside [] but i'd need to check that syntax04:09
wallyworldit's all in the rfc standard04:09
wallyworldwe write the flat fields and structured data fields04:09
wallyworldaooname is a standard scalar field04:10
wallyworldappname04:10
wallyworldwe put "juju-"modeluuid in there i think04:10
wallyworldand then things like controller uuid, model uuid as separate fields in structured data04:11
wallyworldwhich is then flattened out into a line of text in the syslog file04:11
wallyworldi'd have to read the rfc to get the exact syntax etc04:11
veeberswallyworld: ah cool, thanks for clarifying04:15
wallyworldnp04:16
thumperwallyworld: http://reviews.vapour.ws/r/5584/04:17
thumperwallyworld: just running test suite now04:17
thumperwallyworld: much rationalisation on aliases04:17
wallyworldok04:17
wallyworldthumper: you sure about add-units? we can add more than one at a time04:18
wallyworldjuju add-units -n 1004:18
thumperwallyworld: that's what the doc says04:18
thumperthere is no alias for add-unit04:18
wallyworldhmmpf04:18
thumperthe thing is, if you add plural for one, you should do for all04:19
thumperthen it just looks messy04:19
thumperlike you haven't decided04:19
thumperbe opinionated04:19
thumperI went on changes based on the 2.0 command table04:19
thumperjust wondering whether we should have status or show-status be the alias04:20
thumperdoc says "status" is the alias04:20
thumperbut it also says "list-foo" should be the primary04:20
thumperso it appears to be slightly out of date04:21
wallyworldthumper: in that case, we are inconsistent. the PR changes to juju list-sshkeys. but we still have juju machines as the list machines example04:21
thumperwallyworld: refresh04:22
thumperI fixed that04:22
thumperI tried to be consistent on all the aliases04:22
thumperwallyworld: http://paste.ubuntu.com/23122921/04:23
thumperthat is all the aliases now04:23
wallyworldthumper: lgtm with a trivial04:24
thumperwallyworld: taking the dog for a quick walk while it is light04:26
thumperbbl04:26
wallyworldsure, ttyl04:26
thumperpushed trivial fix and lined up for merging04:26
veeberswallyworld: fyi that was the fix for the CI job, seems I had conflated the controller uuid and the contrller model uuid. All sorted now05:17
wallyworldveebers: yay, thank you. not just you who confused it. juju did also for about 18 months or more :-)05:17
veebersheh :-) I've set the log-forward job to be non-voting for now until this fix can land in the test05:18
frobwaredimitern: you about?06:16
dimiternfrobware: yeah06:22
dimiternfrobware: aren't you out today?06:22
frobwaredimitern: for the "unconfigured vlan" bug I think I'm just going to deal with bridging unconfigured interfaces and leave the MAAS 2.1 issues for another commit06:23
frobwaredimitern: I am - need to leave in a bit06:23
dimiternfrobware: ok, sgtm06:23
frobwaredimitern: the script needs to change so that we can look at forward interfaces that we may (or may not) need to bridge. That's a departure from what we do today.06:24
dimiternfrobware: btw re the other bug with hostnames - I still think we should have that as an optional "native mode", even if later we do nss by default everywhere06:24
frobwaredimitern: I think the nss module is orthogonal to that bug.06:24
frobwaredimitern: if we probe/scan for open ssh ports on an undefined order that should still help without nss06:25
dimiternfrobware: that way we can work consistently across the board, but still satisfy specific deployments that need to use maas hostnames and have properly configured dns settings06:25
frobwaredimitern: from a juju client perspective (CLI, UI) we would always be dealing with ip addrs06:26
dimiternfrobware: so I'm proposing to add a maas-specific config flag that enables "put hostname on top of addresses list", otherwise it doesn't and just returns IPs06:26
dimiternoff by default06:27
frobwaredimitern: propose via email and let's discuss with jam, et al06:27
dimiternand ivoks06:27
dimiternok06:27
frobwaredimitern: I think we should try and land "unconfigured vlans" soon - if we can.06:27
dimiternfrobware: agreed - I'm on it06:28
mupBug #1441319 changed: intermittent: failed to retrieve the template to clone: template container juju-trusty-lxc-template did not stop <canonical-bootstack> <cisco> <cpec> <deployer> <landscape> <lxc> <oil> <systemd> <upstart> <juju-core:Invalid> <https://launchpad.net/bugs/1441319>06:45
mupBug #1475509 changed: upgrade-charm --force behavior causes races <race-condition> <upgrade-charm> <juju:Triaged> <https://launchpad.net/bugs/1475509>06:51
mupBug #1531589 changed: debug-log does not work with local provider on xenial + 1.25.0 <debug-log> <local-provider> <xenial> <juju-core:Invalid> <juju-core 1.25:Won't Fix> <https://launchpad.net/bugs/1531589>06:51
mupBug #1475509 opened: upgrade-charm --force behavior causes races <race-condition> <upgrade-charm> <juju:Triaged> <https://launchpad.net/bugs/1475509>07:12
mupBug #1531589 opened: debug-log does not work with local provider on xenial + 1.25.0 <debug-log> <local-provider> <xenial> <juju-core:Invalid> <juju-core 1.25:Won't Fix> <https://launchpad.net/bugs/1531589>07:12
mupBug # changed: 1394223, 1475509, 1514456, 1531589, 1554088, 1613804, 1615106, 1615112, 161511807:15
mupBug # opened: 1394223, 1514456, 1554088, 1613804, 1615106, 1615112, 161511807:18
mupBug # changed: 1301367, 1394223, 1444576, 1446885, 1448308, 1514456, 1554088, 1613804, 1615106, 1615112, 161511807:21
=== frankban|afk is now known as frankban
wallyworldaxw: here's a PR to handle the list controllers things http://reviews.vapour.ws/r/5585/  no rush to land, can do it next week08:31
axwwallyworld: ok, will probably review on monday. still butting heads with auth08:39
wallyworldaxw: yeah, no worries, figures as much :-) just letting you know08:40
babbageclunkwallyworld: At the moment I'm not exposing much of the tags functionality in gomaasapi - just enough to do what we need in the provider. Is that ok?10:10
babbageclunkwallyworld: We can always flesh out the other parts later as needed.10:10
babbageclunkwallyworld: (is my thinking)10:11
voidspacebabbageclunk: in10:12
voidspaceoops10:12
voidspacebabbageclunk: in general, only exposing what we need is the way we've gone10:13
voidspacebabbageclunk: so that sounds good10:13
voidspacebabbageclunk: gomaasapi itself is open source - so if anyone needs more they can add it themselves10:13
babbageclunkvoidspace: cool, thanks - might get you to look at the interface I'm thinking about for tags before I start implementing it if that's ok?10:14
voidspacebabbageclunk: sure10:15
voidspacedown to only seven test packages that fail or won't build10:27
voidspaceprogress10:27
wallyworldbabbageclunk: sounds ok - just enough to satisfy our use case, but if there's a tateful way to do it so that we can accommodate future requirements, that would be good. the main thing for juju is to be able to get and set arbitary tags on machines and storage/volumes10:42
babbageclunkwallyworld: ok - sounds good.10:44
babbageclunkwallyworld: Just rereading your email - do we expose tagging to users somewhere? Or is it just something we use to find instances by custom tags internally.11:02
babbageclunk?11:02
wallyworldbabbageclunk: the primary use case is to allow the Environ ControllerInstances() method to correctly identity which machines are controllers - that eliminates the provider-state file requirement. But we also support the resource-tags attribute in config to allow users to specify their own tags as well. There are typically seen via cloud specific tools, like the aws console for example11:03
wallyworldbut juju could be asked to query and present them11:04
babbageclunkwallyworld: Ah, ok - reading about resource-tags now.11:07
wallyworldbabbageclunk: what happens when juju provisions a resource is that it applies standard tag values (eg controller uuid, model uuid etc) and then adds to those any user specified values11:08
wallyworldbabbageclunk: so for example, model admins amay set different tags which are then used for accounting or other purposes11:08
babbageclunkwallyworld: Ok, and then the point of those custom tags is that users can find them in the provider's UI (the maas one in this case)?11:09
wallyworldbabbageclunk: see usages of the environs.tags.ResourceTags() method11:09
wallyworldyes11:10
wallyworldmaybe juju can display those in stats, i can;t recall now exactly what the yaml contains11:10
wallyworld*status11:10
babbageclunkwallyworld: Ok.11:13
babbageclunkwallyworld: When you talk about storage volumes, that would correspond to block devices in maas-land? They don't seem to be able to be tagged in the same way.11:13
wallyworldbabbageclunk: yeah, i'm not sure what maas supports there. in aws for example, we can tag ebs block volumes. but if maas doesn't support a similar concept that's fine. the main thing is to tag machines. but we may also query tags when killing the controller so that we clean up all resources. but that's only really relevant to clouds like aws where the storage is separate and is attached dynamically to a machine11:16
wallyworlds/is/may be11:16
wallyworldbabbageclunk: you'll find StartInstance() in particilar for provider/ec2 or provider/openstack will have code to collect all the required tags and then apply them to the newly started instance11:17
wallyworldmaas provider would do something similar11:17
wallyworldand then ControllerInstances() for maas would be changed to not use provider-state, and instead query machines where controller-uuid tag is the relevant one11:17
wallyworldand we'd move the Environ.Storage implementation off the maas 2.0 provider and retain it for use in 1.9, and the mass 2.0 work could be nice and clean11:18
wallyworldbecause Environ.Storage is i think only used to access the provider-state file11:19
dimiternbabbageclunk, wallyworld, voidspace: hey guys, can you have a look at http://reviews.vapour.ws/r/5586/ ? it should be straightforward11:19
wallyworldwhich we won't need on maas 2.0 now11:19
babbageclunkwallyworld: ok, makes sense - thanks!11:21
babbageclunkdimitern: Looking11:21
wallyworlddimitern: is SysClassNetPath const necessary as an arg? will it ever be anything different?11:22
dimiternbabbageclunk: ta!11:22
dimiternwallyworld: well, I wrote it initially to take just a name, but then I found it awkward to test without introducing global vars unecessarily11:22
dimiternwallyworld: it will only be called in a couple of places anyway11:23
wallyworlddimitern: yeah, understood. i also wonder if at least the error from say reading the file should be checked. fair enough if it's a notexists. but what happens if you get an eof? maybe worth at least loggin something before returning UnknownInterface. i'm a little wary of swallowing all errors11:25
dimiternwallyworld: yeah, ok - I'll add Debug logging on error11:25
wallyworlddimitern: you'll appreciate the log entry when something goes wrong and you're asked to diagnose and  fix :-)11:26
dimiternwallyworld: sure - I'm usually the one to add insane level of trace logging all over the place :)11:26
wallyworldwarranted in this case IMHO :-)11:27
dimitern+111:27
babbageclunkwallyworld, voidspace - here's how I'm planning to add tags to the gomaasapi interface: https://github.com/juju/gomaasapi/compare/master...babbageclunk:tags?expand=111:30
wallyworldbabbageclunk: i don't know the gomaasapi very well, but i generlly prefer not to define interfaces domain entities like Tags and then add verbs to them, like Delete() or Machines() or UpdateNodes(). those verbs I tend to add to a service type of interface11:33
wallyworldthe above really belong on Controller interface IMO11:34
wallyworldDeleteTag(machine, tag)11:34
wallyworldetc11:34
babbageclunkwallyworld: I was trying to keep consistency with the other types - like Device.Delete or File.Delete.11:36
babbageclunkwallyworld: (And to a lesser extent with the underlying API.)11:37
babbageclunkdimitern: LGTM11:39
babbageclunkdimitern: (Other than the logging that wallyworld mentioned)11:39
dimiternbabbageclunk: thanks! I've added logging and will push an update shortly11:40
babbageclunkdimitern: cool11:40
wallyworldbabbageclunk: Device and Machine interfaces for example in gomaaspi - these tend to only expose methods relevant to the domain entity which they prepresent11:41
wallyworldso given a Machine instance, you can query aspects of that machine. but you can't do things *with* that machine11:42
wallyworldit seems the Controller interface performs that role11:42
wallyworldeg AllocateMachine, ReleaseMachine etc11:43
wallyworldthere could be tag related methods on  a machine I guess11:43
babbageclunkwallyworld: No, for example Machine has Start and CreateDevice.11:43
wallyworldright, but Device (which is analogoues to tag) doesn't have methods that can be used to manipulate machines. a Device is tied to a machine, hence I can see why CreateDevice is there11:44
wallyworldso a Machine interface could gain a Tagger interface, providing AddTag() DeleteTag() GetTag() on the Machine interface11:45
babbageclunkwallyworld: Yeah, that makes sense.11:45
wallyworldbabbageclunk: and Controller already has a Machine() method - the MachineArgs would gain tags to filter on11:46
wallyworldMachines()11:47
babbageclunkwallyworld: That would make gomaasapi quite differently structured from the underlying API - do we think that's a problem?11:47
wallyworldbabbageclunk: and hopefully/maybe the StartInstance args used to start an instance in maas would have a tags attribute so you can start an instance and apply tags in one call without having to follow up with AddTag()11:48
wallyworlddoesn't the underlying api have a query machines method?11:48
wallyworldwhere you pass filter attributes to query on for example?11:48
wallyworldwhich is implemented by Controller.Machines()11:48
babbageclunkwallyworld: It does, but it doesn't support tags.11:49
wallyworldoh, damn11:49
babbageclunkwallyworld: The tag querying is done from a separate place in the api - you couldn't search by tag AND mac addresses, for example.11:50
wallyworldbabbageclunk: so, we should construct the api to be the best it can be for juju and so it is consistent with our design goals; we can adapt that to the underlying maas api and then work with them to improve theor api if it is not "tasteful"11:50
babbageclunk(Well, without doing that filtering in the gomaasapi ourselves.)11:50
wallyworldif the underlying api is not perfect, we should not build on that an expose it11:50
wallyworldwe should adapt to it so that if/wehn it improves, out api stays nice and clean11:51
wallyworldthat's IMHO11:51
babbageclunkwallyworld: yeah, I see what you mean.11:52
wallyworldthere's nothoing wrong with writing an abstraction layer that hides some dirty laundry :-)11:52
babbageclunkok - I'm going to think about that while I go for a run. Thanks!11:54
wallyworldbabbageclunk: so yeah, think of a Tag like a Device; a machine instance has a Devices() method; it would also have a Tags() method. and just as there's CreateDevice(), also there will be a CreateTag() etc11:54
wallyworldhave fun11:54
wallyworldor AddTag()11:54
rock_Hi. I want to deploy openstack using [MAAS+openstack-base-bundle]. Can anyone please give me the detailed hardware requirements. and refrence links for doing that.12:00
babbageclunkwallyworld: still around?13:05
babbageclunkwallyworld: Actually, I'm seeing a yoda-like apparition of you telling me how to handle the thing that occured to me on the run, so that's fine.13:08
voidspacedown to two failing packages13:26
dimiternvoidspace: \o/13:35
dimiternout of how many?13:35
natefinchanyone familiar with configuring squid?13:41
natefinchdimitern, voidspace, frankban, dooferlad: ^^13:45
natefinchall I want is the simplest "just forward everything from everyone" ... which google seems to think I am unique in wanting13:46
dimiternnatefinch: I've been there :) let me check my maas proxy setup13:49
natefinchdimitern: exactly what I need it for :)13:49
mupBug #1619682 opened: [azure] can't bootstrap in Central US : no OS images found for location <juju-core:New> <https://launchpad.net/bugs/1619682>13:50
dimiternnatefinch: here's my /var/lib/maas/maas-proxy.conf: http://paste.ubuntu.com/23124122/13:52
dimiternnatefinch: it's not exactly allow everything from everyone, but every segment defined in localnet13:53
natefinchthe problem with that is that then I have to edit it when things change... and if it breaks, I have to figure out what I messed up...  whereas if there were something like "mode transparent" that just did the right thing, I wouldn't have to wonder if juju is broken or my proxy is broken.13:56
natefinchdimitern: I'll try to make yours work for me.  Thanks13:56
dimiternnatefinch: I hope it helps; fwiw I found transparent mode to be quite difficult to get working right13:57
natefinchdimitern: not so transparent, eh?13:57
dimiternnatefinch: I found that using explicit http_proxy like http://10.20.20.2:8000 works best13:58
dimiternwith transparent mode you'll have tons of issues around TLS13:58
natefinchdimitern: ahh yeah, that makes sense13:58
dimiternnatefinch: last time I tried to get transparent mode working with e.g. https://cloud-images.ubuntu.com/ took me a few hours and at the end it was still not usable14:00
natefinchdimitern: well that makes testing this bug a lot harder14:00
dimiternnatefinch: you could do other things, like iptables + DNAT to the non-transparent proxy host:port14:01
natefinchdimitern: that sounds much easier :/14:04
dimiternnatefinch: http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxDnat14:06
rock_dimitern: Hi. I pused my charm to charm store. I am trying to set BUG URL. Here I am facing issue. pasted issue info : http://paste.openstack.org/show/566078/14:07
dimiternrock_: hey, I'm not sure why you're getting this error - where's your charm's source ?14:14
macgreagoirnatefinch: I don't have a maas2 setup. Maybe first step is me installing something and seeing what it needs for you?14:20
rock_dimitern: my charm source https://jujucharms.com/u/siva9296/kaminario-openstack14:20
dimiternrock_: I mean is it on launchpad or github, etc. ?14:21
natefinchmacgreagoir: we could just screen share on my machine, would seem more efficient14:22
macgreagoirnatefinch: Aye, true enough. I mostly want to see what it has now as a proxy service, compared to 1.x.14:23
rock_dimitern: my source is not on Github. And please tell me what it means [is it on launchpad]14:27
dimiternrock_: e.g. the cinder charm (https://jujucharms.com/cinder/) has bugs-url=https://bugs.launchpad.net/charms/+source/cinder/+filebug but that's because its source is at https://code.launchpad.net/charms/+source/cinder14:28
rock_dimitern: So How can I put my source on launchpad?14:32
dimiternrock_: it doesn't have to be on launchpad - use whichever code hosting / bug tracker you're familiar with14:32
dimiternrock_: have a look if this might help: https://jujucharms.com/docs/stable/charm-review-process14:33
dimiternrock_: maybe someone from the charmers team might be able to help you better (or in #juju), like marcoceppi, jcastro, lazyPower14:35
rock_dimitern: we don't have any bug tracker as of now. for pushing charm we used https://jujucharms.com/docs/2.0/authors-charm-store. And Used https://github.com/openstack-charmers/release-tools/blob/master/push-and-publish#L138 to set bug URL.14:37
rock_dimitern: OK. Tahank you. I will ask.14:37
dimiternsure, np14:39
dimiternkatco: ping14:42
katcodimitern: pong14:42
katcodimitern: err i mean "route to katco not found because of some obscure networking setup affecting juju"14:42
dimiternkatco: so it was decided to go less verbose and no way to bump it back up even you want all the details?14:42
dimiternhehe14:42
katcodimitern: yeah, that was what was suggested in the bug rick opened14:43
katcodimitern: i wanted to log the messages to debug instead, but was getting late and couldn't find a hook to a logger with debug on it. i can certainly figure that out though14:44
dimiternkatco: ok14:44
mgznatefinch: double checking, this issue is wht dbus thing you fixed in 1.25.6? http://paste.ubuntu.com/2312425314:45
mupBug #1619682 changed: [azure] can't bootstrap in Central US : no OS images found for location <cloud-images:New> <juju-core:Invalid> <https://launchpad.net/bugs/1619682>14:51
dimiternkatco: you've got a review - though not terribly useful I'm afraid14:52
katcodimitern: not a problem, tyvm for looking at it in the 1st place14:52
mgzmacgreagoir: so, I have an answer on how we've done charmstore testing15:01
macgreagoirmgz: I'm interested! :-)15:01
mgzwe had a test that monkeyed with iptables after bootstrap on the state server15:01
mgzso when deploy happened after it would go off and talk to the staging store15:02
mgzbut... we appear to have lost the test15:02
mgzmacgreagoir: aha, assess_cs_staging.py in juju-ci-tools15:04
mgzmacgreagoir: also, there seems to be a JUJU_CHARMSTORE envvar that should do something15:04
mgzbut I'm not sure where or what15:04
macgreagoirmgz: Let me see if I can find that. Rings a bell from a code comment.15:05
katcomgz: oh god please don't check something like that into juju's src tree =|15:05
natefinchmgz: yes, exactly15:07
babbageclunkvoidspace: still around? What timezone are you in at the moment?15:48
redirmorning15:54
=== frankban is now known as frankban|afk
voidspacebabbageclunk: UK16:17
voidspacebabbageclunk: so yes16:17
voidspacebabbageclunk: although grabbing coffee - back in 5!16:17
babbageclunkvoidspace: okcool16:17
voidspacebabbageclunk: finethen16:18
babbageclunkvoidspace: pingmewhenyou'reback16:20
voidspacebabbageclunk: back16:29
babbageclunkvoidspace: Cool - can we hang out?16:29
voidspacebabbageclunk: ok16:29
voidspacebabbageclunk: standup one16:30
babbageclunkvoidspace: core, right?16:30
voidspacebabbageclunk: yep16:30
natefinchgah, my eyes.... evidently debug log uses color now16:36
perrito666lol16:41
perrito666I am starting to think that someone actually adds weak points on purpose on mongo tooling16:42
rock_dimitern : As we discussed before. This issue was not solved. Series miss match issue between mycharm and cinder while adding relation from JUJU GUI. pasted info  http://paste.openstack.org/show/566123/17:05
katcohatch: ^^^17:09
* hatch pops in17:09
katcohatch: looks like maybe the gui is choosing the wrong series to deploy for a charm17:10
hatchyes I believe we've got an open PR atm for this fix17:10
hatchone moment while I confirm17:10
hatch^ rock_17:10
voidspacebabbageclunk: ping17:14
babbageclunkvoidspace: pong17:15
hatchrock_: this is indeed a GUI bug and I believe it will be resolved with the next GUI release next week cc/ katco17:15
katcohatch: thanks for checking in!17:15
katcorock_: i believe if this is critical for you to resolve, it's possible to deploy a beta version of the gui. is that right, hatch?17:15
voidspacebabbageclunk: PM sent17:16
hatchkatco: unfortunately the PR hasn't yet made it through the review & qa process17:16
hatchI'm working my way through them now17:16
rock_katco: Yes. It was critical. Because I have to test my charm in both ways[CLI and GUI]. I have critical deadline for my charm to deliver to the client.17:17
hatchrock_: when is the deadline?17:18
hatchassuming the PR is good, I will be able to get you a beta build of the GUI to test in a few hours17:19
rock_hatch/rock: I have to test it and then deliver by next week[8/9/2016].17:19
hatchohh ok that's perfect then, we should have a new release of the GUI out by then as well17:20
rock_hatch: Thank you. now please provide beta build of the GUI. i will test on it.17:21
hatchregardless though I'll ping you when I have confirmed this bug fixed (or not) with a beta build of the GUI17:21
rock_hatch: OK. Thank you for your support.17:22
hatchanytime, glad to help17:25
rock_Hi. I have a question.  For suppose acc. to openstack-base bundle requirements I have taken machines. Which node I have to take as main node to deploy bundle? Once I deploy bundle how that bundle distribute service charms to hardware machines that we have taken?18:30
rock_please provide me the network architeture of {MAAS+openstack base bundle]  based openstack setup.18:31
katcorock_: that's really a better question for #juju. you could try pinging elmo there, but i think it's past his EOD18:33
rock_katco; OK. Thank you.18:34
* redir lunches19:04
lazyPoweromg we have color in tabular status output on key fields?19:18
lazyPower\o/19:18
natefinchthere was a lot of work lately put into colorizing things19:18
hatchrock_: sorry, the fix for the issue you mentioned is not yet complete and will need some additional time to fix before it can be merged in20:02
hatchrock_: a possible workaround is to go into the subordinates "Configuration" pane in the inspector and change it to match the series you've related to20:03
hatchand then click deploy20:03
hatchThis may or may not work.20:03
hatchHowever, if your charm works as expected when deployed via the CLI you can be confident that it will also work via the GUI (assuming the GUI is free of bugs ;) )20:04
natefinchI can't tell if juju is screwed up or maas is screwed up, or if I've screwed up.20:29
=== rmcall_ is now known as rmcall
hatchCan anyone confirm for me that the Juju controller does not support local charms for the AddCharm api call?21:32
katcohatch: pretty sure this is true. you need to call AddLocalCharm21:45
mbruzekhi katco: I have a problem21:46
mbruzekkatco: I was hoping you could help me21:46
mbruzekERROR creating API connection: invalid entity name or password (unauthorized access)21:46
katcombruzek: ok, what's up?21:46
cmarshatch, that is correct. apiserver/client.AddCharm calls AddCharmWithAuthorization which rejects any charm URL that isn't a cs: URL21:46
mbruzekI did `juju log out`  and now I can not log back in21:46
katcombruzek: i think that's an open bug...21:46
mbruzekkatco: and I can not kill my controller21:47
mbruzekkatco: is there a work around?21:47
katcombruzek: https://bugs.launchpad.net/juju/+bug/161719021:48
mupBug #1617190: Logout required after failed login <juju:Incomplete by natefinch> <https://launchpad.net/bugs/1617190>21:48
katcombruzek: i guess you need to log out again?21:48
mbruzekkatco: I can not get that to work, it never logs me out of the controller.21:51
mbruzek$ juju logout21:52
mbruzekLogged out. You are still logged into 1 controller.21:52
mbruzekmbruzek@warhorse:~$ juju status21:52
mbruzekERROR no credentials provided21:52
katcombruzek: i'm trying to figure out where that error occurs21:55
katcombruzek: what version are you on?21:56
mbruzek2.0-beta16-xenial-amd6421:56
katcombruzek: can you run that command with --debug?21:59
mbruzekkatco: http://pastebin.ubuntu.com/23125739/22:00
katcoperrito666: are you still on?22:04
perrito666katco: sort of22:04
katcoperrito666: can you help mbruzek? i don't know where this error comes from22:04
* perrito666 reads backlog22:04
mbruzekperrito666: I seem to be in a weird state22:05
perrito666mbruzek: can you ssh into the machine and check the log there? it will tell you which api endpoint rejected you. My best guess is that we have some wrong permission around some basic call22:06
mbruzekssh using ubuntu to the controller did not work.22:07
mbruzekssh ubuntu@54.67.11.148 -> Permission denied (publickey).22:08
katcobradm: juju switch controller && juju ssh 022:08
katcobradm: oops sorry for the ping22:08
katcombruzek: ^^22:08
mbruzekkatco: juju switch controller -> ERROR getting account details for qualifying model name: account details for controller containers not found22:08
mbruzekbecause I am not logged in?22:09
katcoi have no idea... i have done 0 with the new ACL stuff perrito666 helped put in22:09
mbruzekkatco: I was able to list-controllers22:13
perrito666mbruzek: mm, you shoud try ssh -i ~/.local/share/juju/ssh/id_rsa ubuntu@yourip22:13
mbruzekperrito666: I was able to juju switch controller amazon  and destroy the controller22:14
perrito666or that :)22:14
mbruzekperrito666: do you still want me to ssh ?22:15
perrito666mbruzek: well you have nothing to ssh into now :p22:15
perrito666no worries, if this is a bug it will happen again soon22:15
perrito666ok, I am well past EOD/W and going to theatre, cuall22:15
mbruzekbye and thanks perrito66622:16
katcoperrito666: ta22:16
mbruzekkatco: Thanks for walking me through it. I don't have a console for this aws account and there was no other way for me to kill that instance22:18
katcombruzek: no worries, sorry for the trouble/bug. speaking of, can you file a bug for that?22:18
mbruzekDo you want me to update the bug you found?22:19
katcombruzek: no i'm not sure it's related22:19
katcombruzek: if it is we can always dupe it later22:19
hatchkatco: ohhh AddLocalCharm thanks22:44
katcohatch: np22:44
katcohatch: i am landing some tests which actually do a decent job of documenting the API calls necessary for deploying charms22:44
hatchoh great - we just have a bug which throws an error for local charms but deploys fine - I hnarrowed it down to not needing the AddCharm call22:45
hatchbut we should likely instead swap AddLocalCharm22:45
hatchalthough it doesn't appear necessary22:45
hatchkatco: so we're doing an POST to upload the actual charm then just a deploy and it works...is this just a fluke and we should instead call https://github.com/juju/juju/blob/master/api/client.go#L26922:47
katcohatch: wait, i'm sorry. AddLocalCharm is a client-side call which just reads the charm from disk... uploading and then deploying is just fine22:50
hatchohh ok perfect thanks for confirming katco23:07
hatchhave a good weekend23:07

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