/srv/irclogs.ubuntu.com/2017/03/17/#maas.txt

mupBug #1673634 opened: [2.2] Spurious test failure: test__handles_missing_system_handler_on_notification <MAAS:Triaged> <https://launchpad.net/bugs/1673634>00:35
derekcatOk 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.00:45
eduardHi, can somebody help me with the open stack install... i have a problem when i run JUJU_BOOTSTRAP_TO=------- openstack-install03:09
eduardit's my log:03:09
eduard[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("Prob03:09
mupBug #1673655 opened: deploy of a custom image failed  <MAAS:New> <https://launchpad.net/bugs/1673655>03:15
mupBug #1673655 changed: deploy of a custom image failed  <MAAS:New> <https://launchpad.net/bugs/1673655>03:21
mupBug #1673655 opened: deploy of a custom image failed  <MAAS:New> <https://launchpad.net/bugs/1673655>03:24
roaksoaxcd/win 608:22
mupBug #1671839 changed: Improve how the ssh key is shown in the UI <MAAS:Fix Released> <https://launchpad.net/bugs/1671839>09:12
mupBug #1673713 opened: django.db.utils.IntegrityError: duplicate key value violates unique constraint "maasserver_staticipaddress_ip_key" <MAAS:New> <https://launchpad.net/bugs/1673713>09:42
ybaumyi think i have found a bug09:45
ybaumywhen using maas with vmware sdb mostly gets the mbr then when using juju to deploy the VM doesnt boot09:45
ybaumybecause it expects the first hd09:46
ybaumyit seems that scsi ids are not correctly read by maas or ubuntu09:47
cnfmaas won't let me assign a vlan on what it considers to be the default on a fabric10:07
cnfand i seem unable to change the default...10:07
cnfhow do you deal with this?10:07
ybaumysorry i dont use vlans in maas since the tagging is on vmware side10:08
mupBug #1673724 opened: [2.2] MAAS sets the last disk (i.e. sdf) as the boot device, instead of the first (i.e. sda) <MAAS:New> <https://launchpad.net/bugs/1673724>10:12
mupBug #1673726 opened: scsi ids with vmware are not correctly used <MAAS:Incomplete> <https://launchpad.net/bugs/1673726>10:12
ybaumyhmm did somebody open up the same problem as i have with https://launchpad.net/bugs/167372410:16
roaksoaxcnf: i dont fully understand what you wnt to do ?10:24
cnfroaksoax: job called for my attention,. there :P11:21
cnfroaksoax: so if i make a fabric, and add 3 VLAN's with subnets to it11:22
cnfand i configure an interface on a machine11:22
cnfit picks the 1st vlan11:22
cnfi can add the other 2 vlans tagged, but it will not let me add the 1st one tagged, it seems11:23
ybaumycnf: hmm can it be that you can only have one vlan per fabric?11:31
roaksoaxcnf: you mean, you have:11:32
ybaumycnf: forget that11:32
roaksoaxfabric-0.untagged.subnet111:32
roaksoaxfabric-0.vlanX.subnet111:33
roaksoaxfabric-0.vlanY.subnet311:33
roaksoaxand configuring interfaces11:33
roaksoaxthat would be:11:33
cnfroaksoax: no, there is no untagged traffic11:33
roaksoaxcnf: right, but your switchport has the management vlan set ? (which would be considered untagged, as you dont need ethX.<vlan> configured to receive traffic?)11:34
cnfthe switch doesn't allow untagged data11:35
cnfon that port, anyway11:35
roaksoaxcnf: but you still have a management vlan no ?11:37
roaksoaxcnf: for example, switch port management vlan could be 1011:37
roaksoaxand you have tagged traffic on vlan 100 and vlan 20011:37
roaksoaxon the same switch port11:37
roaksoaxso effectively, you can access eth0 -> vlan10, management vlan11:37
roaksoaxeth0.100 -> tagged11:37
roaksoaxeth0.200 -> tagged11:37
cnfno11:41
cnfno untagged traffic on that switch11:41
cnfmanagement is on a different switch11:41
cnfuntagged traffic just gets blackholed11:42
cnfroaksoax: and maas doesn't seem to like this :P11:43
cnfhmm11:51
cnfroaksoax: so maas expects there to be untagged traffic on a port?11:52
cnfso i need to create a fake subnet, just to free the vlan on that port?11:52
cnfwhy can't i pick which one is untagged, anyway?11:52
mupBug #1669833 opened: [2.2b3] Cannot add subnet via the WebUI <MAAS:New for ricgard> <https://launchpad.net/bugs/1669833>11:54
cnfroaksoax: so even if my switch had an untagged  vlan, if that vlan was 4090, i'd have the same problem11:55
cnfit picks the smallest one, and hard locks it on the interface11:55
cnf(or i am doing something wrong)11:55
cnfno, can't even make a fake "untagged" vlan, and assign it11:57
cnfit locks to the lowest number vlan11:57
cnfam I doing something wrong, or is this a bug?11:57
roaksoaxcnf: not really no11:59
roaksoaxcnf: eth0 -> unconfigured11:59
roaksoaxeth0 -> vlan1011:59
cnfnot really a bug, or not really doing something wrong?11:59
roaksoaxcnf: I can configure multiple vlans for 1 interface12:00
cnfyes, but NOT the lowerst numbered one12:01
cnfnot tagged, anyway12:01
cnfbecause maas seems to assume that is untagged12:01
cnfi can add the other ones just fine12:01
cnfso, i have vlans 2, 4011 and 401212:02
cnfwhen i connect an interface, maas puts it in vlan 212:02
cnfuntagged12:02
cnfi can now add tagged vlans 4011 and 4012 to that interface12:02
cnfthis works12:02
cnfbut i can not add vlan 2 to it, tagged12:02
cnfit just won't let me12:03
cnfit lets me click save, it just doesn't do anything12:03
roaksoaxcnf: so you have this:12:03
mupBug #1669833 changed: [2.2b3] Cannot add subnet via the WebUI <MAAS:New for ricgard> <https://launchpad.net/bugs/1669833>12:03
roaksoaxcnf: fabric-0 - untagged12:04
roaksoax         - vlan2    - subnet112:04
roaksoax         - vlan4011 - subnet212:04
roaksoax         - vlan4012 - subnet312:04
cnfyes12:05
cnfsent you a screenshot of it in pm12:05
cnfhas some public ranges, hence the pm12:05
roaksoaxand your interfaces look like:12:06
roaksoaxname      - Fabric   - VLAN     - Subnet       - IP Address12:06
roaksoax--------------------------------------------------------------12:06
roaksoaxeth0      - fabric-0 - untagged - unconfigured - unconfigured12:06
roaksoaxeth0.2    - fabric-0 - untagged - vlan2        - Auto assign12:06
roaksoaxeth0.4011 - fabric-0 - untagged - vlan4011     - Auto assign12:06
roaksoaxeth0.4012 - fabric-0 - untagged - vlan4012     - Auto assign12:06
cnfi don't know how to get it in that format :P  but the webui doesn't let me make eth0.212:07
cnfor maybe it just doesn't show it?12:07
roaksoaxcnf: hover over 'eth0'12:08
roaksoaxon the far right, there will be an icon for ' + <edit> <bin>'12:08
roaksoaxhover over the '+'12:08
roaksoaxclick it12:09
cnfroaksoax: i mean, it shows me eth0.4011 and eth.401212:09
cnfbut NOT eth0.212:09
cnfyes12:09
cnfit will not give me eth0.212:09
cnfi added 4011 and 4012 fine12:09
mupBug #1669833 opened: [2.2b3] Cannot add subnet via the WebUI <MAAS:New for ricgard> <https://launchpad.net/bugs/1669833>12:09
roaksoaxcnf: when you hit on the +12:10
roaksoaxdoens't show you a drop down to select the VLAN interface ?12:11
cnfit does12:11
cnfi can pick vlan 212:11
cnfit lets me fill everything out12:11
cnfit lets me click save12:11
cnfand then it doesn't have that config12:11
cnfit's just gone12:11
cnffor vlan 2, the other ones work12:12
roaksoaxcnf: ohhh, so while you do that tail the logs? tail -f /var/log/maas/*.log12:12
roaksoaxthere's a bug in 2.1 that it doens't surface errors on the UI12:12
roaksoaxbut that's fixed on trunk now12:12
roaksoaxcnf: but fwiw: http://imgur.com/a/WSYlU12:13
roaksoaxhttp://imgur.com/a/unTlI12:13
cnfyou have a functional subnet on your untagged, though12:13
cnfi was trying to fake that12:13
cnfith the fe80::/1012:14
cnfmy interface locks on vlan 212:14
roaksoaxcnf: tail the logs12:14
roaksoaxcnf: if it allows you to add the other vlans, there's no reason why it shouldn;t allow you to add 212:14
cnfhttps://bpaste.net/show/5a06e31c1df212:16
cnfmachine.create_vlan: {"vlan": ["A VLAN interface can only belong to a tagged VLAN."]}12:16
roaksoaxcnf: that's a weird and unuseful error12:17
roaksoaxcnf: try deleting vlan212:17
roaksoaxre-adding it again12:17
roaksoaxand see what happens12:17
cnfhttp://imgur.com/a/67JHS12:17
roaksoaxcnf: also, fwiw, I just create a new fabric, without any vlans whatsoever and I was able to configure the interface appropriately12:17
cnfas you can see, the VLAN field is grayed out12:17
cnfi have no choice as to what vlan is "untagged" on it12:18
roaksoaxcnf: ohh, istead of editing the physical interface12:18
roaksoaxcnf: click on the "+" sign12:18
cnfyeah, but i can't12:19
cnfit thinks vlan 2 is untagged, so it won't let me add it12:19
roaksoaxyes12:19
roaksoaxthat;s the problem12:19
cnfso i don't know how to fix this12:22
roaksoaxGo to the 'Subnets' tag12:23
roaksoaxcnf: click on tour vlan 212:24
roaksoaxwhat's teh VID?12:24
cnfshit, i deleted a wrong interface12:24
cnfand i don't know the MAC12:25
roaksoaxdid you delete the PXE interface ?12:25
roaksoaxif not, just re-commission the machine12:26
cnfyes, i did :P12:26
roaksoaxcnf: any, it is fairly simple to fix12:26
roaksoaxgo to vlan212:26
roaksoaxswitch the VID back to 912:26
roaksoax012:26
roaksoaxswithc the name12:26
roaksoaxback to 'default vlan'12:26
roaksoaxthen add a new vlan212:26
roaksoaxand problem solved12:26
cnfso it sees the very 1st one added as "default" ?12:27
roaksoaxcnf: every single time you add a fabric an 'untagged' vlan will be create12:28
roaksoaxthat will always be the "physical link" vlan , so to speak12:28
cnfoh, and I probably edited that one, because there isn't one for me12:29
cnfok, unexpected...12:29
cnfroaksoax: that does seem to work, thanks!12:29
cnfi'm going to grab lunch, and let that one machine add itself again12:30
cnfbbiab \o12:30
cnfroaksoax: btw, i consider this a bug, it assumes the untagged vlan is the same on every port12:55
cnf(this is why we don't do untagged traffic on trunk ports, btw :P )12:55
roaksoaxcnf: actually it is not a bug. It's specifically designed to be that way12:56
roaksoaxcnf: while you may be blocking a vlan on the swithc, the underlying physical interface is sitll connected to the switch12:59
cnfroaksoax: it is, but port 1 on switch a can have vlan 10 untagged, and port 2 can have vlan 20 untagged13:03
cnfmaas can't deal with this13:03
roaksoaxcnf: that's by design13:04
roaksoaxfor good or bad :/13:04
cnfhmm13:04
roaksoaxcnf: you should file a bug about that, maybe we can change's the decision maker's mind on this :P13:05
cnfwhere would I file this bug?13:07
roaksoaxcnf: https://bugs.launchpad.net/maas/+filebug13:07
roaksoaxfwiw, when we initially implemented the suport for vlans13:07
roaksoaxwe allowed to deal with that use case13:08
roaksoaxbut we had to remove it13:08
cnf"had to" ?13:08
cnfroaksoax: 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 :P13:11
cnfon a different question13:11
cnfwhen i add a machine, the root partition gets created with LVM13:11
cnfwhich is cool13:11
cnfbut about half the time, it uses sdb to create the root13:11
cnfwhich isn't cool :P13:11
cnfwhen i delete it from sdb, i can't manually configure lvm on  sda13:11
cnfso now half my nodes have lvm, and have do not13:12
roaksoaxcnf: you should be able to recreate your lvm just fine13:13
roaksoaxon sda13:13
cnfhmm, i don't see the options13:14
cnflet me look again13:14
roaksoaxunver "available disks and partitions"13:15
roaksoaxthere should be a button for "Create volume group"13:15
cnfoh, so there is13:15
cnfroaksoax: yep, i was just blind :P13:18
roaksoax:)13:18
vogelcQuestion 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:25
cnfare there separate install methods for the maas cli?13:38
roaksoaxvogelc: https://docs.ubuntu.com/maas/devel/en/installconfig-network-dhcp#dhcp-relay13:39
roaksoax2.2+ only though13:39
vogelcroaksoax: 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:44
vogelcroaksoax: so what we are doing now is putting all the subnets in the same fabric.13:46
roaksoaxvogelc: that's expected13:49
roaksoaxisc-dhcp.network1 ---- dhcp-relay ---- machine would dhcp from network113:49
cnfah HP slow boot...13:52
cnfso much fun during maas debugging...13:52
cnfuhm14:07
cnfhmm14:07
cnfshould maas not add interface routes for interfaces?14:09
cnfk this is confusing14:10
cnfi have a non-working network setup from a maas deploy14:14
cnfroaksoax: so it seems the interface isn't brought up properly if you don't configure the untagged interface14:19
cnfi had to manually edit /etc/network/interfaces14:19
cnfand add "auto <nicname>" to it14:19
roaksoaxcnf: maas <user> machine get-curtin-config <system-id> would tell me the config14:19
cnfand ifdown, and ifup said interface14:19
cnfyeah, i don't have a working maas cli atm14:20
cnflet me see how that works14:20
cnfhmm, login isn't working14:23
cnfok14:24
mupBug #1673791 opened: [2.2b3] Running a full test suite leaves machines as Testing <hardware-testing> <MAAS:Triaged> <https://launchpad.net/bugs/1673791>14:24
cnfpasted it in pm roaksoax14:25
cnfthere was no entry for enp3s0f0 in /etc/network/interfaces, so none of the vlan devices came up14:25
SARAH__Hello guys, can anyone help me? Im having some issues with my MaaS server14:34
pmatulisSARAH__, ask and see14:36
SARAH__I have a raw image that I want to import with maas, but I just couldnt find a way to do so14:37
roaksoaxSARAH__: is this an ubuntu image ?14:43
SARAH__it's a debian mage14:43
SARAH__image14:43
roaksoaxSARAH__: maas admin boot-resources create name=custom1 title=”Ubuntu Custom Image” architecture=amd64/generic content@=/home/ubuntu/ubuntu-custom-root-tgz14:50
roaksoaxsimthing like that14:50
roaksoaxSARAH__: by raw, you mean it is a ddtgz ?14:50
SARAH__I get an error when I try to do that command, it's somehow missing14:52
roaksoaxmaas admin boot-resources create name=custom1 title="Custom Image" architecture=amd64/generic content@=/path/to/image14:56
roaksoaxmaas admin boot-resources create name=custom1 title="Custom Image" architecture=amd64/generic content@=/path/to/image filetype=ddtgz14:57
roaksoaxfor example14:57
cnfhmm14:59
cnfroaksoax: other machine, some interfaces up, some not14:59
cnfand an ifdown / ifup of the raw interface fixes it15:01
cnfo,O15:01
Abirwhy is my ''rack-controller'' not connected to the region and how do I fix it ?15:04
pmatulisAbir, restart it?15:07
AbirI tried that, nothing15:08
pmatulisAbir, command used?15:08
AbirI restarted the whole server ...15:09
pmatulisAbi...15:33
mupBug #1646160 changed: [2.1] Device discovery UI does not have a loading state <ui> <MAAS:Fix Released by ricgard> <https://launchpad.net/bugs/1646160>15:37
jianghuaw_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:49
jianghuaw_the host has eth0 connect to the external network. It shouldn't enable DHCP on external network.15:50
jianghuaw_Any idea?15:50
roaksoaxjianghuaw_: you cannot enabled/disable dhcp on an interface15:55
roaksoaxyou enable/disable dhcp on a vlan15:55
roaksoaxso if you have a rack controller interface connected to a vlanx (for example, untagged), and you enable DHCP on the "untagged" vlan15:55
roaksoaxyou are telling maas that dhcp is to be provided in that VLAN15:55
jianghuaw_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
jianghuaw_correct?15:58
roaksoaxjianghuaw_: 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 interfaces16:00
jianghuaw_they are two isolated network. not in the same broadcast domain.16:01
roaksoaxjianghuaw_: then it is strnage that they are in the same vlan16:02
roaksoaxjianghuaw_: for example, if you enable dhcp on fabric-0.untagged16:03
roaksoaxand you have a rack controller on eth0.fabric-0.untagged  and eth1.fabric-0.untagged16:03
roaksoaxthat means you have two interfaces on the same vlan16:03
jianghuaw_Ah acutally they belong to different Fabric.16:03
roaksoaxjianghuaw_: right... so the way it works is just maas would enable dhcp against those interfaces in the vlan you are enabling16:05
jianghuaw_roaksoax, indeed. Thanks.16:15
David_OrangeHi, is there any way to get node interfaces using python-libmass ?16:18
roaksoaxDavid_Orange: not yet, but we are working on it!16:38
brendandDavid_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 change16:41
David_Orangeroaksoax: thanks for your answer. I take a look to the code, of the machine class, but i can not figure how to add this set16:41
David_Orangeroaksoax: thks for this clue, i will check if it can be enought for now16:41
David_Orangeroaksoax: thx, it is enough for me. I suppose _data is the raw response from the api ?16:45
roaksoaxDavid_Orange: yes, that's the raw response16:45
stormmoreanyone seen kiko lately?16:46
roaksoaxDavid_Orange: i.e. machine = client.machines.get(system_id="an8xxy")16:46
roaksoaxmachine._data["interface_set"]16:46
roaksoaxstormmore: he's probably traveling lately16:46
stormmoreah no problem :)16:47
David_Orangeroaksoax: yeah, get it. Thx16:47
stormmoreupdated the bug for him :)16:51
zeestratHey MAAS folks, has there been any thoughts about the possibility of easily/automatically adding A records for the power addresses of machines?17:37
mupBug #1673854 opened: Commissioning selects wrong boot drive on 3-disk KVM <MAAS:Incomplete> <https://launchpad.net/bugs/1673854>18:46
catbus1maas 2.1 cli login returns: Expected application/json, got: text/html; charset=utf-821:44
catbus1either 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.21:44

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