Stop outputting overcloudrc.v3 from workflow

This is no longer needed as we've ship keystone v3 by default for some
relaases now. overcloudrc has the same content.

Related-Bug: #1733640
Depends-On: I137e08213ef7f0f49510e2ebc905e351fb25b85a
Change-Id: Iaafef5b49802e1ea25f374014ebf8632ad0bcc31
This commit is contained in:
Juan Antonio Osorio Robles 2019-03-05 15:42:01 +02:00
parent 4d06217145
commit 272f5de85b
4 changed files with 7 additions and 8 deletions

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
overcloudrc.v3 is no longer generated from the overcloudrc workflow. This
is due to the fact that we've been shipping keystone v3 by default for some
releases now, and we have the same contents available in overcloudrc.

View File

@ -263,7 +263,7 @@ class DeployStackAction(templates.ProcessTemplatesAction):
class OvercloudRcAction(base.TripleOAction):
"""Generate the overcloudrc and overcloudrc.v3 for a plan
"""Generate the overcloudrc for a plan
Given the name of a container, generate the overcloudrc files needed to
access the overcloud via the CLI.

View File

@ -38,16 +38,10 @@ class OvercloudRcTest(base.TestCase):
"regionTwo")
self.assertIn("OS_PASSWORD=AdminPassword", result['overcloudrc'])
self.assertIn("OS_PASSWORD=AdminPassword", result['overcloudrc.v3'])
self.assertIn("OS_IDENTITY_API_VERSION=3", result['overcloudrc'])
self.assertIn("OS_IDENTITY_API_VERSION=3", result['overcloudrc.v3'])
self.assertIn(overcloudrc.CLOUDPROMPT, result['overcloudrc'])
self.assertIn(overcloudrc.CLOUDPROMPT, result['overcloudrc.v3'])
self.assertIn("OS_AUTH_TYPE=password", result['overcloudrc'])
self.assertIn("OS_AUTH_TYPE=password", result['overcloudrc.v3'])
self.assertIn("OS_AUTH_URL=http://foo.com:8000/",
result['overcloudrc'])
self.assertIn("OS_AUTH_URL=http://foo.com:8000/",
result['overcloudrc.v3'])
self.assertIn("OS_REGION_NAME=regionTwo",
result['overcloudrc'])

View File

@ -115,5 +115,4 @@ def create_overcloudrc(stack, no_proxy, admin_password, region_name):
return {
"overcloudrc": overcloudrc,
"overcloudrc.v3": overcloudrc
}