GitHub user winterhazel added a comment to the discussion: cloudstack-usage fails after fresh 4.22.0.0 install on Ubuntu 24.04 because /etc/cloudstack/usage/key is missing
@Eddi1306 @kiranchavala after investigating a bit, this seems like an installation order issue rather than an actual bug. Could you confirm if you still encounter the problem when performing the installation in the following order? 1. Install the `cloudstack-management` package. 2. Prepare the database and run `cloudstack-setup-databases` to initialize it. 3. Install the `cloudstack-usage` package. The Usage Server's symbolic link to the key is created only during its post-installation script if `/etc/cloudstack/management/key` exists, while `/etc/cloudstack/management/key` is created by `cloudstack-setup-databases`. Hence, installing the Usage Server before initializing the database results in the symbolic link not being automatically created. If that is indeed what caused the issue, we can improve this behavior in the future by having `cloudstack-setup-databases` also create this symbolic link if the Usage Server is already installed on the same machine. However, for 4.23, I think this might just warrant a note in the official installation guide explaining this behavior. GitHub link: https://github.com/apache/cloudstack/discussions/13251#discussioncomment-17704716 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
