← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1528455] Re: can launch an instance with fixed ipv4 address using v6-fixed-ip option

 

Reviewed:  https://review.openstack.org/260901
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=dd6b3cd3941e5af7fa24e0b6d5f45207bdfdd641
Submitter: Jenkins
Branch:    master

commit dd6b3cd3941e5af7fa24e0b6d5f45207bdfdd641
Author: Zhihai Song <zhihai.song@xxxxxxxxxxxx>
Date:   Wed Dec 23 15:11:40 2015 +0800

    Validate the fixed ip address passed with --nic
    
    Currently fixed ip address passed with --nic is not validated.
    This patch add the validation to the fixed address.
    
    Change-Id: I032cc9ce9333b723d37e94b81d699cc0d78d36bf
    Closes-Bug: #1528455


** Changed in: python-novaclient
       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/1528455

Title:
  can launch an instance with fixed ipv4 address using v6-fixed-ip
  option

Status in OpenStack Compute (nova):
  Won't Fix
Status in python-novaclient:
  Fix Released

Bug description:
  [Summary]
  can launch an instance with fixed ipv4 address using v6-fixed-ip option

  [Topo]
  devstack all-in-one node

  [Description and expect result]
  should return an error if launch an instance with fixed ipv4 address using v6-fixed-ip option

  [Reproduceable or not]
  reproduceable 

  [Recreate Steps]
  1) create a subnet :
  root@45-59:/opt/stack/devstack# nova  boot  --flavor 1 --image  cirros-0.3.4-x86_64-uec  --availability-zone nova --nic net-id=1b72073d-e7c0-4bbd-b9f0-f834e5ff1fa7,v6-fixed-ip=1.0.0.100  instance-1
  +--------------------------------------+----------------------------------------------------------------+
  | Property                             | Value                                                          |
  +--------------------------------------+----------------------------------------------------------------+
  | OS-DCF:diskConfig                    | MANUAL                                                         |
  | OS-EXT-AZ:availability_zone          | nova                                                           |
  | 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                            | i8VQC4fZSsMp                                                   |
  | config_drive                         |                                                                |
  | created                              | 2015-12-22T14:15:22Z                                           |
  | flavor                               | m1.tiny (1)                                                    |
  | hostId                               |                                                                |
  | id                                   | 03e248ee-821a-4b37-81e0-5692102956fb                           |
  | image                                | cirros-0.3.4-x86_64-uec (e3e3fd4e-ea26-47d6-b442-76d36ff7d283) |
  | key_name                             | -                                                              |
  | metadata                             | {}                                                             |
  | name                                 | instance-1                                                     |
  | os-extended-volumes:volumes_attached | []                                                             |
  | progress                             | 0                                                              |
  | security_groups                      | default                                                        |
  | status                               | BUILD                                                          |
  | tenant_id                            | fb3af4173e8e42bca61dca2175ec3774                               |
  | updated                              | 2015-12-22T14:15:23Z                                           |
  | user_id                              | e266d2b5fd004f71b6ffadb37cc38813                               |
  +--------------------------------------+----------------------------------------------------------------+
  root@45-59:/opt/stack/devstack#

  root@45-59:/opt/stack/devstack# nova list
  +--------------------------------------+------------+--------+------------+-------------+----------------+
  | ID                                   | Name       | Status | Task State | Power State | Networks       |
  +--------------------------------------+------------+--------+------------+-------------+----------------+
  | 03e248ee-821a-4b37-81e0-5692102956fb | instance-1 | ACTIVE | -          | Running     | net1=1.0.0.100 |
  +--------------------------------------+------------+--------+------------+-------------+----------------+
  root@45-59:/opt/stack/devstack# 

  
  [Configration]
  reproduceable bug, no need

  [logs]
  reproduceable bug, no need

  [Root cause anlyze or debug inf]
  reproduceable bug

  [Attachment]
  None

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


References