Parameter 'Fixed network CIDR' does not accepted

Bug #1357350 reported by Vadim Rovachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Kamil Sambor
5.0.x
Invalid
Critical
Kamil Sambor

Bug Description

{"build_id": "2014-08-14_02-01-17", "ostf_sha": "d2a894d228c1f3c22595a77f04b1e00d09d8e463", "build_number": "436", "auth_required": true, "api": "1.0", "nailgun_sha": "b5bdd19c2dbeb26ce3bd88270d09f5e7541a3aea", "production": "docker", "fuelmain_sha": "9f327045cdd72d406d89063393a499635be5e3d4", "astute_sha": "b52910642d6de941444901b0f20e95ebbcb2b2e9", "feature_groups": ["mirantis"], "release": "5.1", "fuellib_sha": "4b085bfbf7be973f0aa29d9d5e4f3ebd5bf789a1"}

Steps to reproduce:
1. Deploy Fuel Mater
2. Create and deploy env with parameters:
   virt_type=kvm
   config_mode=ha_compact
   release_name=Icehouse on CentOS 6.5
   net_provider=nova_network
   debug=true
Fixed network CIDR(default): 10.0.0.0/16

3. Boot 255 instances
expected result: 255 instances in active state
actual result: 254 instances in active state, 1 instance in error state
--------------------------------------------------------------------------

nova_sheduler error log:
http://paste.openstack.org/show/95523/

--------------------------------------------------------------------------

[root@node-34 modules]# nova network-list
+--------------------------------------+-------------+-------------+
| ID | Label | Cidr |
+--------------------------------------+-------------+-------------+
| 3fa6e1c4-fef5-4456-bea5-a18252dac30e | novanetwork | 10.0.0.0/24 |
+--------------------------------------+-------------+-------------+

(Expected cidr 10.0.0.0/16, actual 10.0.0.0/24)

--------------------------------------------------------------------------

[root@node-34 modules]# nova network-show 3fa6e1c4-fef5-4456-bea5-a18252dac30e
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| bridge | br100 |
| bridge_interface | eth2.102 |
| broadcast | 10.0.0.255 |
| cidr | 10.0.0.0/24 |
| cidr_v6 | - |
| created_at | 2014-08-14T22:26:23.000000 |
| deleted | 0 |
| deleted_at | - |
| dhcp_start | 10.0.0.2 |
| dns1 | 8.8.4.4 |
| dns2 | 8.8.8.8 |
| gateway | 10.0.0.1 |
| gateway_v6 | - |
| host | - |
| id | 3fa6e1c4-fef5-4456-bea5-a18252dac30e |
| injected | False |
| label | novanetwork |
| multi_host | True |
| netmask | 255.255.255.0 |
| netmask_v6 | - |
| priority | - |
| project_id | - |
| rxtx_base | - |
| updated_at | - |
| vlan | - |
| vpn_private_address | - |
| vpn_public_address | - |
| vpn_public_port | - |
+---------------------+--------------------------------------+

--------------------------------------------------------------------------

http://paste.openstack.org/show/95534/

description: updated
description: updated
Changed in fuel:
importance: Undecided → High
assignee: nobody → Fuel Library Team (fuel-library)
milestone: none → 5.1
status: New → Confirmed
summary: - parameter 'Fixed network CIDR' does not accepted
+ [library] parameter 'Fixed network CIDR' does not accepted
Revision history for this message
Mike Scherbakov (mihgen) wrote : Re: [library] parameter 'Fixed network CIDR' does not accepted

Raising this to critical. If it's confirmed to have subnet issue, it affects a customer really badly.

Changed in fuel:
importance: High → Critical
tags: added: low-hanging-fruit
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

we need diagnostic snapshot of the environment, otherwise we cannot be sure which parameters were passed to nailgun and we cannot triage this bug or even verify it

Mike Scherbakov (mihgen)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Stanislaw Bogatkin (sbogatkin)
Revision history for this message
Nastya Urlapova (aurlapova) wrote :
Kamil Sambor (ksambor)
Changed in fuel:
assignee: Stanislaw Bogatkin (sbogatkin) → Kamil Sambor (ksambor)
Kamil Sambor (ksambor)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

Problem is in data serialization in nailgun. From yaml:

novanetwork_parameters:
  network_manager: FlatDHCPManager
  network_size: 256

This must be calculated from CIDR in case of FlatDHCP:

https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/orchestrator/deployment_serializers.py#L633

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

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

summary: - [library] parameter 'Fixed network CIDR' does not accepted
+ Parameter 'Fixed network CIDR' does not accepted
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

We do not support 5.0.2 master node

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Kamil Sambor (<email address hidden>) on branch: master
Review: https://review.openstack.org/115655

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

Reviewed: https://review.openstack.org/116860
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=0aedcd8686b5a12a557ea62bd5786cc1ddfbae5e
Submitter: Jenkins
Branch: master

commit 0aedcd8686b5a12a557ea62bd5786cc1ddfbae5e
Author: Kamil Sambor <email address hidden>
Date: Tue Aug 26 13:34:56 2014 +0200

    Changed serializer to compute size of network for FlatDHCP

    * changed deployment_serializer
    * added test

    Change-Id: I0ea212951db328d7165ea503d80d112d532b7f70
    Closes-Bug: #1357350

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