canonical / canonical/stsstack-bundles
configure_octavia.sh: ./DemoCA/newcerts: No such file or directory
- Dominant language
- Shell
- Stars
- 10
- Forks
- 37
- Avg merge
- 7d 16h
- Merged PRs (30d)
- 1
Description
Hello,
deployed env with:
./generate-bundle.sh --ovn --octavia -s focal -r ussuri --charmstore -n my_model
When running the ./tools/configure_octavia.sh I have the following error:
`
...
-----
+ openssl ca -passin pass:foobar -config /etc/ssl/openssl.cnf -cert controller_ca.pem -keyfile controller_ca_key.pem -create_serial -batch -in controller.csr -days 365 -out controller_cert.pem
Using configuration from /etc/ssl/openssl.cnf
ca: ./DemoCA/newcerts is not a directory
./DemoCA/newcerts: No such file or directory
`
I think the problem is related to the fact that the openssl command needs the "DemoCA" folder (with capital D).
A possible fix can be done in configure_octavia.sh:
`
...
mkdir -p DemoCA/newcerts # <-- Used capital D here
touch DemoCA/index.txt # and here
touch DemoCA/index.txt.attr # and here
`
Regards,
Marco
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.