/srv/irclogs.ubuntu.com/2017/07/07/#maas.txt

=== frankban|afk is now known as frankban
gimmicpmatulis: I want to change an interface from dhcp to static14:43
mupBug #1702919 opened: displayed lease IP information not updated when entering rescue mode <dhcp> <MAAS:Incomplete> <https://launchpad.net/bugs/1702919>15:07
pmatulisgimmic, yep, i've got something for you15:17
pmatulisgimmic, it's a bit indirect to change an interface's IP assignment15:18
pmatulisvia the CLI15:18
pmatulisgimmic, still in the oven: https://git.io/vQobJ15:22
pmatulisscroll down to 'Change the IP assignment mode of a network interface'15:22
gimmicAh, I got most of the way there yesterday. I didn't think to remove the existing one first15:23
gimmicWhen I was adding it manually, it was making it an alias on :115:23
pmatulis'xactly15:24
gimmicLooks like that works. Might save me some clicking, thank you.15:29
gimmicI see hostname change there in the doc too :)15:29
pmatulis(welcome)15:29
gimmicHow about where to hook some custom commissioning bits? Like If I just wanted to exec a command while the node was netbooted15:29
gimmicI assume commissioning would be the right place for that? Stuff I'm having to use rescue mode for right now15:30
pmatulisyeah, i haven't dived into that subject yet. i agree that it is important to have15:31
gimmicwould be nice to have a simple place to define postexec stuff for the different stages, even15:31
gimmic"run this command"15:31
gimmicRight 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 it15:32
gimmicwhen it tries to wipe the disk partitioning, LVM sees duplicate volgroups and errors out the process15:33
gimmicsimplest way I've found to fix it so far is to use wipefs -a /dev/sd* -f15:33
roaksoaxgimmic: please file a bug aginast 'curtin' and post the version of curtin-common running on the maas server16:11
gimmicYeah. I'm also getting this after configuring raid on some hosts:16:29
gimmic/sys/class/block/dm-7 had no syspath (/sys/class/block/dm-7)16:29
gimmiccurtin: Installation failed with exception: Unexpected error while running command.16:29
gimmicCommand: ['curtin', 'block-meta', 'custom']16:29
julenpmatulis: 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:47
vogelcroaksoax: 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:48
roaksoaxvogelc: pxe16:49
roaksoaxvogelc: from there, you mean pxelinux or efi/grub16:49
vogelcroaksoax: 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
gimmicpxe boot should be TFTP transfer, afaik16:50
roaksoaxvogelc: well it sounds like you are using legacy, so it should be booting pxelinux and getting the images from tftp16:51
vogelcLegacy?16:51
roaksoaxvogelc: maybe it is not showing you console output because the right kernel params are not there ?16:51
vogelcI was thinking that too.16:51
roaksoaxvogelc: what hardware are you using ? Is it configured to do Legacy boot or EFI  ?16:51
vogelcYes we are using BIOS, not UEFI16:52
roaksoaxvogelc: ok, so the booting under maas direction should yield pxelinux downloading the kernel and initrd16:55
vogelcit does look like the kernel parms might have caused some conflicts. I was able to boot removing the global parameters.16:55
roaksoaxvogelc: yee that could  e too16:55
roaksoaxvogelc: you could add per node kernel params too16:55
vogelcdo you have a list of all the ports that need to be open on the firewall?16:56
roaksoaxvogelc: from the machines to MAAS ?16:57
vogelccorrect16:57
roaksoaxvogelc: dns,dhcp,http on 5240,power management (ipmi).16:57
roaksoaxthat shoudl be it16:57
vogelciscsi too16:57
vogelcthats where I am hung up now16:58
roaksoaxthat too, that will hopefully go away in 2.3 though16:58
vogelconce I get the ports opened I will let you know where we land.  thanks for the help17:00
julenroaksoax: 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:17
roaksoaxjulen: you should file bugs for them though17:18
julenyes.. I did.. but I just wanted to speed up the thing a little bit17:18
roaksoaxjulen: if they are already triaged, we will look at them when we get a change17:19
roaksoaxatm we are focused on fixing other critical issues17:19
pmatulisjulen, bug URL?17:19
julenhttps://bugs.launchpad.net/maas/+bug/170233217:20
julenthe solution would be very simple, but it might require some discussion with other people17:20
pmatulisjulen, i was expecting "my bug report from last year"17:21
julenit's basically dumping the http_proxy variables into /etc/environment or /etc/profile, probably within the file /usr/share/maas/maas-proxy-common.sh17:21
julenoh! I thought it was about what I asked to roaksoax :P17:22
julenhttps://bugs.launchpad.net/juju-core/+bug/159217917:22
pmatulisjulen, no, i never found a way out17:23
julenI am really stuck at that point too, and that websocket thing seems to me like a real black box17:23
julenoh no!17:23
pmatulisno idea why it expired17:23
julenso, how does the people manage?17:24
pmatulisjulen, 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 it17:25
julenthe maas seems to work fine (after plenty of hacks) and the juju does bootstrap almost completely. It cannot be so difficult17:26
pmatulisjulen, are you running a recent version of juju?17:26
julenI just started with the maas two days ago, and juju since yesterday. So... they should be recent17:27
julenjuju 2.2.117:27
pmatulisjulen, 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 hacks17:28
pmatulisjust be positive :)17:28
pmatulissee irc channel topic for mailing list17:29
julenwell... ok...17:29
julenI prefer forum format or Q&A type, but I'll subscribe for some time17:30
=== frankban is now known as frankban|afk
gimmicI 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
gimmichaving a hard time finding that17:45
gimmicI 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
gimmic(Assuming I can change the default to my pre-existing zone)17:46
gimmicWould be nice if it was tied to Physical Zones17:48
mupBug #1702976 opened: Cavium ThunderX nodes fail to auto-enlist <MAAS:New> <https://launchpad.net/bugs/1702976>17:58
gimmic1.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-configuration17:59
mupBug #1702976 changed: Cavium ThunderX nodes fail to auto-enlist <MAAS:New> <https://launchpad.net/bugs/1702976>18:04
mupBug #1702976 opened: Cavium ThunderX nodes fail to auto-enlist <MAAS:New> <https://launchpad.net/bugs/1702976>18:16
pmatulisgimmic, sounds like something that should be reported as a bug18:18
roaksoaxgimmic: 1.9 and 2.0 changed the way how DNS is managed18:33
roaksoax1.9 used per rack, and 2.0 adds first class support for dns18:33
roaksoaxgimmic: in 2.2 you have a tab that says 'DNS'18:33
gimmicAll 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
gimmicso I guess it's twofold: 1) I need to change my default maas dns zone 2) I need to bulk-change existing hosts' dns zone18:34
gimmicboth dns zones are managed by maas18:34
roaksoaxgimmic: so update the name of 'maas' to 'example.net'18:52
roaksoaxgimmic: you can do that via the API18:52
roaksoaxeffectively, remove 'example.net', udpate 'maas' with 'example.net'19:01
mupBug #1665057 opened: [UX] No Save button on fabric/vlan/subnets <accessibility> <canonical-bootstack> <ux> <MAAS:Fix Committed> <https://launchpad.net/bugs/1665057>19:16
mupBug #1660819 changed: [2.1.3] webUI unusable during windows image create -- rackd gets disconnected <oil> <performance> <MAAS:Invalid> <https://launchpad.net/bugs/1660819>19:28
mupBug #1660819 opened: [2.1.3] webUI unusable during windows image create -- rackd gets disconnected <oil> <performance> <MAAS:Invalid> <https://launchpad.net/bugs/1660819>19:37
mupBug #1660819 changed: [2.1.3] webUI unusable during windows image create -- rackd gets disconnected <oil> <performance> <MAAS:Invalid> <https://launchpad.net/bugs/1660819>19:46
catbusroaksoax: 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:15
catbusI 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:19
catbusI 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:20
catbusResolver is running, is it because my friend used Network Manager to configure network interfaces?21:21
roaksoaxcatbus: maas doesn't update that21:28
roaksoaxcatbus: you probably have network manager that updates that21:28
catbusok.21:29
exodusftwanybody been able to successfully configure raid1 over the MaaS API? or have some examples of that21:29
exodusftwI can get the raid device to create - but i'm having issues getting a filesystem setup on the device21:30
exodusftwit 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 device21:30
mupBug #1703035 opened: MAAS should warn on version skew between controllers <MAAS:Triaged> <https://launchpad.net/bugs/1703035>21:37
exodusftwnevermind -  I was able to figure it out...just had to do some magic22:38
catbusexodusftw: is that something maas.io documentation can improve on?22:46
exodusftwit certainly couldn't hurt22:47
exodusftwfor 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 works22:49
exodusftwgranted, I can sympathize with how difficult it is to keep up documentation across an active code base22:50
pmatulisexodusftw, what 'devices doc'?22:59
mupBug #1702329 changed: Set NTP server for 'timesyncd' <ntp> <MAAS:Incomplete> <https://launchpad.net/bugs/1702329>23:10
roaksoaxexodusftw: devices dont have power parameters23:22
roaksoaxexodusftw: and yes, it is a PITA to keep documentation when there's so much movement23:22
roaksoaxexodusftw: pmatulis should know :)23:22

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