It seems like the official tutorial is for snap, I am trying to initialize an apt installed maas on a jammy OS and I can’t find any tutorial on it. I am new to this program so I just want to initialize it with a POC setup. I would appreciate if you guide me in the right direction. I have been searching on the forum for sometime and I am really surprised that I couldn’t find a tutorial for apt install way of doing it.
I tried that, but I don’t see any sign of maas being up. There is nothing bound to the port UI is supposed to works. I can’t find any command to check (there is no maas status like in the tutorial.)
Sorry for late reply, I got busy with other stuff and forgot, here is the output:
Package: maas
Version: 1:3.4.5-14373-g.ab434d5402-0ubuntu1~22.04.1
Priority: optional
Section: net
Maintainer: MAAS developers <maas-devel@lists.ubuntu.com>
Installed-Size: 48.1 kB
Depends: maas-rack-controller (= 1:3.4.5-14373-g.ab434d5402-0ubuntu1~22.04.1), maas-region-controller (= 1:3.4.5-14373-g.ab434d5402-0ubuntu1~22.04.1), python3-django-maas (= 1:3.4.5-14373-g.ab434d5402-0ubuntu1~22.04.1)
Download-Size: 37.9 kB
APT-Manual-Installed: yes
APT-Sources: http://172.20.104.85:8081/repository/apt-maas jammy/main amd64 Packages
Description: "Metal as a Service" is a physical cloud and IPAM
MAAS runs a software-defined data centre - it turns a collection of physical
servers and switches into a bare metal cloud with full open source IP address
management (IPAM) and instant provisioning on demand.
.
MAAS controls the servers through IPMI or another BMC or converged chassis
controller such as Cisco UCS. It provides a full inventory of components,
and can install Ubuntu, CentOS or Windows very fast on any server under
its control. It can also track and provide DHCP and DNS for other devices
on the network.
.
MAAS handles VLANs and fabrics that span many trunked switches, as well as
the routing-centric infrastructure typically used for large-scale OpenStack
or other scale-out deployments. MAAS manages IP addresses and provides APIs
for address assignment and release. MAAS can also allocate IP addresses for
containers on machines, and release them when the machine is repurposed. MAAS
provides PXE, DHCP, DNS and other low-level services to ensure the cluster
works smoothly.
.
MAAS works with any configuration system, and is recommended by the teams
behind both Chef and Juju as a physical provisioning system.
.
MAAS provides:
.
* Hardware inventory of servers
* Dynamic provisioning based on name or attributes such as disk, RAM, cores,
nics, networking, gpu’s or architecture
* DNS and DHCP as needed
* PXE boot services
.
This package is a metapackage which installs all of the separate components
of MAAS on a single machine.
Can you please tell me a quick outline of what should I do after apt install mass? The official guide doesn’t work. The apt install guides I find are very different and and are also old. they include commands like sudo maas-rack register which I am not sure what they do. The more I search , it confuses me more.
That stuff is very docker oriented and focused on getting snap to work. I’m looking top bypass snapd, because it introduces a major PITA and simply run MaaS in a privileged pod
heavy as in can I just start the services on my own?
I can run maas-region runserver but it starts a basic django on port 8000
Then I run
Unable to stop maas-rackd service.
Failed with error: System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down.
So is there a tutorial somewhere on how to proceed with non-snap installation? I understand the deb scripts are supposed to take care of it somehow, but what is I want to manually script those?
Essentially, I’m after everything the snap based maas init region+rack... command does, step by step, and without snap