install only package “maas-region-controller”

Asked by Riccardo Magrini

hello everyone,

I've tried to install only the Region Controller on a clear Ubuntu 14.04Lts Svr edition, but during the installation the installer get me the following error:

 An error occurred while installing the database: │
│ │
│ psql: could not connect to server: No such file or directory Is the │
│ server running locally and accepting connections on Unix domain socket │
│ "/var/run/postgresql/.s.PGSQL.5432"?** ... Next step for database installation: │
│ │
│ abort │
│ retry │
│ retry (skip questions) │
│ ignore

question:
but is it possible to separate the system creating a Region Controller on a Svr?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu maas Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Maybe you want to install the package maas-region-controller-min instead? That one does not install postgresql as a dependency.

Revision history for this message
Riccardo Magrini (riccardo-magrini) said :
#2

Hi Manfred,
I'd like to create an MAAS environment where the Region Controller is installed on a VM SVR and more Cluster Controllers install on other VM SVRs separating the service.
I'll try to install only that package but what's the goal to have 2 package for RC? it's better to have only one!!!!

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

In fact both packages maas-region-controller and maas-region-controller-min are meta-packages without much own contents.
They just have a series of dependencies on packages with the real functionality.

Installing maas-region-controller-min for example installs maas-common, python-django-maas, python-maas-provisioningserver and more.

Installing maas-region-controller installs everything that is also installed by maas-region-controller-min plus postgresql and rabbitmq-server.

Apparently the idea for having two packages was to provide an easy way to install either the minimum required packages, or a more complete set with database support.

see also http://packages.ubuntu.com/search?keywords=maas-region-controller&searchon=names&suite=trusty&section=all

Revision history for this message
Riccardo Magrini (riccardo-magrini) said :
#4

thanks a lot for your answer, it's a bit clear.
I'm trying to install the maas-.....-min package on a VM with a base Ubuntu 14.04lts svr edition, I'll tell you soon if I can build a RC with 2 CC using that or not.

Revision history for this message
Riccardo Magrini (riccardo-magrini) said :
#5

I've just made that, but the WEB UI to manage MaaS is not present.
For having a RC SVR working I've to install it only via ISO file because using the packages is not possible to define a separating service.

Revision history for this message
Riccardo Magrini (riccardo-magrini) said :
#6

I've also try to install maas-region-controller on that VM but I've received the same error about postgresql.

Revision history for this message
Riccardo Magrini (riccardo-magrini) said :
#7

I've tried to re-create the same lab but this time using the last release of MaaS via ppa, and I've obtain the same error during the installation of maas-region-controller on a single host. I've posted that also here :

http://askubuntu.com/questions/641540/error-during-installation-via-command-line-of-maas-region-controller

why is it not possible to install only the region controller on a server and the cluster controller on other svr?

I've always to install the complete "suite" on a single host?

thanks

Revision history for this message
Aleksey Zvyagintsev (azvyagintsev) said :
#8

I believe my Q is related to this topic
https://answers.launchpad.net/ubuntu/+source/maas/+question/659860
(even if no one answered ) )

Can you help with this problem?

Provide an answer of your own, or ask Riccardo Magrini for more information if necessary.

To post a message you must log in.