Red Hat OpenStack Certification Workflow for Red Hat OpenStack Platform 8

Updated -

The following guides contain information about the latest certification policies and workflow to certify OpenStack plugins or applications with Red Hat OpenStack Platform. The certification tooling and workflow documented in this article will be supported for a period of 90 days to support certifications which are underway.

Partners must complete all new certifications using the latest certification tooling and workflow documented in the following guides.

$ cp rally.conf.sample rally.conf

2. Open the /etc/rally/rally.conf file with your default text editor. Scroll to the [database] section and change the default value of the connection parameter to the following:

connection = sqlite:////var/lib/rally/rally.sqlite

3. Run the following commands to create a new directory for the Rally database and then set up the database:

$ mkdir -p /var/lib/rally/
# rally-manage db recreate

7. Register the System and Attach the Required Subscription

Complete the following steps to register the system and attach the required subscription:

1. Run the following command to register your system using Red Hat Subscription Management:

# subscription-manager register

Use your RHN credentials for the registration.

2. Run the following command to display the list of available subscriptions for your system:

# subscription-manager list --available

From the list of available subscriptions, search for the subscription which provides the Red Hat Certification (for RHEL Server) repository. Make a note of the subscription and its Pool ID.

IMPORTANT: The Red Hat Certification (for RHEL Server) repository can be used to obtain the certification packages.

3. Run the following command to attach the subscription which provides the Red Hat Certification (for RHEL Server) repository to your system:

# subscription-manager attach --pool=[pool_ID]

Replace [pool_ID] with the Pool ID of the subscription which provides the Red Hat Certification (for RHEL Server) repository.

It is mandatory to use the correct Pool ID with the # subscription-manager attach --pool command to attach the required subscription to the system.

TIP: To verify the list of subscriptions your system has currently attached, at any time, run the # subscription-manager list --consumed command. Ensure that the subscription which provides the Red Hat Certification (for RHEL Server) repository is attached to your system.

8. Subscribe to Red Hat Certification Channel

To subscribe to Red Hat Certification channel using Red Hat Subscription Management, use the following details:

Content Name
Red Hat Certification (for RHEL 7 Server)

Content Label
rhel-7-server-cert-rpms

Run the following command to subscribe to Red Hat Certification channel:

# subscription-manager repos --enable=[reponame]

Replace [reponame] with rhel-7-server-cert-rpms.

NOTE: The rhel-7-server-cert-rpms repository provides certification packages for the system-under-test/test client configured on RHEL 7.x base operating system.

Troubleshooting Issues and Submitting Feedback?

Certification Workflow

Complete the following certification workflow in the order given to certify an OpenStack deployment/system-under-test with Red Hat OpenStack Platform 8.

1. Set Up a Local Test Server

The primary application required in the certification workflow "Red Hat Certification" is a client server application. You may launch Red Hat Certification web UI on a different host (test server) and use the web UI to run certification tests on an OpenStack deployment-under-test (test client).

It is recommended to setup a test server to run OpenStack Certification tests on the system-under-test/test client. This allows testing of multiple test clients from a single test server, enables quick validation and prevents resource constraints.

To run certification tests on an OpenStack deployment-under-test (test client) from a different host (test server), it is mandatory to install Red Hat Certification application on the host (test server) as well as the OpenStack deployment-under-test (test client). The host (test server) and the OpenStack deployment-under-test (test client) must use the same network.

Complete the following steps on a host/node which you need to act as a test server.

NOTE: The host/node which acts a test server must use the same network as the OpenStack deployment-under-test host or the client node. Additionally, the test server host/node must have access to the OpenStack deployment-under-test (test client node) and Red Hat services.

  1. Register the host/node which you need to act as a test server to RHN and attach the required subscription using the topic Register the System and Attach the Required Subscription.
  2. Subscribe the same host/node to Red Hat Certification Channel using the topic Subscribe to Red Hat Certification Channel.
  3. Run the following command on the same host/node:
# yum install redhat-certification

This installs Red Hat Certification application on the host/node. This host/node can now act as a test server and be used to run certification tests on an OpenStack deployment-under-test (client node) or multiple client nodes.

2. Install the Required Software Packages on the OpenStack Deployment/System-Under-Test (Test Client Node)

Run the following command on the OpenStack deployment-under-test (test client host/node) to install the software packages required in the certification workflow:

# yum install redhat-certification redhat-certification-openstack 

When Red Hat Certification application (redhat-certification) package and the certification test suite (redhat-certification-openstack) package are installed, the required dependencies (including the sos package) are installed automatically on the system-under-test.

Run the following command on the OpenStack deployment-under-test (test client host/node) to start the listener process.

# rhcertd start

The listener process on the test client/node manages connection requests and receives instructions from the test server.

IMPORTANT: It is mandatory to install the certification packages (redhat-certification, redhat-certification-openstack) on the OpenStack node where the system-under-test/OpenStack component-under-test is configured.

