Re: [Openstack] Problem Launching OpenStack Dashboard (Cactus) - 403 Error - HELP NEEDED DESPERATELY :(

2011-05-12 Thread Sheshadri Amathnadu
Thanks a lot Vish ! Appreciate your quick reply. It worked, Infact I didn't had 
:proj in access key before, but when I tried including the same, it worked !

Not sure, this is how it is supposed to be, but my dashboard is up and running. 

Thanks,
Sheshadri

From: Vishvananda Ishaya [vishvana...@gmail.com]
Sent: Thursday, May 12, 2011 1:57 PM
To: Sheshadri Amathnadu
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Problem Launching OpenStack Dashboard (Cactus) - 403 
Error - HELP NEEDED DESPERATELY :(

Two things to try:

1. remove the :proj from the access key
2. make sure that the novaadmin user you created actually is an admin (meaning 
that you created with nova-manage user admin instead of nova-manage user create)

On May 12, 2011, at 1:51 PM, Sheshadri Amathnadu wrote:

Hello,

I followed the following steps below to create Dashboard, after I run the 
python-django server script (marked below in red) –
sudo tools/with_venv.sh dashboard/manage.py runserver 10.10.10.2:8000

I can see the dashboard home page, but when I log in with the credentials I get 
“ERROR:boto:403 Forbidden”,

Please find attached detailed log for more information.

Can somebody help me if I have missed anything ?

Thanks,
Sheshadri

PS: I followed 
http://cssoss.wordpress.com/2011/04/27/openstack-beginners-guide-for-ubuntu-11-04-installation-and-configuration/
 for setup. I’m using Ubuntu 10.10 Maverick version.


Nova Dashboard

1  sudo apt-get install -y bzr
2  sudo easy_install virtualenv

1  sudo bzr init-repo .
2  sudo bzr branch lp:openstack-dashboard /opt/osdb
3  cd /opt/osdb
4  sudo sh run_tests.sh
5  cd openstack-dashboard

Edit /opt/osdb/openstack-dashboard/local/local_settings.py to include certain 
details required for connecting to nova-api.
1  NOVA_DEFAULT_ENDPOINT = 'http://localhost:8773/services/Cloud'
2  NOVA_DEFAULT_REGION = 'nova'
3  NOVA_ACCESS_KEY = 'b6a7e3ca-f894-473b-abca-84329d9829fa:proj'
4  NOVA_SECRET_KEY = '2d61a361-965a-4ed6-966a-d9f543b42531'
5  NOVA_ADMIN_USER = 'novaadmin'
6  NOVA_PROJECT = 'proj'

Setting Up E-mail service for the web interface
1  EMAIL_HOST = 'server1.example.com'
2  EMAIL_PORT = 25
3  If the mail server provides only authenticated SMTP, add the 
following lines:
4  EMAIL_USER =
5  EMAIL_PASSWORD =

1  EMAIL_USE_TLS = 'True'

Create a openstack-dashboard database and its schema with the syncdb command. 
Provide the name/email address/desired password of the administrative user when 
prompted.
view source

1  sudo tools/with_venv.sh dashboard/manage.py syncdb

While creating the schema, the above command asks you to create an admin 
account for the dashboard. Choose the user name as the project admin’s user 
name you chose above while creating the project ( novadmin in our case). You 
can choose any password you like.

Launch the default python-django server. If you want the dashboard application 
to be available on port 8000 :

1  sudo tools/with_venv.sh dashboard/manage.py runserver 
10.10.10.2:8000

To check the installation open a browser and enter the following URL
view source
print?
1  http://10.10.10.2:8000

You should be able to login as “novaadmin” using the password chosen above. Any 
other user trying to access the interface for the first time, will need to sign 
up and will be able to use the interface after the account is approved by the 
administrator.

A successful login and display of the project named “proj” on the dashboard 
will indicate that the dashboard has been setup successfully.

Thanks,
Sheshadri

___
Mailing list: https://launchpad.net/~openstack
Post to : 
openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Swift large data ingress thoughts?

2011-05-12 Thread Jon Slenk
hi,

Any experience or recommendations or thoughts about getting big data
into Swift in the first place? I am figuring there are options like:

a) just do it over the public network: slowest but most easy for everybody.
b) go sneakernet, and ship a physical device like a single fat disk,
or raid, or lots of ssds, and hook those up on the internal Swift
network and send them through the proxy: faster but requires some sort
of real human service org inside Swift.
c) [crazy idea, i have no idea how to get this to work, even if it
isn't a dumb idea] directly attach the disk as an object store so that
the files are immediately serviceable without any replication in
place, and let the automatic gradual replication spread it out to the
full cluster?

thanks for any insights.
sincerely,
-Jon.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Problem Launching OpenStack Dashboard (Cactus) - 403 Error - HELP NEEDED DESPERATELY :(

2011-05-12 Thread Vishvananda Ishaya
Two things to try:

1. remove the :proj from the access key
2. make sure that the novaadmin user you created actually is an admin (meaning 
that you created with nova-manage user admin instead of nova-manage user create)

On May 12, 2011, at 1:51 PM, Sheshadri Amathnadu wrote:

> Hello,
>  
> I followed the following steps below to create Dashboard, after I run the 
> python-django server script (marked below in red) –
> sudo tools/with_venv.sh dashboard/manage.py runserver 10.10.10.2:8000
>  
> I can see the dashboard home page, but when I log in with the credentials I 
> get “ERROR:boto:403 Forbidden”,
>  
> Please find attached detailed log for more information.
>  
> Can somebody help me if I have missed anything ?
>  
> Thanks,
> Sheshadri
>  
> PS: I followed 
> http://cssoss.wordpress.com/2011/04/27/openstack-beginners-guide-for-ubuntu-11-04-installation-and-configuration/
>  for setup. I’m using Ubuntu 10.10 Maverick version.
>  
> 
> Nova Dashboard
>  
> 1  sudo apt-get install -y bzr
> 2  sudo easy_install virtualenv
>  
> 1  sudo bzr init-repo .
> 2  sudo bzr branch lp:openstack-dashboard /opt/osdb
> 3  cd /opt/osdb
> 4  sudo sh run_tests.sh
> 5  cd openstack-dashboard
>  
> Edit /opt/osdb/openstack-dashboard/local/local_settings.py to include certain 
> details required for connecting to nova-api.
> 1  NOVA_DEFAULT_ENDPOINT = 'http://localhost:8773/services/Cloud'
> 2  NOVA_DEFAULT_REGION = 'nova'
> 3  NOVA_ACCESS_KEY = 'b6a7e3ca-f894-473b-abca-84329d9829fa:proj'
> 4  NOVA_SECRET_KEY = '2d61a361-965a-4ed6-966a-d9f543b42531'
> 5  NOVA_ADMIN_USER = 'novaadmin'
> 6  NOVA_PROJECT = 'proj'
>  
> Setting Up E-mail service for the web interface
> 1  EMAIL_HOST = 'server1.example.com'
> 2  EMAIL_PORT = 25
> 3  If the mail server provides only authenticated SMTP, add the 
> following lines:
> 4  EMAIL_USER =
> 5  EMAIL_PASSWORD =
>  
> 1  EMAIL_USE_TLS = 'True'
>  
> Create a openstack-dashboard database and its schema with the syncdb command. 
> Provide the name/email address/desired password of the administrative user 
> when prompted.
> view source
>  
> 1  sudo tools/with_venv.sh dashboard/manage.py syncdb
>  
> While creating the schema, the above command asks you to create an admin 
> account for the dashboard. Choose the user name as the project admin’s user 
> name you chose above while creating the project ( novadmin in our case). You 
> can choose any password you like.
>  
> Launch the default python-django server. If you want the dashboard 
> application to be available on port 8000 :
>  
> 1  sudo tools/with_venv.sh dashboard/manage.py runserver 
> 10.10.10.2:8000
>  
> To check the installation open a browser and enter the following URL
> view source
> print?
> 1  http://10.10.10.2:8000
>  
> You should be able to login as “novaadmin” using the password chosen above. 
> Any other user trying to access the interface for the first time, will need 
> to sign up and will be able to use the interface after the account is 
> approved by the administrator.
>  
> A successful login and display of the project named “proj” on the dashboard 
> will indicate that the dashboard has been setup successfully.
>  
> Thanks,
> Sheshadri
>  
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Problem Launching OpenStack Dashboard (Cactus) - 403 Error - HELP NEEDED DESPERATELY :(

2011-05-12 Thread Sheshadri Amathnadu
Hello,

I followed the following steps below to create Dashboard, after I run the 
python-django server script (marked below in red) -
sudo tools/with_venv.sh dashboard/manage.py runserver 10.10.10.2:8000

I can see the dashboard home page, but when I log in with the credentials I get 
"ERROR:boto:403 Forbidden",

Please find attached detailed log for more information.

Can somebody help me if I have missed anything ?

Thanks,
Sheshadri

PS: I followed 
http://cssoss.wordpress.com/2011/04/27/openstack-beginners-guide-for-ubuntu-11-04-installation-and-configuration/
 for setup. I'm using Ubuntu 10.10 Maverick version.


Nova Dashboard

1  sudo apt-get install -y bzr
2  sudo easy_install virtualenv

1  sudo bzr init-repo .
2  sudo bzr branch lp:openstack-dashboard /opt/osdb
3  cd /opt/osdb
4  sudo sh run_tests.sh
5  cd openstack-dashboard

Edit /opt/osdb/openstack-dashboard/local/local_settings.py to include certain 
details required for connecting to nova-api.
1  NOVA_DEFAULT_ENDPOINT = 'http://localhost:8773/services/Cloud'
2  NOVA_DEFAULT_REGION = 'nova'
3  NOVA_ACCESS_KEY = 'b6a7e3ca-f894-473b-abca-84329d9829fa:proj'
4  NOVA_SECRET_KEY = '2d61a361-965a-4ed6-966a-d9f543b42531'
5  NOVA_ADMIN_USER = 'novaadmin'
6  NOVA_PROJECT = 'proj'

Setting Up E-mail service for the web interface
1  EMAIL_HOST = 'server1.example.com'
2  EMAIL_PORT = 25
3  If the mail server provides only authenticated SMTP, add the 
following lines:
4  EMAIL_USER =
5  EMAIL_PASSWORD =

1  EMAIL_USE_TLS = 'True'

Create a openstack-dashboard database and its schema with the syncdb command. 
Provide the name/email address/desired password of the administrative user when 
prompted.
view source

1  sudo tools/with_venv.sh dashboard/manage.py syncdb

While creating the schema, the above command asks you to create an admin 
account for the dashboard. Choose the user name as the project admin's user 
name you chose above while creating the project ( novadmin in our case). You 
can choose any password you like.

Launch the default python-django server. If you want the dashboard application 
to be available on port 8000 :

1  sudo tools/with_venv.sh dashboard/manage.py runserver 
10.10.10.2:8000

To check the installation open a browser and enter the following URL
view source
print?
1  http://10.10.10.2:8000

You should be able to login as "novaadmin" using the password chosen above. Any 
other user trying to access the interface for the first time, will need to sign 
up and will be able to use the interface after the account is approved by the 
administrator.

A successful login and display of the project named "proj" on the dashboard 
will indicate that the dashboard has been setup successfully.

Thanks,
Sheshadri

===Server Side

root@ucloud-p07:/opt/osdb/openstack-dashboard# [11/May/2011 17:25:34] "GET / 
HTTP/1.1" 200 
[11/May/2011 17:25:34] "GET /media/dashboard/css/openstack.css HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET 
/media/dashboard/css/cupertino/jquery-ui-1.7.2.custom.css HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/js/jquery.min.js HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/js/jquery-ui.min.js HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/js/dashboard.js HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/css/reset.css HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/img/logo.gif HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/img/table_header_bg.png HTTP/1.1" 
304 0
[11/May/2011 17:25:34] "GET /media/dashboard/img/login_btn.png HTTP/1.1" 304 0
[11/May/2011 17:25:51] "POST /accounts/login/ HTTP/1.1" 302 0
DEBUG:boto:using calc_signature_2
DEBUG:boto:query string: 
AWSAccessKeyId=0d558944-ebbc-45a1-8921-7dd256e1501d&Action=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-05-12T00%3A25%3A51&User=novaadmin&Version=nova
DEBUG:boto:string_to_sign: GET
localhost:8773
/services/Admin/
AWSAccessKeyId=0d558944-ebbc-45a1-8921-7dd256e1501d&Action=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-05-12T00%3A25%3A51&User=novaadmin&Version=nova
DEBUG:boto:len(b64)=44
DEBUG:boto:base64 encoded digest: gpYrGLLLtrDlH2z/vMTEPB27/OcYiXHklAKjFEpOVps=
DEBUG:boto:Canonical: GET


Thu, 12 May 2011 00:25:51 GMT
/services/Admin/services/Admin/
DEBUG:boto:Method: GET
DEBUG:boto:Path: 
/services/Admin/?AWSAccessKeyId=0d558944-ebbc-45a1-8921-7dd256e1501d&Action=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-05-12T00%3A25%3A51&User=novaadmin&Version=nova&Signature=gpYrGLLLtrDlH2z/vMTEPB

Re: [Openstack] [nova-core] Proposal to add Mark Washenberger to nova-core

2011-05-12 Thread Matt Dietz
+1

On 5/11/11 12:07 PM, "Jay Pipes"  wrote:

>Mark's been a very good reviewer and an invaluable resource on the API
>side, particularly regarding serialization. I propose he join
>nova-core.
>
>-jay
>
>___
>Mailing list: https://launchpad.net/~openstack
>Post to : openstack@lists.launchpad.net
>Unsubscribe : https://launchpad.net/~openstack
>More help   : https://help.launchpad.net/ListHelp



Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is 
prohibited.
If you receive this transmission in error, please notify us immediately by 
e-mail
at ab...@rackspace.com, and delete the original message.
Your cooperation is appreciated.


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [nova-core] Proposal to add Brian Waldon to nova-core

2011-05-12 Thread Matt Dietz
+1

On 5/11/11 4:24 PM, "Paul Voccio"  wrote:

>+1
>
>On 5/11/11 3:01 PM, "Ed Leafe"  wrote:
>
>>On May 11, 2011, at 1:06 PM, Jay Pipes wrote:
>>
>>> Subject says it all. I think Brian's demonstrated that his code
>>> reviews are thoughtful and thorough, and he knows the OpenStack API
>>> controller stuff as well as anyone else I believe.
>>
>>
>>Definitely! +1
>>
>>
>>-- Ed Leafe
>>
>>
>>
>>Confidentiality Notice: This e-mail message (including any attached or
>>embedded documents) is intended for the exclusive and confidential use of
>>the
>>individual or entity to which this message is addressed, and unless
>>otherwise
>>expressly indicated, is confidential and privileged information of
>>Rackspace. 
>>Any dissemination, distribution or copying of the enclosed material is
>>prohibited.
>>If you receive this transmission in error, please notify us immediately
>>by e-mail
>>at ab...@rackspace.com, and delete the original message.
>>Your cooperation is appreciated.
>>
>>
>>___
>>Mailing list: https://launchpad.net/~openstack
>>Post to : openstack@lists.launchpad.net
>>Unsubscribe : https://launchpad.net/~openstack
>>More help   : https://help.launchpad.net/ListHelp
>
>
>
>Confidentiality Notice: This e-mail message (including any attached or
>embedded documents) is intended for the exclusive and confidential use of
>the
>individual or entity to which this message is addressed, and unless
>otherwise
>expressly indicated, is confidential and privileged information of
>Rackspace.
>Any dissemination, distribution or copying of the enclosed material is
>prohibited.
>If you receive this transmission in error, please notify us immediately
>by e-mail
>at ab...@rackspace.com, and delete the original message.
>Your cooperation is appreciated.
>
>
>___
>Mailing list: https://launchpad.net/~openstack
>Post to : openstack@lists.launchpad.net
>Unsubscribe : https://launchpad.net/~openstack
>More help   : https://help.launchpad.net/ListHelp



Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is 
prohibited.
If you receive this transmission in error, please notify us immediately by 
e-mail
at ab...@rackspace.com, and delete the original message.
Your cooperation is appreciated.


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Problem in first application

2011-05-12 Thread abbou khalid
Hi all,

am traying to build my first application in Cloud with Openstack, i use this
tutoriel
http://docs.openstack.org/cactus/openstack-compute/admin/content/running-elastic-web-app-cloud.html
to
run elastic web app in cloud cloud.problem is when i well connect to server
RackspaceCloud is not possible:

root@khalid-virtual-machine:~# euca-describe-instances
[Errno 111] Connection refused
root@khalid-virtual-machine:~#

-- 
  *Abbou Khalid
*
*Etudiant en 3ème année du cycle d'ingénieurs d'Etat
Institut National des Postes et Télécommunications
INPT - Rabat - Maroc*
*E-mail: abbou.khali...@gmail.com
GSM: +212 6 68 64 00 16*
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] PREROUTING 169.254.169.254 rule shoud not on Compute node.......

2011-05-12 Thread Diego Parrilla Santamaría
Hi,

this is an issue in our Multi-Node arquitecture of the Stackops
Openstack Nova Distro. We have not verified 100% yet if it fix the
issue, but I think Hugo has found the reason and the solution, so my
sincere kudos, Hugo.

We will release a maintenance release once we verify that the rules
works fine in our lab.

Regards
-- 
Diego Parrilla
CEO
www.stackops.com |  diego.parri...@stackops.com | +34 649 94 43 29 |
skype:diegoparrilla

 ADVERTENCIA LEGAL 
Le informamos, como destinatario de este mensaje, que el correo
electrónico y las comunicaciones por medio de Internet no permiten
asegurar ni garantizar la confidencialidad de los mensajes
transmitidos, así como tampoco su integridad o su correcta recepción,
por lo que STACKOPS TECHNOLOGIES S.L. no asume responsabilidad alguna
por tales circunstancias. Si no consintiese en la utilización del
correo electrónico o de las comunicaciones vía Internet le rogamos nos
lo comunique y ponga en nuestro conocimiento de manera inmediata. Este
mensaje va dirigido, de manera exclusiva, a su destinatario y contiene
información confidencial y sujeta al secreto profesional, cuya
divulgación no está permitida por la ley. En caso de haber recibido
este mensaje por error, le rogamos que, de forma inmediata, nos lo
comunique mediante correo electrónico remitido a nuestra atención y
proceda a su eliminación, así como a la de cualquier documento adjunto
al mismo. Asimismo, le comunicamos que la distribución, copia o
utilización de este mensaje, o de cualquier documento adjunto al
mismo, cualquiera que fuera su finalidad, están prohibidas por la ley.

* PRIVILEGED AND CONFIDENTIAL 
We hereby inform you, as addressee of this message, that e-mail and
Internet do not guarantee the confidentiality, nor the completeness or
proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES
S.L. does not assume any liability for those circumstances. Should you
not agree to the use of e-mail or to communications via Internet, you
are kindly requested to notify us immediately. This message is
intended exclusively for the person to whom it is addressed and
contains privileged and confidential information protected from
disclosure by law. If you are not the addressee indicated in this
message, you should immediately delete it and any attachments and
notify the sender by reply e-mail. In such case, you are hereby
notified that any dissemination, distribution, copying or use of this
message or any attachments, for any purpose, is strictly prohibited by
law.




On Wed, May 11, 2011 at 4:08 AM, 郭耀謙  wrote:
> Hello , guys
> There's a problem while separate instance's network and nova-management
> network.
> EX.
> Nova management network : 192.168.1.0/24  eth0
> Instance network               :  10.0.0.0/12      eth1 bridge to br100
> During cloud-setup :
> Instance try to retrieve metadata from 169.254.169.254.
> Instances(10.0.0.0/12) request 169.254.169.254 PREROUTING from
> gateway(nova-network).
> But If PREROUTING rule is already been set on nova-Compute node, instance
> request will be redirected on VM host instead of nova-network host.
> So If your topology is like A diadram from StackOps , Plz Check iptables
> rule on Compute nodes.
> -A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT
> --to-destination 192.168.1.2:8773
> And del this rule , your instance will get metadata correctly
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp