Openstack segment list :HttpException: 503:

Hi.

I deployed masakari .

but when type command

openstack segment list

output is:

openstack.exceptions.HttpException: HttpException: 503: Server Error for url: http://10.0.7.72:15868/v1/a488561095204d33b7ead7fd5144ce21/segments, Service Unavailable
clean_up ListSegment: HttpException: 503: Server Error for url: http://10.0.7.72:15868/v1/a488561095204d33b7ead7fd5144ce21/segments, Service Unavailable
END return value: 1

openstack segment list output as fellow:

openstack segment list --debug

Hi,

What Ubuntu series and OpenStack release are you using?

What are the Masakari charm revisions (masakari and masakari-monitors)?

Are you able to use any of the segment commands (e.g. openstack segment --help and openstack segment create)?

Hi,@ pmatulisPeter Matulis

ubuntu series is focal .
openstack release is victory.
I deployed openstack in local , juju status --relations.

masakari charm revision is Masakari #8.masakari-monitors charm revision is Masakari Monitors #6. I deploy bundle in local ,so download them first .And for I use only one network in MAAS,so I comment binding segment. The bundle.yaml and masakari-overlay.yaml is here.

I can use openstack segment list ,but can’t use openstack segment creat ,the outputs of these two commands and cat openrc are here.

I ssh masakari/1 , then journalctl -b |grep masakari,output is here.

Does the cloud otherwise work? Can you create an instance and connect to it via SSH?

Yes.I created a instance and shhed it.

I would then look in the Masakari logs. See this post for guidance.

For I found the deployed openstack has not the relation “vault:certificates - masakari:certificates”,and add it:
juju add-relation vault:certificates masakari:certificates

openstack segment list now can be executed.

by the way,before do this ,I add relation as follow:

juju add-relation masakari-mysql-router:db-router mysql-innodb-cluster:db-router