I deploy openstack-base-70 in local file path, but it's paused

I have deployed openstack-base-70 in local file path before,it worked well ,although without version controled。

But i deployed it in local file path again ,it paused.



root@vivodo-3:~# juju status
Model      Controller       Cloud/Region    Version  SLA          Timestamp
openstack  maas-controller  mymaas/default  2.8.7    unsupported  12:00:11+08:00

App                     Version  Status   Scale  Charm                   Store  Rev  OS      Notes
ceph-mon                15.2.7   active       3  ceph-mon                local    0  ubuntu
ceph-osd                15.2.7   active       3  ceph-osd                local   15  ubuntu
ceph-radosgw            15.2.7   waiting      1  ceph-radosgw            local   26  ubuntu
cinder                  16.2.0   waiting      1  cinder                  local  136  ubuntu
cinder-ceph             16.2.0   active       1  cinder-ceph             local    2  ubuntu
cinder-mysql-router     8.0.22   waiting      1  mysql-router            local    0  ubuntu
dashboard-mysql-router  8.0.22   waiting      1  mysql-router            local    0  ubuntu
glance                  20.0.1   waiting      1  glance                  local  150  ubuntu
glance-mysql-router     8.0.22   waiting      1  mysql-router            local    0  ubuntu
keystone                17.0.0   waiting      1  keystone                local    0  ubuntu
keystone-mysql-router   8.0.22   waiting      1  mysql-router            local    0  ubuntu
mysql-innodb-cluster    8.0.22   waiting      3  mysql-innodb-cluster    local    0  ubuntu
neutron-api             16.2.0   waiting      1  neutron-api             local    0  ubuntu
neutron-api-plugin-ovn  16.2.0   waiting      1  neutron-api-plugin-ovn  local    0  ubuntu
neutron-mysql-router    8.0.22   waiting      1  mysql-router            local    0  ubuntu
nova-cloud-controller   21.1.0   waiting      1  nova-cloud-controller   local  501  ubuntu
nova-compute            21.1.0   active       3  nova-compute            local  133  ubuntu
nova-mysql-router       8.0.22   waiting      1  mysql-router            local    0  ubuntu
ntp                     3.5      active       3  ntp                     local    0  ubuntu
openstack-dashboard     18.3.2   waiting      1  openstack-dashboard     local   32  ubuntu
ovn-central             20.03.1  waiting      3  ovn-central             local    0  ubuntu
ovn-chassis             20.03.1  waiting      3  ovn-chassis             local    0  ubuntu
placement               3.0.0    waiting      1  placement               local    0  ubuntu
placement-mysql-router  8.0.22   waiting      1  mysql-router            local    0  ubuntu
rabbitmq-server         3.8.2    active       1  rabbitmq-server         local  150  ubuntu
vault                            waiting      1  vault                   local    0  ubuntu
vault-mysql-router      8.0.22   waiting      1  mysql-router            local    0  ubuntu

Unit                         Workload     Agent      Machine  Public address  Ports              Message
ceph-mon/0                   active       idle       0/lxd/0  10.0.0.168                         Unit is ready and clustered
ceph-mon/1                   active       idle       1/lxd/0  10.0.0.190                         Unit is ready and clustered
ceph-mon/2*                  active       idle       2/lxd/0  10.0.0.183                         Unit is ready and clustered
ceph-osd/0*                  active       idle       0        10.0.0.159                         Unit is ready (1 OSD)
ceph-osd/1                   active       idle       1        10.0.0.156                         Unit is ready (1 OSD)
ceph-osd/2                   active       idle       2        10.0.0.157                         Unit is ready (1 OSD)
ceph-radosgw/0*              waiting      idle       0/lxd/1  10.0.0.167      80/tcp             Incomplete relations: identity
cinder/0*                    waiting      idle       1/lxd/1  10.0.0.188      8776/tcp           Incomplete relations: identity, database
  cinder-ceph/0*             active       idle                10.0.0.188                         Unit is ready
  cinder-mysql-router/0*     waiting      idle                10.0.0.188                         'db-router' incomplete, MySQL Router not yet bootstrapped
