[01:23] thumper: here's that PR to get the final caas things ready for 2.4. pretty please :-) https://github.com/juju/juju/pull/8784 [01:23] * thumper looks [01:50] wallyworld: just a few small things [01:51] tyvm [01:51] I kept getting distracted while reviewing [01:51] email etc. [01:51] i also have a feature test to fix [01:51] no rush i am waiting for another pr to land first [01:51] before i can land this [03:24] wallyworld: ping [03:25] yo [03:25] hangout again? [03:25] sure [04:55] thumper: small one? https://github.com/juju/os/pull/2 [04:56] needed for caas series checking to be able to give nice errors deploying a caas charm to an iaas model [05:36] wallyworld: just sorting out a merge conflict and will be proposing the tomb v1 -> v2 PR [05:42] wallyworld: https://github.com/juju/juju/pull/8785 just noticed it could do with a commit squash, as I've merged develop in there a couple times too. [06:09] veebers: ok, looking [06:10] wallyworld: i want u to take a look at mine as well. Made few commits [06:10] ok [06:24] vino: comments left. main issue is there are mssing tests for application tools methods [06:24] plus we don't need any tests for the CLI bit as there's nothing to test really [06:25] wallyworld: yes i am writing that now in application_test.go [06:25] great! [06:25] almost there [06:33] Yes. Wallyworld. I verified that with dump-db command as well. No IAAS and CAAS difference. [06:33] i will revert the chnages made in dump-db_test [06:42] ty [06:54] veebers: reviewed, a mighty effort. i have aquestion, it's in the review comment [07:42] wallyworld: wow, I can't believe how many deletemes slipped through muy intial scan of the diff :-\ === lifeless_ is now known as lifeless [09:32] manadart: can I get a code review of this PR please https://github.com/juju/juju/pull/8787 === salmankhan1 is now known as salmankhan [09:51] stickupkid: Ja. [10:16] stickupkid: Reviewed. [10:17] manadart: thanks [11:40] manadart: i've updated the PR, we require a few hoops to jump through to now get the bridgeName - not sure if it's 100% right, but works for bionic on first try [11:40] https://github.com/juju/juju/pull/8787 [11:40] stickupkid: Looking. [11:52] bdx: elox -> erik_lonroth [12:04] stickupkid: Approved; couple of minor suggestions. [12:09] manadart: nice, i'll fix those, before merging [14:00] Is there a way to specify a subnet when using juju to bootstrap a controller? [14:07] bissa, MAAS and AWS backing clouds support "Juju network spaces" [14:10] @pmatulis doesn't that require a controller to already be up? [14:14] scoobitywoops, no [14:15] juju add-space devqa 10.0.10.0/24 [14:15] ERROR cannot connect to the API server: No controllers registered. [14:18] scoobitywoops, now i see what you mean. what *i* meant was that you can apply a space during the creation of a controller [14:18] of course, almost all commands require a controller [14:20] bissa: what cloud are you using? [14:20] aws [14:20] I'm working with bissa, we're trying to build the controller in a specific vpc and subnet [14:21] vpc is fine, but can't get it to stick to a subnet [14:21] tried --to subnet= but that didn't work [14:58] hello all [14:58] I need a bit of help in juju [14:58] I was following this guide [14:58] https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/install-maas.html [14:59] while deploying all of the nodes on Virtualbox [14:59] as a test environment [15:01] user@user:~/.local/share$ sudo juju bootstrap mymaas maas-cloud-controller --constraints "mem=1G" [15:01] [sudo] password for user: [15:01] Creating Juju controller "maas-cloud-controller" on mymaas Looking for packaged Juju agent version 2.3.8 for amd64 No packaged binary found, preparing local Juju agent binary [15:01] Launching controller instance(s) on mymaas...ERROR failed to bootstrap model: cannot start bootstrap instance in any availability zone (default, Test) [15:02] ^^ that is the error i get, and im at my wits end. [15:02] chquark: are you running with —debug ? [15:03] sorry Iḿ not that experienced with juju. [15:03] juju debug-log [15:03] you mean this ? [15:03] chquark: no [15:04] chquark: you can add a —debug flag (dash dash) to bootstrap for additional data [15:04] got it [15:07] https://pastebin.com/RuGhfVrV [15:08] chquark: juju isn’t finding a machine to use to match the constrainsts given: line 36 [15:09] chquark: do you want juju to pick a specifc machine? you can bootstrap specifying a tag as a constraint instead [15:10] chquark: https://docs.jujucharms.com/2.3/en/reference-constraints [15:10] well I have 2 VMś [15:11] one for MAAS and another for JUJU [15:11] so which machine is it trying to get ? [15:12] chquark:it couldn’t find a machine based on the 1G mem constraint - [15:12] chquark: try bootstraping without the mem piece [15:13] chquark: you’ll need additional VMs, with the current setup, you’ll be able to bootstrap, but there won’t be any machines available to deploy a charm [15:13] I have also deployed 2 Nodes on VM, let me try it again without any contraints [15:16] https://pastebin.com/YWEGMvZg [15:17] https://i.stack.imgur.com/HSNAp.png [15:19] chquark: how much memory do the nodes commissioned by MAAS have? [15:20] 1GB each [15:22] https://imgur.com/a/GAQQnHt [15:23] chquark: juju usually looks for nodes with a min mem size of 4G… i wonder why juju didn’t find the commissioned node when constraints were 1G [15:24] chquark: the min controller requirements are 2G: https://docs.jujucharms.com/2.3/en/controllers [15:24] chquark: though the message you’re getting doesn’t indicated that.. juju is still trying with only 1G [15:25] is this not reffering to the Juju server ? [15:25] chquark: what do you mean by juju server? [15:27] https://imgur.com/tC6vITo [15:28] the Nodes have 1G ram, but MAAS and JUJU have 2G ram.. [15:29] chquark: in the example, node os-juju01.maas will be used as the juju controller [15:29] chquark: per your screen shots… is the Juju VM commissioned in maas? [15:30] no Juju vm not commisioned in maas [15:31] so iḿ to understand that i must add it.. let me do that right now.. [15:31] chquark: per the example, there are 5 machines commissioned in maas for juju to use, [15:32] one will be the juju controller, the others are for charms to be deployed to [15:33] ah, crap i see where my mistake can be.. [15:33] chquark: if you add the juju tag to node os-juju01.maas … then you can bootstrap with the tag as a constraint…. [15:34] yes i understand, i did not add the juju node, and had manually deployed the OS.. [15:35] so think i will have to redeploy that node again.. [15:38] chquark: if you have the nodes commissioned in maas, and bootstrap juju with the maas “cloud” - juju will do the work on those nodes for you. [15:53] @hml, thank you for your help. I will get back to you once i have commissioned the juju in maas :) [17:50] erik_lonroth: https://github.com/Ciberth/MP-appendix-a/blob/master/appendixA.md this was the guide I was working on btw! [19:29] If people are btw interested in reading my master thesis, I would love to receive feedback on wrong or unclear things. I have one more week to finish it so I'm trying to wrap things up. Ping me here if I'm here or on github/twitter: Ciberth if you want to receive the pdf! [19:29] The title is: management of polyglot persistent integrations with virtual administrators (hence the generic database use case in juju!) [20:39] Morning o/ [21:15] morning [21:23] thumper: small review? https://github.com/juju/os/pull/2 and there's a juju one that depends on it https://github.com/juju/juju/pull/8788 [21:23] ack [21:23] polishing the user experience before release [21:23] * thumper nods [21:24] it used have a have a crap message [21:29] wallyworld: FYI I addressed your comments on PR: https://github.com/juju/juju/pull/8785 [21:30] veebers: yeah, just looking :-) found at least one more case of Stop() doing the err != tomb.ErrStillAlive thing [21:30] in ping batcher [21:31] i think there's 7 cases [21:31] ah man, dropped the ball a couple times on this PR. just too eager to push it up. WIll fix [21:31] ah I know why, faulty grep [21:31] no worries, it was a monster [21:32] veebers: also, i do think we replace donewhendying() with just <-w.Tomb.Dying [21:32] more explicit and less overhead, no need for a func now [21:32] wallyworld: agreed, making it so now [21:32] awesome sauce [21:39] wallyworld: have pushed up the changes [21:46] veebers: looking [21:48] veebers: lgtm! also, don't forget to regenerate dependemcies.tsv before landing [21:48] and push that change [21:48] ensure that tomb.v1 is missing [21:49] wallyworld: tomb.v1 is needed for /juju/worker.v1 :_| [21:49] oh bollocks [21:49] do we have w worker.v2 [21:49] i guess that's next [21:50] wallyworld: indeed, has a target on it's back :-) Diff of godeps -t $(go list ./...) and deps.tsv is no changes [21:51] hey guys [21:51] say my maas controller ip changes [21:51] thumper: we couldn't think of a different name for the OS (also called Distro in the charmstore). discussed with john and jaas guys. ideally "Kubernetes" would be the OS and we'd have "1.8" or whatever for series but the versions change too quickly for that to be managable [21:52] is there a way I can update the maas cloud credentials on the controller? [21:52] specifically the endpoint [21:52] not easily (yet) sadly [21:52] the only way i know is to update mongo directly - shut down the controller agent(s) first [21:53] it's something being worked on this cycle [21:55] thumper: if we think of something better, we can change it as the charm side of things is still under development etc. fresh ideas welcome :-) [21:55] wallyworld: thanks [21:56] bdx: let us know if you need help etc. it's a big gap we know we need to fix [21:57] wallyworld: thanks, I think its going to be easier for me to just give my new maas server the ip of the old maas server [21:57] ok [21:57] wallyworld: sure [21:58] some ability to modify a cloud definition via `update-clouds` or other means would be great though [21:59] just super actually [21:59] I'm sure more people will hit this as they upgrade [21:59] as maas 2.4 is bionic only [22:03] users will need to add a new controller and switch to it when they upgrade [22:08] bdx: yeah, controller clouds and credentials both need to be managed better. the first thing being done is having juju better manage credentials which expire or become invalid. at the moment, things don't go well when that happens [22:09] especially on a jaas controller with lots of models [22:13] I can only imagine [22:16] wallyworld: ah, "if err := pb.tomb.Err(); err != tomb.ErrStillAlive {" is needed for PingBatcher Stop(), that's something you pointed out to me but I'm not 100% certain why it's needed [22:17] is that the only place? [22:18] it seems it, will re-run tests to confirm [22:19] yeah looks like it. pushing fix now, PR will have a full unit test run [23:04] wallyworld: yay merged :-) [23:04] awesome. i would still like to look into why ping batcher needed that change [23:06] wallyworld: indeed, will look into it when I get a moment [23:09] veebers: we're moving to pubsub anyway soon so may not be worth the effort [23:10] wallyworld: ack ok [23:10] veebers: i suspect it's because someting is calling Stop() twice [23:11] yeah I would suspect so too