External Network Configuration Failed with "Invalid input for operation: network_type value 'local' not supported."

Bug #1369988 reported by Aviram Bar-Haim
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Critical
Nikolay Markov
5.1.x
Fix Committed
Critical
Nikolay Markov
6.0.x
Fix Committed
Critical
Aviram Bar-Haim

Bug Description

When installing Centos HA with Neutron with VLAN and changing ML2 mechanism to Mellanox and openvswitch, external network is not configured after deployment.

From Puppet.log :
"
Mon Sep 15 13:29:31 +0000 2014 Puppet (debug): Non-fatal error: "Execution of '/usr/bin/neutron --os-tenant-name services --os-username neutron --os-password VNKYL4M4 --os-auth-url http://192.168.0.2:35357/v2.0 net-create --tenant_id bd992c98381944f6be35dd228ae34b04 net04_ext --router:external true --provider:network_type local' returned 1: 400-{u'NeutronError': {u'message': u"Invalid input for operation: network_type value 'local' not supported.", u'type': u'InvalidInput', u'detail': u''}}
"
After executing the command without " --provider:network_type local", external network created.

ISO:
{"build_id": "2014-09-12_05-20-22", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "24", "auth_required": true, "api": "1.0", "nailgun_sha": "d389bc6489fe296c9c210f7c65ac84e154a8b82b", "production": "docker", "fuelmain_sha": "d899675a5a393625f8166b29099d26f45d527035", "astute_sha": "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13", "feature_groups": ["experimental"], "release": "5.1", "release_versions": {"2014.1.1-5.1": {"VERSION": {"build_id": "2014-09-12_05-20-22", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "24", "api": "1.0", "nailgun_sha": "d389bc6489fe296c9c210f7c65ac84e154a8b82b", "production": "docker", "fuelmain_sha": "d899675a5a393625f8166b29099d26f45d527035", "astute_sha": "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13", "feature_groups": ["experimental"], "release": "5.1", "fuellib_sha": "395fd9d20a003603cc9ad26e16cb13c1c45e24e6"}}}, "fuellib_sha": "395fd9d20a003603cc9ad26e16cb13c1c45e24e6"}

Revision history for this message
Aviram Bar-Haim (aviramb) wrote :
Revision history for this message
Basavaraj (basumh001) wrote :

send me the details of this bug to my mail id

Changed in fuel:
assignee: nobody → Basavaraj M.H. (basumh001)
Revision history for this message
Aviram Bar-Haim (aviramb) wrote :

The root cause is probably missing "local" in type_driver for melanox use-cases, affected from changing the external network type from flat to local when fixing recent bugs for 5.1.

Changed in fuel:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 5.1
Revision history for this message
Sergey Vasilenko (xenolog) wrote :

For fix it you should add "local" to the type_driver option in ml2 plugin config file.

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/121909

Changed in fuel:
assignee: namma basava (basumh001) → Aviram Bar-Haim (aviramb)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/5.1)

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

Changed in fuel:
assignee: Aviram Bar-Haim (aviramb) → Nikolay Markov (nmarkov)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/121909
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=6d7c310f6c1effe0cb40c9360cca5bcb29f14dca
Submitter: Jenkins
Branch: master

commit 6d7c310f6c1effe0cb40c9360cca5bcb29f14dca
Author: Aviram Bar-Haim <email address hidden>
Date: Tue Sep 16 18:29:09 2014 +0300

    Fix external network configurations for Mellanox

    The external network type has been changed to local,
    as a part of the fix of the following bugs:
    bug/1272349
    bug/1357298
    bug/1357292
    bug/1357298
    bug/1260051

    In This commit 'local' type is added to the ML2 type_drivers,
    in case of choosing Mellanox, in order to support external
    network changes.

    Closes-bug: #1369988

    Change-Id: I580a9e87550140a66eaf685dc0c4832c2e135463
    Signed-off-by: Aviram Bar-Haim <email address hidden>

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

Reviewed: https://review.openstack.org/121922
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=51231834c61920a5dea8ce402ad027b2505d632d
Submitter: Jenkins
Branch: stable/5.1

commit 51231834c61920a5dea8ce402ad027b2505d632d
Author: Aviram Bar-Haim <email address hidden>
Date: Tue Sep 16 18:29:09 2014 +0300

    Fix external network configurations for Mellanox

    The external network type has been changed to local,
    as a part of the fix of the following bugs:
    bug/1272349
    bug/1357298
    bug/1357292
    bug/1357298
    bug/1260051

    In This commit 'local' type is added to the ML2 type_drivers,
    in case of choosing Mellanox, in order to support external
    network changes.

    Closes-bug: #1369988

    Change-Id: I580a9e87550140a66eaf685dc0c4832c2e135463
    Signed-off-by: Aviram Bar-Haim <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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