nova utils _boot_server function does not handle multiple networks

Bug #1420755 reported by Nir Magnezi on 2015-02-11
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Rally
Low
Unassigned

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["iteration"]
                     % self.context["config"]["users"]["tenants"]),
                    len(nets))[1]
                kwargs["nics"] = [{"net-id": nets[net_idx]}]

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

Nir Magnezi (nmagnezi) on 2015-02-11
Changed in rally:
assignee: nobody → Nir Magnezi (nmagnezi)

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

Changed in rally:
status: New → In Progress
Changed in rally:
importance: Undecided → Low

Change abandoned by Nir Magnezi (<email address hidden>) on branch: master
Review: https://review.openstack.org/154833

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  Edit
Everyone can see this information.

Other bug subscribers