In HA mode on nsx's machine, deploy of openstack is crashed due to reason that neutron and keystone services are not availaible.

Bug #1369529 reported by Tatyana Dubyk
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Stepan Rogov
5.1.x
Fix Committed
Critical
Stepan Rogov
6.0.x
Fix Released
Critical
Andrey Danin

Bug Description

On CentOS in HA mode on nsx's machine, deploy of openstack is crashed due to reason that neutron and keystone services are not availaible.
I've reproduced this bug several times.
==============nsx settings===========================
Fuel UI-> Settings -> VMware NSX

NSX_USERNAME='admin'
NSX_PASSWORD= 'admin'
NSX_TRANSPORT_ZONE='0f12c1f7-5605-46b6-aa3f-4bf50bde47e5'
L3_SERVICE_UUID='aa153851-bd8e-4852-9772-d98a431849e0'
NSX_CONTROLLER_ENDPOINT='172.16.1.253'
URL_TO_NSX_BITS='http://10.20.204.1'

NSX network -> management -> untag and set 172.16.1.0/24 on eth2
=====================================================
Configuration:
===================================================
steps to reproduce:
1.set up lab on nsx machine with 506.iso
2.create env and start deploy:
   OS: CentOS (HA mode)
   hypervisor: QEMU
   roles: 3 controllers, 1 compute, 1 cinder
3. check that deployment of openstack on 1st controller is failed

Expected result: Deployment process of openstack on each of nodes will be finished successfully
Actual result: deployment of openstack on 1st controller is failed due to reason:

Could not prefetch neutron_floatingip_pool provider 'neutron': Can't fetch floatingip-list. Neutron or Keystone API not availaible.

---------------------------Logs-----------------------------------
[root@fuelweb ~]# fuel --fuel-version
api: '1.0'
astute_sha: b622d9b36dbdd1e03b282b9ee5b7435ba649e711
auth_required: true
build_id: 2014-09-10_00-01-12
build_number: '506'
feature_groups:
- mirantis
fuellib_sha: e3f947cc4142210499a282bc5f183c333552fa23
fuelmain_sha: ca1b4839a70a10041f8eaf8b9ac995c8b0d4521a
nailgun_sha: 82091e0d61f252619a0842d0f8debb6b602a61fe
ostf_sha: 1de6ed1c0b72f6687ffb4bebc2c939b135a88e34
production: docker
release: '5.1'
release_versions:
  2014.1.1-5.1:
    VERSION:
      api: '1.0'
      astute_sha: b622d9b36dbdd1e03b282b9ee5b7435ba649e711
      build_id: 2014-09-10_00-01-12
      build_number: '506'
      feature_groups:
      - mirantis
      fuellib_sha: e3f947cc4142210499a282bc5f183c333552fa23
      fuelmain_sha: ca1b4839a70a10041f8eaf8b9ac995c8b0d4521a
      nailgun_sha: 82091e0d61f252619a0842d0f8debb6b602a61fe
      ostf_sha: 1de6ed1c0b72f6687ffb4bebc2c939b135a88e34
      production: docker
      release: '5.1'

[root@node-24 ~]# service neutron-server status
neutron dead but pid file exists

[root@node-24 ~]# service openstack-keystone status
keystone (pid 4939) is running...

So as we can see problem is in neutron service.

Tags: nsx
Tatyana Dubyk (tdubyk)
description: updated
Stepan Rogov (srogov)
Changed in fuel:
assignee: nobody → Stepan Rogov (srogov)
status: New → In Progress
Revision history for this message
Tatyana Dubyk (tdubyk) wrote :
Changed in fuel:
importance: Undecided → High
Revision history for this message
Stepan Rogov (srogov) wrote :

The bug occurs because when installed in HA mode, the controller has the role of 'primary-controller', and in class "plugin_neutronnsx" it is not taken into account.
Accordingly, are not installed the required packages and there is no connection to the NSX.

summary: - On CentOS in HA mode on nsx's machine, deploy of openstack is crashed
- due to reason that neutron and keystone services are not availaible.
+ In HA mode on nsx's machine, deploy of openstack is crashed due to
+ reason that neutron and keystone services are not availaible.
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/121841

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

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/121983

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

Reviewed: https://review.openstack.org/121841
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=3c0ad4cb41b2cc7fe61942e905afaa9a59fbcbe2
Submitter: Jenkins
Branch: master

commit 3c0ad4cb41b2cc7fe61942e905afaa9a59fbcbe2
Author: Stepan Rogov <email address hidden>
Date: Tue Sep 16 18:06:26 2014 +0400

    Fixed class plugin_neutronnsx for HA mode

    Added forgoten case for primary-controller role

    Change-Id: Id3f947da348ce90ae18cff76be1473859bfb9cca
    Closes-bug: #1369529

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/121983
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=6b3f378fa00dab704ad1776af8f9a0b83102632b
Submitter: Jenkins
Branch: stable/5.1

commit 6b3f378fa00dab704ad1776af8f9a0b83102632b
Author: Stepan Rogov <email address hidden>
Date: Tue Sep 16 18:06:26 2014 +0400

    Fixed class plugin_neutronnsx for HA mode

    Added forgoten case for primary-controller role

    Change-Id: Id3f947da348ce90ae18cff76be1473859bfb9cca
    Closes-bug: #1369529

Revision history for this message
okosse (okosse) wrote :

I checked it on fuel-6.0-56-2014-12-18_01-32-01.iso

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.