OSTF Tests can't find computes nodes with vCenter only

Bug #1431285 reported by okosse
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Stepan Rogov

Bug Description

in 6.1 setting up dual hypervisors and deploy with vCenter as the compute only, OSTF fails tests that need compute nodes stating that there is no compute resource even though I can provision instances just fine. I assume OSTF is just following what Fuel is telling it in that there are no nodes with the compute role.

OSTF should probably inspect the service list instead of assuming what fuel tells it is what it expects.

Step for reproduse:
1. Create a new OpenStack environment in dual hypervisors mode
2. Add 3 nodes as controller (no other nodes)
3. After deploy run OSTF tests

Obtained result:
more than half of the tests are not run with the message: "There are no compute nodes"

--------iso version--------------

api: '1.0'
astute_sha: 93de472789d9fc351d915e401892c9f792c14ca2
auth_required: true
build_id: 2015-03-10_22-54-44
build_number: '181'
feature_groups:
- mirantis
fuellib_sha: acd7dfb5f93ee0719464d07faf5883ee804a7205
fuelmain_sha: 0f588ec9125cc1f4dd24a07d3bc6903c97b84d27
nailgun_sha: 058d1adef486c116ab8c79379ea6f925db039177
ostf_sha: 8df5f2fcdae3bc9ea7d700ffd64db820baf51914
production: docker
python-fuelclient_sha: 8a292dbdfc3afc1994fd8a81a28903f9a5cca351
release: '6.1'
release_versions:
  2014.2-6.1:
    VERSION:
      api: '1.0'
      astute_sha: 93de472789d9fc351d915e401892c9f792c14ca2
      build_id: 2015-03-10_22-54-44
      build_number: '181'
      feature_groups:
      - mirantis
      fuellib_sha: acd7dfb5f93ee0719464d07faf5883ee804a7205
      fuelmain_sha: 0f588ec9125cc1f4dd24a07d3bc6903c97b84d27
      nailgun_sha: 058d1adef486c116ab8c79379ea6f925db039177
      ostf_sha: 8df5f2fcdae3bc9ea7d700ffd64db820baf51914
      production: docker
      python-fuelclient_sha: 8a292dbdfc3afc1994fd8a81a28903f9a5cca351
      release: '6.1'

Tags: vcenter ostf
okosse (okosse)
Changed in fuel:
assignee: nobody → Fuel Partner Integration Team (fuel-partner)
Andrian Noga (anoga)
Changed in fuel:
importance: Undecided → High
milestone: none → 6.1
Stepan Rogov (srogov)
Changed in fuel:
assignee: Fuel Partner Integration Team (fuel-partner) → Stepan Rogov (srogov)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

Fix proposed to branch: master
Review: https://review.openstack.org/163786

Changed in fuel:
status: Confirmed → In Progress
Andrian Noga (anoga)
Changed in fuel:
importance: High → Medium
importance: Medium → High
Revision history for this message
Vadim Rovachev (vrovachev) wrote :

patch works
verified on:
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  api: "1.0"
  build_number: "200"
  build_id: "2015-03-15_22-54-44"
  nailgun_sha: "713e6684f9f54e29acfe6b8ebf641b9de2292628"
  python-fuelclient_sha: "cc64fff91fb0d78e5a02e7b93ceff224296f84fb"
  astute_sha: "93e427ac49109fa3fd8b0e1d0bb3d14092be2e8c"
  fuellib_sha: "553cb0cffa40a5f57313f962b6ec6a9bd89306ba"
  ostf_sha: "e86c961ceacfa5a8398b6cbda7b70a5f06afb476"
  fuelmain_sha: "c97fd8a789645bda48d06da224f994f8b52d82f5"

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/163786
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=5ca2c31493dd5491b328e5a88abc68399ab3f58a
Submitter: Jenkins
Branch: master

commit 5ca2c31493dd5491b328e5a88abc68399ab3f58a
Author: Stepan Rogov <email address hidden>
Date: Thu Mar 12 14:50:08 2015 +0300

    Deleted check for compute nodes for vcenter

    It is no need to check env for compute nodes for vcenter tests, because
    there is a corresponding deployment tag("use_vcenter"). And vcenter env does
    not required a compute nodes.

    Change-Id: I314751b951a5571790370ea4c13022d056d76497
    Closes-bug: #1431285

Changed in fuel:
status: In Progress → Fix Committed
Tatyana Dubyk (tdubyk)
Changed in fuel:
status: Fix Committed → Confirmed
Revision history for this message
Tatyana Dubyk (tdubyk) wrote :

On iso 6.1.all (#218) I've reproduced this bug again.

steps to reproduce:
1. set up lab with settings:
    CentOS
    qemu+vcenter
    HA mode
    all other settings by default
    network settings: all by default
-----------------------------
vcenter's settings:
-----------------------------
Availability zone: any
vCenter host: 172.16.0.254
vCenter username: <email address hidden>
vCenter password: Qwer!1234
Cluster: ‘Cluster1’
Service name: any
Datastore regex: .*
-----------------------------
interfaces:
-----------------------------
Interfaces on slaves should be setup this way in Fuel interface:
eth0 - admin(PXE)
eth1 - public
eth2 - management
eth3 - VM(Fixed)
eth4 - storage

2. add 3 nodes with controller role
3. perform deploy
4. run ostf tests

actual results: some tests are failed due to reason "There are no compute nodes"
list of failed tests:
-Check internet connectivity from a compute
-Check DNS resolution on compute node
-Create volume and boot instance from it
-Create volume and attach it to instance
-Create keypair
- etc.

===============================================
api: '1.0'
astute_sha: 4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9
auth_required: true
build_id: 2015-03-23_15-29-20
build_number: '218'
feature_groups:
- mirantis
fuellib_sha: a0265ae47bb2307a6967a3f1dd06fe222c561265
fuelmain_sha: a05ab877af31924585c81081f45305700961458e
nailgun_sha: 7c100f47450ea1a910e19fa09f78d586cb2bc0d3
ostf_sha: a4cf5f218c6aea98105b10c97a4aed8115c15867
production: docker
python-fuelclient_sha: 3624051242c83fdbdd1df9a0e466797c06b75043
release: '6.1'
release_versions:
  2014.2-6.1:
    VERSION:
      api: '1.0'
      astute_sha: 4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9
      build_id: 2015-03-23_15-29-20
      build_number: '218'
      feature_groups:
      - mirantis
      fuellib_sha: a0265ae47bb2307a6967a3f1dd06fe222c561265
      fuelmain_sha: a05ab877af31924585c81081f45305700961458e
      nailgun_sha: 7c100f47450ea1a910e19fa09f78d586cb2bc0d3
      ostf_sha: a4cf5f218c6aea98105b10c97a4aed8115c15867
      production: docker
      python-fuelclient_sha: 3624051242c83fdbdd1df9a0e466797c06b75043
      release: '6.1'
=================================================
see screenshots : https://drive.google.com/a/mirantis.com/folderview?id=0BxBPENXw1wFdfldhd09Xd0Vlbno3bjdzb0F4eExzcXo2TXdjWGNRcW9aelowMENQQmRuYTg&usp=sharing

Revision history for this message
Tatyana Dubyk (tdubyk) wrote :

verified on 6.1.all (#218)

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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