Hi,
OK, continued;
Your version works here:
$ nova boot myserver --flavor 2 --key_name mykey \
--image $(glance index | sed -n '/f16-jeos/{s/ .*//p;q}')
+-------------------------------------+--------------------------------------+
| Property | Value |
+-------------------------------------+--------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-SRV-ATTR:host | None |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None |
| OS-EXT-SRV-ATTR:instance_name | instance-00000001 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | error |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | Y72EyxCwybkP |
| config_drive | |
| created | 2012-08-01T15:26:41Z |
| flavor | m1.small |
| hostId | |
| id | d08a6804-3532-4611-81b3-5d8cc8f2a321 |
| image | f16-jeos |
| key_name | mykey |
| metadata | {} |
| name | myserver |
| progress | 0 |
| status | BUILD |
| tenant_id | 59599870461543f9a502a163e3b6931f |
| updated | 2012-08-01T15:26:41Z |
| user_id | 02720e417b5b4b7c8f00e1e2e5fc0cf0 |
+-------------------------------------+--------------------------------------+
Continued:-
$ sudo virsh list
[sudo] password for satimis:
Id Name State
----------------------------------------------------
$ nova list
+--------------------------------------+----------+--------+----------+
| ID | Name | Status | Networks |
+--------------------------------------+----------+--------+----------+
| d08a6804-3532-4611-81b3-5d8cc8f2a321 | myserver | ERROR | |
+--------------------------------------+----------+--------+----------+
There is an ERROR here.
$ ssh -i oskey.priv root(a)10.0.0.2
The authenticity of host '10.0.0.2 (10.0.0.2)' can't be established.
RSA key fingerprint is 8a:d3:9c:49:cb:01:99:a6:04:7d:ad:fe:4e:f5:9c:61.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.0.0.2' (RSA) to the list of known hosts.
Enter passphrase for key 'oskey.priv': verybadpass
root(a)10.0.0.2's password: (my root password)
Connection closed by 10.0.0.2
$ nova console-log myserver
ERROR: The server has either erred or is incapable of performing the requested operation.
(HTTP 500)
Now I'm further stuck here. Any help? TIA
B.R.
SL
----- Original Message -----
From: Pádraig Brady <P(a)draigBrady.com>
To: Stephen Liu <satimis(a)yahoo.com>
Cc: Fedora Cloud SIG <cloud(a)lists.fedoraproject.org>
Sent: Wednesday, August 1, 2012 11:19 PM
Subject: Re: Problem on running "nova boot myserver"
On 08/01/2012 11:07 AM, Stephen Liu wrote:
>
>
>> Could you send the output from `glance index`
>> In any case you should be able to manually cut&paste
>> the uuid you require from that output.
>
> $ glance index
> Failed to show index. Got error:
> You are not authenticated.
> Details: 401 Unauthorized
> STILL THE SAME.
Stephen got this working after setting up the env vars:
$ . ./keystonerc
$ glance index
ID Name Disk Format
Container Format Size
------------------------------------ ------------------------------
-------------------- -------------------- --------------
afb12653-1ae5-46a2-bf1f-d78875795e4a f16-jeos qcow2
bare 213581824
c1c278f2-920f-431f-93cb-637d83858275 f16-jeos qcow2
bare 213581824
0881b93a-7ae5-416b-b9b1-246bcb554773 f16-jeos qcow2
bare 213581824
efb663ad-bb7f-46d7-a628-bd16e34f94d6 f16-jeos qcow2
bare 213581824
07c9ea83-cef8-48b2-97b6-df443b0fad5f f16-jeos qcow2
bare 213581824
cheers,
Pádraig.