[Openstack-operators] Problem running euca-authorize command

Stephen Liu satimis at yahoo.com
Wed Jun 6 16:44:41 UTC 2012


Hi Lorin,

# find / -name demorc
/root/OpenStackInstaller/demorc

demorc is there.  

According to the tutorial;
....
Setting up user environment

Copy over the demorc file created in this directory to your client
Source in the demorc file: . demorc

I don't understand what does it mean?  Where shall I copy the original "demorc" to?

B.R.
SL




>________________________________
> From: Lorin Hochstein <lorin at nimbisservices.com>
>To: Stephen Liu <satimis at yahoo.com> 
>Cc: "openstack-operators at lists.openstack.org" <openstack-operators at lists.openstack.org> 
>Sent: Thursday, June 7, 2012 12:34 AM
>Subject: Re: [Openstack-operators] Problem running euca-authorize command
> 
>
>Stephen:
>
>
>I haven't followed those particular instructions, but it sounds like you should have a "demorc" file after doing "upload_ubuntu.sh". Do you have that file? 
>
>
>If so, try doing: "source demorc" and then try the euca-authorize command.
>
>
>You also might want to try the starter guide as an alternative: http://docs.openstack.org/essex/openstack-compute/starter/content/
>
>
>Take care,
>
>
>Lorin
>--
>Lorin Hochstein
>Lead Architect - Cloud Services
>Nimbis Services, Inc.
>www.nimbisservices.com
>
>
>
>
>
>
>On Jun 6, 2012, at 12:28 PM, Stephen Liu wrote:
>
>H Lorin,
>>
>>
>>I'm running Essex version of OpenStack Swift on Ubuntu 12.04.  
>>
>>I followed;
>>
>>Experimenting with OpenStack Essex on Ubuntu 12.04 LTS under VirtualBox
>>http://www.tikalk.com/alm/blog/expreimenting-openstack-essex-ubuntu-1204-lts-under-virtualbox#comment-1851
>>
>>to install/config it.
>>
>>B.R.
>>SL
>>
>>
>>
>>
>>
>>>________________________________
>>> From: Lorin Hochstein <lorin at nimbisservices.com>
>>>To: Stephen Liu <satimis at yahoo.com> 
>>>Cc: "openstack-operators at lists.openstack.org" <openstack-operators at lists.openstack.org> 
>>>Sent: Thursday, June 7, 2012 12:19 AM
>>>Subject: Re: [Openstack-operators] Problem running euca-authorize command
>>> 
>>>
>>>Stephen:
>>>
>>>
>>>Which version of OpenStack are you running? Have you created users and tenants with keystone yet?  You shouldn't need euca2-admin-x509.zip to do euca-authorize.
>>>
>>>
>>>
>>>Take care,
>>>
>>>
>>>Lorin
>>>--
>>>Lorin Hochstein
>>>Lead Architect - Cloud Services
>>>Nimbis Services, Inc.
>>>www.nimbisservices.com
>>>
>>>
>>>
>>>
>>>
>>>
>>>On Jun 6, 2012, at 12:13 PM, Stephen Liu wrote:
>>>
>>>Hi Lorin,
>>>>
>>>>
>>>>
>>>>Thanks for your advice.
>>>>
>>>>
>>>># keystone ec2-credentials-list
>>>>Expecting authentication method via 
>>>>  either a service token, --token or env[SERVICE_TOKEN], 
>>>>  or credentials, --os_username or env[OS_USERNAME].
>>>>
>>>>I can't find
 euca2-admin-x509.zip.  Please help.  TIA
>>>>
>>>>
>>>>B.R.
>>>>SL
>>>>
>>>>
>>>>
>>>>>________________________________
>>>>> From: Lorin Hochstein <lorin at nimbisservices.com>
>>>>>To: Stephen Liu <satimis at yahoo.com> 
>>>>>Cc: "openstack-operators at lists.openstack.org" <openstack-operators at lists.openstack.org> 
>>>>>Sent: Wednesday, June 6, 2012 11:59 PM
>>>>>Subject: Re: [Openstack-operators] Problem running euca-authorize command
>>>>> 
>>>>>
>>>>>Stephen:
>>>>>
>>>>>
>>>>>The eucatools (e.g., euca-authorize) require that you set the EC2_ACCESS_KEY and EC2_SECRET_KEY environment variables. If you have created a tenant with keystone, you should be able to do:
>>>>>
>>>>>
>>>>>keystone ec2-credentials-list
>>>>>
>>>>>
>>>>>And it will tell you what the access key and secret key are.
>>>>>
>>>>>Take care,
>>>>>
>>>>>
>>>>>Lorin
>>>>>--
>>>>>Lorin Hochstein
>>>>>Lead Architect - Cloud Services
>>>>>Nimbis Services, Inc.
>>>>>www.nimbisservices.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>On Jun 6, 2012, at 11:38 AM, Stephen Liu wrote:
>>>>>
>>>>>Hi all,
>>>>>>
>>>>>>On running;
>>>>>>$ euca-authorize default -P tcp -p 22 -s 0.0.0.0/0
>>>>>>EC2_ACCESS_KEY environment variable must be set.
>>>>>>
>>>>>>openstack at ub1204dk00:~$ euca-authorize default -P tcp -p 80 -s 0.0.0.0/0
>>>>>>EC2_ACCESS_KEY environment variable must be set.
>>>>>>
>>>>>>What does it mean?  How to fix it.
>>>>>>
>>>>>>I couldn't find novarc.
>>>>>>
>>>>>>B.R.
>>>>>>SL_______________________________________________
>>>>>>Openstack-operators mailing list
>>>>>>Openstack-operators at lists.openstack.org
>>>>>>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120606/98df807e/attachment-0002.html>


More information about the Openstack-operators mailing list