yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58235
[Bug 1638059] [NEW] Can't launch qemu instance with lan9118 nic type
Public bug reported:
When an image[0] has the property "hw_vif_model" set to "lan9118"
instances can't be launched[1] even though the underlying hypervisor
qemu allows this[2] nic for the ARM emulation, by way of
architecture=armv7l and hw_machine_type=vexpress-a9a. I tried this on a
devstack environment[3].
[0]
stack@devstack:~$ dd if=/dev/zero bs=1M count=1 of=image
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.00500358 s, 210 MB/s
stack@devstack:~$
stack@devstack:~$ openstack image create --file image --property hypervisor_type=qemu --property architecture=armv7l --property hw_machine_type=vexpress-a9 --property hw_vif_model=lan9118 image
+------------------+--------------------------------------------------------------------------------+
| Field | Value |
+------------------+--------------------------------------------------------------------------------+
| checksum | b6d81b360a5672d80c27430f39153e2c |
| container_format | bare |
| created_at | 2016-10-31T15:24:42Z |
| disk_format | raw |
| file | /v2/images/93b8f2c1-cc35-44bf-ad1e-7893f7df796b/file |
| id | 93b8f2c1-cc35-44bf-ad1e-7893f7df796b |
| min_disk | 0 |
| min_ram | 0 |
| name | image |
| owner | 4eaaec76652e4f72b3b176108246f7c4 |
| properties | architecture='armv7l', hw_machine_type='vexpress-a9', hw_vif_model='lan9118', |
| | hypervisor_type='qemu' |
| protected | False |
| schema | /v2/schemas/image |
| size | 1048576 |
| status | active |
| tags | |
| updated_at | 2016-10-31T15:24:42Z |
| virtual_size | None |
| visibility | private |
+------------------+--------------------------------------------------------------------------------+
stack@devstack:~$
[1]
stack@devstack:~$ openstack server create --image image --flavor m1.tiny --nic net-id=private tomInvalid image metadata. Error: Field value lan9118 is invalid (HTTP 400) (Request-ID: req-64e6e05d-d267-4f0d-b0ea-0bffdf152d29)
stack@devstack:~$
[2]
stack@devstack:~$ qemu-system-arm -machine vexpress-a15 -net nic,model=help 2>&1 | grep NIC
qemu: Supported NIC models: lan9118
stack@devstack:~$
[3]
stack@devstack:~/nova$ git log -1
commit 951a2f4219e854ba8183aaf52d2098b147472364
Merge: 1bd4d7f 03f8f5a
Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
Date: Fri Oct 28 12:37:01 2016 +0000
Merge "Clarify what changed with scheduler_host_manager."
stack@devstack:~/nova$
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1638059
Title:
Can't launch qemu instance with lan9118 nic type
Status in OpenStack Compute (nova):
New
Bug description:
When an image[0] has the property "hw_vif_model" set to "lan9118"
instances can't be launched[1] even though the underlying hypervisor
qemu allows this[2] nic for the ARM emulation, by way of
architecture=armv7l and hw_machine_type=vexpress-a9a. I tried this on
a devstack environment[3].
[0]
stack@devstack:~$ dd if=/dev/zero bs=1M count=1 of=image
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.00500358 s, 210 MB/s
stack@devstack:~$
stack@devstack:~$ openstack image create --file image --property hypervisor_type=qemu --property architecture=armv7l --property hw_machine_type=vexpress-a9 --property hw_vif_model=lan9118 image
+------------------+--------------------------------------------------------------------------------+
| Field | Value |
+------------------+--------------------------------------------------------------------------------+
| checksum | b6d81b360a5672d80c27430f39153e2c |
| container_format | bare |
| created_at | 2016-10-31T15:24:42Z |
| disk_format | raw |
| file | /v2/images/93b8f2c1-cc35-44bf-ad1e-7893f7df796b/file |
| id | 93b8f2c1-cc35-44bf-ad1e-7893f7df796b |
| min_disk | 0 |
| min_ram | 0 |
| name | image |
| owner | 4eaaec76652e4f72b3b176108246f7c4 |
| properties | architecture='armv7l', hw_machine_type='vexpress-a9', hw_vif_model='lan9118', |
| | hypervisor_type='qemu' |
| protected | False |
| schema | /v2/schemas/image |
| size | 1048576 |
| status | active |
| tags | |
| updated_at | 2016-10-31T15:24:42Z |
| virtual_size | None |
| visibility | private |
+------------------+--------------------------------------------------------------------------------+
stack@devstack:~$
[1]
stack@devstack:~$ openstack server create --image image --flavor m1.tiny --nic net-id=private tomInvalid image metadata. Error: Field value lan9118 is invalid (HTTP 400) (Request-ID: req-64e6e05d-d267-4f0d-b0ea-0bffdf152d29)
stack@devstack:~$
[2]
stack@devstack:~$ qemu-system-arm -machine vexpress-a15 -net nic,model=help 2>&1 | grep NIC
qemu: Supported NIC models: lan9118
stack@devstack:~$
[3]
stack@devstack:~/nova$ git log -1
commit 951a2f4219e854ba8183aaf52d2098b147472364
Merge: 1bd4d7f 03f8f5a
Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
Date: Fri Oct 28 12:37:01 2016 +0000
Merge "Clarify what changed with scheduler_host_manager."
stack@devstack:~/nova$
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1638059/+subscriptions
Follow ups