-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added blog running Tempest on RDO OpenStack Newton #702
Conversation
@apevec @ltoscano-rh @amoralej @javierpena Please review it, |
|
||
**What does [RDO](https://www.rdoproject.org) provides for Tempest?** | ||
|
||
RDO provides three packages for running tempest against any OpenStack cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe "OpenStack installation" is better than "OpenStack cluster"
|
||
RDO provides three packages for running tempest against any OpenStack cluster. | ||
|
||
* *python-tempest* : It can be used as a python library, consumed as a dependency for out of tree tempest plugins i.e. for horizon and designate tempest plugins. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too many blank lines
|
||
2. Install tempest plugins based on the openstack services installed and configured on deployment. | ||
|
||
packstack installs by default horizon, nova, neutron, keystone, cinder, swift, glance, ceilometer, aodh and gnocchi. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too many blanks
Just a few minor nits (commented inline), after that it's 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments there ;)
|
||
1. Install rdo-release-newton rpm | ||
|
||
# yum -y install https://rdoproject.org/repos/openstack-newton/rdo-release-newton.rpm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about putting also dnf (RDO might run on top of fedora)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't recommend or test running RDO on fedora, i'd avoid using dnf and focus on centos.
|
||
# yum -y install https://rdoproject.org/repos/openstack-newton/rdo-release-newton.rpm | ||
|
||
2. Update your centos vm and perform reboot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we speaking only about centos then?
|
||
2. Update your centos vm and perform reboot. | ||
|
||
# yum -y update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
|
||
3. Install openstack-packstack | ||
|
||
# yum install -y openstack-packstack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
|
||
1. Install tempest | ||
|
||
# yum install openstack-tempest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
3. To find what are tempest plugins installed: | ||
|
||
# tempest list-plugins | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about speaking about the entry point inspector here too. You could fetch those entry points from there as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, exactly! Running 'epi group show tempest.cm' would show you the entry points for the plugins too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
epi group show tempest.test_plugins, my bad there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice but is it packaged for centos?, if not i wouldn't add it to the post. I'd avoid "pip install"in RDO posts if possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is neither packaged for fedora or Centos, so removing it.
|
||
OR | ||
|
||
$ ostestr --pdb tempest.api.volume.v2.test_volumes_list.VolumesV2ListTestJSON |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about mentioning that this would call python -m testtools.run under the hood.
All the above comments are fixed, Thanks :-) |
OR you can simply download install_test_packages.py script to install tempest plugins and run it. | ||
It will automatically installs the required tempest plugin test packages. | ||
|
||
# python /usr/share/openstack-tempest-*/tools/install_test_packages.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be careful with this, /usr/share/openstack-tempest-*/tools/install_test_packages.py is not avaliable in the rpm in the tested repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All comments are fixed
No description provided.