Can you share the content of files "key" and "db.properties" in
/etc/cloudstack/management ?

-Wei

On Sun, Feb 25, 2024 at 8:12 PM steve savio <st...@bettersms.net.invalid>
wrote:

> Hello,
>
> I'm looking to try out CloudStack and have been following the guide on
> getting a single node setup going at
>
> https://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html
> .
>
> But I've run into an issue while trying to set up the system VM template -
> the
>
> https://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html#prepare-the-system-vm-template
>
> I run
>
>  sudo
>
> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
>
> http://download.cloudstack.org/systemvm/4.19/systemvmtemplate-4.19.0-kvm.qcow2.bz2
> -h
> <http://download.cloudstack.org/systemvm/4.19/systemvmtemplate-4.19.0-kvm.qcow2.bz2-h>
> kvm -F
>
> and get a couple of warnings related to log4j and protobuf and then a
> failure message
>
> log4j:WARN No appenders could be found for logger
> (com.cloud.utils.crypt.CloudStackEncryptor).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil
> (file:/usr/share/cloudstack-common/lib/cloudstack-utils.jar) to field
> java.nio.Buffer.address
> WARNING: Please consider reporting this to the maintainers of
> com.google.protobuf.UnsafeUtil
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> Exception in thread "main" com.cloud.utils.exception.CloudRuntimeException:
> Failed to decrypt value: +BIIn*****
>         at
>
> com.cloud.utils.crypt.CloudStackEncryptor.decrypt(CloudStackEncryptor.java:104)
>         at com.cloud.utils.crypt.EncryptionCLI.main(EncryptionCLI.java:68)
> Failed to decrypt DB password from db.properties
> Installation failed
>
>
>
> Not exactly sure if there's a previous step I missed but I'm completely new
> to CloudStack so any help is welcome.
>
> The system I'm using is running
> - Ubuntu 22.04
> - MySQL 8.0.36
> - OpenJDK version "11.0.21" 2023-10-17
>
> Not sure if it's noteworthy but I did create the database and users
> manually and then ran the
> ` cloudstack-setup-databases` with then ` --schema-only` option.
>

Reply via email to