← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1802973] [NEW] Failed to create VM with no IP assigned to SR-IOV port

 

Public bug reported:

Description
===========
Failed to create an instance because of a port attached with no IP address assigned. The port is created over a flat network mapped to a SR-IOV interface.

Steps to reproduce
==================
A chronological list of steps which will bring off the
issue you noticed:

1. Create network

openstack network create --provider-physical-network physnet1
--provider-network-type flat sriov-net


2. Create port 

openstack port create --network ******** --vnic-type macvtap (direct)
--no-fixed-ip sriov-port


3. Create 


openstack server create --image cloud.img --flavor your_flavor --key-name ssh-key --port sriov-port vm_name


Expected result
===============
The instance should start with a layer 2 interface configured over a sr-iov virtual function.

Actual result
=============
Port 6dca94cb-1ed5-4131-bc69-4736db5f9f18 requires a FixedIP in order to be used. (HTTP 400)

Environment
===========
1. Openstack Rocky managed via Juju and deployed using MAAS.

  
2. Which hypervisor did you use?
   Libvirt + KVM
  

2. Which storage type did you use?
   Ceph


3. Which networking type did you use?
   Neutron

** Affects: nova
     Importance: Undecided
         Status: New

** Summary changed:

- VM with no IP assigned to SR-IOV port
+ Failed to create VM with no IP assigned to SR-IOV port

-- 
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/1802973

Title:
  Failed to create VM with no IP assigned to SR-IOV port

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  Failed to create an instance because of a port attached with no IP address assigned. The port is created over a flat network mapped to a SR-IOV interface.

  Steps to reproduce
  ==================
  A chronological list of steps which will bring off the
  issue you noticed:

  1. Create network

  openstack network create --provider-physical-network physnet1
  --provider-network-type flat sriov-net

  
  2. Create port 

  openstack port create --network ******** --vnic-type macvtap (direct)
  --no-fixed-ip sriov-port

  
  3. Create 

  
  openstack server create --image cloud.img --flavor your_flavor --key-name ssh-key --port sriov-port vm_name


  Expected result
  ===============
  The instance should start with a layer 2 interface configured over a sr-iov virtual function.

  Actual result
  =============
  Port 6dca94cb-1ed5-4131-bc69-4736db5f9f18 requires a FixedIP in order to be used. (HTTP 400)

  Environment
  ===========
  1. Openstack Rocky managed via Juju and deployed using MAAS.

    
  2. Which hypervisor did you use?
     Libvirt + KVM
    

  2. Which storage type did you use?
     Ceph

  
  3. Which networking type did you use?
     Neutron

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1802973/+subscriptions


Follow ups