Bug 1171454
| Summary: | Launching an instance with muliple interfaces attached to same network by using --net-id fails | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Itzik Brown <itbrown> |
| Component: | openstack-nova | Assignee: | Sahid Ferdjaoui <sferdjao> |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 (Juno) | CC: | ajeain, berrange, dasmith, eglynn, kchamart, ndipanov, nlevinki, nyechiel, pbrady, sbauza, sferdjao, sgordon, slong, vromanso, yeylon |
| Target Milestone: | z2 | Keywords: | ZStream |
| Target Release: | 6.0 (Juno) | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-nova-2014.2.2-9.el7ost.src.rpm | Doc Type: | Bug Fix |
| Doc Text: |
Previously, you could not launch an instance with multiple interfaces attached to the same network by using --nic net-id=<id>; the instance would fail to boot. With this update, Compute now checks for duplicate networks at the Compute API layer, and an instance boot using a specific network ID with multiple vNICs can succeed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-07 15:09:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Itzik Brown
2014-12-07 08:29:06 UTC
Fix has been merged in upstream stable/juno and will be pulled at the next rebase. Fix has been merged in upstream stable/juno. [root@dhcp-2-211 ~(keystone_admin)]# nova boot --flavor m1.small --image ciruus --nic net-id=87e7db70-2ea6-4789-bbda-d6a4aad276dc --nic net-id=87e7db70-2ea6-4789-bbda-d6a4aad276dc vm100
+--------------------------------------+-----------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000002 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | nPj9M6Z3uyiR |
| config_drive | |
| created | 2015-03-22T12:42:47Z |
| flavor | m1.small (2) |
| hostId | |
| id | 92264778-612d-4e14-9880-4e70625007f3 |
| image | ciruus (67614aaa-9707-4b8e-9376-b45a9340c4cf) |
| key_name | - |
| metadata | {} |
| name | vm100 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | e1a71ec39c30412faee2750c87f2a733 |
| updated | 2015-03-22T12:42:47Z |
| user_id | 160d8f685ae7458ca014760e4647896a |
+--------------------------------------+-----------------------------------------------+
[root@dhcp-2-211 ~(keystone_admin)]# nova list
+--------------------------------------+----------+--------+------------+-------------+----------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------+--------+------------+-------------+----------------------------------+
| 617fe5f0-9682-4449-84d4-c17c99f936b3 | two_nics | ACTIVE | - | Running | private=192.168.1.1 |
| 92264778-612d-4e14-9880-4e70625007f3 | vm100 | ACTIVE | - | Running | private=192.168.1.3, 192.168.1.4 |
+--------------------------------------+----------+--------+------------+-------------+----------------------------------+
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0790.html |