Reviewed: https://review.openstack.org/393489 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=af8d93fa9da749033575fe8c3ac58cfac134c355 Submitter: Jenkins Branch: master
commit af8d93fa9da749033575fe8c3ac58cfac134c355 Author: Thomas Stewart <[email protected]> Date: Thu Nov 3 21:08:04 2016 +0000 Add lan9118 as valid nic for hw_vif_model property for qemu DocImpact This introduces an additional VNI so the hw_vif_model doc needs updating to reflect this at: https://docs.openstack.org/cli-reference/glance-property-keys.html Change-Id: Ifc1636bff53cf74f889e1f4b632fa62c52d07b8e Closes-Bug: 1638059 Signed-off-by: Thomas Stewart <[email protected]> ** Changed in: nova Status: In Progress => Fix Released -- 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): Fix Released 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 <[email protected]> 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

