Non-default networks are not serialized when template is not loaded

Bug #1483307 reported by Andrey Shestakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Andrey Shestakov

Bug Description

Following network roles should be created by plugin:
- id: "ironic/api"
  default_mapping: "management"
  properties:
    subnet: true
    gateway: true
    vip: []

- id: "ironic/baremetal"
  default_mapping: "baremetal"
  properties:
    subnet: true
    gateway: false
    vip:
       - name: "baremetal"
         namespace: "haproxy"

Added new network-group:
fuel network-group --name baremetal --cidr 192.168.3.0/24 -c --nodegroup 3 --vlan 103 --meta='{ip_range: ["192.168.3.2", "192.168.3.50"], notation: "ip_ranges"}'

After serialization:
- network role "ironic/api" created properly
- VIP for baremetal network created properly (refers network_role: ironic/baremetal)
- no network role "ironic/baremetal" been created.
- no transformation for baremetal network created

summary: - Non-default networks are not serialized
+ Non-default networks are not serialized when template is not loaded
Changed in fuel:
importance: Undecided → High
assignee: nobody → Fuel Python Team (fuel-python)
milestone: none → 7.0
status: New → Confirmed
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Andrey Shestakov (ashestakov)
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/211349

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/211568

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

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

commit e1eafcb30967d4a5b3ac61a1569e1ae958f5ddbc
Author: Sergey Vasilenko <email address hidden>
Date: Tue Aug 11 16:12:03 2015 +0300

    Prevent bond and bridge names looks like name of

    another type network interface.
    i.e. old and new ethernet names, infiniband cards, wifi cards, etc...

    Change-Id: I55383cdb59bead345f0127b826ec4d8a127b34a8
    Related-bug: #1483307

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

Reviewed: https://review.openstack.org/211349
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=1158c2eddbfaae492b467e94ca9fbbec9ce1a23a
Submitter: Jenkins
Branch: master

commit 1158c2eddbfaae492b467e94ca9fbbec9ce1a23a
Author: Andrey Shestakov <email address hidden>
Date: Wed Aug 12 17:19:02 2015 +0300

    Added generate_network_scheme for 7.0

    This change adds generate_network_scheme method for 7.0 instead of inherit it.
    Now generate_network_scheme for 7.0 supports non-default network groups.

    Change-Id: Ib89594867c57b3aeb1b6503fed87c291ca3fd308
    Closes-bug: #1483307

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Mikhail Chernik (mchernik) wrote :

release: '7.0'
release_versions:
  2015.1.0-7.0:
    VERSION:
      api: '1.0'
      astute_sha: 6c5b73f93e24cc781c809db9159927655ced5012
      build_id: '301'
      build_number: '301'
      feature_groups:
      - mirantis
      fuel-agent_sha: 50e90af6e3d560e9085ff71d2950cfbcca91af67
      fuel-library_sha: 5d50055aeca1dd0dc53b43825dc4c8f7780be9dd
      fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
      fuel-ostf_sha: 2cd967dccd66cfc3a0abd6af9f31e5b4d150a11c
      fuelmain_sha: a65d453215edb0284a2e4761be7a156bb5627677
      nailgun_sha: 4162b0c15adb425b37608c787944d1983f543aa8
      openstack_version: 2015.1.0-7.0
      production: docker
      python-fuelclient_sha: 486bde57cda1badb68f915f66c61b544108606f3
      release: '7.0'

Plugin:
1 | fuel-plugin-ironic | 1.0.0 | 3.0.0

tags: removed: on-verification
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.