← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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
$

** Affects: nova
     Importance: Undecided
     Assignee: jichenjc (jichenjc)
         Status: New

** Affects: openstack-api-site
     Importance: Undecided
     Assignee: jichenjc (jichenjc)
         Status: New


** Tags: documentation

** Changed in: nova
     Assignee: (unassigned) => jichenjc (jichenjc)

** Also affects: openstack-api-site
   Importance: Undecided
       Status: New

** Changed in: openstack-api-site
     Assignee: (unassigned) => jichenjc (jichenjc)

** Tags added: documentation

-- 
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):
  New
Status in openstack-api-site:
  New

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


Follow ups