Wrong tenant name for networks if default "admin" name was changed to any custom

Bug #1376515 reported by Sergey Vasilenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Dima Shulyak
5.1.x
Fix Committed
High
Dima Shulyak

Bug Description

Wrong tenant name for networks if default "admin" name was changed to any custom.

In following example default tenant name was chanded to "simpleGre"

access:
  metadata:
    label: Access
    weight: 10
  user: simpleGre
  tenant: simpleGre
  email: <email address hidden>
  password: simpleGre

But in the Neutron configuration section we have "admin" as tenant name:

quantum_settings:
  predefined_networks:
    net04:
      tenant: admin
      ......
    net04_ext:
      tenant: admin
      .....

I mark this bug as Critical, because any neutron-aware changes can't pass system tests.

Revision history for this message
Sergey Vasilenko (xenolog) wrote :
Changed in fuel:
status: New → Confirmed
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/126554

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Dima Shulyak (dshulyak)
status: Confirmed → In Progress
Revision history for this message
Dima Shulyak (dshulyak) wrote :

Should it affect 5.1.1 ?

Revision history for this message
Sergey Vasilenko (xenolog) wrote :

I mean -- yes.

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

Reviewed: https://review.openstack.org/126554
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=5cfdc92fcab29b91e8bc4c58212aa16e0e028a93
Submitter: Jenkins
Branch: master

commit 5cfdc92fcab29b91e8bc4c58212aa16e0e028a93
Author: Dima Shulyak <email address hidden>
Date: Tue Oct 7 16:28:37 2014 +0300

    Change default network tenant

    - Internal and external network tenants should
      be changed according to stored in cluster attributes

    Change-Id: I579dead78a68e194b79ca44143569d49b56d3a31
    Closes-Bug: 1376515

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

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

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

commit c1d83acf28d20b2e96d24611924cb25b501af343
Author: Dima Shulyak <email address hidden>
Date: Tue Oct 7 16:28:37 2014 +0300

    Change default network tenant

    - Internal and external network tenants should
      be changed according to stored in cluster attributes

    Change-Id: I579dead78a68e194b79ca44143569d49b56d3a31
    Closes-Bug: 1376515
    (cherry picked from commit 5cfdc92fcab29b91e8bc4c58212aa16e0e028a93)

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #56

"build_id": "2014-12-18_01-32-01", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "56", "auth_required": true, "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-12-18_01-32-01", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "56", "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"}}}, "fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"

I changed default name to 'tenant_test"

In astute.yaml
quantum_settings:
  L2:
    phys_nets:
      physnet2:
        bridge: br-prv
        vlan_range: 1000:1030
    base_mac: fa:16:3e:00:00:00
    segmentation_type: vlan
  L3:
    use_namespaces: true
  database:
    passwd: ODrZxmcc
  keystone:
    admin_password: 40Xsj8Hn
  metadata:
    metadata_proxy_shared_secret: gHNFqjjc
  predefined_networks:
    net04:
      L3:
        enable_dhcp: true
        subnet: 192.168.111.0/24
        nameservers:
        - 8.8.4.4
        - 8.8.8.8
        gateway: 192.168.111.1
        floating:
      L2:
        router_ext: false
        physnet: physnet2
        segment_id:
        network_type: vlan
      shared: false
      tenant: tenant_test
    net04_ext:
      L3:
        enable_dhcp: false
        subnet: 172.16.0.0/24
        nameservers: []

        gateway: 172.16.0.1
        floating: 172.16.0.130:172.16.0.254
      L2:
        router_ext: true
        physnet:
        segment_id:
        network_type: local
      shared: false
      tenant: tenant_test

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.