NSX deployment fails with 'invalid argument gateway' in Puppet

Bug #1389317 reported by Tatyana Dubyk
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Andrey Danin

Bug Description

1. set up lab from: fuel-6.0-69-2014-11-02_21-27-58.iso
2. create env with settings in wizard:
   OS: Ubuntu
   network: neutron with nsx plugin
   mode: multi-node
   hypervisor: QEMU
   storages:
       cinder: Default
       glance: Default

3. after creation of env fill nsx settings with parameters:
 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.108.0.1' (according to yours master node)
 is checked : nsx cluster has service nodes checkbox

4. Parameters for NSX network -> management -> untag and set 172.16.1.0/24 on eth2

5. create cluster with roles:
 1 - controller
 2- cinder
 3- ceph-osd
 4 - compute
6. start deployment
7. check that its failed with:
 Error
 "Deployment has failed. Method deploy. Disabling the upload of disk image because glance was not installed properly.
 Inspect Astute logs for the details"

[root@nailgun ~]# fuel --fuel-version
api: '1.0'
astute_sha: c72dac7b31646fbedbfc56a2a87676c6d5713fcf
auth_required: true
build_id: 2014-11-02_21-27-58
build_number: '69'
feature_groups:
- mirantis
fuellib_sha: 45ad9b42666d7e3e14ab9af2911808e6c8806842
fuelmain_sha: ac3ba5f5c6073b7776ec69fc3cb4dd3c56df36c5
nailgun_sha: 35946b1f225c984f11915ba8e985584160f0b129
ostf_sha: 9c6fadca272427bb933bc459e14bb1bad7f614aa
production: docker
release: '6.0'
release_versions:
  2014.2-6.0:
    VERSION:
      api: '1.0'
      astute_sha: c72dac7b31646fbedbfc56a2a87676c6d5713fcf
      build_id: 2014-11-02_21-27-58
      build_number: '69'
      feature_groups:
      - mirantis
      fuellib_sha: 45ad9b42666d7e3e14ab9af2911808e6c8806842
      fuelmain_sha: ac3ba5f5c6073b7776ec69fc3cb4dd3c56df36c5
      nailgun_sha: 35946b1f225c984f11915ba8e985584160f0b129
      ostf_sha: 9c6fadca272427bb933bc459e14bb1bad7f614aa
      production: docker
      release: '6.0'

Andrey Danin:
The problem was in old field name for Neutron_subnet provider: https://github.com/stackforge/fuel-library/blob/1e7d26c942b30a56869624d28d9432d4ee2be9ca/deployment/puppet/plugin_neutronnsx/manifests/alter_neutron_server.pp#L31

The field should be 'gateway_ip'.

Tags: nsx vcenter
Tatyana Dubyk (tdubyk)
Changed in fuel:
milestone: none → 6.0
assignee: nobody → Fuel Partner Integration Team (fuel-partner)
description: updated
summary: - [nsx] Deployment has failed because glance was not installed properly
+ [nsx, vcenter] Deployment has failed because glance was not installed
+ properly
tags: added: vcenter
tags: added: nsx
Revision history for this message
Tatyana Dubyk (tdubyk) wrote : Re: [nsx, vcenter] Deployment has failed because glance was not installed properly
summary: - [nsx, vcenter] Deployment has failed because glance was not installed
- properly
+ NSX deployment fails with 'invalid argument gateway' in Puppet
Changed in fuel:
importance: Undecided → High
description: updated
Changed in fuel:
assignee: Fuel Partner Integration Team (fuel-partner) → Andrey Danin (gcon-monolake)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/133563
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=7bdcdfc9225019a2ccd966074ca0001c6e721475
Submitter: Jenkins
Branch: master

commit 7bdcdfc9225019a2ccd966074ca0001c6e721475
Author: Andrey Danin <email address hidden>
Date: Mon Nov 10 23:56:55 2014 +0300

    Fix field name for neutron_subnet in case of NSX

    'gateway' field for neutron_subnet type was changed to
    'gateway_ip' in commit 247ea68f2. But the NSX module is using this filed
    by an old name.

    Change-Id: Ibfefdc7bd79fb64906d78cb79bdf44127b17f46f
    Closes-Bug: 1389317

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

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

Changed in fuel:
status: Fix Committed → Fix Released
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.