Re: Problem on running "nova boot myserver"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/01/2012 10:20 AM, Stephen Liu wrote:
> 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.

Well that's different, but probably because I messed up the command.
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.

> 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

There is a step you may have done in another shell

  . ./keystonerc

That needs to be done before running most commands
(once per shell session).

cheers,
Pádraig.
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux