Deploy NSX and сompute + multiple roles at one node may cause an error

Bug #1393497 reported by okosse
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Stepan Rogov
5.1.x
Won't Fix
High
Fuel Partner Integration Team
6.0.x
Fix Released
High
Stepan Rogov

Bug Description

This bug applies to NSX. If the node to install the compute and several other roles (Ceph-OSD, cinder LVM), this may result in an error. In puppet logs the error:

Execution of '/bin/rpm -i /tmp/nicira-ovs-hypervisor-node-2.0.0.30176-1.x86_64.rpm' returned 1: error: Failed dependencies: openvswitch = 2.0.0.30176 is needed by nicira-ovs-hypervisor-node-2.0.0.30176-1.x86_64

Apparently this is due to the fuzzy sequence setup roles puppet-manifests. If the first set of compute, then install the packages NSX and deploy ends well. If the role of compute is not installed first, then install standard packages openvswitch and deploy fails.

egrep -ni '(store.*metadata|^role: |^uid: )' ../astute/astute.log
572:2014-11-17T13:56:39 debug: [426] 8c3c2b42-f6c8-4f3d-9db6-df0f497c5b40: stores metadata: ---
574:uid: '1'
691:role: controller
1957:2014-11-17T14:09:44 debug: [426] 8c3c2b42-f6c8-4f3d-9db6-df0f497c5b40: stores metadata: ---
1959:uid: '2'
2076:role: compute
2351:2014-11-17T14:09:44 debug: [426] 8c3c2b42-f6c8-4f3d-9db6-df0f497c5b40: stores metadata: ---
2353:uid: '3'
2470:role: ceph-osd
3142:2014-11-17T14:13:44 debug: [426] 8c3c2b42-f6c8-4f3d-9db6-df0f497c5b40: stores metadata: ---
3144:uid: '2'
3261:role: cinder
3536:2014-11-17T14:13:44 debug: [426] 8c3c2b42-f6c8-4f3d-9db6-df0f497c5b40: stores metadata: ---
3538:uid: '3'
3655:role: cinder
4068:2014-11-17T14:14:29 debug: [426] 8c3c2b42-f6c8-4f3d-9db6-df0f497c5b40: stores metadata: ---
4070:uid: '2'
4187:role: ceph-osd
4462:2014-11-17T14:14:29 debug: [426] 8c3c2b42-f6c8-4f3d-9db6-df0f497c5b40: stores metadata: ---
4464:uid: '3'
4581:role: compute

---------------------fuel-version---------------------------------
api: '1.0'
astute_sha: f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13
auth_required: true
build_id: 2014-09-17_21-40-34
build_number: '11'
feature_groups:
- mirantis
fuellib_sha: d9b16846e54f76c8ebe7764d2b5b8231d6b25079
fuelmain_sha: 8ef433e939425eabd1034c0b70e90bdf888b69fd
nailgun_sha: eb8f2b358ea4bb7eb0b2a0075e7ad3d3a905db0d
ostf_sha: 64cb59c681658a7a55cc2c09d079072a41beb346
production: docker
release: '5.1'
release_versions:
  2014.1.1-5.1:
    VERSION:
      api: '1.0'
      astute_sha: f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13
      build_id: 2014-09-17_21-40-34
      build_number: '11'
      feature_groups:
      - mirantis
      fuellib_sha: d9b16846e54f76c8ebe7764d2b5b8231d6b25079
      fuelmain_sha: 8ef433e939425eabd1034c0b70e90bdf888b69fd
      nailgun_sha: eb8f2b358ea4bb7eb0b2a0075e7ad3d3a905db0d
      ostf_sha: 64cb59c681658a7a55cc2c09d079072a41beb346
      production: docker
      release: '5.1'

Revision history for this message
okosse (okosse) wrote :
Changed in fuel:
assignee: nobody → Fuel Partner Integration Team (fuel-partner)
Changed in fuel:
importance: Undecided → High
milestone: none → 6.0
okosse (okosse)
summary: - Deploy NSX and сomputa + multiple roles at one node may cause an error
+ Deploy NSX and сompute + multiple roles at one node may cause an error
description: updated
Igor Gajsin (igajsin)
Changed in fuel:
assignee: Fuel Partner Integration Team (fuel-partner) → Igor Gajsin (igajsin)
Changed in fuel:
status: New → Confirmed
no longer affects: ubuntu
tags: added: experimental partner release-notes
Revision history for this message
Andrey Danin (gcon-monolake) wrote :

There is no chance that we manage to fix it in 5.1.1. So, let marks is as Won't fix for 5.1.1 and document the issue as a know issue in Release Notes. It seems that Release Notes for 5.1.1 will be updated with this bug's info in this patch set https://review.openstack.org/#/c/130717

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

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

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

Reviewed: https://review.openstack.org/137333
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=436055e3c3ef6bf74a2c8a53e41ddfc01c9e1377
Submitter: Jenkins
Branch: master

commit 436055e3c3ef6bf74a2c8a53e41ddfc01c9e1377
Author: Stepan Rogov <email address hidden>
Date: Wed Nov 26 13:36:16 2014 +0300

    Fix in nsx-mode compute node deployment

    Moved call plugin_neutronnsx class from cases for controller and compute roles
    to common case, because plugin_neutronnsx can handle different roles.

    Change-Id: I3907fe9a6fec2e5b802f895ddc7d6c6e35d9a1a3
    closes-bug: #1393497

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

Verified on 6.0-48 iso

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.