nova utils _boot_server function does not handle multiple networks

Bug #1420755 reported by Nir Magnezi
This bug affects 2 people
Affects Status Importance Assigned to Milestone
In Progress

Bug Description

Description of problem:
nova.utils._boot_server attaches an instance nic only to one network.
that prevents scenarios from booting instances attached to multiple networks.
For example:
 - an instance with multiple IPv4 networks
 - an instance with both IPv4 and IPv6 networks

Relevant Code (snipped from rally.benchmark.scenarios.nova.utils._boot_server()):

            if nets:
                net_idx = divmod(
                     % self.context["config"]["users"]["tenants"]),
                kwargs["nics"] = [{"net-id": nets[net_idx]}]

        server = self.clients("nova").servers.create(
            server_name, image_id, flavor_id, **kwargs

Tags: plugin task
Nir Magnezi (nmagnezi)
Changed in rally:
assignee: nobody → Nir Magnezi (nmagnezi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally (master)

Fix proposed to branch: master

Changed in rally:
status: New → In Progress
Changed in rally:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on rally (master)

Change abandoned by Nir Magnezi (<email address hidden>) on branch: master

Changed in rally:
milestone: none → 0.1.0
milestone: 0.1.0 → none
tags: added: plugin task
Changed in rally:
assignee: Nir Magnezi (nmagnezi) → nobody
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.