[00:27] Hmm, it seems MAAS uses `ipmipower` to interact with IPMI 2.0 clients, but `ipmipower` does not seem to work on my server (always answers “invalid password”) [00:27] ipmitool on the other hand works fine [00:28] I wonder if it would be possible to get this changed [00:42] Seems like ipmitool works and FreeIPMI does not [01:23] Hmm, it seems like there used to be an ipmi.template in use but it was changed to a “native” ipmi controller written in python in some version that I can't quite discern [01:24] The bazaar web interface is virtually unusable for trying to figure out when this change happened, anybody got a clue? I'm trying to pull the “last” version of ipmi.template out of the history so I can rewrite it using ipmitool instead of freeipmi [01:26] Ah, I can do a bzr checkout then convert that to git format using bzr fast-export | git fast-import in order to get it in a usable format :) [01:30] incidentally, I tried setting up a RAID6 with 4 disks using the new storage config stuff in 1.9 and it flat-out doesn't work at all: https://0x0.st/XWQ.txt [02:28] I tried it again and it (inexplicably) got farther, this time erroring out in GRUB [02:28] but that seems to be a grub issue [03:12] https://0x0.st/XWg.txt head /dev/zero > /dev/disk ? [03:12] Isn't that horrendeously slow compared to dd if=/dev/zero of=/dev/disk bs=1M ? [05:46] Bug #1542982 opened: maas http_proxy does not accept username and password for proxy [05:49] Bug #1542982 changed: maas http_proxy does not accept username and password for proxy [05:52] Bug #1542982 opened: maas http_proxy does not accept username and password for proxy [05:55] Bug #1542982 changed: maas http_proxy does not accept username and password for proxy [05:58] Bug #1542982 opened: maas http_proxy does not accept username and password for proxy [06:48] Hmm. I'm at the point where I've run into so many issues since switching from 1.8 to 1.9 that I just want to downgrade to see if the universe still makes sense at all, what ppa can I add to give me the 1.8 versions? The maas/stable one only contains 1.7 and 1.9 (and a few others) [07:10] (turns out upgrading other stuff solved at least some of the most important issues) [11:17] Hello there. I'm using maas 1.9, and i need to have two different vlan's on a single bond. is this possible? [11:26] Ah, i think i have found it. Adding the vlan via the maas cli, and after that i'm able to use that in the GUI ;) [14:50] Bug #1541640 changed: MaaS region controller 1.9 fails on Ubuntu 15.10 [14:50] Bug #1542761 changed: MAAS will not import images and there is no error as to why [15:23] blake_r, hey - time for a bit of maas 1.9 network tuning? [15:23] I need to figure out how to set MTU on MAAS configured interfaces [15:33] jamespage: only one interface or the whole vlan? [15:34] blake_r, well mtu applies at the physical link level - I'm not actually using vlan's here [15:34] jamespage: yes but if you set it on the vlan that all the interfaces are connected to, then when you deploy those nodes, any that have a connection to that vlan will have the mtu set to that value [15:35] jamespage: that way you don't have to go to every node and set the mtu in MAAS [15:35] blake_r, ah right ok [15:35] jamespage: so if that is what you want [15:35] jamespage: just do this "maas my-maas-session vlan update 1 mtu=1500" [15:35] blake_r, I absolitely want everything connected to have the same mtu [15:35] jamespage: 1 being the vlan id [15:36] jamespage: not the vid [15:36] jamespage: use "maas my-maas-session vlans read" to get the list of vlans" [15:37] blake_r, hmm - not liking that command [15:37] jamespage: the update? [15:38] vlans read [15:38] blake_r, using 1.9.0 from the stable PPA [15:38] jamespage: do "maas refresh" first [15:38] jamespage: that way the maas client has the updated API interface [15:39] blake_r, gotcha [15:39] can I apply mtu to the untagged vlan? [15:40] jamespage: yes its jsut like another vlan in MAAS [15:40] jamespage: you will see it in the vlans listing [15:40] blake_r, {"__all__": ["Cannot modify the default VLAN for a fabric."]} [15:40] eek [15:42] jamespage: ah crap [15:42] jamespage: that should be allowed for the mtu value, crap [15:42] jamespage: file a bug please, will get that fixed in 1.9.1 [15:42] jamespage: no you have 2 options [15:42] jamespage: now* [15:42] blake_r, will do [15:42] jamespage: either set it on each interface [15:43] jamespage: or I can show you how to do it manually using the maas shell [15:43] either is good with me - its only 9 interfaces in total [15:43] jamespage: then lets just do it over the API [15:44] jamespage: "maas my-maas-session interface update {node-system-id} {interface-id} mtu=1500" [15:52] blake_r, ok - trying that out now [15:52] maas applied to all interfaces on all nodes... [15:58] jamespage: ?? [16:03] blake_r, testung now [16:03] blake_r, http://paste.ubuntu.com/14993910/ [16:05] jamespage: looks good [16:13] blake_r, 2: eth0: mtu 9000 qdisc mq master juju-br0 state UP group default qlen 1000 [16:13] looking good! [16:16] jamespage: cool [16:16] jamespage: please file that bug [16:17] blake_r, promise I will! [16:17] jamespage: thanks [16:25] blake_r, https://bugs.launchpad.net/maas/+bug/1543195 [16:38] Bug #1543195 opened: unable to set mtu on default VLAN [17:15] blake_r, hey - so I think xfs support for disks formats is on the roadmap right? [17:15] apologies for the questions - so close to 0 post deploy hacks... [17:18] jamespage: xfs will be added yes [17:18] roaksoax, awesome - thanks for confirming [17:19] jamespage: in fact, i think we can even get it to 1.9 [17:19] \o/ [17:42] Bug #1531843 changed: [Xenial 1.10] IPMI query fails <1.10> [20:16] the power status for one of my machines is stuck on “power error”, with the last machine event being: Failed to query node's BMC - Power state could not be queried: [Errno 8] Exec format error [20:16] I have fixed the problem in question and verified it works by manually opening a python instance and running os.execl on the file in question [20:16] (/usr/sbin/ipmipower) [20:17] But for some reason maas doesn't seem to get this. There are no machine events since then, despite me hammering the “check now” button. I don't see any ipmipower processes being spawned either. I tried rebooting the machine, restarting apache2 etc. but maas just doesn't seem to want to retry [20:19] haasn: what maas version are you using? What hardware are you using? Are you sure the power credentials in MAAS are the correct ones? [20:19] haasn: is there anything more on the logs (pastebin) [20:20] roaksoax: maas v1.9, hardware of the machine in question is a sun fire x4200, I am sure the power credentials in MAAS are the correct ones because I can copy/paste them from the webUI to my own ipmipower invocation and turn the machine on and off [20:20] e.g. [20:20] su - maas [20:20] /usr/sbin/ipmipower -D LAN_2_0 -h X.Y.Z.Z -u maas -p --stat # this works fine [20:20] haasn: is anything shown on the logs ? [20:21] Hmm, seems there's a new entry as of 20:18: “password invalid” [20:21] why it took half an hour for it to switch from “exec format error” to “password invalid” I do not know [20:22] This seems like it might be executing the wrong version of ipmipower. I replaced ipmipower by my own version which contains a patch for the “password invalid” bug on X4200 servers and moved it to /usr/sbin/ipmipower and the first one to /usr/sbin/ipmipower-orig [20:22] Is it possible it's executing /usr/sbin/ipmipower-orig somehow? [20:22] haasn: not at all [20:23] I can't find the exact location of the command it's executing in src/provisioningserver/drivers/power/ipmi.py anywhere [20:24] Okay, some update: It *is* spawning new ipmipower processes, they just exit so ridiculously fast that I couldn't see them in `watch`. With -n0.1 I see them popping up for a split second [20:24] Maybe it's time to install auditd and log all process spawns so I can figure out what it's executing? Unless there's a simpler way [20:25] Why it can't include the command it executed in the log files is beyond my understanding [20:25] Well, then again, so is “why can't it log every failure to the log files instead of only every 30 minutes?” [20:29] uhmm [20:29] haasn: you could try hacking ipmi.py to log out what IPMI command is being send [20:29] in MAAS' logs [20:33] heya [20:34] does anyone know what happened to MAAS 1.8.3? I don't see it available in stable anymore [20:35] koaps: it has been superseeded by 1.9 [20:35] ya, but shouldn't it still be avail to get if I use the version name? I see 1.7.6 and 1.7.3 there [20:36] Heh, auditd didn't want to work but I found a beautifully simple way to accomplish what I wanted: while true; do pgrep -a ipmipower; sleep 0.1; done [20:36] this gave me a nice log of (virtually) all executed ipmipower commands [20:37] Okay, I found the error and solved it [20:38] The problem was that it was adding -W opensesspriv, and the -W flag overrides previous flags - so my “patched” version of ipmipower (which was really just ipmipower-orig -W sun20 "$@") didn't really do anything. I changed it to ipmipower-orig "$@" -W sun20 and that way my sun20 workaround flag overrides the previous opensesspriv work-around flag [20:38] Now it works [20:38] And I can control the power status of all my servers just fine [20:39] maas desperately needs some mechanism for adding your own IPMI workaround flags to nodes [20:47] koaps: i wonder if the PPA removed it, since we have not made the removal of the version from the PPA itself [20:47] haasn: you can always file a bug :) [20:48] roaksoax: there is already a bug on the issue, I commented on it [20:48] But I don't really want to be spending the next few months manually running ipmipower commands until it gets fixed [20:51] haasn: well, that may seem like an issue with the firmware rather than MAAS itself [20:51] haasn: since the firmware requires non-standard paramters [20:53] roaksoax: Yes okay but that doesn't really help admins who want to provision servers with MAAS. FreeIPMI contains these work-arounds for a reason, not exposing the ability to use them to the admins in charge of running the machines when it would literally be nothing more than one input box and one line of code for appending it to the command line is just being annoying for the sake of annoying, IMO [20:59] haasn: right, but in situations like this, providing ability to do work around is not always something that will improve MAAS' robustness [20:59] haasn: as this is an isolated issue [21:03] Bug #1543286 opened: Exception: 'Node' object is not iterable [22:03] Bug #1543301 opened: MAAS should only allow creating 15 partition [22:06] Bug #1543301 changed: MAAS should only allow creating 15 partition [22:09] Bug #1543301 opened: MAAS should only allow creating 15 partition [22:53] This is weird. Often, when I try deploying to a VM, I end up in the weird situation where the deploy process seems to be complete but the machine then just gets stuck in an offline state after it was supposed to reboot [22:53] if I ssh into the machine, I see The system is going down for reboot NOW! [22:53] But.. it never reboots. It just powers off [22:53] And MAAS also still thinks it's turned on until I manually hit “check now” [22:54] Power control is via virsh [22:54] What could possibly be going wrong here? Evidently the machine thinks its rebooting, it just.. doesn't [22:59] Hmm, seems to be an inherent part of KVM; “sudo reboot” has the same issue for some reason [23:03] I use plenty of KVM stuff outside of maas/openstack and don't have any such problems... [23:05] I've used dozens of KVM VMs on this same vm host, and it's running like 5 other VMs right now that all work fine [23:05] as in I can reboot them [23:06] but the ones used by maas have this inexplicable failure [23:08] haasn: Is this during deployment ? [23:08] haasn: also, maas doesn't query the VM's/BMC's every second. WE do it ever few minutes to ensure BMC's dont go crazy [23:10] haasn: i deploy about ~100 to ~200 vm's every few weeks for testing, and have not seen such behavior. However, I've seen a few occurrences where they all fail to PXE at once because there are too many VM's on the same host [23:10] haasn: but that's how the host's bridge was configured [23:13] roaksoax: Yes, this is during deployment [23:14] I just reproduced it again: clicked the machine, hit “deploy” in the web UI, chose ubuntu 14.04 lts and default kernel [23:14] it started deploying up until the point where rebooted the machine [23:14] and now it's just offline [23:14] I'll try removing the machine and re-adding/commissioning it in kvm. Maybe something got messed up because I used an xml dump to batch-create a bunch of VMs [23:35] destroyed the VM and recreated it and it seems to be working now [23:35] must be some weird failure to do with the way it was created, idk