If the node on which the OpenStack plugin/driver-under-test is configured (system-under-test/test client) is isolated from internet connectivity at any given point of time, complete the following steps:

  • Run the following command on a system/node with internet connectivity to download the required OVAL files:

    $ wget https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2

  • Run the following command on the same system (with internet connectivity) to copy the downloaded .xml.bz2 archive in the /var/tmp directory of the system-under-test/test client:

    $ scp </path/to/.xml.bz2/archive> <username@system-under-test hostname>:/var/tmp

    Replace </path/to/.xml.bz2/archive> with the path to the relevant .xml.bz2 archive for the OVAL files
    In the <username@system-under-test hostname> string, replace username with the username for the system-under-test/test client and replace system-under-test hostname with the hostname of the system-under-test/test client.

  • Extract the .xml.bz2 archive in the /var/tmp directory on the system-under-test.

NOTE: If the system-under-test (test client node) does not have internet access, it is mandatory to download and extract the RHEL 7 OVAL files to run OpenSCAP tests.

Troubleshooting Issues and Submitting Feedback?

2. Create a New Certification Request

PROCEDURE

To create a new certification request, complete the following steps:

  1. Open Red Hat Customer Portal (https://access.redhat.com/) in a browser and log in with the username and the password of your SSO account on Red Hat Connect for Technology Partners also used to access software subscriptions.
  2. Open https://access.redhat.com/ecosystem/partners/certification in a separate browser tab.
    NOTE: The Hardware Vendor Login button on the https://access.redhat.com/ecosystem/partners/certification Home Page is not meant for OpenStack Certifications.
  3. In the https://access.redhat.com/ecosystem/partners/certification Home Page, click Create.
    alt text
  4. In the Choose Product Page, from the Select Certification Type tabs, click Red Hat Enterprise Linux OpenStack Platform.
  5. Fill the certification details in the Create New OpenStack Entry form and click Submit.
    Related Reference: APPENDIX.

RESULT

A new certification request with a unique ID is created and added in Red Hat database. An email with certification details is automatically sent to your designated Red Hat account and to Red Hat reviewers team. The page displays the Summary, Specific, Dialog and Review tabs.

To access certification requests in subsequent logins, log in Red Hat Customer Portal (https://access.redhat.com/) with the username and the password of your SSO account on Red Hat Connect for Technology Partners also used to access software subscriptions. Open https://access.redhat.com/ecosystem/partners/certification in a separate browser, type the certification ID in the Search for Certification field and then click Search.

Troubleshooting Issues and Submitting Feedback?

3. Edit the Required Configuration Files (For OpenStack Components which Implement the Formal Documented OpenStack APIs)

SUMMARY

The certification test suite (redhat-certification-openstack) provides the following sample configuration files which must be copied and then edited as required before running the certification tests.

NOTE: The following configuration files must be edited only for OpenStack components/applications which implement the formal documented OpenStack APIs. If the system-under-test does NOT implement any of the formal documented OpenStack APIs, but relies on OpenStack services, refer Launch Red Hat Certification Web User Interface to launch Red Hat Certification web UI and run the relevant certification tests directly.

File Path Description Related Reference
/etc/redhat-certification-openstack/test_config.json.sample The OpenStack deployment configuration file. It is mandatory to edit this file. Refer Edit the Mandatory Configuration Files for details on editing this file.
/etc/redhat-certification-openstack/tempest.conf.sample A representative configuration file which provides reference information on configuring the tempest.conf file to run Tempest API tests. The tempest.conf file is auto-generated after the certification tests are run for the first time and may be reconfigured thereafter. It is mandatory to edit the tempest.conf file. Refer Run Certification Tests (For OpenStack Components/Applications which Implement the Formal Documented OpenStack APIs) for details on editing this file.
/etc/redhat-certification-openstack/rally_tasks_neutron.json.sample The OpenStack Rally task configuration file which must be copied and edited only if partners need to run Networking specific Rally benchmarking scenarios. Refer Edit the Optional Configuration Files for details on editing this file.
/etc/redhat-certification-openstack/rally_tasks_cinder.json.sample The OpenStack Rally task configuration file which must be copied and edited only if partners need to run Block Storage specific Rally benchmarking scenarios. Refer Edit the Optional Configuration Files for details on editing this file.

PROCEDURE: EDIT THE MANDATORY CONFIGURATION FILES

To edit the mandatory configuration files, complete the following steps on the system-under-test/test client:

1. Navigate to the /etc/redhat-certification-openstack directory and list the files in the directory. The files listed are as follows:

rally_tasks_neutron.json.sample
rally_tasks_cinder.json.sample
test_config.json.sample
tempest.conf.sample

NOTE: The above sample files are for representative purposes and should not be edited directly without creating a copy. Also, the sample files especially /etc/redhat-certification-openstack/tempest.conf.sample should not be deleted at any given point of time from the system-under-test/test client.

2. Run the following command (as a normal user) from the /etc/redhat-certification-openstack directory:

$ cp test_config.json.sample test_config.json 

The above command creates a copy of the representative sample file in the /etc/redhat-certification-openstack directory and renames the copied file to test_config.json.

NOTE: The /etc/redhat-certification-openstack/test_config.json file needs to be created just once when running the certification tests for the first time on a system-under-test/plugin. The /etc/redhat-certification-openstack/test_config.json file can be used as-is (for multiple test runs for a plugin) or edited as needed (for certifying a new plugin).

3. Open the /etc/redhat-certification-openstack/test_config.json file with your default editor and edit the file as follows:

  • Replace http://your_openstack:5000/v2.0 with the keystone authentication URL that allows access to service endpoints
  • In the "admin_username": "admin" parameter, replace admin with the OpenStack username of a user with admin role
  • In the "admin_password": "password" parameter, replace password with the corresponding OpenStack password of the user with admin role
  • In the “admin_tenant_name": "admin” parameter, replace admin with the OpenStack admin tenant name against which you need to run certification tests
    NOTE: It is mandatory to use administration keystone credentials in the /etc/redhat-certification-openstack/test_config.json file.
  • In the "keystone_region_name" = "your_keystone_region_name" parameter, replace your_keystone_region_name with your keystone region name
  • In the "plugin_type": "blockstorage|networking|dataprocessing|objectstorage|image|database|identity" parameter, replace blockstorage|networking|dataprocessing|objectstorage|image|database|identity with the classification/category of the plugin that needs to be certified from the blockstorage|networking|dataprocessing|objectstorage|image|database|identity list
  • For the "supported_apis_and_extensions" parameter, type the APIs/Extensions supported by the plugin/system-under-test from the list displayed. Ensure that you provide the list of all the APIs/Extensions supported by the plugin/system-under-test from the list. Remove the names of the APIs/Extensions that are not supported by your plugin.
    NOTE: The API/Extension names collected in this step are meant for certification purposes only and have no relation to the auto-generated configuration file for Tempest (/etc/redhat-certification-openstack/tempest.conf)
  • For the "lbaas_api_version": "v1 | v2" parameter, replace v1 | v2 with the version of the LBaaS API supported by the plugin/system-under-test (v1 or v2). If the system-under-test does not support LBaaS APIs, replace v1 | v2 with v1. It is mandatory to configure this parameter to run the certification tests successfully.
    The latest version of the certification test suite supports OpenStack Networking Load Balancer as a Service (LBaaS) tests.

Save the /etc/redhat-certification-openstack/test_config.json file with the latest changes.

The value of the undercloud_stackrc parameter in the /etc/redhat-certification-openstack/test_config.json file must be edited after running the openstack_director_verify tests (The OpenStack Director Verification tests). Information about running the openstack_director_verify tests, the other mandatory tests and the required configuration is covered in the subsequent topics.

RESULT

The /etc/redhat-certification-openstack/test_config.json file is edited and saved as required.

  • To run Rally scenario tests (called openstack_scenarios) later in the workflow, refer Edit the Optional Configuration Files and edit the required Rally task configuration files before running the tests.
  • If you do not need to run Rally scenario tests, refer Launch Red Hat Certification Web User Interface and the procedures documented thereafter to directly run certification tests and submit the test logs for review.

Troubleshooting Issues and Submitting Feedback?

PROCEDURE: EDIT THE OPTIONAL CONFIGURATION FILES (TO RUN RALLY SCENARIO TESTS)

To run Rally scenario test (called openstack_scenarios) for Networking or Block Storage components, it is mandatory to edit the Rally configuration files. Complete the following procedure on the system-under-test/test client to edit the Rally configuration files.

NOTE: Ensure that you have completed OpenStack Rally specific prerequisites from the topic Certification Prerequisites before proceeding with the steps in the following procedure.

1. Navigate to the /etc/redhat-certification-openstack directory and run the following commands from the /etc/redhat-certification-openstack directory:

$ cp rally_tasks_neutron.json.sample rally_tasks_neutron.json
$ cp rally_tasks_cinder.json.sample rally_tasks_cinder.json

The above command creates a copy of the representative sample files in the /etc/redhat-certification-openstack directory and renames the copied file to rally_tasks_neutron.json and rally_tasks_cinder.json respectively.

2. To run Networking specific Rally benchmarking scenarios: Open the /etc/redhat-certification-openstack/rally_tasks_neutron.json file with your default editor. In the /etc/redhat-certification-openstack/rally_tasks_neutron.json file, edit the values of flavor_name and image_name parameters and delete the APIs which are not supported by the system-under-test.
Save the file with the latest changes.

3. To run Block Storage specific Rally benchmarking scenarios: Open the /etc/redhat-certification-openstack/rally_tasks_cinder.json file with your default editor. In the /etc/redhat-certification-openstack/rally_tasks_cinder.json file, edit the values of flavor_name and image_name parameters and delete the APIs which are not supported by the system-under-test. Save the file with the latest changes.

IMPORTANT: We recommend you to read all the tasks in the Rally Task files (/etc/redhat-certification-openstack/rally_tasks_neutron.json and/or /etc/redhat-certification-openstack/rally_tasks_cinder.json {whichever is applicable}) before making changes. You must not change the default values of parameters in the context and the runner blocks at any given point of time.

RESULT

The Rally Task files are edited as required. Rally scenario test (openstack_scenarios) for Networking or Block Storage components can be run later in the workflow. To launch Red Hat Certification web UI and run certification tests on the system-under-test/test client, refer the subsequent workflow procedures.

Troubleshooting Issues and Submitting Feedback?

4. Launch Red Hat Certification Web User Interface

Red Hat Certification is a client-server application using which you can launch Red Hat Certification web UI on a different host (test server) and use the web UI to run certification tests on an OpenStack deployment-under-test/system-under-test (test client).

PROCEDURE

Before launching Red Hat Certification web UI, ensure that you have set up a local test server/host using the topic Set Up a Local Test Server.

To launch Red Hat Certification web UI, complete the following steps on the test server/host:

1. Run the following commands to start Apache and Red Hat Certification back-end server:

# systemctl start httpd
# rhcertd start --debug=high

NOTE: It is mandatory to start the server in “high” debug mode for the desired level of debugging.

2. Launch Red Hat Certification web UI in a browser using the IP address of the test server/host:

http://machine-IP

Replace machine-IP with the IP address of the test server/host.

The test server/host may be used to run certification tests on the system-under-test or the test client/host.

Troubleshooting Tips

If you did not set up the test server/host and are trying to launch Red Hat Certification web UI on the OpenStack deployment-under-test/test client, the web UI can not be accessed directly on port 80 as the OpenStack Platform Dashboard service also uses port 80 by default.

You may however use Red Hat Certification web UI proxy server to launch Red Hat Certification web UI on the OpenStack deployment-under-test/test client.

To successfully launch Red Hat Certification web UI on the system-under-test/test client, complete the following steps on the system-under-test/test client.

  • Install and configure a web proxy server application for example Squid on the system-under-test/test client.
  • Open the /etc/rhcert.xml file with your default editor and insert the highlighted line under the url tag in the file:

    <url>
    <proxy-url protocol="http">http://127.0.0.1:[port_no]</proxy-url> 
    ……
    </url>
    

    Replace, [port_no] with the port no which runs the proxy server application.

    Save the file with the latest changes.

  • Launch Red Hat Certification web UI on a browser using the following URL (proxy URL):

    http://127.0.0.1:[port_no]

    Replace [port_no] with the port no which runs the proxy server application.

Troubleshooting Issues and Submitting Feedback?

5. Run Certification Tests from the Local Test Server on the Test Client/System-Under-Test

Red Hat Certification web UI that you launched on the local test server/host, can be used to run certification tests on the system-under-test/test client.

You must run certification tests on the system-under-test/test client based on its type. Refer the following procedures to open Red Hat Certification Testing Page on the local test server/host and then run certification tests on the system-under-test/test client based on its type.

PROCEDURE: OPEN RED HAT CERTIFICATION TESTING PAGE

To open Red Hat Certification Testing Page on the local test server/host, complete the following steps:

  1. Launch Red Hat Certification web UI using Launch Red Hat Certification Web User Interface. On Red Hat Certification web UI, click the login button.
  2. Log in with the username and the password of your SSO account on Red Hat Connect for Technology Partners also used to access software subscriptions.
  3. On Red Hat Certification Home Page, click the Server settings tab.
  4. In the Register a System field, enter the hostname or IP address of the test client or the system-under-test and then click Add. Ensure that the listener process is active on the test server and the test client by running the # rhcertd status command. If the listener process is inactive, run the # rhcertd listener command to restart the listener.
    NOTE: The listener process on the test client manages connection requests and receives instructions from the test server.
  5. Click the Red Hat Certification tab.
    alt text
  6. Click Add Products.
  7. Fill the Add Products form using the following details:
    • From the Products list, select Products from the catalog
    • From the Ecosystem list, select OpenStack
      Click Next.
  8. From the Products Table, select the name of the product that needs to be certified and then click Add Selected Products.
  9. From the Products Table, click the name of the product added in the preceding step.
  10. In the Certifications Page, click the relevant certification entry for the corresponding product.
    The Progress Page opens and displays the certification tests available in the certification test suite and the progress of the previous runs (if any).
  11. Click the Testing link to open the Testing Page.
    alt text
  12. In the Testing Page, click System.
  13. In the Select Host Page, select the hostname of the test client/system-under-test and then click Test.

RESULT

The Testing Page opens and a certification test plan is created for the test client/system-under-test. After the certification test plan run is complete and the test plan is ready, the status column displays a “Finished test run” status and a Continue Testing button.

alt text

To run certification tests on the test client/system-under-test, complete either Procedure: Run Certification Tests (For OpenStack Components/Applications which Implement the Formal Documented OpenStack APIs) or Procedure: Run Certification Tests (For Other Applications), whichever is applicable.

TYPES OF TESTS

Red Hat Certification web UI provides five different types of tests as displayed in the following screenshot and described in the annotations below.

alt text
alt text The OpenStack Director Verification tests. These tests are mandatory for OpenStack components/applications which implement the formal documented OpenStack APIs.
alt text The OpenStack Rally tests for Networking or Block Storage components. These tests are optional.
alt text The OpenStack Tempest API tests. These tests are mandatory for OpenStack components/applications which implement the formal documented OpenStack APIs.
alt text OpenStack certification tests for OpenStack components/applications which DO NOT implement the formal documented OpenStack APIs. These tests are mandatory.
alt text and alt text OpenSCAP tests to determine the security vulnerabilities in the system-under-test. These tests are mandatory.

Refer Procedure: Run Certification Tests (For OpenStack Components/Applications which Implement the Formal Documented OpenStack APIs or Procedure: Run Certification Tests (For Other Applications) for details on running the tests based on your plugin/application type.

PROCEDURE: RUN CERTIFICATION TESTS (FOR OPENSTACK COMPONENTS/APPLICATIONS WHICH IMPLEMENT THE FORMAL DOCUMENTED OPENSTACK APIs)

For OpenStack applications which implement the formal documented OpenStack APIs, the following tests are applicable:

  • openstack/openstack_director_verify
  • openstack/openstack_scenarios
  • openstack/openstack_verify
  • OpenSCAP tests that is openstack_scap/scap-oval-openstack and openstack_scap/scap-xccdf-openstack

To run the required certification tests on OpenStack components/applications which implement the formal documented OpenStack APIs, complete the following procedures.

PROCEDURE: RUN OPENSTACK DIRECTOR VERIFICATION TESTS AND OPENSTACK TEMPEST API TESTS
  1. Open Red Hat Certification Testing Page on the test server/host using the procedure Open Red Hat Certification Testing Page.
  2. In the Testing Page, click Continue Testing.
    alt text
  3. Perform this step on the OpenStack Undercloud controller node/Director node (using Undercloud endpoints) to run the openstack/openstack_verify tests for the OpenStack Identity service. Click Run Interactive which is next to the openstack/openstack_verify link.
    alt text
    NOTE: openstack/openstack_verify link is for running the Tempest API tests for OpenStack solutions that consume and implement the documented OpenStack APIs.
    This step automatically generates a custom configuration file for Tempest (/etc/redhat-certification-openstack/tempest.conf) based on the deployment details provided in the /etc/redhat-certification-openstack/test_config.json file and runs the Tempest API tests.
  4. Open the /etc/redhat-certification-openstack/test_config.json file with your default text editor. In the "undercloud_stackrc": /path/to/undercloud/stackrc_file parameter, replace /path/to/undercloud/stackrc_file with the path to the OpenStack Undercloud stackrc file or the OpenStack environment file.
  5. Ensure that you perform this step on the OpenStack Undercloud controller node or the Director node using Undercloud endpoints. In the Testing Page, click Run Interactive which is next to the openstack/openstack_director_verify link.
    alt text
    This step runs the OpenStack Director Verification tests on the OpenStack Director node and stores the test logs in a file. These test logs may be submitted later using the procedure View the Test Logs and Submit the Logs for Review.
  6. Ensure that you perform this step on the OpenStack test client/system-under-test on the OpenStack Overcloud controller node using Overcloud endpoints. In the Testing Page, click Run Interactive which is next to the openstack/openstack_verify link.
    alt text
  7. It is mandatory to edit the auto-generated configuration file for Tempest (/etc/redhat-certification-openstack/tempest.conf) to run specific API tests successfully at this step. Refer the following table to configure the test client/system-under-test and then edit the /etc/redhat-certification-openstack/tempest.conf file as required.
    NOTE: Edit the configuration parameters in the configuration file for Tempest (/etc/redhat-certification-openstack/tempest.conf) based on the OpenStack service for which you need to certify.
Type of OpenStack Service Procedure to Run Tests for the Service
Networking To successfully run administration tests for floating_IP OpenStack Networking API, run the $ keystone role-create --name=Member command using the keystone command-line client to create a new keystone role named "Member".
Block Storage

NOTE: Block Storage backup tests are skipped in the certification test suite run and are not required for a successful certification.

1. Run the following commands to create volume type in the OpenStack deployment-under-test for both back-ends and then link the volume types to back-end names in extra-specifications:
$ cinder --os-username admin --os-tenant-name admin type-create lvm
$ cinder --os-username admin --os-tenant-name admin type-key lvm set volume_backend_name=extra-specification
Replace extra-specification with the name of the extra-specification.

2. Open the /etc/redhat-certification-openstack/tempest.conf file with your editor and scroll to the [volume] section. Add the following parameters under the [volume] section based on the output of the # cinder service-list command:
backend1_name = BACKEND_1
backend2_name = BACKEND_2
[volume-feature-enabled]
multi_backend = True
Replace BACKEND_1 and BACKEND_2 with back-end names.

3. Open the /etc/redhat-certification-openstack/tempest.conf file with your editor and scroll to the [auth] section. Add the "allow_tenant_isolation = true" parameter under the [auth] section.

Object Storage

1. Run the following commands using keystone command-line client to create an alternate user and tenant named alt_{your_user_name} and alt_{your_tenant_name} respectively:
$ keystone user-create --name=alt_{your_user_name} --pass={keystone password} --email={keystone email}
$ keystone tenant-create --name=alt_{your_tenant_name}
In the alt_{your_user_name} and alt_{your_tenant_name} parameters, replace {your_user_name} and {your_tenant_name} with a new username and tenant name respectively. Replace {keystone password} and {keystone email} with keystone authentication credentials.

2. Open the /etc/redhat-certification-openstack/tempest.conf file with your editor and scroll to the [Identity] section. Add the following values for some existing parameters like alt_username, alt_password and alt_tenant_name:
alt_username = altusername
alt_password = altpassword
alt_tenant_name = alttenantname
Replace altusername, altpassword and alttenantname with the alternate username, password and tenant name created in the preceding step.

Data Processing

1. Open the /etc/redhat-certification-openstack/tempest.conf file with your editor and scroll to the [data_processing] section.

2. Add the catalog_type = data-processing flag under the [data_processing] section.

The auto-generated configuration file for Tempest (/etc/redhat-certification-openstack/tempest.conf) is edited as required to run specific tests for services like Networking (floating_IP), Block Storage, Object Storage and Data Processing successfully on the system-under-test.

Troubleshooting Issues and Submitting Feedback?

RESULT

The certification test suite (redhat-certification-openstack) is executed automatically and certification tests are run on the test client/system-under-test.

Block Storage backup tests are skipped in the certification test suite run and are not required for a successful certification.

NOTE: After the certification test suite is executed it takes around 5-10 minutes for the completion of the certification tests. Red Hat Certification web UI on the test server/host remains as-is and does not show any progress during this period.

The test logs/results from all the above tests (openstack_director_verify, openstack_verify and OpenSCAP checks) are stored in a single file (in .xml.gz format) on the test server/host.

Before submitting the test results for validation and performing other actions on the results, refer Run OpenSCAP Tests to run OpenSCAP tests on the test client/system-under-test. Refer Run OpenStack Rally Tests to run the optional Rally scenario tests.

If OpenStack certification tests fail, refer Re-running Red Hat OpenStack Certification Tests in Case of Failures for resolving the issues and completing the certification process.

PROCEDURE: RUN OPENSCAP TESTS

OpenSCAP tests scan the security vulnerabilities in the test client/system-under-test and generate reports. To run OpenSCAP tests, complete the following procedure.

IMPORTANT: If the test client/system-under-test is isolated from internet connectivity, download and extract the RHEL 7 OVAL file using the topic Install the Required Software Packages before running OpenSCAP tests.

  1. Open Red Hat Certification Testing Page on the test server/host using the procedure Open Red Hat Certification Testing Page.
  2. In the Testing Page, click Continue Testing.
    alt text
  3. Select the checkboxes next to the openstack_scap/scap-oval-openstack and openstack_scap/scap-xccdf-openstack links and then click Run Selected.
    alt text

OpenSCAP tests are run and the logs from the tests are stored in the same results file as for the other tests on the test client/system-under-test. To run the optional Rally scenario tests, refer Run OpenStack Rally Tests and then submit the consolidated test logs for validation by using the procedure View the Test Logs and Submit the Logs for Review.

Troubleshooting Issues and Submitting Feedback?

PROCEDURE: RUN OPENSTACK RALLY TESTS

To run the OpenStack Rally scenario tests (called openstack_scenarios) for Networking or Block Storage components, refer the following procedure. The OpenStack Rally tests (openstack_scenarios) are optional.

NOTE: Before running the OpenStack Rally tests (openstack_scenarios), make sure that you have completed all the Rally specific prerequisites and procedures using the topics Certification Prerequisites and Procedure: Edit the Optional Configuration Files (To Run Rally Scenario Tests). It is also mandatory to configure the /etc/redhat-certification-openstack/test_config.json file by referring Procedure: Edit the Mandatory Configuration Files.

  1. Open Red Hat Certification Testing Page on the test server/host using the procedure Open Red Hat Certification Testing Page.
  2. In the Testing Page, click Continue Testing.
    alt text
  3. Click Run Interactive which is next to the openstack/openstack_scenarios link.
    alt text

This step runs the Rally scenario tests for Networking and Block Storage components and stores the test logs in the same results file as for the other tests on the test server/host. To view and submit the test logs, refer View the Test Logs and Submit the Logs for Review.

Troubleshooting Issues and Submitting Feedback?

PROCEDURE: RUN CERTIFICATION TESTS (FOR OTHER APPLICATIONS)

For OpenStack applications which DO NOT implement the formal documented OpenStack APIs, but rely on OpenStack services, the following tests are applicable:

  • openstack_platform/rhel_verify
  • OpenSCAP tests that is openstack_scap/scap-oval-openstack and openstack_scap/scap-xccdf-openstack

To run certification tests on OpenStack applications which do not implement the formal documented OpenStack APIs, complete the following steps:

  1. Open Red Hat Certification Testing Page on the test server/host using the procedure Open Red Hat Certification Testing Page.
  2. In the Testing Page, click Continue Testing.
    alt text
  3. Select the checkboxes next to the openstack_platform/rhel_verify, openstack_scap/scap-oval-openstack and openstack_scap/scap-xccdf-openstack links and then click Run Selected.
    alt text

Troubleshooting Issues and Submitting Feedback?

RESULT

The certification test suite (redhat-certification-openstack) is executed automatically and certification tests are run on the test client/system-under-test. The certification test suite run in this case mainly includes a run of the Red Hat sosreport tool which collects configuration and diagnostics information about the platform and the system-under-test. OpenSCAP tests are also run as part of the run.

The test logs/results are stored in a single file (in .xml.gz format) on the test server/host. To view test results and perform actions on the results including submission of the results to Red Hat certification services, refer View the Test Logs and Submit the Logs for Review.

6. View the Test Logs and Submit the Logs for Review

The test results/logs from the above tests are stored in a single log file (in .xml.gz format) on the test server/host. You must submit this test log file to Red Hat certification services for validation.

There are two methods to submit the test log file to Red Hat certification services for validation:

  • Submit the test log file using Red Hat Certification Web UI: This is the primary method for submission of test logs. This method may be used to submit the test log file directly from the test server/host without downloading it on the test server/host.
  • Submit the test log file using https://access.redhat.com/ecosystem/partners/certification: This method involves downloading the test log file on the test server/host and then submitting it using https://access.redhat.com/ecosystem/partners/certification. The method is especially useful when the test server/host does not have access to the internet and the test logs need to be submitted from a remote system where Red Hat Certification application is not installed.

PROCEDURE

To view and submit the test log/results file using Red Hat Certification web UI, complete the following procedure.

The following procedure also provides steps to save, download and delete the test results/log file. However, it is mandatory to submit the test log file to Red Hat certification services for validation.

  1. Launch Red Hat Certification web UI on the test server/host. In Red Hat Certification web UI, click the Red Hat Certification tab.
  2. From the Products Table, click the name of the product/system-under-test.
  3. From the Certification Page, click the relevant certification entry.
  4. Click the Results link to open the Results Page.
    alt text
  5. In the Results Page, click the latest timestamped results link relevant to your host.
    alt text
  6. From the Actions list, select an appropriate action based on the following details:
    alt text
    • To submit the test log file for validation, select submit. Alternatively, you may click Submit Results to submit the test log file for validation.
    • To close the test log file, select close
    • To save the test log file on a different Red Hat Certification server, select save. The save action transfers the test log file (in .xml.gz format) to a remote server which has Red Hat Certification application installed. If you save the test log file on a different Red Hat Certification server, you must submit the log file from the same server
    • To download the test log file (in .xml.gz format) on the test server/host, select download
    • To delete the test log file from the server, select delete

The submit option or the Submit Results button submits the consolidated test log/test results file to Red Hat certification services for validation. The test log file is validated by Red Hat certification services and the certification results are displayed on https://access.redhat.com/ecosystem/partners/certification.

Troubleshooting Issues and Submitting Feedback?

PROCEDURE

To submit the test log/results file using https://access.redhat.com/ecosystem/partners/certification, complete the following steps.

  1. Download the test log/results file using Red Hat Certification web UI. To download the test logs on the test server/host using Red Hat Certification web UI, refer the previous procedure.
    NOTE: If you download the test log/results file on the test server/host, the file must be transferred to a system which has internet connectivity. The same system may then be used for uploading the log file using https://access.redhat.com/ecosystem/partners/certification.
    Complete the succeeding steps of this procedure on a system/node which has internet connectivity and the log file for submission.
  2. Log in Red Hat Customer Portal (https://access.redhat.com/) with the username and the password of your SSO account on Red Hat Connect for Technology Partners also used to access software subscriptions. Open https://access.redhat.com/ecosystem/partners/certification in a separate browser tab.
  3. On the https://access.redhat.com/ecosystem/partners/certification Home Page, in the Search for Certification field, type the ID of the relevant certification request created for the product. The Results Page opens.
  4. In the Results Page, click the Review tab.
  5. In the Upload Results Package form, upload the test log file (in .xml.gz format) and add a description of the file.
    alt text

The test log/test results file is submitted to Red Hat certification services for validation. The test log file is validated by Red Hat certification services and the certification results are displayed on https://access.redhat.com/ecosystem/partners/certification.

Troubleshooting Issues and Submitting Feedback?

7. Interpret Certification Results

Red Hat certification services validate the test log/results file. The certification results are displayed on https://access.redhat.com/ecosystem/partners/certification after a specific amount of time.

To view certification results, complete the following steps:

  1. Launch Red Hat Certification web UI on the test server/host. In Red Hat Certification web UI, click the Red Hat Certification tab.
  2. From the Products Table, select the name of the product undergoing certification.
  3. From the Certification Page, click the relevant certification entry for the corresponding product.
  4. In the Testing Page, click Go To Workflow. The https://access.redhat.com/ecosystem/partners/certification page opens.

The Results Page on https://access.redhat.com/ecosystem/partners/certification contains the following tabs:

  • Summary: The Summary tab contains the vendor details, the product details and the certification status. The Certification Status table in the Summary tab contains the status field and the result field.

    If the result field indicates a Certified status, the certification is bound successful and the product-under-test is listed on Red Hat Certified Catalog.

    If the result field indicates a Not Certified status, the certification is considered failed/unsuccessful. In this case, Red Hat’s reviewers team provides fix recommendations and assists the partner’s team in resolving the issues in a timely manner.

    After implementing fix recommendations, the partner engineer needs to re-run/execute certification tests on the fixed OpenStack component/system-under-test using Red Hat Certification application and submit the latest timestamped test logs/results to Red Hat for validation.

  • Specific: The Specific tab contains the names of the APIs/Extensions supported by the OpenStack component/system-under-test.

  • Dialog: The Dialog tab captures details of every certification workflow related activity and the communication between the partner engineer and Red Hat in the form of comments.

    Partners may use the Dialog tab to interact with Red Hat certification team. The Dialog Page on Red Hat Certification application serves the same purpose and also captures communication between the partner engineer and Red Hat in the form of comments.

  • Review: The Review tab contains information on the test plan run and the validated test reports/results.

    The HTML reports highlight how the OpenStack solution has fared on a set of Red Hat certification parameters with a PASS/FAIL status for each parameter. Each parameter which indicates a FAIL status can be further expanded for a detailed description of the failure cause(s).

    The JSON reports contain a technical summary report of the certification test suite run.

    Additionally, the Review tab may be used to submit test logs/results to Red Hat certification services for validation. For more information on submitting the test logs/results using the Review tab, refer View the Test Logs and Submit the Test Logs for Review.

Re-running Red Hat OpenStack Certification Tests in Case of Failures

If OpenStack certification tests fail, perform the following steps to run the tests again and complete the certification process:

  1. Install Red Hat OpenStack Platform 8 from scratch again and then complete the following steps on your OpenStack deployment which is under test/test client.
    • Ensure you have a private (tenant) network and private subnet in your OpenStack deployment
    • Create an admin tenant owned router and add the private (tenant) subnet as one of that router's interfaces in your OpenStack deployment
    • Create an external (provider) network and a public subnet. Configure the external network as the above router's gateway in your OpenStack deployment
    • Run the $ keystone role-create --name=Member command using the keystone command-line client to create a new keystone role named "Member"
      NOTE: For details on installing Red Hat OpenStack Platform 8 and completing the above steps, refer Red Hat OpenStack Platform 8 product documentation.
  2. Ensure that the local test server is set up as required using the topic Set Up the Local Test Server.
  3. Run the # yum remove redhat-certification redhat-certification-backend command and then the # rm /etc/rhcert.xml command to remove the redhat-certification package and the associated configuration file from the system-under-test/test client. Install Red Hat Certification application from scratch on the system-under-test/test client.
  4. Run the following commands on the test client/system-under-test to start Red Hat Certification back-end server afresh along with the listener:
# rhcertd stop
# rhcert-backend clean all
# rhcertd start --debug=high

Answer "yes" to the automatic prompts that are generated when you run the # rhcert-backend clean all command.
5. If the system-under-test/test client implements the formal documented OpenStack APIs, ensure that the mandatory configuration files are configured appropriately using the topic Edit the Mandatory Configuration Files.
6. Launch Red Hat Certification web UI on the test server/host using the topic Launch Red Hat Certification Web User Interface.

After launching Red Hat Certification web UI, refer Run Certification Tests from the Local Test Server on the Test Client/System-Under-Test and View the Test Logs and Submit the Test Logs for Review to re-run certification tests on the OpenStack deployment which is under test and submit the test logs for review respectively.

Troubleshooting Issues and Submitting Feedback

You may open a support case using Red Hat Customer Portal under the following instances:

  • To report issues and get help with the certification process
  • To submit feedback and request enhancements in the certification toolset & documentation
  • To receive assistance on the Red Hat product on which your product/application is being certified. To receive Red Hat product assistance, it is mandatory to have the required product entitlements & subscriptions which are separate from certification-specific entitlements & subscriptions.

To open a support case using Red Hat Customer Portal Interface, complete the following steps:

  1. Log in Red Hat Customer Portal with the username and the password of your SSO account on Red Hat Connect for Technology Partners also used to access software subscriptions.
  2. Click Open a Support Case on Red Hat Customer Portal Home Page.
    alt text
  3. Complete the Support Case Form with special attention to the following fields:
    • From the Product field, select the name of the Red Hat product on which your product/application is being certified, based on the following details:
      • For Red Hat OpenStack Certification, select Red Hat OpenStack Platform
      • For Certified Cloud and Service Provider (CCSP) Certification, Red Hat Container Certification or Red Hat Hardware Certification, select Red Hat Enterprise Linux
    • From the Product Version field, select the version of the Red Hat product on which your product/application is being certified.
    • In the Problem Statement field, type a problem statement/issue or feedback using the following format:
      {Partner Certification} (The Issue/Problem or Feedback)
      Replace (The Issue/Problem or Feedback) with either the issue/problem faced in the certification process/Red Hat product or feedback on the certification toolset/documentation. For example: {Partner Certification} Error occurred while submitting certification test results using Red Hat Certification application.
      IMPORTANT: It is mandatory to write the problem statement with the {Partner Certification} tag to ensure assignment of the case to the appropriate group(s).

Complete the remaining form using the details covered in this article.

NOTE: Support cases related to Certification use Severity 3 SLAs. For more details about initial and ongoing response times, visit the Production Support Service Level Agreement.

APPENDIX

OpenStack Rally Scenario Coverage

The current release of Red Hat OpenStack Certification includes scenarios from the following Rally Benchmark scenario groups.

  • NeutronLoadbalancerV1
  • NeutronNetworks
  • Quotas
  • Authenticate
  • CinderVolumes

To get information about benchmark scenarios inside each scenario group, run the $ rally info find <ScenarioGroupName> command, replacing ScenarioGroupName with a scenario group from the list above.

Sample Create a New Certification Form

alt text

Attachments

Comments