maas installed from snap rack contoller issue
Daniel Bidwell
drbidwell at gmail.com
Thu Sep 14 14:22:31 UTC 2017
Thank you very much. Fixing the maas_url fix the problem.
On Thu, 2017-09-14 at 09:55 -0400, Blake Rouse wrote:
>
>
> 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
>
> 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-ins
> > tall
> > >
> > > 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/mai
> > lman
> > > > /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
> >
--
Daniel Bidwell <drbidwell at gmail.com>
More information about the Maas-devel
mailing list