Detached RabbitMQ and DataBase plugins: All OSTF Platform services functional tests failed

Bug #1595582 reported by Sergii Turivnyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel Sustaining
Mitaka
Invalid
High
Fuel Sustaining

Bug Description

Detailed bug description:
Deploying ISO
===[HA deployment] Deploy RabbitMQ, DataBase on separate nodes in HA mode and run all OSTF tests===

Triggers to an Error
========================
Error
All OSTF Platform services functional tests failed with error
Authorization failure. Please provide the valid credentials for your OpenStack environment, and reattempt.
Unable to initialize Keystone client

========================

Configuration:
ISO: 9.0 mos iso RC2 #495
Settings:
Compute - QEMU.
Network - Neutron with DVR segmentation.
Storage Backends - LVM
Additional services - Install, Install Sahara

In tab Settings->Compute check Nova quotas
In tab Settings->OpenStack Services check enable Install Ceilometer and Aodh
In tab Networks->Other check enable Neutron DVR

Nodes:
3 controller+Telemetry - MongoDB
2 compute + cinder
1 STANDALONE-DATABASE
1 STANDALONE-RABBITMQ

Steps to reproduce:
1) Deploy ISO in configuration see (Detailed bug description)

2) Get all needed plugins - http://jenkins-product.srt.mirantis.net:8080/view/plugins/job/build-fuel-plugins/

3) Copy needed plugins to fuel master node and install it
scp fuel-plugin-detach-database/detach-*.rpm root@10.109.0.2:/var
ssh root@10.109.0.2 "fuel plugins --install /var/detach-*.rpm"

4) Create cluster
5) Go to "settings" tab and just activate plugins (enable checkbox near plugin name)
6) Add nodes (each activated plugin requires at least one node with that it introduces)
7) Deploy cluster
8) Run all OSTF tests

Expected results:
All steps have passed without Errors

Actual result:
All OSTF Platform services functional tests failed with error
Authorization failure. Please provide the valid credentials for your OpenStack environment, and reattempt.
ERROR (nose_storage_plugin) fuel_health.tests.tests_platform.test_sahara.VanillaTwoClusterTest.test_vanilla_two_cluster
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 67, in testPartExecutor
    yield
  File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 597, in run
    self.setUp()
  File "/usr/lib/python2.7/site-packages/fuel_health/tests/tests_platform/test_sahara.py", line 106, in setUp
    super(VanillaTwoClusterTest, self).setUp()
  File "/usr/lib/python2.7/site-packages/fuel_health/tests/tests_platform/test_sahara.py", line 30, in setUp
    super(SaharaClusterTest, self).setUp()
  File "/usr/lib/python2.7/site-packages/fuel_health/saharamanager.py", line 27, in setUp
    super(SaharaTestsManager, self).setUp()
  File "/usr/lib/python2.7/site-packages/fuel_health/nmanager.py", line 607, in setUp
    self.check_clients_state()
  File "/usr/lib/python2.7/site-packages/fuel_health/nmanager.py", line 500, in check_clients_state
    self.fail(self.manager.keystone_error_message)
  File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 666, in fail
    raise self.failureException(msg)
AssertionError: Authorization failure. Please provide the valid credentials for your OpenStack environment, and reattempt.
-------------------- >> begin captured logging << --------------------
fuel_health.config: INFO: INSTANCE {31768: <fuel_health.config.NailgunConfig object at 0x46b7090>}
fuel_health.config: INFO: INSTANCE {31768: <fuel_health.config.NailgunConfig object at 0x46b7090>}
keystoneclient.auth.identity.v2: DEBUG: Making authentication request to http://localhost/tokens
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
requests.packages.urllib3.connectionpool: DEBUG: "POST /tokens HTTP/1.1" 301 236
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
requests.packages.urllib3.connectionpool: DEBUG: "POST /tokens HTTP/1.1" 404 162
keystoneclient.session: DEBUG: Request returned failure status: 404
fuel_health.nmanager: DEBUG: Unable to initialize Keystone client:
--------------------- >> end captured logging << ---------------------

Reproducibility:
100%

Workaround:
Somehow provide correct credentials

Impact:
--

Description of the environment:
see Configuration

Additional information:
--

description: updated
description: updated
description: updated
Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :
tags: added: area-keystone
description: updated
summary: - All OSTF Platform services functional tests failed
+ Detached RabbitMQ and DataBase plugins: All OSTF Platform services
+ functional tests failed
no longer affects: mos/10.0.x
affects: mos → fuel
Changed in fuel:
milestone: 9.0 → none
tags: added: area-ostf area-plugins
no longer affects: fuel/newton
Revision history for this message
Alex Schultz (alex-schultz) wrote :

This appeared to be a connectivity issue with OSTF against the local Keystone & Nailgun on the master. I am unable to reproduce the issue and there's nothing in the logs pointing to what might have gone wrong between OSTF and Keystone. Setting to Incomplete for now.

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

In the reported env, a RabbitMQ anf Galera cluster instances was not running.

Revision history for this message
Ivan Ponomarev (ivanzipfer) wrote :

Please reopen if bug still appear

Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.