Skip to content

cloudstack-setup-databases fails on complex database key #4925

Description

@derhecht
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Setup
CLOUDSTACK VERSION
4.15.0
CONFIGURATION

not relevant I think

OS / ENVIRONMENT

not relevant I think

SUMMARY

I run
cloudstack-setup-databases cloud:@localhost --deploy-as=root: -e <encryption_type> -m <management_server_key> -k <database_key> -i <management_server_ip>
with e.g. the following (see database key)
cloudstack-setup-databases cloud:@localhost --deploy-as=root: -e <encryption_type> -m <management_server_key> -k "Some&Crazy&Password" -i <management_server_ip>
it splits the key and try to run it as commands (see screenshot)
Bildschirmfoto 2021-04-15 um 15 27 36

STEPS TO REPRODUCE
  1. Follow install instructions on https://docs.cloudstack.apache.org/en/4.15.0.0/installguide/management-server/index.html
  2. in step where you have to run cloudstack-setup-databases, do something like the following:
cloudstack-setup-databases cloud:"password"@localhost --deploy-as=root:"password" -m "password" -k "Some&Crazy&Password"
EXPECTED RESULTS
Script should setup the given key.
ACTUAL RESULTS

Error message when processing encryption.

see screenshot above

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions