Juju ssh connection fails when bootstrapping openstack

My end goal is to have openstack and kubernetes work together.

I am following this guide OpenStack for the edge, micro clouds and developers and stuck at deploying “Create the Juju controller” It seems like it cannot ssh into the instance it creates. here is what I have

# cat microstack.yaml
clouds:
    microstack:
      type: openstack
      auth-types: [access-key,userpass]
      username: admin
      password: PD0L9gGmu5l4TcpGOrVn8e9RWKdiXOSI
      regions:
        microstack:
           endpoint: https://10.255.52.101:5000/v3
      ca-certificates:
      - |
        -----BEGIN CERTIFICATE-----
        MIIC3zCCAcegAwIBAgIUWXI8I2kpUvUTQabdoZdiSqEhMg4wDQYJKoZIhvcNAQEL
        BQAwEjEQMA4GA1UEAwwHc3RhdGxlcjAeFw0yMjA2MjEyMTUzMzNaFw0zMjA2MjEy
        MTUzMzNaMBIxEDAOBgNVBAMMB3N0YXRsZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IB
        DwAwggEKAoIBAQDagPjjLmG+MmOK1mppRzEobPMQALgU1u1yF0lhwbJ7us+13PDp
        dob9VjMxJdjh088ViOXl+g/4gpRD+qumzpCT+LRYvQjlZ8EPUW/eg/tOhTm2uVR7
        N8opF24VEed6YcfA1+Zp8vocqZ7ULWlF3FEjInPAgPmM4rWtihq4FsXQA5KdZF9v
        0oktdFL4CIaWTElxNMbBSxm5tCePLbFjhRE4hRRnLlgPCE7/XsO5IzR6B8MqgcGX
        RoBE5IBaHTfXBXDnJCrQQkHyXK2a2eRYR+5YGf9odOKUqVQ6+evy6JXr1aBGnVkX
        rpw32zNW7p8XFgk+oYfveJK3Cl11v6LoVFOFAgMBAAGjLTArMA8GA1UdEwQIMAYB
        Af8CAQAwGAYDVR0RBBEwD4IHc3RhdGxlcocECv80ZTANBgkqhkiG9w0BAQsFAAOC
        AQEAVC9Q+MsLdMtTe/5zTfwzzml22qYELdUDgEIOg+d2kugA1UR/q9y+ub7XkFok
        9jVPO9sDq06PmYHsQZo50Rn6qbqN4z4bBIFy653ONoLf0hQkCGEnBoh1T1lqboEC
        7hpc4ZIg6qs4XlN4RtytTJev0h2vl8AvIqw/wesrbIB6PCe/ADlgDVBEcjiK11K0
        sBnZmfF+uH3asCDUfWcR1v1ubkaLQlVYPjcoqVCzjLAEjwAgu7187MWPyOl4KcHH
        1FwqRyCQx8/pkc0tZWd3j/Z3tD5Gd4GLFDMoNl36SnSUGNq37h/URkI1kQ5e6J+g
        q58wfsWLoHVaI9sLKFLl3IO+WA==
        -----END CERTIFICATE-----

# juju list-credentials  --format yaml --show-secrets
client-credentials:
  localhost:
    default-credential: localhost
    localhost:
      auth-type: certificate
      client-cert: |
        -----BEGIN CERTIFICATE-----
        MIICBzCCAY2gAwIBAgIRANvoZTlNSdssd7cxmtzruucwCgYIKoZIzj0EAwMwNTEc
        MBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEVMBMGA1UEAwwMcm9vdEBzdGF0
        bGVyMB4XDTIyMDYyMjE5NTYzNFoXDTMyMDYxOTE5NTYzNFowNTEcMBoGA1UEChMT
        bGludXhjb250YWluZXJzLm9yZzEVMBMGA1UEAwwMcm9vdEBzdGF0bGVyMHYwEAYH
        KoZIzj0CAQYFK4EEACIDYgAE1Oysa2FNVRqSCEkVfzeNSv/od7EqzXyQyzWGoWhV
        xZD8+J6L1x5OQpCHTxE/pkMZ23he4ANj3o2lA1xdmUfsIt/WDNK5rtGp+373GnDs
        vwhtVDHP8AXCrLje8u9mu/nBo2EwXzAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAww
        CgYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAqBgNVHREEIzAhggdzdGF0bGVyhwR/
        AAABhxAAAAAAAAAAAAAAAAAAAAABMAoGCCqGSM49BAMDA2gAMGUCMQDb/iOzFR+Y
        xgirImJr5IgS6+O7KCEoZ2m21JydJUh314QlB3RyGvDw/b8YLAIwJmYCMDBigEfN
        3bafVGwy4qoinzN6GuIC71okDpbsCo3mmmw4f/8KOz+XDDrDnjfXh/8oPQ==
        -----END CERTIFICATE-----
      client-key: |
        -----BEGIN EC PRIVATE KEY-----
        MIGkAgEBBDAxdSBdUxNB3U+rxGuA1D6r+A6UNlyjn1mMHfDQzS1aQRsy7X4KuWW0
        CirpsaaeVsCgBwYFK4EEACKhZANiAATU7KxrYU1VGpIISRV/N41K/+h3sSrNfJDL
        NYahaFXFkPz4novXHk5CkIdPET+mQxnbeF7gA2PejaUDXF2ZR+wi39YM0rmu0an7
        fvcacOy/CG1UMc/wBcKsuN7y72a7+cE=
        -----END EC PRIVATE KEY-----
      server-cert: |
        -----BEGIN CERTIFICATE-----
        MIICCDCCAY2gAwIBAgIRAIgMAGBYYZrPcGpVsfO7LFMwCgYIKoZIzj0EAwMwNTEc
        MBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEVMBMGA1UEAwwMcm9vdEBzdGF0
        bGVyMB4XDTIyMDUyMDEzMTkwNFoXDTMyMDUxNzEzMTkwNFowNTEcMBoGA1UEChMT
        bGludXhjb250YWluZXJzLm9yZzEVMBMGA1UEAwwMcm9vdEBzdGF0bGVyMHYwEAYH
        KoZIzj0CAQYFK4EEACIDYgAEAcq2TOEWqektN5cmA6Jrqe1IoMliDN+kKROx7uYC
        KjcPhQXtaLF8uXKdKYj/NNZt47ZIQGn8HpEO+m9adzsg89V/UHdQbGTmZwNjnTi8
        r0TKcxcj1vpaGnE04kopmdXeo2EwXzAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAww
        CgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAqBgNVHREEIzAhggdzdGF0bGVyhwR/
        AAABhxAAAAAAAAAAAAAAAAAAAAABMAoGCCqGSM49BAMDA2kAMGYCMQCcChYZVyiq
        QfWIrRLjoIyUQmbTbVbg0II4gWOOIRk9WVvOBB1Y7hznF2PPJEQva5gCMQCEyNcO
        tfBUcYI8RE0b6Mex1cXvR9rp3JPxBC9264LuKEAhlc/f72yvXTWx/u68fQw=
        -----END CERTIFICATE-----
  microstack:
    admin:
      auth-type: userpass
      domain-name: ""
      password: PD0L9gGmu5l4TcpGOrVn8e9RWKdiXOSI
      project-domain-name: default
      tenant-id: ""
      tenant-name: admin
      user-domain-name: default
      username: admin
      version: "3"

to create controller i run

juju bootstrap --bootstrap-series=$OS_SERIES --metadata-source=~/simplestreams --model-default network=test --model-default external-network=external --model-default use-floating-ip=true --config use-default-secgroup=true --debug microstack microstack

the logging

13:00:44 INFO juju.cmd supercommand.go:56 running juju [2.9.31 0f2ce8e528a67fa3f735dff39a1a68c44540bb97 gc go1.18.2]

