← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1525132] Re: doc error about inject files to new build

 

Reviewed:  https://review.openstack.org/259566
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=7451643f1dbe0cbe37621cb9112ff97a90bd6301
Submitter: Jenkins
Branch:    master

commit 7451643f1dbe0cbe37621cb9112ff97a90bd6301
Author: jichenjc <jichenjc@xxxxxxxxxx>
Date:   Fri Dec 18 11:24:38 2015 +0800

    Remove incorrect descriptions for 'injection'
    
    nova allows binary injection, the description is incorrect.
    
    Change-Id: I54a3aeb8d0c4e62e57e26a6d0867f1ca1101d804
    Partial-Bug: #1515222
    Closes-Bug: #1525132


** Changed in: openstack-api-site
       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/1525132

Title:
  doc error about inject files to new build

Status in OpenStack Compute (nova):
  Fix Released
Status in openstack-api-site:
  Fix Released

Bug description:
  we tell user  'You cannot inject binary or zip files into a new build' in following
  https://github.com/openstack/nova/blob/master/api-guide/source/server_concepts.rst
  http://developer.openstack.org/api-ref-compute-v2.1.html

  
  ichen@devstack1:/opt/stack/nova$ nova boot --file /abc.tgz=/home/jichen/cert.tgz --image 9eee793a-25e5-4f42-bd9e-b869e60d3dbd --flavor m1.micro t5
  +--------------------------------------+----------------------------------------------------------------+
  | Property                             | Value                                                          |
  +--------------------------------------+----------------------------------------------------------------+
  | OS-DCF:diskConfig                    | MANUAL                                                         |
  | OS-EXT-AZ:availability_zone          |                                                                |
  | 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                            | KcGDaWG7SdFZ                                                   |
  | config_drive                         |                                                                |
  | created                              | 2015-12-11T09:04:33Z                                           |
  | flavor                               | m1.micro (84)                                                  |
  | hostId                               |                                                                |
  | id                                   | ec9b463d-0670-4bb0-8e1b-494007fc5cfc                           |
  | image                                | cirros-0.3.4-x86_64-uec (9eee793a-25e5-4f42-bd9e-b869e60d3dbd) |
  | key_name                             | -                                                              |
  | metadata                             | {}                                                             |
  | name                                 | t5                                                             |
  | os-extended-volumes:volumes_attached | []                                                             |
  | os-pci:pci_devices                   | []                                                             |
  | progress                             | 0                                                              |
  | security_groups                      | default                                                        |
  | status                               | BUILD                                                          |
  | tenant_id                            | d1c5aa58af6c426492c642eb649017be                               |
  | updated                              | 2015-12-11T09:04:33Z                                           |
  | user_id                              | 53a9e08a52eb4486aa4457f325e62b8a                               |
  +--------------------------------------+----------------------------------------------------------------+
  jichen@devstack1:/opt/stack/nova$ nova list
  +--------------------------------------+------+--------+------------+-------------+----------+
  | ID                                   | Name | Status | Task State | Power State | Networks |
  +--------------------------------------+------+--------+------------+-------------+----------+
  | ec9b463d-0670-4bb0-8e1b-494007fc5cfc | t5   | BUILD  | spawning   | NOSTATE     |          |
  +--------------------------------------+------+--------+------------+-------------+----------+
  jichen@devstack1:/opt/stack/nova$ nova list
  +--------------------------------------+------+--------+------------+-------------+-------------------+
  | ID                                   | Name | Status | Task State | Power State | Networks          |
  +--------------------------------------+------+--------+------------+-------------+-------------------+
  | ec9b463d-0670-4bb0-8e1b-494007fc5cfc | t5   | ACTIVE | -          | Running     | private=10.0.0.13 |


  jichen@devstack1:/opt/stack/nova$ ssh cirros@10.0.0.13
  The authenticity of host '10.0.0.13 (10.0.0.13)' can't be established.
  RSA key fingerprint is 8f:11:52:54:88:d6:40:7b:95:90:2f:bb:44:c6:36:16.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added '10.0.0.13' (RSA) to the list of known hosts.
  cirros@10.0.0.13's password:

  
  $ sudo gunzip /abc.tar.gz
  $ tar xvf /abc.tgz
  tar: can't open '/abc.tgz': No such file or directory
  $ tar xvf /abc.tar
  tar: can't open '/abc.tar': Permission denied
  $ sudo tar xvf /abc.tar
  cert.pem
  $

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


References