[00:07] Bug #1558324 opened: [2.0-trunk] Error on request (45) space.delete: AttributeError: 'Subnet' object has no attribute '_vlan_cache' [00:16] Bug #1558324 changed: [2.0-trunk] Error on request (45) space.delete: AttributeError: 'Subnet' object has no attribute '_vlan_cache' [00:22] Bug #1558324 opened: [2.0-trunk] Error on request (45) space.delete: AttributeError: 'Subnet' object has no attribute '_vlan_cache' [00:24] hey roaksoax, quick question, I created a second interface on my controller with a separate subnet also set to do dhcp and dns. [00:25] however when I rekick the blades, they come up with the interface but no IP or anything assigned [00:25] any ideas what went wrong? [01:16] is it possible to log into a maas commissioned node via the console to troubleshoot? [01:37] fritchie, yes. the first interface comes up without issue and SSH is available [01:38] the second comes up and /etc/network/interfaces just shows the mtu setting and nothing else under the secondary interface [01:51] yea, I just tried it again [01:51] double checked ranges and everything. no interface config at all for p2p2 [01:53] can a maas node act as a default gateway for the dhcp network? [02:06] i'd prefer it used its standard default gateway, which I've set in the web UI [02:09] what is dhcp is being used on an isolated vlan with no router? [02:49] yes that is correct [02:49] except I cant figure out how to vlan tag in maas [02:49] so they are untagged to maas [05:05] Bug #1558383 opened: [2.0a2] dhcp set to false causes ERROR in logs [05:08] Bug #1558383 changed: [2.0a2] dhcp set to false causes ERROR in logs [05:17] Bug #1558383 opened: [2.0a2] dhcp set to false causes ERROR in logs [06:42] or davecheney ^^ [06:42] meh, wrong channel [09:14] Bug #1558188 changed: during import images boostrap fails with gomaasapi: got error back from server: 400 BAD REQUEST ({"distro_series": ["'trusty' is not a valid distro_series. [09:14] It should be one of: '', 'windows/win2012hvr2', 'ubuntu/precise'..."]}) [10:30] roaksoax: ping [10:42] Hi... I am trying to deploy CentOS 7 using the latest stable MAAS 1.9. I am following https://maas.ubuntu.com/docs1.9/os-support.html and have found an image at http://maas.ubuntu.com/images/ephemeral-v2/daily/centos70/amd64/20141129_01/. CentOS 7 shows up under "Generated Images" but I cannot select that for deployment. What am I missing? [11:23] OK, I have switched the boot resources URL to "daily" and see the images. However, when I click "deploy", they are not listed. [12:33] whois nitin [12:49] alexlist: did you import them? you have to import the images === roaksoax is now known as roaksoax-afk [13:03] folks, gm, how does one would backup nodes, cluster, images, etc, configuration for further use? [13:09] I see https://code.launchpad.net/~maas-maintainers/maas/backup, but it looks old. [15:07] Hello everyone [15:08] Has anyone try maas with vcloud director from VmWare for power management ? [15:13] any case precedent on this matter ? where access to real hypervisor does not exist and the only thing you have access is to the VMs and the allocation of resources [15:45] Bug #1558635 opened: Trying to assign an IP address statically to a device results in builtins.AttributeError: 'NoneType' object has no attribute 'link_subnet' [15:48] Bug #1558640 opened: [2.0a2] Lease notifier not working in LXD container because of apparmor [15:54] Bug #1558640 changed: [2.0a2] Lease notifier not working in LXD container because of apparmor [16:06] Bug #1558640 opened: [2.0a2] Lease notifier not working in LXD container because of apparmor [16:09] Bug #1558640 changed: [2.0a2] Lease notifier not working in LXD container because of apparmor [16:12] roaksoax-afk: you misunderstood this bug https://bugs.launchpad.net/maas/+bug/1557451 [16:12] roaksoax-afk: please see my latest comment [16:12] roaksoax-afk: you may still think it's only medium priority [16:12] roaksoax-afk: but currently we need to make 2 api calls to work out what version of maas we're running against [16:12] roaksoax-afk: first hit api/1.0 and if that fails try api/2.0 [16:13] roaksoax-afk: because there's no version independent way to find that out [16:15] Bug #1558640 opened: [2.0a2] Lease notifier not working in LXD container because of apparmor [17:15] voidspace: my understanding is that a user tells jusjut http:///MAAS [17:15] voidspace: then juju automatically adds the /api/1.0 right? [17:15] voidspace: my point being was that juju would check /api/1.0 if it returns nill or error, it would assume /api/2.0 [17:15] voidspace: which basically, would be similar to just doing a version check [17:17] roaksoax-afk: right, but that's two calls just to get the version [17:17] roaksoax-afk: I'm asking for a version independent endpoint to get that information in one call [17:18] roaksoax-afk: anyway, we understand each other - so cool [17:20] voidspace: to me it is the same. if you check for version first, and then you try to login, then that's two calls. You could simply first try 1.0 firs,t and if that doesn't work, you try 2.0 [17:20] voidspace: either way you look at it, it is 2 calls [17:22] Hey guys, when uninstalling MAAS it asks if I want to keep the database. Does this database simply contain node information or does it also contain the setup of the MAAS controller? [17:23] voidspace: note that I';m only highliting the fact that either way you look at it, you will always have to make 2 requests [17:23] voidspace: 1. check for vesion. 2. make requets to api version [17:23] or [17:24] 1. make request to 1 version 2. make request to another version [17:24] voidspace: that being said, it is medium as we are working on other critical issues at the moment, and that wont be addressed immediately [17:24] voidspace: i'd guess next week [17:25] roaksoax-afk: well, not really - we're not going to check for version on *every* api call [17:25] roaksoax-afk: we'll do it once and cache it! [17:25] roaksoax-afk: so the question is how many calls we need to do to make that initial determination [17:26] and currently that's two :-) [17:26] roaksoax-afk: but I appreciate you guys have a lot on your plate [17:26] voidspace: actully, juju is the one who adds /api/2.0 [17:26] voidspace: actully, juju is the one who adds /api/1.0 [17:26] voidspace: not the user [17:27] voidspace: so when you tell the user /MAAS, juju adds /api/1.0 [17:27] roaksoax-afk: yes [17:27] the user doesn't tell us the api version [17:27] voidspace: so, now if you add /MAAS, juju will 1. check version. 2. make api call to /api/1.0 or 2.0 [17:27] voidspace: my perspective. 1. try /api/1.0 or 1. try /api/1.0 or 2. /api/2.0 [17:28] voidspace: checking for version will always, always always yield one extra call [17:28] but hey [17:28] that's your code :) [17:28] roaksoax-afk: yes, but we make *many* api calls [17:28] roaksoax-afk: so we want to check for version once at the start and cache that [17:28] voidspace: yes, but juju would have to store the version right ? [17:28] voidspace: exactly, either way you do, yields the same result [17:29] no [17:29] voidspace: 1. you check for version, 2. you cache it. 3. all remainder api calls go to cached version [17:29] we need to know version there are two possibilities [17:29] voidspace: 1. you try /api/1.0 2. it works, you cache it. 3. all remainder api calls go to cached version [17:29] 1) there is a version independent api to find it - one call (not currently true) [17:29] 2) try 1.0 then 2.0 - two calls [17:29] then we make the actual api calls we need [17:29] so not the same [17:29] gotta go [17:29] voidspace: it is the same: [17:29] 1. try 1.0, it didn't work [17:30] 2. then assume 2.0, making actual api call [17:30] roaksoax-afk: hah, well fair enough [17:30] voidspace: as in: try to login with 1.0 first, it is not avialable. 2. try to login to 2.0 :) [17:30] we could just try 1.0 and it succeeds or we're on 2.0 - fair enough [17:30] or 3.0 ;-) [17:55] Hey guys, when uninstalling MAAS it asks if I want to keep the database. Does this database simply contain node information or does it also contain the setup of the MAAS controller? [18:45] Bug # changed: 1546475, 1549206, 1549208, 1549230, 1550540 [19:15] Bug #1558747 opened: [1.9.1] Deployment for IBM S822LC 8335-GTA fails to boot local disk following curtin install === CyberJacob is now known as zz_CyberJacob [19:45] Bug #1558755 opened: [2.0a2] Deploying machine with primary rack dead fails [20:03] jwitko: I would say most MAAS configuration is in the database, but there is a little bit in /etc as well [20:04] jwitko: what configuration would you like to preserve? [20:18] Bug #1558752 opened: [1.9.1] Failure to get DHCP address during curtin install of IBM S822LC 8335-GTA [20:40] mpontillo, i just blasted it away, but thanks [20:40] Did MAAS get rid of the "Network" menu at the top ? [20:40] was that replaced with Cluster ? [20:43] jwitko: in 1.9 I think that was replaced with the Fabrics tab, in 2.0 it'll be "Networks" (but be very different) [20:43] jwitko: all network configuration available in the UI is under the clusters tab though [20:43] ty [20:49] hey mpontillo, quick question - is there any way to easily add a list of macs into maas? [20:49] is the +Add new MAC button for multiple MACs on one machine? or will that add them as separate servers [20:50] jwitko: that's for a single machine. if you want to add things in bulk, I'd use the API. I can get you an example in a sec [20:53] jwitko: if you haven't used the API client before, first use the "maas login" command, for example "maas login admin http://your-maas-ip:5240/MAAS/ ", where is the key from your user preferences page [20:54] jwitko: here are some example commands I use to add a few NUCs and a libvirt-based hypervisor: https://paste.ubuntu.com/15410283/ [20:55] (those examples assume you are using the "admin" profile with the MAAS CLI.) [20:57] jwitko: also, I have a couple scripts to generate those commands from a YAML file, if that's useful to you. see https://code.launchpad.net/~mpontillo/+junk/maas-qa-utils [20:59] this I like [20:59] nope [21:25] Bug #1558785 opened: [2.0a2] Detected deadlocks in postgres should be handled list a serialization failure [21:44] hey mpontillo that really helped thank you [21:44] the servers have all installed and booted. [21:45] couple of follow up questions though [21:45] np jwitko, good luck (and let us know if you have feedback) [21:45] 1) The secondary interface is not coming up with any sort of configuration except the mtu setting [21:45] jwitko: sure, though I need to go afk for awhile, so replies might be slow [21:45] 2) Is there any way to set static IPs to nodes ? [21:46] jwitko: you should be able to change the interface settings (including static IPs) on the node details page; if there are items you cannot change related to networking, please check if you can set them via the command line API [21:46] * mpontillo -> afk [21:50] mpontillo, it says "auto assign" so I'm guessing I need to turn off DHCP and DNS on the interfaces and turn them into unmanaged? [21:50] How will PXE boot requests get DHCP leases then :? [21:53] jwitko: we add a static mapping in the dhcp server (assuming we manage dhcp for that network) [21:54] Sorry? [21:54] jwitko: making the network unmanaged isn't required (nor would that be recommended) [21:54] by assuming we manage dhcp, do you mean assuming there is an alternative dhcpd providing service ? [21:54] oh [21:55] jwitko: well, you can use your own DHCP server, but that is not recommended [21:55] ok, I see i had to power the machines off before reconfiguring their network [21:56] mpontillo, so back to the interface that does not get configured [21:56] when I get to set the static IP address, it works fine for the first interface [21:56] but the fabric-2 interface shows no subnets to choose from [21:57] however there is a vlan tagged subnet that shows up under "Subnets" tab [21:57] jwitko: I assume that's not a subnet managed by MAAS? You can use the API to add VLANs and subnets to that fabric [21:57] if i take "eth1" and set it to "fabric-1", the VLAN menu does not allow for a drop-down [21:58] mpontillo, it should have been auto configured from maas install? [21:58] it shows under fabric-1 in the subnets tab, I see the untagged section with no information and then the vlan tagged one with all the correct info [21:58] however on the node network section it does not allow me to select the VLAN tagged subnet [21:59] it should be a subnet managed by maas? [22:03] sorry, i had to add the additional interface on the node drill down [22:25] jwitko: hmm ok, when you commission the node it should run the DHCP client and discover all interfaces available, if it can. but it doesn't check tagged VLANs [22:26] that would make commissioning take quite awhile, since it would need to check 4094 possibilities ;-) [22:27] mpontillo, is there a way to configure the nodes to deploy with a bridged interface set up? [22:28] instead of having my eth1 and my vlan tagged eth1.600, could I create eth1, br1, br1.600 ? [22:28] Are there any service providers using MAAS yet? [22:28] jwitko: MAAS does not yet support bridges; we are thinking about doing that for MAAS 2.1. the 1.x philosophy is that bridges are solidly juju's territory [22:28] got it. thanks