13:00:44 DEBUG juju.cmd supercommand.go:57 args: []string{"/snap/juju/19414/bin/juju", "bootstrap", "--bootstrap-series=bionic", "--metadata-source=~/simplestreams", "--model-default", "network=test", "--model-default", "external-network=external", "--model-default", "use-floating-ip=true", "--config", "use-default-secgroup=true", "--debug", "microstack", "microstack"}

13:00:44 DEBUG juju.cmd.juju.commands bootstrap.go:1307 authenticating with region "" and credential "admin" ()

13:00:44 DEBUG juju.cmd.juju.commands bootstrap.go:1455 provider attrs: map[external-network:external network:test policy-target-group: use-default-secgroup:true use-floating-ip:true use-openstack-gbp:false]

13:00:45 INFO cmd authkeys.go:114 Adding contents of "/root/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys

13:00:45 DEBUG juju.cmd.juju.commands bootstrap.go:1530 preparing controller with config: map[agent-metadata-url: agent-stream:released apt-ftp-proxy: apt-http-proxy: apt-https-proxy: apt-mirror: apt-no-proxy: authorized-keys:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDnkIQi6rQURr822ggum4NZtdY68kCJRgS0l9YrjGvnYhWLwuj0h2/nA81MVSDOLqy4aRmQCqIlGAcWVj+0cagwz0iIvkZK6U9CIpCmNjsd6bvV+nVvDaAnFK5/AwkYixflOV867q2ybCuLkUNVIYgUzHY/FMhvFMcgl9Ldxs+2KDKaRam78x2xsp/zPs05bKpPVJoCAkABcSFBBvfMsNlqu07He7Y4tsZJaFvti/mV+rO1N41UMerWbPcH1VkqvVVGqZNTPR3fSVZsVmWFs1L0w5P4+AaKrvHW74WFg/wLDmUEwj5rybDK5H1aEoJPggtP6+QhSpPFAYIPRTdASeJx juju-client-key

automatically-retry-hooks:true backup-dir: charmhub-url:https://api.charmhub.io cloudinit-userdata: container-image-metadata-url: container-image-stream:released container-inherit-properties: container-networking-method: default-series:focal default-space: development:false disable-network-management:false disable-telemetry:false egress-subnets: enable-os-refresh-update:true enable-os-upgrade:true external-network:external fan-config: firewall-mode:instance ftp-proxy: http-proxy: https-proxy: ignore-machine-addresses:false image-metadata-url: image-stream:released juju-ftp-proxy: juju-http-proxy: juju-https-proxy: juju-no-proxy:127.0.0.1,localhost,::1 logforward-enabled:false logging-config: logging-output: lxd-snap-channel:latest/stable max-action-results-age:336h max-action-results-size:5G max-status-history-age:336h max-status-history-size:5G name:controller net-bond-reconfigure-delay:17 network:test no-proxy:127.0.0.1,localhost,::1 num-container-provision-workers:4 num-provision-workers:16 policy-target-group: provisioner-harvest-mode:destroyed proxy-ssh:false resource-tags: snap-http-proxy: snap-https-proxy: snap-store-assertions: snap-store-proxy: snap-store-proxy-url: ssl-hostname-verification:true test-mode:false transmit-vendor-metrics:true type:openstack update-status-hook-interval:5m use-default-secgroup:true use-floating-ip:true use-openstack-gbp:false uuid:25f4c83c-0211-4c19-839b-4581a3adfbd4]

13:00:45 INFO juju.provider.openstack provider.go:169 opening model "controller"

13:00:45 WARN juju.provider.openstack config.go:181 Config attribute "use-floating-ip" is deprecated.

You can instead use the constraint "allocate-public-ip".

13:00:45 DEBUG juju.provider.openstack provider.go:979 authURL: https://10.255.52.101:5000/v3

13:00:45 DEBUG juju.provider.openstack provider.go:979 authURL: https://10.255.52.101:5000/v3

13:00:46 DEBUG goose logger.go:44 DEBUG: auth details: &{Token:gAAAAABitGP-GXXxepAG4AKNOYuF43zVQ5CPBpdFvdAkHyOS-HJXW-pPTLRfHepTKHmLfQgMwEzn_xQYRNzrTl8ToW2u_kOZ0O43IIdlRO1XGUqqYy5j34aBv5si0vBC3o5yyhdjUW9uaiDB7aACXu4TD5UWG49vBjY-vHjjqMMcu8PxkYBGdL0 TenantId:75a496aa41f944a4bd867557bcc7489d TenantName:admin UserId:47980441e7bb47a69473b734091e19d5 Domain: RegionServiceURLs:map[microstack:map[compute:https://10.255.52.101:8774/v2.1 identity:https://10.255.52.101:5000/v3/ image:https://10.255.52.101:9292 network:https://10.255.52.101:9696 placement:https://10.255.52.101:8778 volumev2:https://10.255.52.101:8776/v2/75a496aa41f944a4bd867557bcc7489d volumev3:https://10.255.52.101:8776/v3/75a496aa41f944a4bd867557bcc7489d]]}

13:00:46 INFO cmd bootstrap.go:855 Creating Juju controller "microstack" on microstack/microstack

13:00:46 DEBUG goose logger.go:44 TRACE: api version will be inserted between "https://10.255.52.101:8774/" and "/"

13:00:46 DEBUG goose logger.go:44 DEBUG: discovered API versions: [{Version:{Major:2 Minor:0} Links:[{Href:http://127.0.0.1:8764/v2/ Rel:self}] Status:SUPPORTED} {Version:{Major:2 Minor:1} Links:[{Href:http://127.0.0.1:8764/v2.1/ Rel:self}] Status:CURRENT}]

13:00:46 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/flavors/detail

13:00:46 INFO juju.cmd.juju.commands bootstrap.go:921 combined bootstrap constraints:

13:00:46 DEBUG juju.environs.bootstrap bootstrap.go:320 model "controller" supports application/machine networks: true

13:00:46 DEBUG juju.environs.bootstrap bootstrap.go:322 network management by juju enabled: true

13:00:46 DEBUG juju.environs.bootstrap bootstrap.go:1065 no agent directory found, using default agent metadata source: https://streams.canonical.com/juju/tools

13:00:46 DEBUG juju.environs.bootstrap bootstrap.go:1090 setting default image metadata source: /root/simplestreams/images

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:423 searching for signed metadata in datasource "bootstrap metadata"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:458 looking for data index using path streams/v1/index2.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:470 looking for data index using URL file:///root/simplestreams/images/streams/v1/index2.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:473 streams/v1/index2.sjson not accessed, actual error: [{/build/snapcraft-juju-25888574271dd1b08771e6ebeeab8ad6/parts/juju/src/environs/simplestreams/datasource.go:192: "file:///root/simplestreams/images/streams/v1/index2.sjson" not found}]

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:474 streams/v1/index2.sjson not accessed, trying legacy index path: streams/v1/index.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:489 cannot load index "file:///root/simplestreams/images/streams/v1/index.sjson": "file:///root/simplestreams/images/streams/v1/index.sjson" not found

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:427 falling back to search for unsigned metadata in datasource "bootstrap metadata"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:458 looking for data index using path streams/v1/index2.json

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:470 looking for data index using URL file:///root/simplestreams/images/streams/v1/index2.json

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:473 streams/v1/index2.json not accessed, actual error: [{/build/snapcraft-juju-25888574271dd1b08771e6ebeeab8ad6/parts/juju/src/environs/simplestreams/datasource.go:192: "file:///root/simplestreams/images/streams/v1/index2.json" not found}]

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:474 streams/v1/index2.json not accessed, trying legacy index path: streams/v1/index.json

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:493 read metadata index at "file:///root/simplestreams/images/streams/v1/index.json"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:1025 finding products at path "streams/v1/com.ubuntu.cloud-released-imagemetadata.json"

13:00:46 DEBUG juju.environs imagemetadata.go:45 new user image datasource registered: bootstrap metadata

13:00:46 INFO juju.environs.bootstrap bootstrap.go:1127 custom image metadata added to search path

13:00:46 INFO cmd bootstrap.go:397 Loading image metadata

13:00:46 DEBUG juju.environs imagemetadata.go:119 obtained image datasource "bootstrap metadata"

13:00:46 DEBUG juju.environs imagemetadata.go:119 obtained image datasource "default ubuntu cloud images"

13:00:46 DEBUG juju.environs.bootstrap bootstrap.go:959 constraints for image metadata lookup &{{{microstack https://10.255.52.101:5000/v3} [win2012hvr2 win2019 win8 artful xenial quantal win2016nano groovy trusty yakkety raring centos9 win10 win2016hv eoan bionic win2012 win7 hirsute saucy genericlinux win2012r2 win2016 win81 vivid centos7 centos8 win2008r2 focal disco utopic win2012hv cosmic zesty wily precise kubernetes opensuseleap jammy impish] [amd64 i386 armhf arm64 ppc64el s390x] released}}

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:423 searching for signed metadata in datasource "bootstrap metadata"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:458 looking for data index using path streams/v1/index2.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:470 looking for data index using URL file:///root/simplestreams/images/streams/v1/index2.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:473 streams/v1/index2.sjson not accessed, actual error: [{/build/snapcraft-juju-25888574271dd1b08771e6ebeeab8ad6/parts/juju/src/environs/simplestreams/datasource.go:192: "file:///root/simplestreams/images/streams/v1/index2.sjson" not found}]

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:474 streams/v1/index2.sjson not accessed, trying legacy index path: streams/v1/index.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:489 cannot load index "file:///root/simplestreams/images/streams/v1/index.sjson": "file:///root/simplestreams/images/streams/v1/index.sjson" not found

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:427 falling back to search for unsigned metadata in datasource "bootstrap metadata"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:458 looking for data index using path streams/v1/index2.json

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:470 looking for data index using URL file:///root/simplestreams/images/streams/v1/index2.json

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:473 streams/v1/index2.json not accessed, actual error: [{/build/snapcraft-juju-25888574271dd1b08771e6ebeeab8ad6/parts/juju/src/environs/simplestreams/datasource.go:192: "file:///root/simplestreams/images/streams/v1/index2.json" not found}]

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:474 streams/v1/index2.json not accessed, trying legacy index path: streams/v1/index.json

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:493 read metadata index at "file:///root/simplestreams/images/streams/v1/index.json"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:1025 finding products at path "streams/v1/com.ubuntu.cloud-released-imagemetadata.json"

13:00:46 DEBUG juju.environs.bootstrap bootstrap.go:971 found 1 image metadata in bootstrap metadata

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:423 searching for signed metadata in datasource "default ubuntu cloud images"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:458 looking for data index using path streams/v1/index2.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:470 looking for data index using URL http://cloud-images.ubuntu.com/releases/streams/v1/index2.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:473 streams/v1/index2.sjson not accessed, actual error: [{/build/snapcraft-juju-25888574271dd1b08771e6ebeeab8ad6/parts/juju/src/environs/simplestreams/datasource.go:192: "http://cloud-images.ubuntu.com/releases/streams/v1/index2.sjson" not found}]

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:474 streams/v1/index2.sjson not accessed, trying legacy index path: streams/v1/index.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:493 read metadata index at "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:497 skipping index "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" because of missing information: index file has no data for cloud {microstack https://10.255.52.101:5000/v3} not found

13:00:46 DEBUG juju.environs.bootstrap bootstrap.go:967 ignoring image metadata in default ubuntu cloud images: index file has no data for cloud {microstack https://10.255.52.101:5000/v3} not found

13:00:46 DEBUG juju.environs.bootstrap bootstrap.go:975 found 1 image metadata from all image data sources

13:00:46 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/flavors/detail

13:00:46 INFO cmd bootstrap.go:470 Looking for packaged Juju agent version 2.9.31 for amd64

13:00:46 INFO juju.environs.bootstrap tools.go:82 looking for bootstrap agent binaries: version=2.9.31

13:00:46 DEBUG juju.environs.tools tools.go:87 finding agent binaries in stream: "released"

13:00:46 DEBUG juju.environs.tools tools.go:89 reading agent binaries with major.minor version 2.9

13:00:46 DEBUG juju.environs.tools tools.go:98 filtering agent binaries by version: 2.9.31

13:00:46 DEBUG juju.environs.tools tools.go:101 filtering agent binaries by os type: ubuntu

13:00:46 DEBUG juju.environs.tools tools.go:104 filtering agent binaries by architecture: amd64

13:00:46 DEBUG juju.environs.tools urls.go:133 trying datasource "keystone catalog"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:423 searching for signed metadata in datasource "default simplestreams"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:458 looking for data index using path streams/v1/index2.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:754 using default candidate for content id "com.ubuntu.juju:released:agents" are {20210329 mirrors:1.0 content-download streams/v1/cpc-mirrors-agents.sjson []}

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:470 looking for data index using URL https://streams.canonical.com/juju/tools/streams/v1/index2.sjson

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:493 read metadata index at "https://streams.canonical.com/juju/tools/streams/v1/index2.sjson"

13:00:46 DEBUG juju.environs.simplestreams simplestreams.go:1025 finding products at path "streams/v1/com.ubuntu.juju-released-agents.sjson"

13:00:46 INFO juju.environs.bootstrap tools.go:84 found 1 packaged agent binaries

13:00:46 INFO cmd bootstrap.go:483 Located Juju agent version 2.9.31-ubuntu-amd64 at https://streams.canonical.com/juju/tools/agent/2.9.31/juju-2.9.31-linux-amd64.tgz

13:00:46 WARN juju.provider.openstack config.go:181 Config attribute "use-floating-ip" is deprecated.

You can instead use the constraint "allocate-public-ip".

13:00:46 INFO cmd bootstrap.go:578 Starting new instance for initial controller

13:00:47 INFO cmd bootstrap.go:167 Launching controller instance(s) on microstack/microstack...

13:00:47 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/os-availability-zone

13:00:47 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/os-availability-zone

13:00:47 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/flavors/detail

13:00:47 DEBUG juju.environs.instances image.go:66 instance constraints {region: microstack, series: bionic, arch: amd64, constraints: mem=3584M, storage: []}

13:00:47 DEBUG juju.environs.instances image.go:72 matching constraints {region: microstack, series: bionic, arch: amd64, constraints: mem=3584M, storage: []} against possible image metadata []instances.Image{

{Id:"99267c95-a1b1-457c-9331-83e892b490af", Arch:"amd64", VirtType:""},

}

13:00:47 INFO juju.environs.instances image.go:114 find instance - using amd64 image of type bionic with id: 99267c95-a1b1-457c-9331-83e892b490af

13:00:47 DEBUG juju.cloudconfig.instancecfg instancecfg.go:925 Setting numa ctl preference to false

13:00:47 DEBUG goose logger.go:44 DEBUG: auth details: &{Token:gAAAAABitGP__Lhuv4cDH3_0mnBfQj26XiJvw-RByV2VUoFRULCD8Ow2gPzMuTLX-Y6Vu96TjAcznVJTFjBRUwfxmgusouUJDA9-XmD5_0oORQHY9IWqn9txon9faomTf9AzVyOA9TBuxd4nK67ZNV1L0DaKBZPwtZiZhHwVg1aUFg5lY2_2a9Q TenantId:75a496aa41f944a4bd867557bcc7489d TenantName:admin UserId:47980441e7bb47a69473b734091e19d5 Domain: RegionServiceURLs:map[microstack:map[compute:https://10.255.52.101:8774/v2.1 identity:https://10.255.52.101:5000/v3/ image:https://10.255.52.101:9292 network:https://10.255.52.101:9696 placement:https://10.255.52.101:8778 volumev2:https://10.255.52.101:8776/v2/75a496aa41f944a4bd867557bcc7489d volumev3:https://10.255.52.101:8776/v3/75a496aa41f944a4bd867557bcc7489d]]}

13:00:47 DEBUG goose logger.go:44 TRACE: api version will be inserted between "https://10.255.52.101:9696/" and "/"

13:00:47 DEBUG goose logger.go:44 DEBUG: discovered API versions: [{Version:{Major:2 Minor:0} Links:[{Href:http://127.0.0.1:9686/v2.0/ Rel:self}] Status:CURRENT}]

13:00:47 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/networks

13:00:48 DEBUG juju.provider.openstack provider.go:1554 using network id "dac2f0f4-e077-42a7-8b51-1caced5745af"

13:00:48 DEBUG juju.service discovery.go:68 discovered init system "systemd" from series "bionic"

13:00:48 DEBUG juju.provider.openstack provider.go:1123 openstack user data; 2253 bytes

13:00:48 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/networks/dac2f0f4-e077-42a7-8b51-1caced5745af

13:00:48 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-groups?name=juju-6a638d63-af54-4a1d-8d2d-9fc714c41089-25f4c83c-0211-4c19-839b-4581a3adfbd4

13:00:48 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-groups

13:00:48 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:48 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:48 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:48 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:49 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:49 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:49 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:49 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:49 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:50 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-group-rules

13:00:50 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-groups?name=juju-6a638d63-af54-4a1d-8d2d-9fc714c41089-25f4c83c-0211-4c19-839b-4581a3adfbd4

13:00:50 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-groups?name=juju-6a638d63-af54-4a1d-8d2d-9fc714c41089-25f4c83c-0211-4c19-839b-4581a3adfbd4-0

13:00:50 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-groups

13:00:50 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/security-groups?name=juju-6a638d63-af54-4a1d-8d2d-9fc714c41089-25f4c83c-0211-4c19-839b-4581a3adfbd4-0

13:00:50 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers

13:00:51 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:01 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:11 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:12 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:12 INFO juju.provider.openstack provider.go:1316 started instance "6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5"

13:01:12 DEBUG juju.provider.openstack provider.go:1330 allocating public IP address for openstack node

13:01:12 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:12 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/networks

13:01:12 DEBUG juju.provider.openstack networking.go:162 using external network "external"

13:01:12 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:9696/v2.0/floatingips

13:01:13 DEBUG juju.provider.openstack networking.go:126 found unassigned public ip: 10.20.20.201

13:01:13 INFO juju.provider.openstack provider.go:1339 allocated public IP 10.20.20.201

13:01:13 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5/action

13:01:15 INFO cmd bootstrap.go:305 - 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 (arch=amd64 mem=3.5G cores=4)

13:01:15 INFO juju.environs.bootstrap bootstrap.go:986 newest version: 2.9.31

13:01:15 INFO juju.environs.bootstrap bootstrap.go:1001 picked bootstrap agent binary version: 2.9.31

13:01:15 INFO cmd bootstrap.go:622 Installing Juju agent on bootstrap instance

13:01:16 DEBUG juju.environs.simplestreams simplestreams.go:423 searching for signed metadata in datasource "gui simplestreams"

13:01:16 DEBUG juju.environs.simplestreams simplestreams.go:458 looking for data index using path streams/v1/index2.sjson

13:01:16 DEBUG juju.environs.simplestreams simplestreams.go:470 looking for data index using URL https://streams.canonical.com/juju/gui/streams/v1/index2.sjson

13:01:16 DEBUG juju.environs.simplestreams simplestreams.go:473 streams/v1/index2.sjson not accessed, actual error: [{/build/snapcraft-juju-25888574271dd1b08771e6ebeeab8ad6/parts/juju/src/environs/simplestreams/datasource.go:192: "https://streams.canonical.com/juju/gui/streams/v1/index2.sjson" not found}]

13:01:16 DEBUG juju.environs.simplestreams simplestreams.go:474 streams/v1/index2.sjson not accessed, trying legacy index path: streams/v1/index.sjson

13:01:16 DEBUG juju.environs.simplestreams simplestreams.go:493 read metadata index at "https://streams.canonical.com/juju/gui/streams/v1/index.sjson"

13:01:16 DEBUG juju.environs.simplestreams simplestreams.go:1025 finding products at path "streams/v1/com.canonical.streams-released-dashboard.sjson"

13:01:16 INFO cmd bootstrap.go:779 Fetching Juju Dashboard 0.8.1

13:01:16 DEBUG juju.cloudconfig.instancecfg instancecfg.go:925 Setting numa ctl preference to false

Waiting for address

13:01:16 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:16 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:01:17 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

Attempting to connect to 10.20.20.201:22

Attempting to connect to 192.168.222.83:22

13:01:26 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:26 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:01:27 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:01:32 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: ssh: connect to host 10.20.20.201 port 22: Connection refused

13:01:36 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:36 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:01:37 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:01:37 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: ssh: connect to host 10.20.20.201 port 22: Connection refused

13:01:42 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: ssh: connect to host 10.20.20.201 port 22: Connection refused

13:01:46 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:47 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:01:47 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:01:48 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:01:54 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:01:56 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:01:56 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:01:57 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:01:59 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:05 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:06 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:02:06 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:02:07 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:02:11 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:16 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:02:16 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:02:17 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:17 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:02:22 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:26 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:02:26 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:02:27 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:02:28 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:34 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:36 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:02:36 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:02:37 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:02:39 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:45 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:46 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:02:46 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:02:47 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:02:51 DEBUG juju.provider.common bootstrap.go:647 connection attempt for 10.20.20.201 failed: /var/lib/juju/nonce.txt does not exist

13:02:56 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5

13:02:56 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:02:57 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:02:57 INFO cmd bootstrap.go:415 Connected to 10.20.20.201

13:02:57 INFO juju.cloudconfig userdatacfg_unix.go:575 Fetching agent: curl -sSfw 'agent binaries from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/agent/2.9.31/juju-2.9.31-linux-amd64.tgz]>

13:02:57 INFO cmd bootstrap.go:485 Running machine configuration script...

^C

Ctrl-C pressed, stopping bootstrap and cleaning up resources

13:04:04 INFO cmd bootstrap.go:708 Bootstrap agent now started

13:04:04 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:04:04 DEBUG goose logger.go:44 TRACE: MakeServiceURL: https://10.255.52.101:8774/v2.1/servers/detail

13:04:04 DEBUG juju.provider.openstack provider.go:497 instance 6ba5c98c-9be8-4def-9ee3-dc1954b0f3c5 has floating IP address: 10.20.20.201

13:04:04 INFO juju.juju api.go:330 API endpoints changed from [] to [10.20.20.201:17070 192.168.222.83:17070]

13:04:04 INFO cmd controller.go:88 Contacting Juju controller at 10.20.20.201 to verify accessibility...

13:04:04 INFO juju.juju api.go:78 connecting to API addresses: [10.20.20.201:17070 192.168.222.83:17070]

13:04:08 INFO cmd bootstrap.go:596 Initial model "default" added

13:04:08 INFO cmd supercommand.go:544 command finished

juju was able to ssh into the controller here:

13:02:57 INFO cmd bootstrap.go:485 Running machine configuration script...

Juju attempts to ssh into the controller a few times, usually because the controller server isn’t ready when it starts to try, or the initial juju setup via cloud-init hasn’t completed. The message above, indicates that it was successful.

All I see in the debug provided is that Ctrl-C was called to abort the bootstrap. Is there more information available?

I manged to get past it thanks. I had misconfigured proxies