glance/0*                    waiting      idle       2/lxd/1  10.0.0.181      9292/tcp           Incomplete relations: identity, database
  glance-mysql-router/0*     waiting      idle                10.0.0.181                         'db-router' incomplete, MySQL Router not yet bootstrapped
keystone/0*                  blocked      idle       0/lxd/2  10.0.0.171      5000/tcp           Incomplete relations: database, Allowed_units list provided but this unit not present
  keystone-mysql-router/0*   waiting      idle                10.0.0.171                         'db-router' incomplete, MySQL Router not yet bootstrapped
mysql-innodb-cluster/0*      waiting      idle       0/lxd/3  10.0.0.165                         'cluster' incomplete, Not all instances configured for clustering
mysql-innodb-cluster/1       maintenance  executing  1/lxd/2  10.0.0.191                         (install) installing charm software
mysql-innodb-cluster/2       waiting      idle       2/lxd/2  10.0.0.182                         'cluster' incomplete, Instance not yet configured for clustering
neutron-api/0*               waiting      idle       1/lxd/3  10.0.0.186      9696/tcp           Incomplete relations: identity, database
  neutron-api-plugin-ovn/0*  waiting      idle                10.0.0.186                         'certificates' awaiting server certificate data, 'neutron-plugin' incomplete, 'ovsdb-cms' incomplete
  neutron-mysql-router/0*    waiting      idle                10.0.0.186                         'db-router' incomplete, MySQL Router not yet bootstrapped
nova-cloud-controller/0*     waiting      idle       0/lxd/4  10.0.0.170      8774/tcp,8775/tcp  Incomplete relations: database, identity
  nova-mysql-router/0*       waiting      idle                10.0.0.170                         'db-router' incomplete, MySQL Router not yet bootstrapped
nova-compute/0*              active       idle       0        10.0.0.159                         Unit is ready
  ntp/0*                     active       idle                10.0.0.159      123/udp            chrony: Ready
  ovn-chassis/0*             waiting      idle                10.0.0.159                         'certificates' awaiting server certificate data, 'ovsdb' incomplete
nova-compute/1               active       idle       1        10.0.0.156                         Unit is ready
  ntp/2                      active       idle                10.0.0.156      123/udp            chrony: Ready
  ovn-chassis/2              waiting      idle                10.0.0.156                         'certificates' awaiting server certificate data, 'ovsdb' incomplete
nova-compute/2               active       idle       2        10.0.0.157                         Unit is ready
  ntp/1                      active       idle                10.0.0.157      123/udp            chrony: Ready
  ovn-chassis/1              waiting      idle                10.0.0.157                         'certificates' awaiting server certificate data, 'ovsdb' incomplete
openstack-dashboard/0*       waiting      idle       1/lxd/4  10.0.0.187      80/tcp,443/tcp     Incomplete relations: identity
  dashboard-mysql-router/0*  waiting      idle                10.0.0.187                         'db-router' incomplete, MySQL Router not yet bootstrapped
ovn-central/0*               waiting      idle       0/lxd/5  10.0.0.179      6641/tcp,6642/tcp  'ovsdb-peer' incomplete, 'certificates' awaiting server certificate data
ovn-central/1                waiting      idle       1/lxd/5  10.0.0.189      6641/tcp,6642/tcp  'ovsdb-peer' incomplete, 'certificates' awaiting server certificate data
ovn-central/2                waiting      idle       2/lxd/3  10.0.0.185      6641/tcp,6642/tcp  'ovsdb-peer' incomplete, 'certificates' awaiting server certificate data
placement/0*                 waiting      idle       2/lxd/4  10.0.0.184      8778/tcp           'shared-db' incomplete, 'identity-service' incomplete
  placement-mysql-router/0*  waiting      idle                10.0.0.184                         'db-router' incomplete, MySQL Router not yet bootstrapped
