=== frankban|afk is now known as frankban [14:43] pmatulis: I want to change an interface from dhcp to static [15:07] Bug #1702919 opened: displayed lease IP information not updated when entering rescue mode [15:17] gimmic, yep, i've got something for you [15:18] gimmic, it's a bit indirect to change an interface's IP assignment [15:18] via the CLI [15:22] gimmic, still in the oven: https://git.io/vQobJ [15:22] scroll down to 'Change the IP assignment mode of a network interface' [15:23] Ah, I got most of the way there yesterday. I didn't think to remove the existing one first [15:23] When I was adding it manually, it was making it an alias on :1 [15:24] 'xactly [15:29] Looks like that works. Might save me some clicking, thank you. [15:29] I see hostname change there in the doc too :) [15:29] (welcome) [15:29] How about where to hook some custom commissioning bits? Like If I just wanted to exec a command while the node was netbooted [15:30] I assume commissioning would be the right place for that? Stuff I'm having to use rescue mode for right now [15:31] yeah, i haven't dived into that subject yet. i agree that it is important to have [15:31] would be nice to have a simple place to define postexec stuff for the different stages, even [15:31] "run this command" [15:32] Right now curtin is failing due to an odd disk configuration issue with my nodes, I repopulated systems using existing disks from other 'donor systems', which still have LVM metadata on it [15:33] when it tries to wipe the disk partitioning, LVM sees duplicate volgroups and errors out the process [15:33] simplest way I've found to fix it so far is to use wipefs -a /dev/sd* -f [16:11] gimmic: please file a bug aginast 'curtin' and post the version of curtin-common running on the maas server [16:29] Yeah. I'm also getting this after configuring raid on some hosts: [16:29] /sys/class/block/dm-7 had no syspath (/sys/class/block/dm-7) [16:29] curtin: Installation failed with exception: Unexpected error while running command. [16:29] Command: ['curtin', 'block-meta', 'custom'] [16:47] pmatulis: I found your bug report from last year, on the connection refused for the websocket with juju and maas, did you figure out some workaround? [16:48] roaksoax: Question, once a client does a dhcp request and gets an IP tftp responds with the boot information, what protocol is used to pull down the boot images? [16:49] vogelc: pxe [16:49] vogelc: from there, you mean pxelinux or efi/grub [16:50] roaksoax: I see booting under MAAS direction and then every thing just stops. do you know if its trying to use http to pull down the boot images? [16:50] pxe boot should be TFTP transfer, afaik [16:51] vogelc: well it sounds like you are using legacy, so it should be booting pxelinux and getting the images from tftp [16:51] Legacy? [16:51] vogelc: maybe it is not showing you console output because the right kernel params are not there ? [16:51] I was thinking that too. [16:51] vogelc: what hardware are you using ? Is it configured to do Legacy boot or EFI ? [16:52] Yes we are using BIOS, not UEFI [16:55] vogelc: ok, so the booting under maas direction should yield pxelinux downloading the kernel and initrd [16:55] it does look like the kernel parms might have caused some conflicts. I was able to boot removing the global parameters. [16:55] vogelc: yee that could e too [16:55] vogelc: you could add per node kernel params too [16:56] do you have a list of all the ports that need to be open on the firewall? [16:57] vogelc: from the machines to MAAS ? [16:57] correct [16:57] vogelc: dns,dhcp,http on 5240,power management (ipmi). [16:57] that shoudl be it [16:57] iscsi too [16:58] thats where I am hung up now [16:58] that too, that will hopefully go away in 2.3 though [17:00] once I get the ports opened I will let you know where we land. thanks for the help [17:17] roaksoax: I think I found two little bugs in the code of maas, but I don't have time to make a patch are you interested? [17:18] julen: you should file bugs for them though [17:18] yes.. I did.. but I just wanted to speed up the thing a little bit [17:19] julen: if they are already triaged, we will look at them when we get a change [17:19] atm we are focused on fixing other critical issues [17:19] julen, bug URL? [17:20] https://bugs.launchpad.net/maas/+bug/1702332 [17:20] the solution would be very simple, but it might require some discussion with other people [17:21] julen, i was expecting "my bug report from last year" [17:21] it's basically dumping the http_proxy variables into /etc/environment or /etc/profile, probably within the file /usr/share/maas/maas-proxy-common.sh [17:22] oh! I thought it was about what I asked to roaksoax :P [17:22] https://bugs.launchpad.net/juju-core/+bug/1592179 [17:23] julen, no, i never found a way out [17:23] I am really stuck at that point too, and that websocket thing seems to me like a real black box [17:23] oh no! [17:23] no idea why it expired [17:24] so, how does the people manage? [17:25] julen, if it's the same issue i propose: a) you comment in it that you just got bit by it b) send a mail to the juju mailing list about it [17:26] the maas seems to work fine (after plenty of hacks) and the juju does bootstrap almost completely. It cannot be so difficult [17:26] julen, are you running a recent version of juju? [17:27] I just started with the maas two days ago, and juju since yesterday. So... they should be recent [17:27] juju 2.2.1 [17:28] julen, since you are so new to this stuff we value your insights. i recommend you also send a msg to the maas mailing list about why maas works only after plenty of hacks [17:28] just be positive :) [17:29] see irc channel topic for mailing list [17:29] well... ok... [17:30] I prefer forum format or Q&A type, but I'll subscribe for some time === frankban is now known as frankban|afk [17:45] I just realized after upgrading to 2.2 my nodes are now using .maas dns zone instead of my old configured one. How do I configure the default? [17:45] having a hard time finding that [17:46] I see how I can change them manually.. but with the number of nodes it's probably just easier to redeploy them unless I can mass-change them.. [17:46] (Assuming I can change the default to my pre-existing zone) [17:48] Would be nice if it was tied to Physical Zones [17:58] Bug #1702976 opened: Cavium ThunderX nodes fail to auto-enlist [17:59] 1.9 was pretty simple to set the DNS zone name, but I can't find it in 2.2? https://docs.ubuntu.com/maas/1.9/en/cluster-configuration [18:04] Bug #1702976 changed: Cavium ThunderX nodes fail to auto-enlist [18:16] Bug #1702976 opened: Cavium ThunderX nodes fail to auto-enlist [18:18] gimmic, sounds like something that should be reported as a bug [18:33] gimmic: 1.9 and 2.0 changed the way how DNS is managed [18:33] 1.9 used per rack, and 2.0 adds first class support for dns [18:33] gimmic: in 2.2 you have a tab that says 'DNS' [18:34] All my 1.9 maas nodes had a default zone of 'example.net' and all my 2.2 nodes use '.maas'. I'd rather just change the default back to 'example.net' (and also change all existing deployed nodes to that dns zone) [18:34] so I guess it's twofold: 1) I need to change my default maas dns zone 2) I need to bulk-change existing hosts' dns zone [18:34] both dns zones are managed by maas [18:52] gimmic: so update the name of 'maas' to 'example.net' [18:52] gimmic: you can do that via the API [19:01] effectively, remove 'example.net', udpate 'maas' with 'example.net' [19:16] Bug #1665057 opened: [UX] No Save button on fabric/vlan/subnets [19:28] Bug #1660819 changed: [2.1.3] webUI unusable during windows image create -- rackd gets disconnected [19:37] Bug #1660819 opened: [2.1.3] webUI unusable during windows image create -- rackd gets disconnected [19:46] Bug #1660819 changed: [2.1.3] webUI unusable during windows image create -- rackd gets disconnected [21:15] roaksoax: Hi, does maas update the /etc/resolv.conf or run some tool which updates the /etc/resolve.conf in any event? I see in regiond.conf, [info] b'/etc/resolv.conf' changed, reparsing [info] Resolver added ('172.168.228.1', 53) to server list [info] Resolver added ('127.0.1.1', 53) to server list. [21:19] I have a node which looks to maas (172.168.228.1) for dns (/etc/resolv.conf in the node), but can't resolve names. I think in the /etc/resolv.conf on MAAS, it should have the external dns ip (8.8.8.8) and its ip (172.168.228.1) and 127.0.0.1, but it seems maas keeps updating the /etc/resolv.conf back. [21:20] I know manually editing the /etc/resolv.conf is not recommended, where can I find where maas finds these ip address for dns name servers to update the resolv.conf? [21:21] Resolver is running, is it because my friend used Network Manager to configure network interfaces? [21:28] catbus: maas doesn't update that [21:28] catbus: you probably have network manager that updates that [21:29] ok. [21:29] anybody been able to successfully configure raid1 over the MaaS API? or have some examples of that [21:30] I can get the raid device to create - but i'm having issues getting a filesystem setup on the device [21:30] it would appear that when I add 2 unformatted block devices to a raid 1 device, the sda device always registers in the raid device as a partition named sda-part1 - and i'm not able to add a filesystem to that partition without it removing itself from the raid device [21:37] Bug #1703035 opened: MAAS should warn on version skew between controllers [22:38] nevermind - I was able to figure it out...just had to do some magic [22:46] exodusftw: is that something maas.io documentation can improve on? [22:47] it certainly couldn't hurt [22:49] for example - on node creation - the current 2.0 /devices/ doc doesn't event show power_parameters as a valid key on node creation - but it certainly works [22:50] granted, I can sympathize with how difficult it is to keep up documentation across an active code base [22:59] exodusftw, what 'devices doc'? [23:10] Bug #1702329 changed: Set NTP server for 'timesyncd' [23:22] exodusftw: devices dont have power parameters [23:22] exodusftw: and yes, it is a PITA to keep documentation when there's so much movement [23:22] exodusftw: pmatulis should know :)