yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43568
[Bug 1525132] Re: doc error about inject files to new build
Reviewed: https://review.openstack.org/256348
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=761437ec68d499a5342d9401f5a807a2183a4f8b
Submitter: Jenkins
Branch: master
commit 761437ec68d499a5342d9401f5a807a2183a4f8b
Author: jichenjc <jichenjc@xxxxxxxxxx>
Date: Fri Dec 11 04:07:29 2015 +0800
Remove a restriction on injection files
nova allows injections of zip or binary files, the doc
should not say 'You cannot inject binary or zip files into a new build'
blueprint complete-todo-in-api-concept-doc
Change-Id: I09b80268545ea0071946aefd3a566441296436ec
Closes-Bug: 1525132
** 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/1525132
Title:
doc error about inject files to new build
Status in OpenStack Compute (nova):
Fix Released
Status in openstack-api-site:
Confirmed
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