81cedc58f7
More granular storage configuration
...
Use storage or ceph_storage paths depending on the
disks defined in the config
2021-12-25 18:48:55 +00:00
6549ec4ee4
Add domain, if it doesn't exist
2021-12-25 18:47:41 +00:00
400484e503
Further updates
...
* Add extra bootstrap flags, will need to parametrise these at some point
* ensure nodes are tagged when they are newly created
* assign the same ip suffix on the hypervisors for consistency
2021-12-20 02:37:48 +00:00
3d718f3074
fix virt-install command param for memory
2021-12-20 00:22:13 +00:00
5a80b36dce
Tuning of partition creation
...
Also updating MAAS API key from new bootstrapped MAAS
2021-12-20 00:06:24 +00:00
52daf21f48
Allow ram to ballon 1.5 times allocated
2021-12-19 16:31:36 +00:00
2f59149510
Update repos to reflect mimicked customer env
2021-12-19 16:31:12 +00:00
be2415eeb4
Add Kernel Options that are in MAAS
2021-12-06 07:58:36 +00:00
840d798c29
A few changes, see notes
...
* Add script to add dns records
* Tag nodes based on which hypervisor they are on
* Add extra DNS fields via MAAS
2021-12-06 07:57:11 +00:00
2a1925805a
purge the snap when removing
2021-04-22 17:54:49 +01:00
ebe0b2ae92
Allow libvirt to auto generate the MAC
...
This way, we do have to do the calculation, and
allow the libvirtd to do this for us, and grab
the details directly off from libvirtd instead
2021-03-25 08:34:33 +00:00
d46adb4328
Change name of script
2021-03-25 08:28:06 +00:00
becc0f2848
A dot is required for cname at the end
2021-03-19 17:47:42 +00:00
431295ee1d
Update the controllers with 16GB RAM
2021-03-19 16:36:42 +00:00
56785e2df4
Add link-local for physical interfaces for the hypervisors
2021-03-19 08:58:30 +00:00
24a129ab11
The device number changed after NVME was added
2021-03-19 08:57:14 +00:00
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