[Bug 1846472] Re: Juju fails to bootstrap on OpenStack

Noemi Aloisi 1846472 at bugs.launchpad.net
Tue Oct 15 08:02:46 UTC 2019


Hi Heather Lanigan,
 
Full log was this:

17:13:38 INFO  juju.cmd supercommand.go:57 running juju [2.6.6 gc go1.10.4]
17:13:38 DEBUG juju.cmd supercommand.go:58   args: []string{"juju", "bootstrap", "acilia", "canonicalk8s", "--config", "config.yaml", "--bootstrap-series=bionic", "--debug"}
17:13:38 DEBUG juju.cmd.juju.commands bootstrap.go:1038 authenticating with region "" and credential "juju-canonicalk8s" ()
17:13:38 DEBUG juju.cmd.juju.commands bootstrap.go:1166 provider attrs: map[use-default-secgroup:false network:default external-network:Internet use-openstack-gbp:false policy-target-group: use-floating-ip:true]
17:13:39 INFO  cmd authkeys.go:114 Adding contents of "/home/gverona/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
17:13:39 DEBUG juju.cmd.juju.commands bootstrap.go:1225 preparing controller with config: map[logging-config: network:default image-stream:released max-action-results-age:336h enable-os-refresh-update:true authorized-keys:ssh-rsa  juju-client-key
 net-bond-reconfigure-delay:17 ftp-proxy: juju-ftp-proxy: juju-no-proxy:127.0.0.1,localhost,::1 agent-metadata-url: no-proxy:127.0.0.1,localhost,::1 https-proxy: update-status-hook-interval:5m external-network:Internet ssl-hostname-verification:true use-floating-ip:true resource-tags: apt-ftp-proxy: use-default-secgroup:false use-openstack-gbp:false test-mode:false container-inherit-properties: agent-stream:released image-metadata-url: snap-store-proxy: provisioner-harvest-mode:destroyed max-status-history-age:336h http-proxy: egress-subnets: development:false max-status-history-size:5G apt-mirror: snap-store-assertions: automatically-retry-hooks:true name:controller logforward-enabled:false transmit-vendor-metrics:true disable-network-management:false container-image-metadata-url: juju-https-proxy: uuid:b278ecd6-a957-4618-8c24-88d8a1340499 container-image-stream:released fan-config: container-networking-method: cloudinit-userdata: ignore-machine-addresses:false enable-os-upgrade:true proxy-ssh:false snap-https-proxy: backup-dir: max-action-results-size:5G default-series:bionic policy-target-group: type:openstack apt-https-proxy: firewall-mode:instance apt-no-proxy: snap-http-proxy: apt-http-proxy: juju-http-proxy:]
17:13:39 INFO  juju.provider.openstack provider.go:162 opening model "controller"
17:13:40 DEBUG goose client.go:547 auth details: &{Token:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX TenantId:e9add44d475740ca8661f3c2213d3470 TenantName:canonicalk8s UserId:f29c29d55dd3450dae6359b182605e0b Domain: RegionServiceURLs:map[RegionTwo:map[datamover:http://10.135.1.15:8784/v2 compute:https://computer2.cs1.cloudspc.it:8774/v2.1 alarming:https://apir2.cs1.cloudspc.it:8042 image:https://apir2.cs1.cloudspc.it:9292 s3:https://apir2.cs1.cloudspc.it:8080 volumev2:https://apir2.cs1.cloudspc.it:8776/v2/e9add44d475740ca8661f3c2213d3470 identity:https://authr2.cs1.cloudspc.it:5000/v3 workloads:http://10.134.0.30:8780/v1/e9add44d475740ca8661f3c2213d3470 metric:https://apir2.cs1.cloudspc.it:8041 object-store:https://apir2.cs1.cloudspc.it:8080/v1/AUTH_e9add44d475740ca8661f3c2213d3470 cloudformation:https://apir2.cs1.cloudspc.it:8000/v1 placement:https://computer2.cs1.cloudspc.it:8778 volumev3:https://apir2.cs1.cloudspc.it:8776/v3/e9add44d475740ca8661f3c2213d3470 orchestration:https://apir2.cs1.cloudspc.it:8004/v1/e9add44d475740ca8661f3c2213d3470 network:https://apir2.cs1.cloudspc.it:9696 dns:https://apir2.cs1.cloudspc.it:9001]]}
17:13:40 INFO  cmd bootstrap.go:677 Creating Juju controller "canonicalk8s" on acilia/RegionTwo
17:13:40 DEBUG goose apiversion.go:274 discovered API versions: [{Version:{Major:2 Minor:0} Links:[{Href:https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2/ Rel:self}] Status:SUPPORTED} {Version:{Major:2 Minor:1} Links:[{Href:https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2.1/ Rel:self}] Status:CURRENT}]
17:13:40 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
17:13:40 DEBUG juju.cmd.juju.commands bootstrap.go:698 (error details: [{/build/juju-core-oFmY8u/juju-core-2.6.6/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}])
17:13:40 DEBUG juju.cmd.juju.commands bootstrap.go:1332 cleaning up after failed bootstrap
17:13:40 INFO  juju.provider.common destroy.go:21 destroying model "controller"
17:13:40 INFO  juju.provider.common destroy.go:32 destroying instances
17:13:40 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
17:13:41 INFO  cmd supercommand.go:502 command finished

-- 
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