Re: [Bug 1266840] Re: maas-dns failed to install completely on Trusty
On Fri, May 29, 2015 at 7:32 AM, Mario Splivalowrote: > Hi, Jeff. > > Is this still the issue? I just tried deploying maas with ubuntu trusty, > installing just 'maas' package, which then install everything that was > needed (incuding maas-dns). The maas version in trusty is 1.5, and I > had no issues with installing. > > Then I added maas stable ppa, and upgraded to maas 1.7, also no issues. > > To be complete, I trashed my test env, created clean one, added maas > stable ppa and installed maas from there - also no issues. > > (I did all my tests in trusty lxc container). > > I see you were testing with 1.4+bzr1789+dfsg-0ubuntu1, where maas-dns is > currenlty on 1.5. Hi Mario, No, not for some time. Indeed this was a 1.4 issue that was resolved in 1.5. And to be honest, I don't even bother with anything less than 1.8 these days. Cert instructs all test centers to install from the maas/stable ppa, so they get 1.8 out of the box. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1266840/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1266840] Re: maas-dns failed to install completely on Trusty
On Fri, May 29, 2015 at 7:32 AM, Mario Splivalowrote: > Hi, Jeff. > > Is this still the issue? I just tried deploying maas with ubuntu trusty, > installing just 'maas' package, which then install everything that was > needed (incuding maas-dns). The maas version in trusty is 1.5, and I > had no issues with installing. > > Then I added maas stable ppa, and upgraded to maas 1.7, also no issues. > > To be complete, I trashed my test env, created clean one, added maas > stable ppa and installed maas from there - also no issues. > > (I did all my tests in trusty lxc container). > > I see you were testing with 1.4+bzr1789+dfsg-0ubuntu1, where maas-dns is > currenlty on 1.5. Hi Mario, No, not for some time. Indeed this was a 1.4 issue that was resolved in 1.5. And to be honest, I don't even bother with anything less than 1.8 these days. Cert instructs all test centers to install from the maas/stable ppa, so they get 1.8 out of the box. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1266840/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
As Jeff said, I believe this is fixed in MAAS 1.7. I worked on a related race condition having to do with migrating MAAS- managed BIND variables to the MAAS database. If you are installing MAAS on a machine which will *not* host the MAAS database, there is still somewhat of a race condition, in that we cannot fully migrate the BIND configuration to the MAAS database unless the database is up and running. On MAAS 1.7, if you hit this situation, you can run: sudo maas-region-admin edit_named_options --migrate-conflicting-options This will rewrite the BIND configuration to ensure that MAAS does not duplicate any BIND options (which would result in the symptom above: BIND failing to start). ** Changed in: maas (Ubuntu) Status: Confirmed => Fix Released ** Changed in: maas Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1266840/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
As Jeff said, I believe this is fixed in MAAS 1.7. I worked on a related race condition having to do with migrating MAAS- managed BIND variables to the MAAS database. If you are installing MAAS on a machine which will *not* host the MAAS database, there is still somewhat of a race condition, in that we cannot fully migrate the BIND configuration to the MAAS database unless the database is up and running. On MAAS 1.7, if you hit this situation, you can run: sudo maas-region-admin edit_named_options --migrate-conflicting-options This will rewrite the BIND configuration to ensure that MAAS does not duplicate any BIND options (which would result in the symptom above: BIND failing to start). ** Changed in: maas (Ubuntu) Status: Confirmed => Fix Released ** Changed in: maas Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1266840/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
** Also affects: maas Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1266840/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
** Also affects: maas Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1266840/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
Hi, Jeff. Is this still the issue? I just tried deploying maas with ubuntu trusty, installing just 'maas' package, which then install everything that was needed (incuding maas-dns). The maas version in trusty is 1.5, and I had no issues with installing. Then I added maas stable ppa, and upgraded to maas 1.7, also no issues. To be complete, I trashed my test env, created clean one, added maas stable ppa and installed maas from there - also no issues. (I did all my tests in trusty lxc container). I see you were testing with 1.4+bzr1789+dfsg-0ubuntu1, where maas-dns is currenlty on 1.5. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
Hi, Jeff. Is this still the issue? I just tried deploying maas with ubuntu trusty, installing just 'maas' package, which then install everything that was needed (incuding maas-dns). The maas version in trusty is 1.5, and I had no issues with installing. Then I added maas stable ppa, and upgraded to maas 1.7, also no issues. To be complete, I trashed my test env, created clean one, added maas stable ppa and installed maas from there - also no issues. (I did all my tests in trusty lxc container). I see you were testing with 1.4+bzr1789+dfsg-0ubuntu1, where maas-dns is currenlty on 1.5. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
https://bugs.launchpad.net/maas/+bug/1035998/comments/2 Reading that comment, it suggests that the named.conf.maas file should be empty by design so I created one like so: sudo touch /etc/named/maas/named.conf.maas and restarted bind and apache. Then, I deleted my node and retried and it successfully commissioned and declared. From there, I was able to access it via the UI and click Commission Node and the node turned on and successfully booted the commissioning image. (It was failing before because DNS was never started, causing the commissioning image to hang) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
https://bugs.launchpad.net/maas/+bug/1035998/comments/2 Reading that comment, it suggests that the named.conf.maas file should be empty by design so I created one like so: sudo touch /etc/named/maas/named.conf.maas and restarted bind and apache. Then, I deleted my node and retried and it successfully commissioned and declared. From there, I was able to access it via the UI and click Commission Node and the node turned on and successfully booted the commissioning image. (It was failing before because DNS was never started, causing the commissioning image to hang) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
Same result for me. ** Changed in: maas (Ubuntu) Status: New = Confirmed ** Changed in: maas (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
Same result for me. ** Changed in: maas (Ubuntu) Status: New = Confirmed ** Changed in: maas (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
Looked into syslog when manually restarting bind9 and it seems to hang on the maas zone file: Jan 7 11:28:16 critical-maas named[29464]: starting BIND 9.9.3-rpz2+rl.13214.22-P2-Ubuntu-1:9.9.3.dfsg.P2-4ubuntu2 -u bind Jan 7 11:28:16 critical-maas named[29464]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--with-atf=no' '--enable-ipv6' '--enable-filter-' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' Jan 7 11:28:16 critical-maas named[29464]: Jan 7 11:28:16 critical-maas named[29464]: BIND 9 is maintained by Internet Systems Consortium, Jan 7 11:28:16 critical-maas named[29464]: Inc. (ISC), a non-profit 501(c)(3) public-benefit Jan 7 11:28:16 critical-maas named[29464]: corporation. Support and training for BIND 9 are Jan 7 11:28:16 critical-maas named[29464]: available at https://www.isc.org/support Jan 7 11:28:16 critical-maas named[29464]: Jan 7 11:28:16 critical-maas named[29464]: adjusted limit on open files from 4096 to 1048576 Jan 7 11:28:16 critical-maas named[29464]: found 4 CPUs, using 4 worker threads Jan 7 11:28:16 critical-maas named[29464]: using 4 UDP listeners per interface Jan 7 11:28:16 critical-maas named[29464]: using up to 4096 sockets Jan 7 11:28:16 critical-maas named[29464]: loading configuration from '/etc/bind/named.conf' Jan 7 11:28:16 critical-maas named[29464]: /etc/bind/named.conf.local:9: open: /etc/bind/maas/named.conf.maas: file not found Jan 7 11:28:16 critical-maas named[29464]: loading configuration: file not found Jan 7 11:28:16 critical-maas named[29464]: exiting (due to fatal error) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
I hit this as well. To get around it (at least for me), I ran: sudo apt-get purge maas-dns sudo apt-get install maas-dns ...then maas-dns started working again. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
Looked into syslog when manually restarting bind9 and it seems to hang on the maas zone file: Jan 7 11:28:16 critical-maas named[29464]: starting BIND 9.9.3-rpz2+rl.13214.22-P2-Ubuntu-1:9.9.3.dfsg.P2-4ubuntu2 -u bind Jan 7 11:28:16 critical-maas named[29464]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--with-atf=no' '--enable-ipv6' '--enable-filter-' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' Jan 7 11:28:16 critical-maas named[29464]: Jan 7 11:28:16 critical-maas named[29464]: BIND 9 is maintained by Internet Systems Consortium, Jan 7 11:28:16 critical-maas named[29464]: Inc. (ISC), a non-profit 501(c)(3) public-benefit Jan 7 11:28:16 critical-maas named[29464]: corporation. Support and training for BIND 9 are Jan 7 11:28:16 critical-maas named[29464]: available at https://www.isc.org/support Jan 7 11:28:16 critical-maas named[29464]: Jan 7 11:28:16 critical-maas named[29464]: adjusted limit on open files from 4096 to 1048576 Jan 7 11:28:16 critical-maas named[29464]: found 4 CPUs, using 4 worker threads Jan 7 11:28:16 critical-maas named[29464]: using 4 UDP listeners per interface Jan 7 11:28:16 critical-maas named[29464]: using up to 4096 sockets Jan 7 11:28:16 critical-maas named[29464]: loading configuration from '/etc/bind/named.conf' Jan 7 11:28:16 critical-maas named[29464]: /etc/bind/named.conf.local:9: open: /etc/bind/maas/named.conf.maas: file not found Jan 7 11:28:16 critical-maas named[29464]: loading configuration: file not found Jan 7 11:28:16 critical-maas named[29464]: exiting (due to fatal error) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1266840] Re: maas-dns failed to install completely on Trusty
I hit this as well. To get around it (at least for me), I ran: sudo apt-get purge maas-dns sudo apt-get install maas-dns ...then maas-dns started working again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266840 Title: maas-dns failed to install completely on Trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1266840/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs