Commit Graph

12 Commits

Author SHA1 Message Date
Luigi Toscano 77a106a85f Adapt to Keystone changes: use member instead of Member
Keystone now provides "member" by default.
It should not be a problem for upgrades when the configuration
is the default one, because Keystone is case-preserving and
Member and member are the considered the same:
https://docs.openstack.org/keystone/latest/admin/identity-case-insensitive.html

Change-Id: I3bd72631d57546dcf8b887833539fe3ccaac4e47
2018-08-08 16:11:49 +02:00
chao liu f580f0e713 use . instead of source.
Code conventions: Use “.” to source script files
When you have to source a script file, for example ,
a credentials file to gain access to user-only or
 admin-only CLI commands, use . instead of source.
See more:
http://docs.openstack.org/contributor-guide/writing-style/code-conventions

Change-Id: Icaf20628e7b7480ee4ca4c85f9c5a3802b817070
2018-01-29 14:18:56 +00:00
Luigi Toscano cfecd605b1 grenade: do not use the removed glance v1 API
glance v1 API has been disabled by default in DevStack before Pike:
https://review.openstack.org/#/c/343129/

Change-Id: Ia76ca3422673eec251b5c6076cf26056e0008a69
2017-09-04 12:49:18 +02:00
Vitaly Gridnev 082ec2a9ed remove workaround in grenade
Change-Id: I85c23c42f3f52918a52c2f947e6d354c42c969b6
2017-06-15 12:12:03 +00:00
Vitaly Gridnev ac694a2f7e Fixed grenade job
Several issues are fixed in this commit:

1. Issue with roles of 'sahara_grenade' user (added workaround to the
keystone problem)
2. Redundant services are no longer enabled in settings, correct
branches of plugins (heat, sahara) are enabled now.
3. Since there is an issue with deletion of floatings in master of heat,
so replaced cluster deletion into ocata's branch step. We should
replaced that back once it's fixed in heat.

Change-Id: I40cf381faacc7e6512d0a35e144d705f47fad81f
2017-06-09 11:46:28 +00:00
Michael Ionkin e3c25efef0 Replace old CLI calls in grenade
This patch replaces old CLI calls (sahara) with new ones (openstack
dataprocessing) in grenade.
Also some code refactoring is done.

Change-Id: If818032b3d438cf28f2d939140039db6280409fb
2016-08-19 12:55:00 +03:00
Andrey Pavlov ef05a56dc9 Fixing grenade job
OS_PROJECT_NAME env variable should be set inside _set_sahara_user
method for stable/mitaka

Change-Id: I63adb7281511826d55fd8646dd297b453d8c3f22
Closes-bug: #1562791
2016-03-28 13:23:54 +03:00
Andrey Pavlov 9cd2f595be Launching 1 instance in grenade instead of 2
Second node group in grenade test was removed so that
only 1 instance would be launched to reduce resources
consumption. Also custom flavor creation was added.

Change-Id: Ib68380c3e5ea3b46bd3989741aa51b85a7b236e0
Closes-bug: #1519842
2015-11-27 12:19:51 +03:00
msionkin c05e87f07b Fix bashate warnings
There were too many warnings in script. This patch fixes
E006 (check for lines longer than 79 columns) and
E042 (local declaration hides errors) bashate warnings.
Except some long URLs because splitting them up
doesn't increase code readability

Change-Id: I7838a820c2acea8ac31b5108296bfa26a439ac71
Partial-Bug: #1509271
2015-11-26 14:47:45 +03:00
Andrey Pavlov 6eeb0271ef Fixing grenade job for upgrades from liberty
* Grenade base/target branches has been changed,
  so now it upgrades from liberty to master.Few
  updates were made to make it work.

* "image show" of openstackclient doesn't
  work with v2 version which is by default. v1
  will be used instead.

Closes-bug: #1503322

Change-Id: I16609310f729d77a6edbbcff4f7ebf0cd4e1a17a
2015-10-09 15:44:29 +03:00
Andrey Pavlov 7cb93c710d Increasing time for cluster creation/deletion in grenade
Closes-bug: #1494755

Change-Id: I22a71644876c262cbc48317697ea6dcfd269e7f7
2015-09-11 13:36:45 +00:00
Andrey Pavlov 02a0f99d02 Adding Grenade support for Sahara
Grenade is an OpenStack test harness to exercise
the upgrade process between releases. This patch
adds ability of Sahara upgrade testing.

Change-Id: Iacc1225d92aad3aee4e6cda6be4d9691be49d927
2015-08-20 17:28:41 +03:00