python-cinderclient functional tests failing with endpoint-type error

Bug #1783885 reported by Sean McGinnis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Sean McGinnis

Bug Description

Functional tests are failing with the message:

'b"usage: cinder [--version] [-d] [--service-type <service-type>]\\n [--service-name <service-name>]\\n [--volume-service-name <volume-service-name>]\\n [--os-endpoint-type <os-endpoint-type>]\\n [--os-volume-api-version <volume-api-ver>]\\n [--os-endpoint <os-endpoint>] [--retries <retries>] [--insecure]\\n [--os-cacert <ca-certificate>] [--os-cert <certificate>]\\n [--os-key <key>] [--timeout <seconds>] [--collect-timing]\\n [--os-auth-type <name>] [--os-auth-url OS_AUTH_URL]\\n [--os-system-scope OS_SYSTEM_SCOPE]\\n [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME]\\n [--os-project-id OS_PROJECT_ID]\\n [--os-project-name OS_PROJECT_NAME]\\n [--os-project-domain-id OS_PROJECT_DOMAIN_ID]\\n [--os-project-domain-name OS_PROJECT_DOMAIN_NAME]\\n [--os-trust-id OS_TRUST_ID]\\n [--os-default-domain-id OS_DEFAULT_DOMAIN_ID]\\n [--os-default-domain-name OS_DEFAULT_DOMAIN_NAME]\\n [--os-user-id OS_USER_ID] [--os-username OS_USERNAME]\\n [--os-user-domain-id OS_USER_DOMAIN_ID]\\n [--os-user-domain-name OS_USER_DOMAIN_NAME]\\n [--os-password OS_PASSWORD] [--os-auth-strategy <auth-strategy>]\\n [--os-token <token>] [--os-url <url>]\\n <subcommand> ...\\nerror: argument <subcommand>: invalid choice: \'publicURL\'\\nTry \'cinder help \' for more information.\\n"'

--endpoint-type was a deprecated option that has now been removed, so that may be part of the reason for the publicURL error.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/586343

Changed in tempest:
assignee: nobody → Sean McGinnis (sean-mcginnis)
status: New → In Progress
no longer affects: python-cinderclient
summary: - Functional tests failing with endpoint-type error
+ python-cinderclient functional tests failing with endpoint-type error
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/586343
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=2e354d7a03d846ecc1342563f5cfc563dbecb145
Submitter: Zuul
Branch: master

commit 2e354d7a03d846ecc1342563f5cfc563dbecb145
Author: Sean McGinnis <email address hidden>
Date: Thu Jul 26 15:27:31 2018 -0500

    Use --os-endpoint-type for Cinder CLI

    The --endpoint-type option has been deprecated in Cinder for several
    years and was just recently removed. It was missed that the tempest lib
    CLI code was still using that to specify the public URL. This updates
    the Cinder CLI handling to use the more conventional --os-endpoint-type.

    Change-Id: Icb81710a6b905d80c2e75b29be449dc029e01bdd
    Signed-off-by: Sean McGinnis <email address hidden>
    Closes-bug: #1783885
    Signed-off-by: Sean McGinnis <email address hidden>

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tempest 19.0.0

This issue was fixed in the openstack/tempest 19.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.