[Bug 1846472] Re: Juju fails to bootstrap on OpenStack
James Page
james.page at ubuntu.com
Wed Oct 16 13:19:20 UTC 2019
That said I think we enable that by default for charm based deployments,
because services are always fronted by haproxy and apache2
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1846472
Title:
Juju fails to bootstrap on OpenStack
Status in juju:
New
Status in nova package in Ubuntu:
Incomplete
Bug description:
I wan't create o juju controller on Openstack Cluod Canonical Queen version.
Error received:
- ERROR juju.cmd.juju.commands bootstrap.go:697 failed to get list of flavour details
caused by: parse https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2/: invalid character " " in host name
I have create a project and one VM and I have followed this documentation:
- https://jaas.ai/docs/creating-a-controller
- https://cloud.garr.it/apps/juju-openstack/
Following I give you all my step:
cat acilia_cloud.yaml
clouds:
acilia:
type: openstack
auth-types: [access-key, userpass]
regions:
RegionTwo:
endpoint: XXXXXXXXX
/opt/noemi# cat credentials.yaml
credentials:
acilia:
juju-canonicalk8s:
auth-type: userpass
project-domain-name: default
user-domain-name: default
tenant-name: canonicalk8s
username: XXXXXXXXX
password: XXXXXXXXX
$ juju add-cloud acilia acilia_cloud.yaml
$ juju add-credential acilia -f credentials.yaml --replace
$ juju show-cloud acilia
$ juju list-credentials --format yaml --show-secrets
$ juju metadata generate-image -d /opt/noemi/simplestreams -i
8ad030a0-2fd4-444a-be48-4b6b46522bee -s bionic -r RegionTwo -u
https://authr2.cs1.cloudspc.it:5000/v3
$ juju bootstrap acilia canonicalk8s --config network=03db2881-b30b-
4a61-833f-1ba25b26162c --config external-network=b01c4b9e-26b8-41b0
-a12f-2f5fdab84e70 --config use-floating-ip=true --metadata-source
/opt/noemi/simplestreams --debug
b01c4b9e-26b8-41b0-a12f-2f5fdab84e70 --config use-floating-ip=true --metadata-source /opt/noemi/simplestreams --debug
10:15:07 INFO juju.cmd supercommand.go:57 running juju [2.6.9 gc go1.10.4]
10:15:07 INFO cmd authkeys.go:114 Adding contents of "/root/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
....
10:15:07 INFO juju.provider.openstack provider.go:162 opening model "controller"
.....
10:15:08 ERROR juju.cmd.juju.commands bootstrap.go:697 failed to get list of flavour details
caused by: parse https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2/: invalid character " " in host name
10:15:08 DEBUG juju.cmd.juju.commands bootstrap.go:698 (error details: [{/build/juju-core-sU8dy9/juju-core-2.6.9/obj-x86_64-linux-gnu/src/github.com/juju/juju/cmd/juju/commands/bootstrap.go:731: } {failed to get list of flavour details
caused by: parse https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2/: invalid character " " in host name}])
10:15:08 DEBUG juju.cmd.juju.commands bootstrap.go:1332 cleaning up after failed bootstrap
10:15:08 INFO juju.provider.common destroy.go:21 destroying model "controller"
10:15:08 INFO juju.provider.common destroy.go:32 destroying instances
10:15:08 ERROR juju.cmd.juju.commands bootstrap.go:1334 error cleaning up: destroying controller model: destroying instances: failed to get list of server details
caused by: parse https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2/: invalid character " " in host name
10:15:08 INFO cmd supercommand.go:502 command finished
To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1846472/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list