809256cfd6
Update node_count, and work towards new disk config
2021-03-18 08:32:54 +00:00
f639776164
use maas_ip_range
2021-03-16 11:55:20 +00:00
4c4a9d97c0
Add facility to add DNS records
2021-03-16 11:52:46 +00:00
e517461cd3
Update control to 2, and 10G RAM
2021-03-12 16:53:01 +00:00
9504dfaa72
new formula for node_count
...
This enzures that, if the number of control nodes are increased, the compute
nodes are decreased.
2021-03-12 14:44:38 +00:00
84412a6000
Some minor updates
...
* Doc update, missed back-tick
* default to 150G for root disk (will help with contrail nodes)
* Only require 1 disk for control nodes
2021-03-12 12:10:15 +00:00
4e273e6efa
Update README
2021-03-01 17:14:45 +00:00
7735f53f36
Only do certain actions if they are not deployed
2021-02-15 20:53:03 +00:00
05dca8bcd4
Add partitioning to maas nodes
...
* Add partitioning, so that it's consistent with how
customer is doing it, so that replication of env is
a lot easier
* Start some work towards DNS names for VIPs and such
2021-02-15 18:48:13 +00:00
a0f548eefb
This current setup caused too many problems.
...
Only enabling uefi for VMs that won't necessarily be deployed
for OpenStack
2021-02-10 17:55:29 +00:00
7ebd95796c
Ensure to grab the network that is /24, hence ipv4
...
Fix this better, for a better check, but this works for the time being
2021-02-08 21:21:47 +00:00
5029e9735a
A few updates
...
* Enable juju ha
* target juju tagged nodes for juju controllers
* Only update interfaces if they don't exist on the hypervisors
2021-02-08 09:08:49 +00:00
748c97aa7d
Update README.md
2021-02-01 11:54:48 +00:00
6c2deaf61f
Add add-repo back in, and fix boot-source import
2021-01-31 18:46:32 +00:00
5f1af99797
Add apt repo, and not specify postgres version
2021-01-31 17:21:39 +00:00
a64f6956f7
Add tagging as extra option
...
* Fix commision option
* Update new maas-api-key
* Add the ability to do stuff with the juju controller VMs with do_nodes
2021-01-27 09:32:26 +00:00
53b2988fc2
Ensure that the juju controller has 2 cores
...
When having large models the load on the vms can go high.
Having them with 2 cores helps with the loads reducing
significantly.
2021-01-25 13:50:09 +00:00
e6d0cdd2f2
Go back to using IPs, DNS sucks
2021-01-20 22:13:46 +00:00
3a17c1f159
Update/add functions
...
* Standardise 2 functions, as they did similar things, but a very slight change
* Added setting the zone of a machine
2021-01-17 20:12:17 +00:00
9cf89e478f
Also remove nvram
2021-01-17 19:17:47 +00:00
5d837ae9ff
A few updates
...
* Give capability to tag or not
* fix -d option
* Update hp01 config
2021-01-17 19:06:56 +00:00
7e36aa1432
Add wakeonlan support for my hypervisors
2021-01-08 10:09:34 +00:00
25e5553332
Add asrock03 mac, and update control_cpu to 4
2021-01-07 17:12:28 +00:00
034c192f46
Update server details for mirrors, change start end points for dhcp
2021-01-07 09:00:02 +00:00
010264eb44
Add local repo
2021-01-04 20:44:56 +00:00
1ec2594717
making sure that the secureboot is for TESTING only
2021-01-03 20:32:32 +00:00
d6f57017bd
Add uefi and a test secureboot option
2021-01-03 12:15:12 +00:00
57b430ca36
fix typo
2021-01-02 14:52:16 +00:00
c17d888f45
Update further
...
* Don't start the vm, as the commission/create of node will do
that automatically
* Fix the maas node, if the mac address differ
2021-01-02 14:12:45 +00:00
4edfca32ba
add back maas_assign_networks but not in the upper if stmt
2021-01-02 12:02:24 +00:00
b5c731d57a
Update default_config
...
My maths was a bit off for node_count
Start of soemthing to enable legacy or uefi based VMs
2021-01-02 11:44:16 +00:00
be82cea841
Fix check on manage-maas
2021-01-02 11:36:19 +00:00
24b1e73ef0
Remove the duplicate maas_assign_networks call
2021-01-02 11:15:48 +00:00
4a6485a14a
Rework a few bits
...
* Move the commision_vm/node to functions.sh
* if machine already exists in maas, then re-use it
* move node variables above the node_num, to calculate correctly
2021-01-02 11:07:21 +00:00
d53d6c25c7
bootstrap maas updates
...
* parametrise maas_kernel_opts and maas_name, so that it's not specific
for an environment
* update boot-source-selections such that we have both focal and bionic
by default
2020-12-31 13:35:13 +00:00
efab2d3628
Updates on configs
...
* Add comments to the default.config file
* move the node_count to the default.config, this will allow to use
customised value if needed
* If pod-console-logging tag is to be added, then add correctly,
Otherwise, if we are adding fresh pods after tag creation, the pods
will fail to add. This also allows for other cases to be fulfilled if
required
2020-12-31 12:47:34 +00:00
2b57cff585
Add option for hypervisor and therefore re-jig read_config
2020-12-30 22:08:49 +00:00
c83756a3e9
Remove the need for bc
2020-12-30 13:28:37 +00:00
f741007501
Update bootstrap-maas, auto calculate node_count
...
* Ensure that the boot-sources are done at the beginning to give it
time to sync
* Automatically calculate the amount of VMs depending on memory
2020-12-30 09:36:48 +00:00
9d585beddc
Update server IP, and default node count to 9
...
* Although the default is 9, 1 is 8GB and 1 extra for juju, which
oversubscribes the memory to 44GB
2020-12-30 08:45:14 +00:00
f617c3eebb
Reorder some IPs, update api key, and add start/end for dhcp
2020-12-30 07:59:12 +00:00
742eef5901
Update the subnets, and revert the mode to AUTO
...
* enable/disable managed on the subnets. This resolves the problem where AUTO IP
doesn't seem to work. This is a workaround to help with this
* Revert the AUTO mode, now that the above issue is resolved
2020-12-29 20:53:37 +00:00
276e98bcc3
Update formatting/spaces and more boot-source-selection stuff
...
* More tabs to spaces, so that formatting and disaply looks the same
on terminal and text editor
* Ensure that only amd64 are being sync'd
* If using MAAS 2.9, then focal gets downloaded by default, so add
bionic to the list too
* Cross out items in TODO that have now been implemented
2020-12-29 16:59:25 +00:00
39817eca47
Use maas 2.9 now
2020-12-29 15:28:17 +00:00
9add788935
Update to latest api key
2020-12-29 15:27:05 +00:00
86b4fd9459
Updates on the boostrap-maas now for clouds. Use DHCP by default, as problems with AUTO
...
Failed to allocate the required AUTO IP addresses after 2 retries.
2020-12-29 14:08:41 +00:00
01793ffc49
Bootstrap MAAS fixes and update for SNAP
2020-12-29 12:47:27 +00:00
30ac86aa3f
Fix typo, add pod back, update maas_api_key
2020-12-29 11:20:17 +00:00
e00742c81d
boostrap maas work
...
* Install and Build working and tested for snap installation
* Added VLAN, spaces awareness in the subnets and added to the same fabric
2020-12-29 00:55:36 +00:00
1ca6934c38
Don't create libvirt VM, if it already exists
2020-12-29 00:41:42 +00:00