[00:35] Bug #1673634 opened: [2.2] Spurious test failure: test__handles_missing_system_handler_on_notification [00:45] Ok FYI, figured it out.... Something [MAAS?] mangled or failed to restore the node's UEFI settings to PXE boot once it was released, and thus it was just booting to the installed/deployed OS but with cloud-init messages all over and confusing me. [03:09] Hi, can somebody help me with the open stack install... i have a problem when i run JUJU_BOOTSTRAP_TO=------- openstack-install [03:09] it's my log: [03:09] [ERROR: 03-16 20:31:20, gui.py:269] A fatal error has occurred: Problem with juju bootstrap. [ERROR: 03-16 20:31:20, gui.py:270] Problem with juju bootstrap. Traceback (most recent call last): File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run result = self.fn(*self.args, **self.kwargs) File "/usr/share/openstack/cloudinstall/controllers/install/multi.py", line 146, in do_install raise Exception("Prob [03:15] Bug #1673655 opened: deploy of a custom image failed [03:21] Bug #1673655 changed: deploy of a custom image failed [03:24] Bug #1673655 opened: deploy of a custom image failed [08:22] cd/win 6 [09:12] Bug #1671839 changed: Improve how the ssh key is shown in the UI [09:42] Bug #1673713 opened: django.db.utils.IntegrityError: duplicate key value violates unique constraint "maasserver_staticipaddress_ip_key" [09:45] i think i have found a bug [09:45] when using maas with vmware sdb mostly gets the mbr then when using juju to deploy the VM doesnt boot [09:46] because it expects the first hd [09:47] it seems that scsi ids are not correctly read by maas or ubuntu [10:07] maas won't let me assign a vlan on what it considers to be the default on a fabric [10:07] and i seem unable to change the default... [10:07] how do you deal with this? [10:08] sorry i dont use vlans in maas since the tagging is on vmware side [10:12] Bug #1673724 opened: [2.2] MAAS sets the last disk (i.e. sdf) as the boot device, instead of the first (i.e. sda) [10:12] Bug #1673726 opened: scsi ids with vmware are not correctly used [10:16] hmm did somebody open up the same problem as i have with https://launchpad.net/bugs/1673724 [10:24] cnf: i dont fully understand what you wnt to do ? [11:21] roaksoax: job called for my attention,. there :P [11:22] roaksoax: so if i make a fabric, and add 3 VLAN's with subnets to it [11:22] and i configure an interface on a machine [11:22] it picks the 1st vlan [11:23] i can add the other 2 vlans tagged, but it will not let me add the 1st one tagged, it seems [11:31] cnf: hmm can it be that you can only have one vlan per fabric? [11:32] cnf: you mean, you have: [11:32] cnf: forget that [11:32] fabric-0.untagged.subnet1 [11:33] fabric-0.vlanX.subnet1 [11:33] fabric-0.vlanY.subnet3 [11:33] and configuring interfaces [11:33] that would be: [11:33] roaksoax: no, there is no untagged traffic [11:34] cnf: right, but your switchport has the management vlan set ? (which would be considered untagged, as you dont need ethX. configured to receive traffic?) [11:35] the switch doesn't allow untagged data [11:35] on that port, anyway [11:37] cnf: but you still have a management vlan no ? [11:37] cnf: for example, switch port management vlan could be 10 [11:37] and you have tagged traffic on vlan 100 and vlan 200 [11:37] on the same switch port [11:37] so effectively, you can access eth0 -> vlan10, management vlan [11:37] eth0.100 -> tagged [11:37] eth0.200 -> tagged [11:41] no [11:41] no untagged traffic on that switch [11:41] management is on a different switch [11:42] untagged traffic just gets blackholed [11:43] roaksoax: and maas doesn't seem to like this :P [11:51] hmm [11:52] roaksoax: so maas expects there to be untagged traffic on a port? [11:52] so i need to create a fake subnet, just to free the vlan on that port? [11:52] why can't i pick which one is untagged, anyway? [11:54] Bug #1669833 opened: [2.2b3] Cannot add subnet via the WebUI [11:55] roaksoax: so even if my switch had an untagged vlan, if that vlan was 4090, i'd have the same problem [11:55] it picks the smallest one, and hard locks it on the interface [11:55] (or i am doing something wrong) [11:57] no, can't even make a fake "untagged" vlan, and assign it [11:57] it locks to the lowest number vlan [11:57] am I doing something wrong, or is this a bug? [11:59] cnf: not really no [11:59] cnf: eth0 -> unconfigured [11:59] eth0 -> vlan10 [11:59] not really a bug, or not really doing something wrong? [12:00] cnf: I can configure multiple vlans for 1 interface [12:01] yes, but NOT the lowerst numbered one [12:01] not tagged, anyway [12:01] because maas seems to assume that is untagged [12:01] i can add the other ones just fine [12:02] so, i have vlans 2, 4011 and 4012 [12:02] when i connect an interface, maas puts it in vlan 2 [12:02] untagged [12:02] i can now add tagged vlans 4011 and 4012 to that interface [12:02] this works [12:02] but i can not add vlan 2 to it, tagged [12:03] it just won't let me [12:03] it lets me click save, it just doesn't do anything [12:03] cnf: so you have this: [12:03] Bug #1669833 changed: [2.2b3] Cannot add subnet via the WebUI [12:04] cnf: fabric-0 - untagged [12:04] - vlan2 - subnet1 [12:04] - vlan4011 - subnet2 [12:04] - vlan4012 - subnet3 [12:05] yes [12:05] sent you a screenshot of it in pm [12:05] has some public ranges, hence the pm [12:06] and your interfaces look like: [12:06] name - Fabric - VLAN - Subnet - IP Address [12:06] -------------------------------------------------------------- [12:06] eth0 - fabric-0 - untagged - unconfigured - unconfigured [12:06] eth0.2 - fabric-0 - untagged - vlan2 - Auto assign [12:06] eth0.4011 - fabric-0 - untagged - vlan4011 - Auto assign [12:06] eth0.4012 - fabric-0 - untagged - vlan4012 - Auto assign [12:07] i don't know how to get it in that format :P but the webui doesn't let me make eth0.2 [12:07] or maybe it just doesn't show it? [12:08] cnf: hover over 'eth0' [12:08] on the far right, there will be an icon for ' + ' [12:08] hover over the '+' [12:09] click it [12:09] roaksoax: i mean, it shows me eth0.4011 and eth.4012 [12:09] but NOT eth0.2 [12:09] yes [12:09] it will not give me eth0.2 [12:09] i added 4011 and 4012 fine [12:09] Bug #1669833 opened: [2.2b3] Cannot add subnet via the WebUI [12:10] cnf: when you hit on the + [12:11] doens't show you a drop down to select the VLAN interface ? [12:11] it does [12:11] i can pick vlan 2 [12:11] it lets me fill everything out [12:11] it lets me click save [12:11] and then it doesn't have that config [12:11] it's just gone [12:12] for vlan 2, the other ones work [12:12] cnf: ohhh, so while you do that tail the logs? tail -f /var/log/maas/*.log [12:12] there's a bug in 2.1 that it doens't surface errors on the UI [12:12] but that's fixed on trunk now [12:13] cnf: but fwiw: http://imgur.com/a/WSYlU [12:13] http://imgur.com/a/unTlI [12:13] you have a functional subnet on your untagged, though [12:13] i was trying to fake that [12:14] ith the fe80::/10 [12:14] my interface locks on vlan 2 [12:14] cnf: tail the logs [12:14] cnf: if it allows you to add the other vlans, there's no reason why it shouldn;t allow you to add 2 [12:16] https://bpaste.net/show/5a06e31c1df2 [12:16] machine.create_vlan: {"vlan": ["A VLAN interface can only belong to a tagged VLAN."]} [12:17] cnf: that's a weird and unuseful error [12:17] cnf: try deleting vlan2 [12:17] re-adding it again [12:17] and see what happens [12:17] http://imgur.com/a/67JHS [12:17] cnf: also, fwiw, I just create a new fabric, without any vlans whatsoever and I was able to configure the interface appropriately [12:17] as you can see, the VLAN field is grayed out [12:18] i have no choice as to what vlan is "untagged" on it [12:18] cnf: ohh, istead of editing the physical interface [12:18] cnf: click on the "+" sign [12:19] yeah, but i can't [12:19] it thinks vlan 2 is untagged, so it won't let me add it [12:19] yes [12:19] that;s the problem [12:22] so i don't know how to fix this [12:23] Go to the 'Subnets' tag [12:24] cnf: click on tour vlan 2 [12:24] what's teh VID? [12:24] shit, i deleted a wrong interface [12:25] and i don't know the MAC [12:25] did you delete the PXE interface ? [12:26] if not, just re-commission the machine [12:26] yes, i did :P [12:26] cnf: any, it is fairly simple to fix [12:26] go to vlan2 [12:26] switch the VID back to 9 [12:26] 0 [12:26] swithc the name [12:26] back to 'default vlan' [12:26] then add a new vlan2 [12:26] and problem solved [12:27] so it sees the very 1st one added as "default" ? [12:28] cnf: every single time you add a fabric an 'untagged' vlan will be create [12:28] that will always be the "physical link" vlan , so to speak [12:29] oh, and I probably edited that one, because there isn't one for me [12:29] ok, unexpected... [12:29] roaksoax: that does seem to work, thanks! [12:30] i'm going to grab lunch, and let that one machine add itself again [12:30] bbiab \o [12:55] roaksoax: btw, i consider this a bug, it assumes the untagged vlan is the same on every port [12:55] (this is why we don't do untagged traffic on trunk ports, btw :P ) [12:56] cnf: actually it is not a bug. It's specifically designed to be that way [12:59] cnf: while you may be blocking a vlan on the swithc, the underlying physical interface is sitll connected to the switch [13:03] roaksoax: it is, but port 1 on switch a can have vlan 10 untagged, and port 2 can have vlan 20 untagged [13:03] maas can't deal with this [13:04] cnf: that's by design [13:04] for good or bad :/ [13:04] hmm [13:05] cnf: you should file a bug about that, maybe we can change's the decision maker's mind on this :P [13:07] where would I file this bug? [13:07] cnf: https://bugs.launchpad.net/maas/+filebug [13:07] fwiw, when we initially implemented the suport for vlans [13:08] we allowed to deal with that use case [13:08] but we had to remove it [13:08] "had to" ? [13:11] roaksoax: so it doesn't affect me too much, because we keep untagged traffic off of our trunks, anyway, but it sure bit me in the rear there :P [13:11] on a different question [13:11] when i add a machine, the root partition gets created with LVM [13:11] which is cool [13:11] but about half the time, it uses sdb to create the root [13:11] which isn't cool :P [13:11] when i delete it from sdb, i can't manually configure lvm on sda [13:12] so now half my nodes have lvm, and have do not [13:13] cnf: you should be able to recreate your lvm just fine [13:13] on sda [13:14] hmm, i don't see the options [13:14] let me look again [13:15] unver "available disks and partitions" [13:15] there should be a button for "Create volume group" [13:15] oh, so there is [13:18] roaksoax: yep, i was just blind :P [13:18] :) [13:25] Question to the group. How is it suggested to setup DHCP forwarding on a switch to multiple rack controllers? use a vip for the controllers or use a broadcast address for forwarding? [13:38] are there separate install methods for the maas cli? [13:39] vogelc: https://docs.ubuntu.com/maas/devel/en/installconfig-network-dhcp#dhcp-relay [13:39] 2.2+ only though [13:44] roaksoax: we tried dhcp relay and it was strange. when a node would be deployed it would set the network interface to the network the DHCP server was on not the network we had the relay on. Strangely it would give it the correct IP. [13:46] roaksoax: so what we are doing now is putting all the subnets in the same fabric. [13:49] vogelc: that's expected [13:49] isc-dhcp.network1 ---- dhcp-relay ---- machine would dhcp from network1 [13:52] ah HP slow boot... [13:52] so much fun during maas debugging... [14:07] uhm [14:07] hmm [14:09] should maas not add interface routes for interfaces? [14:10] k this is confusing [14:14] i have a non-working network setup from a maas deploy [14:19] roaksoax: so it seems the interface isn't brought up properly if you don't configure the untagged interface [14:19] i had to manually edit /etc/network/interfaces [14:19] and add "auto " to it [14:19] cnf: maas machine get-curtin-config would tell me the config [14:19] and ifdown, and ifup said interface [14:20] yeah, i don't have a working maas cli atm [14:20] let me see how that works [14:23] hmm, login isn't working [14:24] ok [14:24] Bug #1673791 opened: [2.2b3] Running a full test suite leaves machines as Testing [14:25] pasted it in pm roaksoax [14:25] there was no entry for enp3s0f0 in /etc/network/interfaces, so none of the vlan devices came up [14:34] Hello guys, can anyone help me? Im having some issues with my MaaS server [14:36] SARAH__, ask and see [14:37] I have a raw image that I want to import with maas, but I just couldnt find a way to do so [14:43] SARAH__: is this an ubuntu image ? [14:43] it's a debian mage [14:43] image [14:50] SARAH__: maas admin boot-resources create name=custom1 title=”Ubuntu Custom Image” architecture=amd64/generic content@=/home/ubuntu/ubuntu-custom-root-tgz [14:50] simthing like that [14:50] SARAH__: by raw, you mean it is a ddtgz ? [14:52] I get an error when I try to do that command, it's somehow missing [14:56] maas admin boot-resources create name=custom1 title="Custom Image" architecture=amd64/generic content@=/path/to/image [14:57] maas admin boot-resources create name=custom1 title="Custom Image" architecture=amd64/generic content@=/path/to/image filetype=ddtgz [14:57] for example [14:59] hmm [14:59] roaksoax: other machine, some interfaces up, some not [15:01] and an ifdown / ifup of the raw interface fixes it [15:01] o,O [15:04] why is my ''rack-controller'' not connected to the region and how do I fix it ? [15:07] Abir, restart it? [15:08] I tried that, nothing [15:08] Abir, command used? [15:09] I restarted the whole server ... [15:33] Abi... [15:37] Bug #1646160 changed: [2.1] Device discovery UI does not have a loading state [15:49] hi, is there any way to disable DHCP on a specific network/interface? I setup both Region and rack controller in the same host. [15:50] the host has eth0 connect to the external network. It shouldn't enable DHCP on external network. [15:50] Any idea? [15:55] jianghuaw_: you cannot enabled/disable dhcp on an interface [15:55] you enable/disable dhcp on a vlan [15:55] so if you have a rack controller interface connected to a vlanx (for example, untagged), and you enable DHCP on the "untagged" vlan [15:55] you are telling maas that dhcp is to be provided in that VLAN [15:58] roaksoax, thanks for the response. oh. I see. I have two interfaces connected to two untagged vlan. I should be able to disable dhcp on the one which is connected to external. [15:58] correct? [16:00] jianghuaw_: if you have 1 machine, with 2 interfaces connected to the same broadcast domain, without a bond, that seems like is likely to break other things than just doing dhcp on both interfaces [16:01] they are two isolated network. not in the same broadcast domain. [16:02] jianghuaw_: then it is strnage that they are in the same vlan [16:03] jianghuaw_: for example, if you enable dhcp on fabric-0.untagged [16:03] and you have a rack controller on eth0.fabric-0.untagged and eth1.fabric-0.untagged [16:03] that means you have two interfaces on the same vlan [16:03] Ah acutally they belong to different Fabric. [16:05] jianghuaw_: right... so the way it works is just maas would enable dhcp against those interfaces in the vlan you are enabling [16:15] roaksoax, indeed. Thanks. [16:18] Hi, is there any way to get node interfaces using python-libmass ? [16:38] David_Orange: not yet, but we are working on it! [16:41] David_Orange, objects in libmaas have a _data attribute which is not really *meant* to be used, but it's probably there, with the caveat that 'private' attributes are highly liable to change [16:41] roaksoax: thanks for your answer. I take a look to the code, of the machine class, but i can not figure how to add this set [16:41] roaksoax: thks for this clue, i will check if it can be enought for now [16:45] roaksoax: thx, it is enough for me. I suppose _data is the raw response from the api ? [16:45] David_Orange: yes, that's the raw response [16:46] anyone seen kiko lately? [16:46] David_Orange: i.e. machine = client.machines.get(system_id="an8xxy") [16:46] machine._data["interface_set"] [16:46] stormmore: he's probably traveling lately [16:47] ah no problem :) [16:47] roaksoax: yeah, get it. Thx [16:51] updated the bug for him :) [17:37] Hey MAAS folks, has there been any thoughts about the possibility of easily/automatically adding A records for the power addresses of machines? [18:46] Bug #1673854 opened: Commissioning selects wrong boot drive on 3-disk KVM [21:44] maas 2.1 cli login returns: Expected application/json, got: text/html; charset=utf-8 [21:44] either I manually copied and pasted the api key or followed https://docs.ubuntu.com/maas/2.1/en/manage-cli to provide the key through a file.