Skip to content
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

Merged
merged 2 commits into from
Sep 26, 2016
Merged

added blog running Tempest on RDO OpenStack Newton #702

merged 2 commits into from
Sep 26, 2016

Conversation

chkumar246
Copy link
Contributor

No description provided.

@chkumar246
Copy link
Contributor Author

@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.
Copy link
Member

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.
Copy link
Member

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too many blanks

@javierpena
Copy link
Member

Just a few minor nits (commented inline), after that it's 👍

Copy link

@danielmellado danielmellado left a 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

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)

Copy link
Contributor

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.

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

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

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

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

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

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

Copy link
Contributor

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.

Copy link
Contributor Author

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

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.

@chkumar246
Copy link
Contributor Author

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
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Contributor Author

@chkumar246 chkumar246 left a 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

@rbowen rbowen merged commit 969a0b2 into redhat-openstack:master Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants