The INSTALLER_TYPE is osa when I deployed my SUT, but I think it should be
Rocky.
export
OPENSTACK_OSA_VERSION=${OPENSTACK_OSA_VERSION:-"2087cd98f28b35f655ca398d25d2a6c71e38328e"}
And I have tried with XCI_FLAVOR noha and mini. Always failed to deploy with ha.
The endpoints related to cinder are list:
root@ubuntu:~# openstack endpoint list | grep cinder<mailto:root@ubuntu:~#
openstack endpoint list | grep cinder>
| 33080d378ebb43e49048ea1379017b2e | RegionOne | cinderv3 | volumev3
| True | admin | http://172.29.236.11:8776/v3/%(tenant_id)s
|<http://172.29.236.11:8776/v3/%25(tenant_id)s |>
| 4e34e50b01f34299981a5b2c77f5436b | RegionOne | cinderv3 | volumev3
| True | internal | http://172.29.236.11:8776/v3/%(tenant_id)s
|<http://172.29.236.11:8776/v3/%25(tenant_id)s |>
| 607297c0907a4cbb9a9d715cd4a33d4c | RegionOne | cinderv2 | volumev2
| True | admin | http://172.29.236.11:8776/v2/%(tenant_id)s
|<http://172.29.236.11:8776/v2/%25(tenant_id)s |>
| 6e7ba49fd55c4e719de17c92f95c1a14 | RegionOne | cinderv2 | volumev2
| True | internal | http://172.29.236.11:8776/v2/%(tenant_id)s
|<http://172.29.236.11:8776/v2/%25(tenant_id)s |>
| 78097a28501c4eccb39be11598b74b37 | RegionOne | cinderv3 | volumev3
| True | public | https://192.168.122.3:8776/v3/%(tenant_id)s
|<https://192.168.122.3:8776/v3/%25(tenant_id)s |>
| eb999ef29e334678be20e1ca59606fc4 | RegionOne | cinderv2 | volumev2
| True | public | https://192.168.122.3:8776/v2/%(tenant_id)s
|<https://192.168.122.3:8776/v2/%25(tenant_id)s |>
As you show to us, there are service named ‘cinder’ there besides ‘cinderv2’
and ‘cinderv3’. So it’s ok for your SUT to generate the right tempest.conf (in
which ‘cinder: True’).
But the problem Malavika and I met is that there is no ‘cinder’ service, only
‘cinderv2’ and ‘cinderv3’, so it sets ‘cinder: False’ in tempest.conf.
From: [email protected] [mailto:[email protected]]
Sent: Thursday, August 29, 2019 8:11 PM
To: xudan (N) <[email protected]>; [email protected];
[email protected]
Subject: Re: [opnfv-tech-discuss] [Dovetail] Failure of volume related tests
Hi,
If I'm not wrong, XCI still deploys OpenStack Rocky, right?
https://git.opnfv.org/releng-xci/tree/xci/config/pinned-versions#n40
Devstack creates 'block-storage' which seems fine regarding the comments
https://github.com/openstack/devstack/blob/stable/rocky/lib/cinder#L350
https://github.com/openstack/devstack/blob/stable/rocky/lib/cinder#L354
https://github.com/openstack/service-types-authority/blob/master/service-types.yaml#L72
Here are the endpoints defined in our SUT (Rocky)
cinder | block-storage | True | public |
http://172.30.13.91/volume/v3/$(project_id)s
cinderv2 | volumev2 | True | public |
http://172.30.13.91/volume/v2/$(project_id)s
cinderv3 | volumev3 | True | public |
http://172.30.13.91/volume/v3/$(project_id)s
cinder | volume | True | public |
http://172.30.13.91/volume/v1/$(project_id)s
https://build.opnfv.org/ci/view/functest/job/functest-hunter-daily/221/
Cédric
Le jeudi 29 août 2019 à 08:15 +0000, xudan (N) a écrit :
Hi Cedric,
Thanks for helping looking into this problem.
As I mentioned in my last email that I have met this problem several weeks ago.
I am using Dovetail latest (Functest Hunter) and XCI master.
Hope this could help to debug this problem.
Thanks,
Dan
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]]
Sent: Thursday, August 29, 2019 3:56 PM
To: xudan (N) <[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>
Subject: Re: [opnfv-tech-discuss] [Dovetail] Failure of volume related tests
Hi,
We could rather add the right endpoint according to the OpenStack release under
test.
Could you please precise the release here?
From an overall point of view, that hook is incorrect because Rally must
discover the service and then must write the right tempest config.
Also we may also care about the compatibilities between OS and Functest which
is very old when executed via Dovetail.
They are few upstream changes about cinder endpoints and we (Functest + Rally)
made few many month ago related to latest cinder changes (mostly about
block-storage).
https://review.opendev.org/#/c/510939/
https://review.opendev.org/#/c/652405/
I may also appreciate any test vs latest Functest (Iruya or Hunter) in that
conditions.
Cédric
Le jeudi 29 août 2019 à 01:38 +0000, xudan a écrit :
Hi Malavika,
I also met this before. It’s because of that there are only ‘cinderv2’ and
‘cinderv3’ services in the service list. For all tempest test cases, they
automatically generate a default tempest.conf file for running all of them.
While there is no service named ‘cinder’ in the list, so the service ‘cinder’
will be set as ‘False’ in tempest.conf. That’s the reason why all volume
related tests skipped and you can also find this file under
$DOVETAIL_HOME/results/.
Besides the default tempest.conf, Dovetail also supports end users to make
changes to this file. The ‘tenpest_conf.yaml’ under $DOVETAIL_HOME/pre_config
is used to do this.
I suggest you to add the following lines to this file and try again. It works
for me.
service_available:
cinder: True
Feel free to contact me if you have any other questions.
BR,
Dan
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of via Lists.Opnfv.Org
Sent: Wednesday, August 28, 2019 3:08 PM
To:
[email protected]<mailto:[email protected]>
Cc:
[email protected]<mailto:[email protected]>
Subject: [opnfv-tech-discuss] [Dovetail] Failure of volume related tests
Hi all,
I was trying dovetail testing in our infrastructure. All the volume service
tests are skipped. The reason given is cinder service is not available. But the
service is available in the openstack and I could attach and detach volumes
through dashboard and cli. Please help me to rectify it.
The openstack service list is listed below
+----------------------------------+------------+----------------+
| ID | Name | Type |
+----------------------------------+------------+----------------+
| 0def4826e05848e7918e076f77dbacf9 | glance | image |
| 0f1cc869dd594718ae0f5c18698dc85d | heat-cfn | cloudformation |
| 5587c327181544e080056211e1703be4 | gnocchi | metric |
| 898efdf9d7c0428bb3bd5b8e6af8e874 | heat | orchestration |
| a400238085e24112b4320cc6f4b803a2 | cinderv2 | volumev2 |
| a9b2885022e545cbaaae6dcbe6498fa8 | aodh | alarming |
| adedf196a7e44929b1b6f85e4f7c67e0 | panko | event |
| aec0887ed93c45b196c141f7945db0d8 | nova | compute |
| afe3685d798b4940b5922ae11f87cf0b | cinderv3 | volumev3 |
| b5342f4efa364d54bd74b02600cb2d00 | keystone | identity |
| cdfd3b6a5dd94e94898c8f3f3c82a324 | swift | object-store |
| d6b3d664783e4f7d9b88d96119bf1dbc | neutron | network |
| d82ce54a51054d1dbd3b300b17905955 | ceilometer | metering |
| f83e3ee618bd4cbdb09bcc6395718722 | placement | placement |
+----------------------------------+------------+----------------+
cinder service list is also given below:
+------------------+--------------------------------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status |
State | Updated_at | Disabled Reason |
+------------------+--------------------------------------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler | overcloud-controller-0 | nova | enabled | up
| 2019-08-28T06:53:55.000000 | - |
| cinder-volume | overcloud-controller-0@tripleo_iscsi | nova | enabled | up
| 2019-08-28T06:54:02.000000 | - |
+------------------+--------------------------------------+------+---------+-------+----------------------------+-----------------+
Thank you
Regards,
Malavika Krishna
________________________________
Confidentiality Notice: This e-mail is strictly confidential and intended only
for the person or entity to which it is addressed. It may contain information
that is privileged, confidential or otherwise protected from disclosure. If you
are not the intended recipient, you must not copy, disclose, distribute or take
any action in reliance on information contained in this e-mail. If you have
received this e-mail in error, please notify the sender by return e-mail and
destroy the original message and all copies thereof.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23507):
<https://lists.opnfv.org/g/opnfv-tech-discuss/message/23507>
https://lists.opnfv.org/g/opnfv-tech-discuss/message/23507
Mute This Topic:
<https://lists.opnfv.org/mt/33057285/1217365>
https://lists.opnfv.org/mt/33057285/1217365
Group Owner:
<mailto:[email protected]>
[email protected]<mailto:[email protected]>
Unsubscribe:
<https://lists.opnfv.org/g/opnfv-tech-discuss/unsub>
https://lists.opnfv.org/g/opnfv-tech-discuss/unsub
[
<mailto:[email protected]>
[email protected]<mailto:[email protected]>
]
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23514):
https://lists.opnfv.org/g/opnfv-tech-discuss/message/23514
Mute This Topic: https://lists.opnfv.org/mt/33057285/21656
Group Owner: [email protected]
Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-