GitHub user kiranchavala edited a comment on the discussion: cloudstack-usage 
fails after fresh 4.22.0.0 install on Ubuntu 24.04 because 
/etc/cloudstack/usage/key is missing

Thanks @winterhazel 

Issue is not observed if the mentioned steps are followed, the key file present.

Issue occurs only if cloudstack-usage is installed  before initializing the 
database

```
Install the cloudstack-management package.
Prepare the database and run cloudstack-setup-databases to initialize it.
Install the cloudstack-usage package.

```


```
root@test:/etc/cloudstack/usage# ls
db.properties  key  log4j-cloud.xml
root@test:/etc/cloudstack/usage# ls -la
total 12
drwxr-xr-x 2 root root 4096 Jul 21 05:08 .
drwxr-xr-x 5 root root 4096 Jul 21 05:08 ..
lrwxrwxrwx 1 root root   40 Jul 21 05:08 db.properties -> 
/etc/cloudstack/management/db.properties
lrwxrwxrwx 1 root root   30 Jul 21 05:08 key -> /etc/cloudstack/management/key

```


GitHub link: 
https://github.com/apache/cloudstack/discussions/13251#discussioncomment-17710361

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to