rabbitmq-server/0*           active       idle       2/lxd/5  10.0.0.180      5672/tcp           Unit is ready
vault/0*                     waiting      idle       0/lxd/6  10.0.0.166                         'shared-db' incomplete
  vault-mysql-router/0*      waiting      idle                10.0.0.166                         'db-router' incomplete, MySQL Router not yet bootstrapped

Machine  State    DNS         Inst id              Series  AZ       Message
0        started  10.0.0.159  node4                focal   default  Deployed
0/lxd/0  started  10.0.0.168  juju-690d1f-0-lxd-0  focal   default  Container started
0/lxd/1  started  10.0.0.167  juju-690d1f-0-lxd-1  focal   default  Container started
0/lxd/2  started  10.0.0.171  juju-690d1f-0-lxd-2  focal   default  Container started
0/lxd/3  started  10.0.0.165  juju-690d1f-0-lxd-3  focal   default  Container started
0/lxd/4  started  10.0.0.170  juju-690d1f-0-lxd-4  focal   default  Container started
0/lxd/5  started  10.0.0.179  juju-690d1f-0-lxd-5  focal   default  Container started
0/lxd/6  started  10.0.0.166  juju-690d1f-0-lxd-6  focal   default  Container started
1        started  10.0.0.156  node2                focal   default  Deployed
1/lxd/0  started  10.0.0.190  juju-690d1f-1-lxd-0  focal   default  Container started
1/lxd/1  started  10.0.0.188  juju-690d1f-1-lxd-1  focal   default  Container started
1/lxd/2  started  10.0.0.191  juju-690d1f-1-lxd-2  focal   default  Container started
1/lxd/3  started  10.0.0.186  juju-690d1f-1-lxd-3  focal   default  Container started
1/lxd/4  started  10.0.0.187  juju-690d1f-1-lxd-4  focal   default  Container started
1/lxd/5  started  10.0.0.189  juju-690d1f-1-lxd-5  focal   default  Container started
2        started  10.0.0.157  node1                focal   default  Deployed
2/lxd/0  started  10.0.0.183  juju-690d1f-2-lxd-0  focal   default  Container started
2/lxd/1  started  10.0.0.181  juju-690d1f-2-lxd-1  focal   default  Container started
2/lxd/2  started  10.0.0.182  juju-690d1f-2-lxd-2  focal   default  Container started
2/lxd/3  started  10.0.0.185  juju-690d1f-2-lxd-3  focal   default  Container started
2/lxd/4  started  10.0.0.184  juju-690d1f-2-lxd-4  focal   default  Container started
2/lxd/5  started  10.0.0.180  juju-690d1f-2-lxd-5  focal   default  Container started

root@vivodo-3:~# export VAULT_ADDR="http://10.0.0.166:8200"
root@vivodo-3:~# vault operator init -key-shares=5 -key-threshold=3
Error initializing: Put http://10.0.0.166:8200/v1/sys/init: dial tcp 10.0.0.166:8200: connect: connection refused

How can I fix it? thank you a lot.

Whenever you see something like Incomplete relations: it means a relation has not been completed to the given application. For example:

cinder/0*                    waiting      idle       1/lxd/1  10.0.0.188      8776/tcp           Incomplete relations: identity, database

Here it means a relation to applications keystone and the cloud database (via cinder-mysql-router and mysql-innodb-cluster) have either not been added to cinder or that they have been added but are currently in progress.

It could be that by now things have settled. If not, provide us with the output to juju status --relations. This will show whether the relations have been added or not.

Maybe one of mysql-innodb-cluster charms is not installed.

I remove the model and re-deploy openstack-base-70 again ,and it work well.

By the way,I deployed openstack-base-70 in local , but it has not version control ,

How can I deploy it with version control in local?

thank you lot.

The openstack-base bundle is stored in the openstack-bundles repository on GitHub:

git clone https://github.com/openstack-charmers/openstack-bundles