hi.
I am going to deploy keystone ha base on openstack-base-70,fellow < Infrastructure high availability> with vip.
juju deploy -n 3 --to lxd:0,lxd:1,lxd:2 --config vip=10.0.7.12 keystoneLocated charm
Located charm "cs:keystone-319".
Deploying charm "cs:keystone-319".
ERROR cannot add application "keystone": application already exists
so I change to fellow commands:
juju add-unit --to lxd:1 keystone
juju add-unit --to lxd:2 keystone
juju deploy --config cluster_count=3 hacluster keystone-hacluster
juju add-relation keystone-hacluster:ha keystone:ha
juju set keystone vip=10.0.7.12
ERROR juju: "set" is not a juju command. See "juju --help".
Did you mean:
scp
juju status --relations
Model Controller Cloud/Region Version SLA Timestamp
openstack maas-controller mymaas/default 2.8.7 unsupported 11:23:12+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 active 1 ceph-radosgw local 26 ubuntu
cinder 16.2.0 active 1 cinder local 136 ubuntu
cinder-ceph 16.2.0 active 1 cinder-ceph local 2 ubuntu
cinder-mysql-router 8.0.22 active 1 mysql-router local 0 ubuntu
dashboard-mysql-router 8.0.22 active 1 mysql-router local 0 ubuntu
glance 20.0.1 active 1 glance local 150 ubuntu
glance-mysql-router 8.0.22 active 1 mysql-router local 0 ubuntu
keystone 17.0.0 active 3 keystone local 0 ubuntu
keystone-hacluster active 3 hacluster jujucharms 72 ubuntu
keystone-mysql-router 8.0.22 active 3 mysql-router local 0 ubuntu
mysql-innodb-cluster 8.0.22 active 3 mysql-innodb-cluster local 0 ubuntu
neutron-api 16.2.0 active 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 active 1 mysql-router local 0 ubuntu
nova-cloud-controller 21.1.0 active 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 active 1 mysql-router local 0 ubuntu
ntp 3.5 active 3 ntp local 0 ubuntu
openstack-dashboard 18.3.2 active 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 active 1 placement local 0 ubuntu
placement-mysql-router 8.0.22 active 1 mysql-router local 0 ubuntu
rabbitmq-server 3.8.2 active 1 rabbitmq-server local 150 ubuntu
vault 1.5.4 blocked 1 vault local 0 ubuntu
vault-mysql-router 8.0.22 active 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.222 Unit is ready and clustered
ceph-mon/1 active idle 1/lxd/0 10.0.0.244 Unit is ready and clustered
ceph-mon/2* active idle 2/lxd/0 10.0.0.236 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* active idle 0/lxd/1 10.0.0.239 80/tcp Unit is ready
cinder/0* active idle 1/lxd/1 10.0.0.246 8776/tcp Unit is ready
cinder-ceph/0* active idle 10.0.0.246 Unit is ready
cinder-mysql-router/0* active idle 10.0.0.246 Unit is ready
glance/0* active idle 2/lxd/1 10.0.0.235 9292/tcp Unit is ready
glance-mysql-router/0* active idle 10.0.0.235 Unit is ready
keystone/0* error idle 0/lxd/2 10.0.0.223 5000/tcp hook failed: "ha-relation-joined" for keystone-hacluster:ha
keystone-hacluster/2 active idle 10.0.0.223 Unit is ready and clustered
keystone-mysql-router/0* active idle 10.0.0.223 Unit is ready
keystone/1 error idle 1/lxd/6 10.0.0.248 5000/tcp hook failed: "ha-relation-joined" for keystone-hacluster:ha
keystone-hacluster/1 active idle 10.0.0.248 Unit is ready and clustered
keystone-mysql-router/2 active idle 10.0.0.248 Unit is ready
keystone/2 error idle 2/lxd/6 10.0.0.249 5000/tcp hook failed: "ha-relation-joined" for keystone-hacluster:ha
keystone-hacluster/0* active idle 10.0.0.249 Unit is ready and clustered
keystone-mysql-router/1 active idle 10.0.0.249 Unit is ready
mysql-innodb-cluster/0 active idle 0/lxd/3 10.0.0.232 Unit is ready: Mode: R/O
mysql-innodb-cluster/1 active idle 1/lxd/2 10.0.0.245 Unit is ready: Mode: R/O
mysql-innodb-cluster/2* active idle 2/lxd/2 10.0.0.241 Unit is ready: Mode: R/W
neutron-api/0* active idle 1/lxd/3 10.0.0.242 9696/tcp Unit is ready
neutron-api-plugin-ovn/0* waiting idle 10.0.0.242 'certificates' awaiting server certificate data, 'ovsdb-cms' incomplete
neutron-mysql-router/0* active idle 10.0.0.242 Unit is ready
nova-cloud-controller/0* active idle 0/lxd/4 10.0.0.231 8774/tcp,8775/tcp Unit is ready
nova-mysql-router/0* active idle 10.0.0.231 Unit is ready
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* active idle 1/lxd/4 10.0.0.243 80/tcp,443/tcp Unit is ready
dashboard-mysql-router/0* active idle 10.0.0.243 Unit is ready
ovn-central/0 waiting idle 0/lxd/5 10.0.0.237 6641/tcp,6642/tcp 'ovsdb-peer' incomplete, 'certificates' awaiting server certificate data
ovn-central/1 waiting idle 1/lxd/5 10.0.0.247 6641/tcp,6642/tcp 'ovsdb-peer' incomplete, 'certificates' awaiting server certificate data
ovn-central/2* waiting idle 2/lxd/3 10.0.0.240 6641/tcp,6642/tcp 'ovsdb-peer' incomplete, 'certificates' awaiting server certificate data
placement/0* active idle 2/lxd/4 10.0.0.234 8778/tcp Unit is ready
placement-mysql-router/0* active idle 10.0.0.234 Unit is ready
rabbitmq-server/0* active idle 2/lxd/5 10.0.0.238 5672/tcp Unit is ready
vault/0* blocked idle 0/lxd/6 10.0.0.233 8200/tcp Vault needs to be initialized
vault-mysql-router/0* active idle 10.0.0.233 Unit is ready
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.222 juju-ba9103-0-lxd-0 focal default Container started
0/lxd/1 started 10.0.0.239 juju-ba9103-0-lxd-1 focal default Container started
0/lxd/2 started 10.0.0.223 juju-ba9103-0-lxd-2 focal default Container started
0/lxd/3 started 10.0.0.232 juju-ba9103-0-lxd-3 focal default Container started
0/lxd/4 started 10.0.0.231 juju-ba9103-0-lxd-4 focal default Container started
0/lxd/5 started 10.0.0.237 juju-ba9103-0-lxd-5 focal default Container started
0/lxd/6 started 10.0.0.233 juju-ba9103-0-lxd-6 focal default Container started
1 started 10.0.0.156 node2 focal default Deployed
1/lxd/0 started 10.0.0.244 juju-ba9103-1-lxd-0 focal default Container started
1/lxd/1 started 10.0.0.246 juju-ba9103-1-lxd-1 focal default Container started
1/lxd/2 started 10.0.0.245 juju-ba9103-1-lxd-2 focal default Container started
1/lxd/3 started 10.0.0.242 juju-ba9103-1-lxd-3 focal default Container started
1/lxd/4 started 10.0.0.243 juju-ba9103-1-lxd-4 focal default Container started
1/lxd/5 started 10.0.0.247 juju-ba9103-1-lxd-5 focal default Container started
1/lxd/6 started 10.0.0.248 juju-ba9103-1-lxd-6 focal default Container started
2 started 10.0.0.157 node1 focal default Deployed
2/lxd/0 started 10.0.0.236 juju-ba9103-2-lxd-0 focal default Container started
2/lxd/1 started 10.0.0.235 juju-ba9103-2-lxd-1 focal default Container started
2/lxd/2 started 10.0.0.241 juju-ba9103-2-lxd-2 focal default Container started
2/lxd/3 started 10.0.0.240 juju-ba9103-2-lxd-3 focal default Container started
2/lxd/4 started 10.0.0.234 juju-ba9103-2-lxd-4 focal default Container started
2/lxd/5 started 10.0.0.238 juju-ba9103-2-lxd-5 focal default Container started
2/lxd/6 started 10.0.0.249 juju-ba9103-2-lxd-6 focal default Container started
Relation provider Requirer Interface Type Message
ceph-mon:client cinder-ceph:ceph ceph-client regular
ceph-mon:client glance:ceph ceph-client regular
ceph-mon:client nova-compute:ceph ceph-client regular
ceph-mon:mon ceph-mon:mon ceph peer
ceph-mon:osd ceph-osd:mon ceph-osd regular
ceph-mon:radosgw ceph-radosgw:mon ceph-radosgw regular
ceph-radosgw:cluster ceph-radosgw:cluster swift-ha peer
cinder-ceph:ceph-access nova-compute:ceph-access cinder-ceph-key regular
cinder-ceph:storage-backend cinder:storage-backend cinder-backend subordinate
cinder-mysql-router:shared-db cinder:shared-db mysql-shared subordinate
cinder:cinder-volume-service nova-cloud-controller:cinder-volume-service cinder regular
cinder:cluster cinder:cluster cinder-ha peer
dashboard-mysql-router:shared-db openstack-dashboard:shared-db mysql-shared subordinate
glance-mysql-router:shared-db glance:shared-db mysql-shared subordinate
glance:cluster glance:cluster glance-ha peer
glance:image-service cinder:image-service glance regular
glance:image-service nova-cloud-controller:image-service glance regular
glance:image-service nova-compute:image-service glance regular
keystone-hacluster:ha keystone:ha hacluster subordinate
keystone-hacluster:hanode keystone-hacluster:hanode hacluster peer
keystone-mysql-router:shared-db keystone:shared-db mysql-shared subordinate
keystone:cluster keystone:cluster keystone-ha peer
keystone:identity-service ceph-radosgw:identity-service keystone regular
keystone:identity-service cinder:identity-service keystone regular
keystone:identity-service glance:identity-service keystone regular
keystone:identity-service neutron-api:identity-service keystone regular
keystone:identity-service nova-cloud-controller:identity-service keystone regular
keystone:identity-service openstack-dashboard:identity-service keystone regular
keystone:identity-service placement:identity-service keystone regular
mysql-innodb-cluster:cluster mysql-innodb-cluster:cluster mysql-innodb-cluster peer
mysql-innodb-cluster:coordinator mysql-innodb-cluster:coordinator coordinator peer
mysql-innodb-cluster:db-router cinder-mysql-router:db-router mysql-router regular
mysql-innodb-cluster:db-router dashboard-mysql-router:db-router mysql-router regular
mysql-innodb-cluster:db-router glance-mysql-router:db-router mysql-router regular
mysql-innodb-cluster:db-router keystone-mysql-router:db-router mysql-router regular
mysql-innodb-cluster:db-router neutron-mysql-router:db-router mysql-router regular
mysql-innodb-cluster:db-router nova-mysql-router:db-router mysql-router regular
mysql-innodb-cluster:db-router placement-mysql-router:db-router mysql-router regular
mysql-innodb-cluster:db-router vault-mysql-router:db-router mysql-router regular
neutron-api-plugin-ovn:neutron-plugin neutron-api:neutron-plugin-api-subordinate neutron-plugin-api-subordinate subordinate
neutron-api:cluster neutron-api:cluster neutron-api-ha peer
neutron-api:neutron-api nova-cloud-controller:neutron-api neutron-api regular
neutron-mysql-router:shared-db neutron-api:shared-db mysql-shared subordinate
nova-cloud-controller:cluster nova-cloud-controller:cluster nova-ha peer
nova-compute:cloud-compute nova-cloud-controller:cloud-compute nova-compute regular
nova-compute:compute-peer nova-compute:compute-peer nova peer
nova-compute:juju-info ntp:juju-info juju-info subordinate
nova-mysql-router:shared-db nova-cloud-controller:shared-db mysql-shared subordinate
ntp:ntp-peers ntp:ntp-peers ntp peer
openstack-dashboard:cluster openstack-dashboard:cluster openstack-dashboard-ha peer
ovn-central:ovsdb ovn-chassis:ovsdb ovsdb regular
ovn-central:ovsdb-cms neutron-api-plugin-ovn:ovsdb-cms ovsdb-cms regular
ovn-central:ovsdb-peer ovn-central:ovsdb-peer ovsdb-cluster peer
ovn-chassis:nova-compute nova-compute:neutron-plugin neutron-plugin subordinate
placement-mysql-router:shared-db placement:shared-db mysql-shared subordinate
placement:cluster placement:cluster openstack-ha peer
placement:placement nova-cloud-controller:placement placement regular
rabbitmq-server:amqp cinder:amqp rabbitmq regular
rabbitmq-server:amqp glance:amqp rabbitmq regular
rabbitmq-server:amqp neutron-api:amqp rabbitmq regular
rabbitmq-server:amqp nova-cloud-controller:amqp rabbitmq regular
rabbitmq-server:amqp nova-compute:amqp rabbitmq regular
rabbitmq-server:cluster rabbitmq-server:cluster rabbitmq-ha peer
vault-mysql-router:shared-db vault:shared-db mysql-shared subordinate
vault:certificates ceph-radosgw:certificates tls-certificates regular
vault:certificates cinder:certificates tls-certificates regular
vault:certificates glance:certificates tls-certificates regular
vault:certificates keystone:certificates tls-certificates regular
vault:certificates neutron-api-plugin-ovn:certificates tls-certificates regular
vault:certificates neutron-api:certificates tls-certificates regular
vault:certificates nova-cloud-controller:certificates tls-certificates regular
vault:certificates openstack-dashboard:certificates tls-certificates regular
vault:certificates ovn-central:certificates tls-certificates regular
vault:certificates ovn-chassis:certificates tls-certificates regular
vault:certificates placement:certificates tls-certificates regular
vault:cluster vault:cluster vault-ha peer
so ,how can I set vip?