Khue Doan
|
d577dfbaab
|
Fix container failed to start
Error: Failed to run: /usr/bin/lxd forkstart tfstate /var/lib/lxd/containers /var/log/lxd/tfstate/lxc.conf
|
2021-05-17 01:16:07 +07:00 |
|
Khue Doan
|
fd6ab62a12
|
Add root device for tfstate container
Because default profile was removed
|
2021-05-17 01:09:38 +07:00 |
|
Khue Doan
|
8287fe696f
|
Install LXD via dnf instead of snap
I hate snap
|
2021-05-16 23:59:42 +07:00 |
|
Khue Doan
|
ef79644dfa
|
Swith to Fedora for bare metal nodes
|
2021-05-16 22:57:20 +07:00 |
|
Khue Doan
|
52828a363e
|
Fix cluster member join on LXD 4.14
https://discuss.linuxcontainers.org/t/lxd-4-14-has-been-released/11008
|
2021-05-16 17:34:22 +07:00 |
|
Khue Doan
|
17745bbc20
|
Fix syntax
|
2021-05-16 16:05:05 +07:00 |
|
Khue Doan
|
56dd371fa8
|
Extract instead of mounting the OS ISO file
Avoid using privileged container or root permission on local machine
|
2021-05-16 15:10:23 +07:00 |
|
Khue Doan
|
aabb7b340c
|
Specify Ansible SSH key without SSH agent
For the tools container
|
2021-05-16 13:26:32 +07:00 |
|
Khue Doan
|
54f4eb570d
|
Use Ansible from package manager instead of pip
|
2021-05-16 13:14:15 +07:00 |
|
Khue Doan
|
53bd439431
|
Ensure idempotency for bare metal provisioning
|
2021-05-16 13:12:41 +07:00 |
|
Khue Doan
|
e6e5c177d6
|
Standardize TODOs
|
2021-05-01 22:51:55 +07:00 |
|
Khue Doan
|
c8331959bd
|
Use var for macvlan parent
|
2021-05-01 16:17:19 +07:00 |
|
Khue Doan
|
74015da237
|
Increase LXD storage size
|
2021-04-26 01:21:22 +07:00 |
|
Khue Doan
|
f84fc1ae4e
|
Set default username
|
2021-04-26 01:21:01 +07:00 |
|
Khue Doan
|
96a9c8edb3
|
Configure etcd using env file
|
2021-04-25 00:55:04 +07:00 |
|
Khue Doan
|
c16d1a5a22
|
Use native lxd connection instead of lxd exec
|
2021-04-25 00:30:52 +07:00 |
|
Khue Doan
|
36e7d5e9ef
|
Add ugly fix for ansible LXD connection
|
2021-04-24 19:07:41 +07:00 |
|
Khue Doan
|
a69acb8134
|
Terraform state etcd in LXD instead of Docker
|
2021-04-24 18:02:19 +07:00 |
|
Khue Doan
|
0bbb87169f
|
Remove minio tfstate
|
2021-04-24 14:35:50 +07:00 |
|
Khue Doan
|
4898d18202
|
Fix wrong tfvars path after restructure
|
2021-04-24 14:22:36 +07:00 |
|
Khue Doan
|
ad8204cb3d
|
Update todo
|
2021-04-21 23:37:59 +07:00 |
|
Khue Doan
|
613fb33959
|
Generate LXD tfvars instead of environment variable
|
2021-04-21 23:29:18 +07:00 |
|
Khue Doan
|
8d6c1b6889
|
Add checksum to metal ISO installer file
Avoid redownload the ISO and check the ISO integrity
|
2021-04-21 21:30:23 +07:00 |
|
Khue Doan
|
400288a786
|
Update title for each layer
|
2021-04-20 01:55:09 +07:00 |
|
Khue Doan
|
5772849767
|
Add more TODO
|
2021-04-19 22:39:51 +07:00 |
|
Khue Doan
|
49846a36c4
|
Add missing lib for Ansible
|
2021-04-18 22:20:12 +07:00 |
|
Khue Doan
|
9d30d0e328
|
Export metal secrets to an env file
|
2021-03-21 18:24:48 +07:00 |
|
Khue Doan
|
d80e6442f4
|
Change main playbook file name
|
2021-03-03 21:51:19 +07:00 |
|
Khue Doan
|
a65772a574
|
Temporarily disable firewall
|
2021-03-03 03:11:29 +07:00 |
|
Khue Doan
|
620e2eab2a
|
Fix LXD fan network
|
2021-03-03 02:51:55 +07:00 |
|
Khue Doan
|
3d6c0f44d0
|
Use var for LXD password
|
2021-03-03 02:11:50 +07:00 |
|
Khue Doan
|
b68d65f2ed
|
Remove legacy reset script
|
2021-03-03 02:00:46 +07:00 |
|
Khue Doan
|
b085a453e7
|
Clean up
|
2021-03-03 01:56:33 +07:00 |
|
Khue Doan
|
acb3dd03af
|
Optimize PXE config templating
|
2021-03-03 01:25:56 +07:00 |
|
Khue Doan
|
e6341de6e7
|
Rework role structure
|
2021-03-03 00:04:09 +07:00 |
|
Khue Doan
|
472003d94b
|
Rework playbook
|
2021-03-03 00:00:59 +07:00 |
|
Khue Doan
|
54d47535c9
|
Install snap on CentOS instead
|
2021-03-02 23:48:12 +07:00 |
|
Khue Doan
|
d6bb107b7c
|
Revert "Remove role to install snap"
This reverts commit fb64d06ab336f5487acdac9ed04e520975cd76e5.
|
2021-03-01 01:16:24 +07:00 |
|
Khue Doan
|
5ce78a6cbd
|
Remove tools role
|
2021-03-01 01:14:06 +07:00 |
|
Khue Doan
|
5ef7086cac
|
Ask for username and password when provision metal nodes
|
2021-03-01 00:55:41 +07:00 |
|
Khue Doan
|
f2f7599a02
|
Disable host key checking
|
2021-03-01 00:44:11 +07:00 |
|
Khue Doan
|
64f5a5684e
|
Fix pxe server
|
2021-02-28 23:56:11 +07:00 |
|
Khue Doan
|
cdf6e4041e
|
Fix wrong role name
|
2021-02-28 20:59:26 +07:00 |
|
Khue Doan
|
87934e8893
|
Add env secret template
|
2021-02-22 00:27:33 +07:00 |
|
Khue Doan
|
468aad25db
|
Add minio for tfstate
|
2021-02-22 00:25:06 +07:00 |
|
Khue Doan
|
6b60373ac4
|
Add role to generate LXD client config
|
2021-02-21 22:28:06 +07:00 |
|
Khue Doan
|
5bd503dbce
|
Remove role to install snap
Because we switched to Ubuntu and Ubuntu has snap installed by default
|
2021-02-21 21:03:32 +07:00 |
|
Khue Doan
|
b7b5ce1fd3
|
Force LXD fan network underlay subnet instead of auto
|
2021-02-21 21:01:35 +07:00 |
|
Khue Doan
|
5e0036defd
|
Remove etcd role
|
2021-02-21 18:19:11 +07:00 |
|
Khue Doan
|
2cd7cf20e3
|
Remove all ansible role tags
|
2021-02-21 18:18:57 +07:00 |
|