hookscript error for on pre-start: script does not exist with glusterfs

bzctoons

Renowned Member
Dec 19, 2011
2
0
66
Hello
I'm facing an issue when I restart a node :
- My node contains several lxc containers and each of them have a pre-hook script on a glusterfs volume
- It seems that the containers starts before glusterfs is ready

Is there any way to either wait for glusterfs , delay the start of the containers or retry to start every xx seconds ?
Thanks
 
delay the start of the containers

Either via the "First Guest Boot Delay": [1] or via the "Startup delay" for LXCs: [2] (and for completeness for VMs: [3]).

If all guests need the delay, the "First Guest Boot Delay" is probably the best and easiest way.

[1] https://pve.proxmox.com/wiki/Proxmox_Node_Management#first_guest_boot_delay
[1b] https://forum.proxmox.com/threads/delay-start-of-a-vm.111212/#post-479307
[2] https://pve.proxmox.com/wiki/Linux_Container#pct_startup_and_shutdown
[3] https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines#qm_startup_and_shutdown
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!