Activity log for bug #1990416

Date Who What changed Old value New value Message
2022-09-21 15:59:32 Adam Vest bug added bug
2022-09-21 16:01:20 Adam Vest description Hello, It would seem as though MAAS instructs the user to run an invalid (probably old) command when the maas_url configuration is set incorrectly. This was revealed on my local test setup where my MAAS region+rack controller was receiving it's IP via DHCP, and that IP changed along the way. On subsequent attempts at deploying images (using juju bootstrap in this case), it would throw the error: --- ERROR failed to bootstrap model: cannot start bootstrap instance: unexpected: ServerError: 400 Bad Request (Failed to render preseed: Unable to find MAAS server IP address: Address family for hostname not supported. MAAS's DNS server requires this IP address for the NS records in its zone files. Make sure that the configuration setting for the MAAS URL has the correct hostname. Consult the 'maas-region local_config_set --maas-url' command.) --- It suggests you "Consult the 'maas-region local_config_set --maas-url' command", which does not appear to exist (anymore?): --- root@maas:~# maas-region maas-region: command not found --- It would appear as though the new command syntax for this would be: --- maas config --maas-url --- I would recommend updating the error message to reference the proper command for troubleshooting. Subjectively speaking, the message stating "Address family for hostname not supported" is a bit misleading, since it seems to suggest an IPv4/IPv6 mismatch. Perhaps it's meant as a catch-all? In any case, it might be nice if it only mentioned that if that were actually the case. Thank you! Hello, It would seem as though MAAS instructs the user to run an invalid (probably old) command when the maas_url configuration is set incorrectly. This was revealed on my local test setup where my MAAS region+rack controller was receiving it's IP via DHCP, and that IP changed along the way. On subsequent attempts at deploying images (using juju bootstrap in this case), it would throw the error: --- ERROR failed to bootstrap model: cannot start bootstrap instance: unexpected: ServerError: 400 Bad Request (Failed to render preseed: Unable to find MAAS server IP address: Address family for hostname not supported. MAAS's DNS server requires this IP address for the NS records in its zone files. Make sure that the configuration setting for the MAAS URL has the correct hostname. Consult the 'maas-region local_config_set --maas-url' command.) --- It suggests you "Consult the 'maas-region local_config_set --maas-url' command", which does not appear to exist (anymore?): --- root@maas:~# maas-region maas-region: command not found --- It would appear as though the new command syntax for this would be: --- maas config --maas-url --- I would recommend updating the error message to reference the proper command for troubleshooting. Subjectively speaking, the message stating "Address family for hostname not supported" is a bit misleading, since it seems to suggest an IPv4/IPv6 mismatch. Perhaps it's meant as a catch-all? In any case, it might be nice if it only mentioned that if that were actually the case. Related software versions: $ snap list Name Version Rev Tracking Publisher Notes charmcraft 2.0.0 1033 latest/stable canonical✓ classic core18 20220831 2566 latest/stable canonical✓ base core20 20220826 1623 latest/stable canonical✓ base juju 2.9.34 20510 2.9/stable canonical✓ classic lxd 5.5-37534be 23537 latest/stable canonical✓ - maas 3.2.5-12014-g.da4969479 23696 3.2/stable canonical✓ - maas-cli 0.6.8 79 latest/stable canonical✓ - maas-test-db 12.4-24-g.8add233 105 3.2/stable canonical✓ - snapd 2.57.1 16778 latest/stable canonical✓ snapd $ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.5 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.5 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal Thank you!
2022-09-21 16:53:43 Christian Grabowski maas: status New Incomplete
2022-09-26 23:15:58 Alexsander de Souza maas: status Incomplete Triaged
2022-09-26 23:16:02 Alexsander de Souza maas: importance Undecided Medium
2022-09-26 23:16:11 Alexsander de Souza maas: milestone 3.3.0
2022-10-04 14:26:15 Adam Collard tags easy-to-fix
2022-10-20 17:40:28 Adam Collard maas: milestone 3.3.0 3.4.0
2023-01-12 10:04:01 Adam Collard maas/3.3: milestone 3.4.0 3.3.1
2023-04-04 08:32:38 Eline Maaike De Weerd maas/3.3: assignee Eline Maaike De Weerd (emdw)
2023-04-11 08:13:33 Eline Maaike De Weerd merge proposal linked https://code.launchpad.net/~emdw/maas/+git/maas/+merge/440715
2023-04-12 01:09:27 MAAS Lander maas: status Triaged Fix Committed
2023-04-14 08:12:33 Adam Collard maas/3.3: milestone 3.3.x 3.3.3
2023-04-14 08:12:46 Adam Collard maas: assignee Eline Maaike De Weerd (emdw)
2023-04-14 08:30:46 Eline Maaike De Weerd merge proposal linked https://code.launchpad.net/~emdw/maas/+git/maas/+merge/441057
2023-04-14 09:19:55 MAAS Lander maas/3.3: status Triaged Fix Committed
2023-04-27 07:05:09 Alberto Donato maas: milestone 3.4.0 3.4.0-beta1
2023-05-10 20:34:45 Alexsander de Souza maas/3.3: status Fix Committed Fix Released
2023-05-16 16:59:18 Alberto Donato maas: status Fix Committed Fix Released