Just sharing some scripts used here. I hope they can help you.
Create file cloud.cfg_jammy
Change the following lines:
cloud_init_modules:
.
.
- [ssh, always]
cloud_config_modules:
.
.
- [set-passwords, always]
Download the cloud-set-guest-password-configdrive.sh script.
Create
If you only have local storage, then Host HA may make sense, at least if
the hypervisor crashes have it rebooted via ipmi.
Test it and see if it behaves as expected.
On 2023-10-05 10:35, Granwille Strauss wrote:
I am idiot, that makes sense, yes. Thank you.
On 10/5/23 11:15, Nux wrote:
I am idiot, that makes sense, yes. Thank you.
On 10/5/23 11:15, Nux wrote:
Hello,
"By definition" you cannot have VM HA with local storage.
If your hypervisor goes down, through what process will the storage of
your VM be moved to another hypervisor and started there?
For VM HA you always
Hello,
"By definition" you cannot have VM HA with local storage.
If your hypervisor goes down, through what process will the storage of
your VM be moved to another hypervisor and started there?
For VM HA you always must have network/shared storage, be it CEPH,
Storpool, Linbit etc - and
Hi Nux
So we cannot run VM Ha on strict KVM local storage? Or can we keep this
configuration of local storage and set up a temp NFS Primary storage
just for the hearbeat process to work?
On 10/4/23 15:36, Nux wrote:
I would avoid using host HA, I am not sure it can be relied upon
currently
I would avoid using host HA, I am not sure it can be relied upon
currently and one thing I know for sure is that it breaks VM HA.
I would just rely on the VM HA feature and disable host HA altogether.
Do note, VM HA requires an NFS storage for the hearbeat etc and it needs
to be stable
Thanks wei...
On Thu, 5 Oct, 2023, 13:20 Wei ZHOU, wrote:
> You need to add a script in the template to get password from configdrive
> and reset user password. For example
>
> https://github.com/apache/cloudstack/blob/main/setup/bindir/cloud-set-guest-sshkey-password-userdata-configdrive.in
>
You need to add a script in the template to get password from configdrive
and reset user password. For example
https://github.com/apache/cloudstack/blob/main/setup/bindir/cloud-set-guest-sshkey-password-userdata-configdrive.in
-Wei
On Thu, 5 Oct 2023 at 09:38, Joan g wrote:
> Hello
Hello Community,
Can someone guide me on configuration that should be added to cloud-init
settings for creating password enabled templates using configdrive in
ubuntu 20,22.
We need to deploy passsword and sshkey enabled templates on ubuntu that
will be using L2 networks.
Thanks joan