maas installed from snap rack contoller issue
Blake Rouse
blake.rouse at canonical.com
Thu Sep 14 13:55:33 UTC 2017
On Tue, Sep 12, 2017 at 8:54 PM, Daniel Bidwell <drbidwell at gmail.com> wrote:
> I installed it with:
>
> snap install --devmode --stable maas
>
> and then did
>
> maas init --mode all
>
> snap list shows
>
> maas 2.2.1-6078-g2a6d96e-snap 207 maas devmode
>
> maas status returns
>
> bind9 RUNNING pid 2705, uptime 5:39:51
> dhcpd STOPPED Not started
> dhcpd6 STOPPED Not started
> ntp RUNNING pid 2826, uptime 5:39:43
> postgresql RUNNING pid 2704, uptime 5:39:51
> proxy RUNNING pid 2843, uptime 5:39:39
> rackd RUNNING pid 2702, uptime 5:39:51
> regiond:regiond-0 RUNNING pid 2699, uptime 5:39:51
> regiond:regiond-1 RUNNING pid 2698, uptime 5:39:51
> regiond:regiond-2 RUNNING pid 2700, uptime 5:39:51
> regiond:regiond-3 RUNNING pid 2697, uptime 5:39:51
> tgt RUNNING pid 2736, uptime 5:39:49
>
> maas config returns
>
> Mode: all
> Settings:
> maas_url=http://maasmaster.andrews.edu/MAAS
This is the URL the rack controller and the deploying machines will use to
talk to the region controller. You should make sure that from the machine
the snap is running on that domain is resolvable to this machine.
Also unless you are running your own reverse proxy to point to the MAAS
running at 5240 this will not resolve. You should update this url to be:
sudo maas config --maas-url http://maasmaster.andrews.edu:5240/MAAS
<http://maasmaster.andrews.edu/MAAS>
If that doesn't work then I would try to reconfigure this with an IP
address at first to rule out that the DNS lookup is causing you the issue.
sudo maas config --maas-url http://{ip-address}:5240/MAAS
Hopefully that helps.
- Blake
>
> I have just removed all of the apt-get maas related packages and am
> rebooting. I am still pretty new to snap packages.
>
> On Tue, 2017-09-12 at 16:35 -0500, Andres Rodriguez wrote:
> > Hi Daniel,
> >
> > If you are using MAAS from the snap, I'll make the assumption that
> > you are running MAAS 2.3 from the latest track and either, the beta
> > or the edge channel. As such, can you please share with us how have
> > you installed and configured your snap ?
> >
> > Also, you can check the status and config of the snap with the
> > following two commands:
> >
> > sudo maas status
> > sudo maas config
> >
> > Please note that if the MAAS snap is installed, you should not have
> > MAAS installed from the Ubuntu Archives (or PPA's).
> >
> > Also, for documentation you can also refer to [1].
> >
> > [1]: https://docs.ubuntu.com/maas/devel/en/installconfig-snap-install
> >
> > On Tue, Sep 12, 2017 at 4:18 PM, Daniel Bidwell <drbidwell at gmail.com>
> > wrote:
> > > I installed maas from snap. I wish to provide dhcp to fabric-0.
> > > It
> > > wants me to select a "Rack Controller" but the list of available
> > > rack
> > > controllers is empty. How do I go about getting access to the
> > > default
> > > rack controller for my main maas machine?
> > >
> > > I have tried doing "apt-get install maas-rack-controller" and maas-
> > > rack
> > > register ..., but no luck.
> > > --
> > > Daniel Bidwell <drbidwell at gmail.com>
> > >
> > >
> > > --
> > > Maas-devel mailing list
> > > Maas-devel at lists.ubuntu.com
> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > > /listinfo/maas-devel
> > >
> >
> >
> > --
> > Andres Rodriguez
> > Engineering Manager, MAAS
> > Canonical USA, Inc.
> --
> Daniel Bidwell <drbidwell at gmail.com>
>
>
> --
> Maas-devel mailing list
> Maas-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/maas-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20170914/edf957ff/attachment.html>
More information about the Maas-devel
mailing list