Hi, $ nova boot myserver --flavor 2 --key_name mykey \ > --image $(glance index | sed -n '/f16-jeos/{s/ .*//p;q}') usage: nova boot [--flavor <flavor>] [--image <image>] [--meta <key=value>] [--file <dst-path=src-path>] [--key_name <key_name>] [--user_data <user-data>] [--availability_zone <availability-zone>] [--security_groups <security_groups>] [--block_device_mapping <dev_name=mapping>] [--hint <key=value>] [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr>] [--config-drive <value>] [--poll] <name> error: argument --image: expected one argument Try `nova help boot' for more information. Still the same. Started "Launch an Instance" again. $ sudo modprobe nbd [sudo] password for satimis: No complaint. $ nova keypair-add mykey > oskey.priv ERROR: You must provide a username via either --os_username or env[OS_USERNAME] It complained. Any suggestion? TIA B.R. SL ----- Original Message ----- > From: Pádraig Brady <P@xxxxxxxxxxxxxx> > To: Stephen Liu <satimis@xxxxxxxxx>; Fedora Cloud SIG <cloud@xxxxxxxxxxxxxxxxxxxxxxx> > Cc: > Sent: Wednesday, August 1, 2012 4:53 PM > Subject: Re: Problem on running "nova boot myserver" > > On 08/01/2012 03:11 AM, Stephen Liu wrote: >> Hi all, >> >> >> I'm following; >> Getting started with OpenStack on Fedora 17 >> http://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17 >> >> learning OpenStack. >> >> >> I'm stuck here:- >> >> Launch an instance: >> $ nova boot myserver --flavor 2 --key_name mykey \ >>> --image $(glance index | grep f16-jeos | awk '{print $1}') >> usage: nova boot [--flavor <flavor>] [--image <image>] [--meta > <key=value>] >> [--file <dst-path=src-path>] [--key_name > <key_name>] >> [--user_data <user-data>] >> [--availability_zone <availability-zone>] >> [--security_groups <security_groups>] >> [--block_device_mapping <dev_name=mapping>] >> [--hint <key=value>] >> [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr>] >> [--config-drive <value>] [--poll] >> <name> >> error: argument --image: expected one argument >> Try `nova help boot' for more information. > > Looks like there are multiple images of that name in glance? > Perhaps you could delete one or just select the first > by using this instead: > > nova boot myserver --flavor 2 --key_name mykey \ > --image $(glance index | sed -n '/f16-jeos/{s/ .*//p;q}') > > cheers, > Pádraig. > _______________________________________________ cloud mailing list cloud@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/cloud