Re: [Openstack] Where to add the performance increasing method in openstack

2012-05-24 Thread Nagaraju Bingi
Hi,

Do you mean, node is nothing but compute node right. Then it is straight 
forward you can add your logic scheduler or you can come up with your own 
scheduler algorithm which will take care where to create next instance.
Go through the Good article on Scheduler: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/e93514d3-c4f0-4aa0-8844-497f370090f5/?lang=en

Please let me know for further details the implementation or adding logic to 
existing. I would prefer to write your own scheduler algorithm.

Regards,
Nagaraju B

From: sarath zacharia [mailto:sarathzacha...@gmail.com]
Sent: Thursday, May 24, 2012 10:19 AM
To: Nagaraju Bingi
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Where to add the performance increasing method in 
openstack

Hi
  Yes , We are monitoring the loads on the instances in each node and 
next instances will create in most suitable node ie,
 node have less load

Regards ,

Sarath Zacharia

On Wed, May 23, 2012 at 6:51 PM, Nagaraju Bingi 
nagaraju_bi...@persistent.co.inmailto:nagaraju_bi...@persistent.co.in wrote:
Hi,

Do you mean that your program would monitor the Openstack Instances and check 
the performance and load of nodes according to the number of different 
application running in each instance?
Your program will tell you that which Instance is the best suitable to deploy 
your new application.

Please let me know if I understood correctly.

Regards,
Nagaraju B


From: 
openstack-bounces+nagaraju_bingi=persistent.co...@lists.launchpad.netmailto:persistent.co...@lists.launchpad.net
 
[mailto:openstack-bounces+nagaraju_bingimailto:openstack-bounces%2Bnagaraju_bingi=persistent.co...@lists.launchpad.netmailto:persistent.co...@lists.launchpad.net]
 On Behalf Of sarath zacharia
Sent: Wednesday, May 23, 2012 10:57 AM
To: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Subject: [Openstack] Where to add the performance increasing method in openstack


Hi ,
  We created an performance increasing programe for cloud application.
This programe will check the performance and load of nodes according
to the number of different application running in each node of our cloud 
environment and
it will give which node is more suitable for deploying the next application in 
cloud.
In which service we have to modify in openstack for implementing this 
algoritham ?

note : now our code is in java how we can connect to the nova development 
environment

Yours Sincerly

Sarath Zacharia



DISCLAIMER == This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.



--
with regards

Sarath !

DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
___
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] Where to add the performance increasing method in openstack

2012-05-24 Thread sarath zacharia
Hi ,

  Yes  I mean node as compute node. right now we prepared the new
algorithm and we are on the implementing phase .
Actually we created a program by using that algorithm. Program is developed
by using the java . How we can add that program
to the nova-scheduler .

Regards
Sarath Zacharia


On Thu, May 24, 2012 at 12:27 PM, Nagaraju Bingi 
nagaraju_bi...@persistent.co.in wrote:

  Hi,

 ** **

 Do you mean, node is nothing but compute node right. Then it is straight
 forward you can add your logic scheduler or you can come up with your own
 scheduler algorithm which will take care where to create next instance.***
 *

 Go through the Good article on Scheduler:
 https://www.ibm.com/developerworks/mydeveloperworks/blogs/e93514d3-c4f0-4aa0-8844-497f370090f5/?lang=en
 

 ** **

 Please let me know for further details the implementation or adding logic
 to existing. I would prefer to write your own scheduler algorithm.

 ** **

 Regards,

 Nagaraju B

 ** **

 *From:* sarath zacharia [mailto:sarathzacha...@gmail.com]
 *Sent:* Thursday, May 24, 2012 10:19 AM
 *To:* Nagaraju Bingi
 *Cc:* openstack@lists.launchpad.net
 *Subject:* Re: [Openstack] Where to add the performance increasing method
 in openstack

 ** **

 Hi

   Yes , We are monitoring the loads on the instances in each node
 and next instances will create in most suitable node ie, 

  node have less load

 ** **

 Regards ,

 ** **

 Sarath Zacharia

  

 On Wed, May 23, 2012 at 6:51 PM, Nagaraju Bingi 
 nagaraju_bi...@persistent.co.in wrote:

 Hi,

  

 Do you mean that your program would monitor the Openstack Instances and
 check the performance and load of nodes according to the number of
 different application running in each instance?

 Your program will tell you that which Instance is the best suitable to
 deploy your new application.

  

 Please let me know if I understood correctly.

  

 Regards,

 Nagaraju B

  

  

 *From:* openstack-bounces+nagaraju_bingi=
 persistent.co...@lists.launchpad.net [mailto:
 openstack-bounces+nagaraju_bingi=persistent.co...@lists.launchpad.net] *On
 Behalf Of *sarath zacharia
 *Sent:* Wednesday, May 23, 2012 10:57 AM
 *To:* openstack@lists.launchpad.net
 *Subject:* [Openstack] Where to add the performance increasing method in
 openstack

  


 

 Hi ,

   We created an performance increasing programe for cloud
 application. 

 This programe will check the performance and load of nodes according

 to the number of different application running in each node of our cloud
 environment and

 it will give which node is more suitable for deploying the next
 application in cloud. 

 In which service we have to modify in openstack for implementing this
 algoritham ? 

  

 note : now our code is in java how we can connect to the nova development
 environment

  

 Yours Sincerly

  

 Sarath Zacharia

  

   

 DISCLAIMER == This e-mail may contain privileged and confidential
 information which is the property of Persistent Systems Ltd. It is intended
 only for the use of the individual or entity to which it is addressed. If
 you are not the intended recipient, you are not authorized to read, retain,
 copy, print, distribute or use this message. If you have received this
 communication in error, please notify the sender and delete all copies of
 this message. Persistent Systems Ltd. does not accept any liability for
 virus infected mails.



 

 ** **

 DISCLAIMER == This e-mail may contain privileged and confidential
 information which is the property of Persistent Systems Ltd. It is intended
 only for the use of the individual or entity to which it is addressed. If
 you are not the intended recipient, you are not authorized to read, retain,
 copy, print, distribute or use this message. If you have received this
 communication in error, please notify the sender and delete all copies of
 this message. Persistent Systems Ltd. does not accept any liability for
 virus infected mails.

___
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-compute] vm migration problem

2012-05-24 Thread Razique Mahroua
Yup,our friend smooser prensented ithttp://ubuntu-smoser.blogspot.fr/2010/03/introducing-cloud-inits-cloud-config.html 	   
   	Lorin Hochstein  
  23 mai 2012 19:25Wow, I never knew 
about that package. Are all of those utils compatible with OpenStack? 
Are they documented everywhere? Now that we're adding 
distribution-specific content to the docs, these are probably worth a 
mention in the Ubuntu OpenStack install guide.Take
 care,Lorin--Lorin 
HochsteinLead Architect - Cloud ServicesNimbis 
Services, Inc.www.nimbisservices.com___Mailing
 list: https://launchpad.net/~openstackPost to : 
openstack@lists.launchpad.netUnsubscribe : 
https://launchpad.net/~openstackMore help   : 
https://help.launchpad.net/ListHelp 	   
   	Soren Hansen  
  23 mai 2012 00:08Ubuntu's 
cloud-utils package has a cloud-run-instances utility that doesthis.
  It's not exactly in the do-one-thing-and-do-it-well sort ofcategory,
 but perhaps it's just what you need. 	   
   	Lorin Hochstein  
  21 mai 2012 23:30Has anybody ever written a 
script that grabs the host public key from the instance's console and 
updates the .ssh/config/known_hosts file accordingly, instead of 
throwing away host key checking? That would be a handy little thing if 
it was out there.
Take
 care,Lorin--Lorin 
HochsteinLead Architect - Cloud ServicesNimbis 
Services, Inc.www.nimbisservices.com

___Mailing
 list: https://launchpad.net/~openstackPost to : 
openstack@lists.launchpad.netUnsubscribe : 
https://launchpad.net/~openstackMore help   : 
https://help.launchpad.net/ListHelp 	   
   	Joe Breu  
  21 mai 2012 12:09



Hi Eric,


It would appear that the nova user on one of the compute nodes had 
at one time cached the SSH host key of the other node and now the key 
has changed. You can bypass this by adding the following to 
~nova/.ssh/config on both compute nodes:



Host *
 StrictHostKeyChecking no
 UserKnownHostsFile=/dev/null








---
Joseph Breu
Deployment Engineer
Rackspace Cloud Builders
210-312-3508




On May 21, 2012, at 11:34 AM, Eric Luo wrote:





___Mailing list: 
https://launchpad.net/~openstackPost to : 
openstack@lists.launchpad.netUnsubscribe : 
https://launchpad.net/~openstackMore help   : 
https://help.launchpad.net/ListHelp 	   
   	Eric Luo  
  21 mai 2012 11:34Hello ,all.
I have a two nodes installation . OS1 is the cloud 
controller ,and OS2 is a nova-compute node.I have a vm (name 
as vm1) running on OS1.When I use the command nova 
migrate vm1
The dashboard is showing the vm1 as : status 
:error ,task :Resize
 Prep
I tail ed the nova-compute.log in OS1, and 
found thefollowing error information while running thenova
 migrate vm1 command :
Can someone please explain to me what
 does these error mean ,and what's wrong with myconfig...2012-05-21 17:20:45 ERROR nova.compute.manager 
[req-d0f494cb-e9d6-41d2-b6df-6faa432a644d 
6ffaaedb60c24f5eb888319e1e387d75 0d7a5a12b6f54aa9bff986bf138bc0b7] Unexpected error while running command.
Command: ssh 192.168.0.205 mkdir -p 
/var/lib/nova/instances/instance-000aExit code: 255Stdout:
 ''
Stderr: 'Host key verification failed.\r\n'. 
Setting instance vm_state to ERROR2012-05-21 17:20:45 
ERROR nova.rpc.amqp [req-d0f494cb-e9d6-41d2-b6df-6faa432a644d 
6ffaaedb60c24f5eb888319e1e387d75 0d7a5a12b6f54aa9bff986bf138bc0b7] 
Exception during message handling
2012-05-21 17:20:45 TRACE nova.rpc.amqp Traceback (most recent call
 last):2012-05-21 17:20:45 TRACE nova.rpc.amqp  File 
"/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in 
_process_data
2012-05-21 17:20:45 TRACE nova.rpc.amqp   rval = 
node_func(context=ctxt, **node_args)2012-05-21 17:20:45 TRACE
 nova.rpc.amqp  File 
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in 
wrapped
2012-05-21 17:20:45 TRACE nova.rpc.amqp   return f(*args, **kw)2012-05-21
 17:20:45 TRACE nova.rpc.amqp  File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 153, in
 decorated_function
2012-05-21 17:20:45 TRACE nova.rpc.amqp   function(self, context,
 instance_uuid, *args, **kwargs)2012-05-21 17:20:45 TRACE 
nova.rpc.amqp  File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in
 decorated_function
2012-05-21 17:20:45 TRACE nova.rpc.amqp   sys.exc_info())2012-05-21
 17:20:45 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/contextlib.py",
 line 24, in __exit__2012-05-21 17:20:45 TRACE nova.rpc.amqp 
  self.gen.next()
2012-05-21 17:20:45 TRACE nova.rpc.amqp  File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in
 decorated_function2012-05-21 17:20:45 TRACE nova.rpc.amqp  
 return function(self, context, instance_uuid, *args, **kwargs)
2012-05-21 17:20:45 TRACE nova.rpc.amqp  File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1330, 
in resize_instance2012-05-21 17:20:45 TRACE nova.rpc.amqp  
 

Re: [Openstack] Where to add the performance increasing method in openstack

2012-05-24 Thread hitesh wadekar
I think there are some people working on scheduler algorithm,

May be you can ask Vishy, he will be the best person to give an answer.

Can you cover that program into Python? I think using Jython we can embed
java code in python, I am not sure about it.

Thanks,
Hitesh



On Thu, May 24, 2012 at 12:49 PM, sarath zacharia
sarathzacha...@gmail.comwrote:

 Hi ,

   Yes  I mean node as compute node. right now we prepared the new
 algorithm and we are on the implementing phase .
 Actually we created a program by using that algorithm. Program is
 developed by using the java . How we can add that program
 to the nova-scheduler .

 Regards
 Sarath Zacharia


 On Thu, May 24, 2012 at 12:27 PM, Nagaraju Bingi 
 nagaraju_bi...@persistent.co.in wrote:

  Hi,

 ** **

 Do you mean, node is nothing but compute node right. Then it is straight
 forward you can add your logic scheduler or you can come up with your own
 scheduler algorithm which will take care where to create next instance.**
 **

 Go through the Good article on Scheduler:
 https://www.ibm.com/developerworks/mydeveloperworks/blogs/e93514d3-c4f0-4aa0-8844-497f370090f5/?lang=en
 

 ** **

 Please let me know for further details the implementation or adding logic
 to existing. I would prefer to write your own scheduler algorithm.

 ** **

 Regards,

 Nagaraju B

 ** **

 *From:* sarath zacharia [mailto:sarathzacha...@gmail.com]
 *Sent:* Thursday, May 24, 2012 10:19 AM
 *To:* Nagaraju Bingi
 *Cc:* openstack@lists.launchpad.net
 *Subject:* Re: [Openstack] Where to add the performance increasing
 method in openstack

 ** **

 Hi

   Yes , We are monitoring the loads on the instances in each node
 and next instances will create in most suitable node ie, 

  node have less load

 ** **

 Regards ,

 ** **

 Sarath Zacharia

  

 On Wed, May 23, 2012 at 6:51 PM, Nagaraju Bingi 
 nagaraju_bi...@persistent.co.in wrote:

 Hi,

  

 Do you mean that your program would monitor the Openstack Instances and
 check the performance and load of nodes according to the number of
 different application running in each instance?

 Your program will tell you that which Instance is the best suitable to
 deploy your new application.

  

 Please let me know if I understood correctly.

  

 Regards,

 Nagaraju B

  

  

 *From:* openstack-bounces+nagaraju_bingi=
 persistent.co...@lists.launchpad.net [mailto:
 openstack-bounces+nagaraju_bingi=persistent.co...@lists.launchpad.net] *On
 Behalf Of *sarath zacharia
 *Sent:* Wednesday, May 23, 2012 10:57 AM
 *To:* openstack@lists.launchpad.net
 *Subject:* [Openstack] Where to add the performance increasing method in
 openstack

  


 

 Hi ,

   We created an performance increasing programe for cloud
 application. 

 This programe will check the performance and load of nodes according

 to the number of different application running in each node of our cloud
 environment and

 it will give which node is more suitable for deploying the next
 application in cloud. 

 In which service we have to modify in openstack for implementing this
 algoritham ? 

  

 note : now our code is in java how we can connect to the nova development
 environment

  

 Yours Sincerly

  

 Sarath Zacharia

  

   

 DISCLAIMER == This e-mail may contain privileged and confidential
 information which is the property of Persistent Systems Ltd. It is intended
 only for the use of the individual or entity to which it is addressed. If
 you are not the intended recipient, you are not authorized to read, retain,
 copy, print, distribute or use this message. If you have received this
 communication in error, please notify the sender and delete all copies of
 this message. Persistent Systems Ltd. does not accept any liability for
 virus infected mails.



 

 ** **

 DISCLAIMER == This e-mail may contain privileged and confidential
 information which is the property of Persistent Systems Ltd. It is intended
 only for the use of the individual or entity to which it is addressed. If
 you are not the intended recipient, you are not authorized to read, retain,
 copy, print, distribute or use this message. If you have received this
 communication in error, please notify the sender and delete all copies of
 this message. Persistent Systems Ltd. does not accept any liability for
 virus infected mails.




 ___
 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   : 

Re: [Openstack] devstack multi-node tutorial fails

2012-05-24 Thread Razique Mahroua
Hey,no you don't need to, the only case where the SSH 
exchange is mandatory is for the [live|classi] migrationRaz 	   
   	Mauch, Viktor (SCC)  
  23 mai 2012 16:31Another thing:Is it really necessary to
 implement password-less ssh login via .ssh/authorized_keys?For me it works without 
it.ViktorFrom: Razique Mahroua [mailto:razique.mahr...@gmail.com] Sent:
 Wednesday, May 23, 2012 4:28 PMTo: Mauch, Viktor (SCC)Cc:
 openstack@lists.launchpad.netSubject: Re: [Openstack] 
devstack multi-node tutorial failsThanks for the feedbackas for the 
multi_node mode, no it supposes you spawn a nova-network component on 
every compute nodeRaziqueMauch, Viktor (SCC)23 mai 2012 16:00Hi,I just want so 
say, that some days ago the stack.sh script hast been changed concerning
 the rabbit server installation.The 
current description for multi node tutorial (http://devstack.org/guides/multinode-lab.html)
 will fail.At the moment it is necessary to install the rabbit 
service on the compute hosts TOO (but of course with the IP from the 
master node)!!e.g.:ENABLED_SERVICES=n-cpu,n-net,g-api,rabbitRABBIT_HOST=$MASTERNODERABBIT_PASSWORD=passOtherwise 
the compute node tries to find a rabbit-mq server on localhost!There are 
also some other wrong details in the multi-node toturial.It must be:RABBIT_PASSWORD
 and MYSQL_PASSWORD instead of MYSQL_PASS und RABBIT_PASSUnd the 
parameter MULTI_HOST=1 has to be change to MULTI_HOST=True (and should 
only be available on the master node, as I understand it right).Cheers 
Viktor--Dipl.-Phys. 
Viktor MauchSteinbuch Centre for Computing (SCC)http://www.scc.kit.edu/Karlsruhe 
Institute of Technology (KIT)Hermann-von-Helmholtz-Platz 1D-76344 Eggenstein-LeopoldshafenPhone: +49(0)721 608-28721eMail: ma...@kit.eduKIT  University 
of the State of Baden-Wuerttemberg and National Research Center of the 
Helmholtz Association___Mailing
 list: https://launchpad.net/~openstackPost
 to : openstack@lists.launchpad.netUnsubscribe
 : https://launchpad.net/~openstackMore
 help : https://help.launchpad.net/ListHelp-- Nuage  Co - Razique Mahroua razique.mahr...@gmail.com  	   
   	Razique Mahroua  
  23 mai 2012 16:27

Thanks for the feedbackas for the multi_node mode, no it 
supposes you spawn a nova-network component on every compute nodeRazique-- Nuage  Co - Razique Mahroua 
razique.mahr...@gmail.com















___
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] Where to add the performance increasing method in openstack

2012-05-24 Thread Nagaraju Bingi
Hi,

Please go through http://jpype.sourceforge.net/ for including Java program from 
python.

Regards,
Nagaraju B


From: sarath zacharia [mailto:sarathzacha...@gmail.com]
Sent: Thursday, May 24, 2012 12:49 PM
To: Nagaraju Bingi
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Where to add the performance increasing method in 
openstack

Hi ,

  Yes  I mean node as compute node. right now we prepared the new 
algorithm and we are on the implementing phase .
Actually we created a program by using that algorithm. Program is developed by 
using the java . How we can add that program
to the nova-scheduler .

Regards
Sarath Zacharia


On Thu, May 24, 2012 at 12:27 PM, Nagaraju Bingi 
nagaraju_bi...@persistent.co.inmailto:nagaraju_bi...@persistent.co.in wrote:
Hi,

Do you mean, node is nothing but compute node right. Then it is straight 
forward you can add your logic scheduler or you can come up with your own 
scheduler algorithm which will take care where to create next instance.
Go through the Good article on Scheduler: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/e93514d3-c4f0-4aa0-8844-497f370090f5/?lang=en

Please let me know for further details the implementation or adding logic to 
existing. I would prefer to write your own scheduler algorithm.

Regards,
Nagaraju B

From: sarath zacharia 
[mailto:sarathzacha...@gmail.commailto:sarathzacha...@gmail.com]
Sent: Thursday, May 24, 2012 10:19 AM
To: Nagaraju Bingi
Cc: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Subject: Re: [Openstack] Where to add the performance increasing method in 
openstack

Hi
  Yes , We are monitoring the loads on the instances in each node and 
next instances will create in most suitable node ie,
 node have less load

Regards ,

Sarath Zacharia

On Wed, May 23, 2012 at 6:51 PM, Nagaraju Bingi 
nagaraju_bi...@persistent.co.inmailto:nagaraju_bi...@persistent.co.in wrote:
Hi,

Do you mean that your program would monitor the Openstack Instances and check 
the performance and load of nodes according to the number of different 
application running in each instance?
Your program will tell you that which Instance is the best suitable to deploy 
your new application.

Please let me know if I understood correctly.

Regards,
Nagaraju B


From: 
openstack-bounces+nagaraju_bingi=persistent.co...@lists.launchpad.netmailto:persistent.co...@lists.launchpad.net
 
[mailto:openstack-bounces+nagaraju_bingimailto:openstack-bounces%2Bnagaraju_bingi=persistent.co...@lists.launchpad.netmailto:persistent.co...@lists.launchpad.net]
 On Behalf Of sarath zacharia
Sent: Wednesday, May 23, 2012 10:57 AM
To: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Subject: [Openstack] Where to add the performance increasing method in openstack


Hi ,
  We created an performance increasing programe for cloud application.
This programe will check the performance and load of nodes according
to the number of different application running in each node of our cloud 
environment and
it will give which node is more suitable for deploying the next application in 
cloud.
In which service we have to modify in openstack for implementing this 
algoritham ?

note : now our code is in java how we can connect to the nova development 
environment

Yours Sincerly

Sarath Zacharia



DISCLAIMER == This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.



DISCLAIMER == This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.


DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Re: [Openstack] Where to add the performance increasing method in openstack

2012-05-24 Thread Nagaraju Bingi
Hi,

Let me know if anything requires on scheduler.

Regards,
Nagaraju B

From: Hitesh wadekar [mail to:]
Sent: Thursday, May 24, 2012 1:26 PM
To: sarath zacharia
Cc: Nagaraju Bingi; openstack@lists.launchpad.net
Subject: Re: [Openstack] Where to add the performance increasing method in 
openstack

I think there are some people working on scheduler algorithm,

May be you can ask Vishy, he will be the best person to give an answer.

Can you cover that program into Python? I think using Jython we can embed java 
code in python, I am not sure about it.

Thanks,
Hitesh


On Thu, May 24, 2012 at 12:49 PM, sarath zacharia 
sarathzacha...@gmail.commailto:sarathzacha...@gmail.com wrote:
Hi ,

  Yes  I mean node as compute node. right now we prepared the new 
algorithm and we are on the implementing phase .
Actually we created a program by using that algorithm. Program is developed by 
using the java . How we can add that program
to the nova-scheduler .

Regards
Sarath Zacharia


On Thu, May 24, 2012 at 12:27 PM, Nagaraju Bingi 
nagaraju_bi...@persistent.co.inmailto:nagaraju_bi...@persistent.co.in wrote:
Hi,

Do you mean, node is nothing but compute node right. Then it is straight 
forward you can add your logic scheduler or you can come up with your own 
scheduler algorithm which will take care where to create next instance.
Go through the Good article on Scheduler: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/e93514d3-c4f0-4aa0-8844-497f370090f5/?lang=en

Please let me know for further details the implementation or adding logic to 
existing. I would prefer to write your own scheduler algorithm.

Regards,
Nagaraju B

From: sarath zacharia 
[mailto:sarathzacha...@gmail.commailto:sarathzacha...@gmail.com]
Sent: Thursday, May 24, 2012 10:19 AM
To: Nagaraju Bingi
Cc: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Subject: Re: [Openstack] Where to add the performance increasing method in 
openstack

Hi
  Yes , We are monitoring the loads on the instances in each node and 
next instances will create in most suitable node ie,
 node have less load

Regards ,

Sarath Zacharia

On Wed, May 23, 2012 at 6:51 PM, Nagaraju Bingi 
nagaraju_bi...@persistent.co.inmailto:nagaraju_bi...@persistent.co.in wrote:
Hi,

Do you mean that your program would monitor the Openstack Instances and check 
the performance and load of nodes according to the number of different 
application running in each instance?
Your program will tell you that which Instance is the best suitable to deploy 
your new application.

Please let me know if I understood correctly.

Regards,
Nagaraju B


From: 
openstack-bounces+nagaraju_bingi=persistent.co...@lists.launchpad.netmailto:persistent.co...@lists.launchpad.net
 
[mailto:openstack-bounces+nagaraju_bingimailto:openstack-bounces%2Bnagaraju_bingi=persistent.co...@lists.launchpad.netmailto:persistent.co...@lists.launchpad.net]
 On Behalf Of sarath zacharia
Sent: Wednesday, May 23, 2012 10:57 AM
To: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Subject: [Openstack] Where to add the performance increasing method in openstack


Hi ,
  We created an performance increasing programe for cloud application.
This programe will check the performance and load of nodes according
to the number of different application running in each node of our cloud 
environment and
it will give which node is more suitable for deploying the next application in 
cloud.
In which service we have to modify in openstack for implementing this 
algoritham ?

note : now our code is in java how we can connect to the nova development 
environment

Yours Sincerly

Sarath Zacharia



DISCLAIMER == This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.



DISCLAIMER == This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.


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

[Openstack] Greatest deployment?

2012-05-24 Thread SoLa
Hello,

Few days ago I read something about OpenNebula,it's the main competitor in
open source for Openstack, beside Eucalyptus, as far as i know. I found (
http://blog.opennebula.org) something about tens of thousands of VMs and
OpenNebula's performance (maybe CERN has such huge deployment, who knows
they didn't mention that) and I'm just wondering what about Openstack
performance. Can anyone praise about biggest deployments? How many VMs can
Openstack actually supervise? Any large-scale achievements?

OpenNebula has also this advantage, for me, that it's designed also to
provide scientific cloud and it's used by few research centres and even
supercomputing centres. How about Openstack? Anyone tried deploy it in
supercomputing environment? Maybe huge cluster or GPU cluster or any other
scientific group is using Openstack? Is anyone using Openstack in scentific
environement or Openstack's purpose is to create commercial only cloud
(business - large and small companies)?

Btw. I've read some time ago about Openstack presentation at CERN (I've
just briefly looked at it - link
CERN?http://indico.cern.ch/conferenceDisplay.py?confId=175809),
maybe it's good idea to think also about scientific use cases?

Cheers,
___
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] Greatest deployment?

2012-05-24 Thread Thierry Carrez
SoLa wrote:
 Few days ago I read something about OpenNebula,it's the main competitor
 in open source for Openstack, beside Eucalyptus, as far as i know.

OpenNebula and Eucalyptus (as well as CloudStack) are alternative
solutions in the open source IaaS Compute space. Note that OpenStack
provides more than just IaaS Compute feature (Nova), it also addresses
object storage (Swift), or network (Quantum)...

 I
 found (http://blog.opennebula.org) something about tens of thousands of
 VMs and OpenNebula's performance (maybe CERN has such huge deployment,
 who knows they didn't mention that) and I'm just wondering what about
 Openstack performance. Can anyone praise about biggest deployments? How
 many VMs can Openstack actually supervise? Any large-scale achievements?

OpenStack is being used to power public clouds (HP, Rackspace, ATT,
Internap, Korea Telecom, SDSC...). Those are unfortunately notoriously
shy at sharing size numbers :)

 OpenNebula has also this advantage, for me, that it's designed also to
 provide scientific cloud and it's used by few research centres and even
 supercomputing centres. How about Openstack? Anyone tried deploy it in
 supercomputing environment? Maybe huge cluster or GPU cluster or any
 other scientific group is using Openstack? Is anyone using Openstack in
 scentific environement or Openstack's purpose is to create commercial
 only cloud (business - large and small companies)?

OpenStack is being used in a number of research clouds, including NeCTAR
(Australia's national research cloud). There is huge interest around
bridging the gap there, with companies like Nimbis or Bull being involved.

Hopefully people with more information than I have will comment on this
thread.

-- 
Thierry Carrez (ttx)
Release Manager, OpenStack

___
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] Unused code in Nova [was Re: Quota classes]

2012-05-24 Thread Mark McLoughlin
On Fri, 2012-03-30 at 10:40 -0500, Kevin L. Mitchell wrote:
 On Fri, 2012-03-30 at 08:31 -0400, Eoghan Glynn wrote:
  A couple of quick questions on how this quota class mechanism is
  intended to work ...
  
  - how is the mapping between project and quota-class established?
I was expecting a project_quota_class_association table or
some-such in the nova DB. Is this association maintained by
keystone instead?
  
  - is the quota_class attribute currently being set on the request
context anywhere in the dispatch path? Is the idea that the auth
middleware takes care of this? 
 
 The basic answer is that there isn't anything in nova right now that
 does this, partly because it's a slightly difficult question to answer
 correctly for everyone.  In my testing environment, for instance, I use
 a Turnstile preprocessor to set the quota_class attribute on the request
 context to be the same as the selected rate limit class.
 
 I envisioned that, ultimately, the quota_class would be set by the
 authentication processing middleware(s), but I'm not against adding an
 association to nova to manage that.

So, I'm looking into the quotas code properly for the first time while
reviewing one of the quota refactor patches and I come across the
quota_class property on RequestContext

My last 45 minutes have been:

  Where is quota_class being set? Nowhere in Nova, really? Let's double,
  triple check that.

  Maybe the auth token middleware is setting it? Nope.

  Well, let's look back through the git log and see if it was ever 
  being set. Nope, even the commit which initially added it doesn't set
  it.

  Hmm, the commit which adds quota classes doesn't reference a 
  blueprint. Ok, let's google quota classes. Ah, a thread with the 
  blueprint which helps hugely and a similar question from Eoghan. Ah,
  Eoghan has also filed:

https://bugs.launchpad.net/nova/+bug/969537

  So, turnstile is setting this? More googling turns up:

https://lists.launchpad.net/openstack/msg09322.html

  Ok, dig into turnstile and nova_limits. Nope, they're not setting it 
  either. Poke around Kevin's github repo and discover rs_limits:

https://github.com/klmitch/rs_limits
  Rackspace-specific Rate Limit Preprocessor for Turnstile

  Ah! Now I see. This is code added specifically for a Rackspace 
  specific plugin!


Now, there are some positives here - the blueprint, discussions on the
mailing list, the launchpad bug, that turnstile and co. are in github,
etc. means it was actually possible to figure this out. Awesome,
seriously.

But ... please. Pretty please. Can we avoid adding unused code to Nova?
At the very least, can we document in the code why unused stuff has been
added?

Cheers,
Mark.


___
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] [Nova] Getting error when injecting data into an image

2012-05-24 Thread Patrick Petit
Hi,
I am getting the following error when running

$ nova boot myserver --flavor 2 --key_name mykey --image
661bbe35-ebe5-4614-bdb2-3259ea507934

+-+--+

|   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-0005|
| OS-EXT-STS:power_state  |
0|
| OS-EXT-STS:task_state   |
scheduling   |
| OS-EXT-STS:vm_state |
building |
| accessIPv4
|  |
| accessIPv6
|  |
| adminPass   |
mAnfCStaqWT2 |
| config_drive
|  |
| created |
2012-05-23T13:49:12Z |
| flavor  |
m1.small |
| hostId
|  |
| id  |
18cde301-e8c9-4721-928b-cd0daf63a4f0 |
| image   |
f16-jeos |
| key_name|
mykey|
| metadata|
{}   |
| name|
myserver |
| progress|
0|
| status  |
BUILD|
| tenant_id   |
873855379940442797e53f2fa437893f |
| updated |
2012-05-23T13:49:13Z |
| user_id |
5677a018b8924cc58f993101c3024794 |
+-+--+



The image was obtained from following the Getting Started with OpenStack on
Fedora 17 tutorial (
http://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17).
So, I guess I am not the only one using it.

$ glance index

ID   Name   Disk
Format  Container Format Size

 --
  --

661bbe35-ebe5-4614-bdb2-3259ea507934 f16-jeos
qcow2ovf   213581824

c15e90f2-e73e-4987-ad7a-11d87403012e cirros-0.3.0-x86_64-ari
ari  ari 2254249

68ad4ece-6a56-4ac8-b112-1dd69283ea83 cirros-0.3.0-x86_64-ami
ami  ami25165824

6f5d8022-2dfe-406d-b391-fa0e48c175f3 cirros-0.3.0-x86_64-aki
aki  aki 4731440


This is running on Nova Essex on Fedora 16.
After a while I get:

$ nova list

+--+--++--+

|  ID  |   Name   | Status |
Networks |
+--+--++--+

| 18cde301-e8c9-4721-928b-cd0daf63a4f0 | myserver | ERROR  |
demonet=10.0.0.2 |
+--+--++--+



And so the log:

2012-05-23 15:50:12 INFO nova.virt.libvirt.connection [-] Compute_service
record updated for fedora.localdomain

2012-05-23 15:50:35 WARNING nova.virt.libvirt.connection
[req-dd9a661c-94d3-42e4-b7ba-699c7b41def4 5677a018b8924cc58f993101c3024794
873855379940442797e53f2fa437893f] [instance:
18cde301-e8c9-4721-928b-cd0daf63a4f0] Ignoring error injecting data into
image 661bbe35-ebe5-4614-bdb2-3259ea507934 (

-- 

Failed to mount filesystem: Unexpected error while running command.

Command: sudo nova-rootwrap mount /dev/mapper/nbd15p1 /tmp/tmpM9dOLC

Exit code: 32

Stdout: ''

Stderr: 'mount: you must specify the filesystem type\n'

-- 

Failed to mount filesystem: Unexpected error while running command.

Command: sudo nova-rootwrap guestmount --rw -a
/var/lib/nova/instances/instance-0005/disk -m /dev/sda1 /tmp/tmpM9dOLC

Exit code: 1

Stdout: ''

Stderr: libguestfs: error: mount_options: /dev/vda1 on /: mount: you must
specify the filesystem type\n/usr/bin/guestmount: '/dev/sda1' could not be
mounted.  Did you mean one of these?\n\t/dev/sda1 (unknown)\n\t/dev/sda2
(ext4)\n)


Note that I get the same error with other images, so it's not specific to
f16-jeos. I am confused by this error. If the nova-rootwrap had to specify
a filesystem type for the mount to succeed that would be a longtime known

[Openstack] Can't ssh into instance

2012-05-24 Thread Leander Bessa Beernaert
Hello,

I'm having trouble sshing into the created instances. At first i was
getting the following error:

ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p1
 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


I then proceeded to reboot the machine and all it's services. However, now
i can't even get that far. I'm alway faced with a connection refused.

I've added the permissions for port 22 and icmp in the default security
group and i'm also able to ping the instances.

I'm using the openstack packages provided with ubuntu 12.04.

Regards,

Leander
___
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] [Glance] Using HTTP PATCH

2012-05-24 Thread Mark Nottingham

On 24/05/2012, at 6:22 AM, Brian Waldon wrote:

 Hey guys,
 
 I'm considering using PATCH rather than PUT for image updates in the v2 Image 
 API, but I wanted to make sure there weren't any major blockers that I might 
 be missing. As far as I can tell, the python libraries we use in Glance 
 support it (httplib2, requests). However, I discovered that Squid doesn't 
 document official support of the method: 
 http://wiki.squid-cache.org/SquidFaq/SquidLogs.

Oh, how embarrassment. I'll get that fixed ASAP.


 I wanted to ask if there are any other key infrastructure pieces that 
 foolishly hard-code request methods like this. It might make us want to 
 rethink using PATCH at all.

You've found the major one above; there are probably a few over-zealous 
inspecting firewalls out there as well, but given that this'll run over TLS 
(right?), neither Squid or any other such intermediary should be a problem 
(they could be deployed for SSL termination and/or as reverse proxies, but 
Squid, at least, can be configured to accept new methods 
http://www.squid-cache.org/Versions/v3/3.0/cfgman/extension_methods.html).

The other limitation is having defined and registered patch formats. The IETF 
is currently working on one for JSON; it should be progressing soon. 
http://tools.ietf.org/html/draft-ietf-appsawg-json-patch

Cheers,


--
Mark Nottingham   http://www.mnot.net/




___
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] Getting error when injecting data into an image

2012-05-24 Thread Pádraig Brady
On 05/24/2012 11:38 AM, Patrick Petit wrote:
 Hi,
 I am getting the following error when running
 
 $ nova boot myserver --flavor 2 --key_name mykey --image 
 661bbe35-ebe5-4614-bdb2-3259ea507934
 
 +-+--+
 |   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-0005|
 | OS-EXT-STS:power_state  | 0|
 | OS-EXT-STS:task_state   | scheduling   |
 | OS-EXT-STS:vm_state | building |
 | accessIPv4  |  |
 | accessIPv6  |  |
 | adminPass   | mAnfCStaqWT2 |
 | config_drive|  |
 | created | 2012-05-23T13:49:12Z |
 | flavor  | m1.small |
 | hostId  |  |
 | id  | 18cde301-e8c9-4721-928b-cd0daf63a4f0 |
 | image   | f16-jeos |
 | key_name| mykey|
 | metadata| {}   |
 | name| myserver |
 | progress| 0|
 | status  | BUILD|
 | tenant_id   | 873855379940442797e53f2fa437893f |
 | updated | 2012-05-23T13:49:13Z |
 | user_id | 5677a018b8924cc58f993101c3024794 |
 +-+--+
 
 
 The image was obtained from following the Getting Started with OpenStack on 
 Fedora 17 tutorial 
 (http://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17). 
 So, I guess I am not the only one using it.
 
 $ glance index
 
 ID   Name   Disk 
 Format  Container Format Size
 
  -- 
   --
 
 661bbe35-ebe5-4614-bdb2-3259ea507934 f16-jeos   qcow2 
ovf   213581824
 
 c15e90f2-e73e-4987-ad7a-11d87403012e cirros-0.3.0-x86_64-ariari   
ari 2254249
 
 68ad4ece-6a56-4ac8-b112-1dd69283ea83 cirros-0.3.0-x86_64-amiami   
ami25165824
 
 6f5d8022-2dfe-406d-b391-fa0e48c175f3 cirros-0.3.0-x86_64-akiaki   
aki 4731440
 
 
 This is running on Nova Essex on Fedora 16.
 After a while I get:
 
 $ nova list
 
 +--+--++--+
 |  ID  |   Name   | Status | Networks 
 |
 +--+--++--+
 | 18cde301-e8c9-4721-928b-cd0daf63a4f0 | myserver | ERROR  | demonet=10.0.0.2 
 |
 +--+--++--+
 
 
 And so the log:
 
 2012-05-23 15:50:12 INFO nova.virt.libvirt.connection [-] Compute_service 
 record updated for fedora.localdomain
 
 2012-05-23 15:50:35 WARNING nova.virt.libvirt.connection 
 [req-dd9a661c-94d3-42e4-b7ba-699c7b41def4 5677a018b8924cc58f993101c3024794 
 873855379940442797e53f2fa437893f] [instance: 
 18cde301-e8c9-4721-928b-cd0daf63a4f0] Ignoring error injecting data into 
 image 661bbe35-ebe5-4614-bdb2-3259ea507934 (
 
 -- 
 
 Failed to mount filesystem: Unexpected error while running command.
 
 Command: sudo nova-rootwrap mount /dev/mapper/nbd15p1 /tmp/tmpM9dOLC
 
 Exit code: 32
 
 Stdout: ''
 
 Stderr: 'mount: you must specify the filesystem type\n'
 
 -- 
 
 Failed to mount filesystem: Unexpected error while running command.
 
 Command: sudo nova-rootwrap guestmount --rw -a 
 /var/lib/nova/instances/instance-0005/disk -m /dev/sda1 /tmp/tmpM9dOLC
 
 Exit code: 1
 
 Stdout: ''
 
 Stderr: libguestfs: error: mount_options: /dev/vda1 on /: mount: you must 
 specify the filesystem type\n/usr/bin/guestmount: 

Re: [Openstack] [metering] high-level design proposal

2012-05-24 Thread Doug Hellmann
On Thu, May 24, 2012 at 12:36 AM, Nick Barcet nick.bar...@canonical.comwrote:

 On 05/22/2012 07:15 PM, Doug Hellmann wrote:
 
 
  On Tue, May 22, 2012 at 1:25 PM, Nick Barcet nick.bar...@canonical.com
  mailto:nick.bar...@canonical.com wrote:
 
  On 05/22/2012 03:26 PM, Doug Hellmann wrote:
   - In addition to a signature, I think we would need a
  sequence number
   to be embedded by the agent for each message sent, so that
 loss of
   messages, or forgery of messages, can be detected by the
  collector and
   further audit process.
  
  
   OK. We have a message id, but I assumed those would be used to
  eliminate
   duplicates so this sounds like something different or new. It
 implies
   that the agent knows its own id (not hard) and keeps up with a
  sequence
   counter (more difficult, though not impossible). Did you have
  something
   in mind for how to implement that?
 
  Actually, this was my intent in the original blueprint when I
 specified
  the message_id field then a couple lines bellow: a process may
 verify
  that messages were not lost.  On the implementation side, I was
  thinking that each agent would maintain its own sequence count, as a
  global instance count would be pricier.  In my mind, non repudiation
 was
  built from the message_signature + message_id which should be unique
 for
  each agent.
 
 
  OK. That brings a couple of more specific questions to mind:
 
  Does the agent save its sequence counter through a restart? How and
  where? What about an upgrade?

 Seems easily stored locally.

  What would the down-stream consumer of the data do if it discovered
  there was a missing event? Who should do that detection work?

 Not sure we need to worry about auditing process yet, just make sure
 that we provide necessary the necessary information to do proper
 auditing.  In principle, an audit process could then trigger an alert
 for further investigation of the issue.


OK. As James (I think) pointed out in another message and I verified
yesterday, the libvirt data is cumulative, so for those counters at least
we don't need to worry about missing an event. On the other hand, that fact
complicates the API a bit because the sum for disk I/O is not the
addition of all of the events in the database but the volume value from the
most recent event. We may need per-counter logic behind the API to perform
the correct query if some of the counters are cumulative and some are
incremental.

Doug
___
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] [OpenStack][Keystone]Does legacy_auth v1.0 exist in Keystone Essex ?

2012-05-24 Thread Rafael Durán Castañeda

Re-sending to list, since I think I've got this by mistake:

On 05/24/2012 12:42 PM, Kuo Hugo wrote:

*Thanks for all . *
*
*
*I checked several parts of legacy_auth. *
*
*
*There're some requirements of legacy_auth. We do not want to hack 
exist essex code though. *

*
*
*We're considering to add a filter in keystone's pipline. While the 
API point to /v1.0 . Route to /v2.0/tokens . And transfer incoming 
headers to a json format. *
*After that , the middle-ware retrieve token and swift-proxy 
public_url transfer into *

*X-AUTH-TOKEN*
*and *
*X-Storage-Url *
*return to user. *
*
*
*But there's still has an issue. what should be the tenant of /v1.0 
request? *

*
*
*In Legacy_AUTH , the user's default tenant associate with user under 
Users table. *

*
*
*Should we keep this method , or pick up the first one tenant of user 
from Essex's metadata table?*




___
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] [Glance] Using HTTP PATCH

2012-05-24 Thread Brian Waldon

On May 24, 2012, at 4:12 AM, Mark Nottingham wrote:

 The other limitation is having defined and registered patch formats. The IETF 
 is currently working on one for JSON; it should be progressing soon. 
 http://tools.ietf.org/html/draft-ietf-appsawg-json-patch

I guess I haven't done enough research on PATCH, as I hadn't discovered this 
yet. I was just planning on using the method to be more semantically correct: 
allowing requests with a content-type of application/json and a partial 
representation of an entity. Is there anything about PATCH that would disallow 
that? 

Waldon
___
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] [Glance] Using HTTP PATCH

2012-05-24 Thread Mark Nottingham

On 24/05/2012, at 10:06 PM, Brian Waldon wrote:

 
 On May 24, 2012, at 4:12 AM, Mark Nottingham wrote:
 
 The other limitation is having defined and registered patch formats. The 
 IETF is currently working on one for JSON; it should be progressing soon. 
 http://tools.ietf.org/html/draft-ietf-appsawg-json-patch
 
 I guess I haven't done enough research on PATCH, as I hadn't discovered this 
 yet. I was just planning on using the method to be more semantically correct: 
 allowing requests with a content-type of application/json and a partial 
 representation of an entity. Is there anything about PATCH that would 
 disallow that? 


Yes, very much so. See:

  http://www.rfc-editor.org/errata_search.php?rfc=5789

Cheers,


--
Mark Nottingham   http://www.mnot.net/




___
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] Can't ssh into instance

2012-05-24 Thread Anton Haldin
t can be an issue on OS side in instance ?

do you have vnc access for this instance?


On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i was
 getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services. However, now
 i can't even get that far. I'm alway faced with a connection refused.

 I've added the permissions for port 22 and icmp in the default security
 group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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


Re: [Openstack] Can't ssh into instance

2012-05-24 Thread Leander Bessa Beernaert
No, at the moment the vnc console isn't working yet. I haven't gotten that
far yet.

On Thu, May 24, 2012 at 1:29 PM, Anton Haldin ahal...@griddynamics.comwrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i was
 getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services. However,
 now i can't even get that far. I'm alway faced with a connection refused.

 I've added the permissions for port 22 and icmp in the default security
 group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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


Re: [Openstack] Can't ssh into instance

2012-05-24 Thread Anton Haldin
you can try to look in  console.log for this instance



On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't gotten that
 far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin ahal...@griddynamics.comwrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i was
 getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services. However,
 now i can't even get that far. I'm alway faced with a connection refused.

 I've added the permissions for port 22 and icmp in the default security
 group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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


Re: [Openstack] Greatest deployment?

2012-05-24 Thread John Paul Walters
Hi,

On May 24, 2012, at 5:45 AM, Thierry Carrez wrote:

 
 
 OpenNebula has also this advantage, for me, that it's designed also to
 provide scientific cloud and it's used by few research centres and even
 supercomputing centres. How about Openstack? Anyone tried deploy it in
 supercomputing environment? Maybe huge cluster or GPU cluster or any
 other scientific group is using Openstack? Is anyone using Openstack in
 scentific environement or Openstack's purpose is to create commercial
 only cloud (business - large and small companies)?
 
 OpenStack is being used in a number of research clouds, including NeCTAR
 (Australia's national research cloud). There is huge interest around
 bridging the gap there, with companies like Nimbis or Bull being involved.
 
 Hopefully people with more information than I have will comment on this
 thread.
 
 
We're developing GPU, bare metal, and large SMP (think SGI UV) support for 
Openstack and we're targeting HPC/scientific computing workloads.  It's a work 
in progress, but we have people using our code and we're talking to folks about 
getting our code onto nodes within FutureGrid.  We have GPU support for LXC 
right now, and we're working on adding support for other hypervisors as well.  
We're also working on getting the code into shape for merging upstream, some of 
which (the bare metal work) has already been done.  We had an HPC session at 
the most recent Design Summit, and it was well-attended with lots of great 
input.  If there are specific features that you're looking for, we'd love to 
hear about it.  

By the way, all of our code is available at https://github.com/usc-isi/nova, so 
if you'd like to try it out before it gets merged upstream, go for it.

best,
JP


___
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] Getting error when injecting data into an image

2012-05-24 Thread Anton Haldin
you can try to check permissions on this file .

and ... do you have selinux enabled on this machine ?


On Thu, May 24, 2012 at 4:26 PM, Patrick Petit 
patrick.michel.pe...@gmail.com wrote:

 Hi Pádraig,

 Thank you for your reply.

 I am not running
 http://repos.fedorapeople.org/repos/apevec/openstack-preview/fedora-16/

 but


 http://repos.fedorapeople.org/repos/apevec/openstack-preview/fedora-openstack-preview.repo

 Which is supposed to work for both Fedora 16  17

 Anyhow, I applied the suggested  libvirt_inject_partition = -1 patch.

 It does change things because it's not complaining about mount error any
 more but generates further errors down the path in libvirt.py, line 540
 followed by AMQP errors as traced below.

 Thanks
 Patrick


 2012-05-24 14:11:02 INFO nova.virt.libvirt.connection
 [req-8b7dbdb7-5771-446a-8cf6-0bcb8833d79f 5677a018b8924cc58f993101c3024794
 873855379940442797e53f2fa437893f] [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Injecting key into image
 661bbe35-ebe5-4614-bdb2-3259ea507934
 2012-05-24 14:11:54 ERROR nova.compute.manager
 [req-8b7dbdb7-5771-446a-8cf6-0bcb8833d79f 5677a018b8924cc58f993101c3024794
 873855379940442797e53f2fa437893f] [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Instance failed to spawn
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Traceback (most recent call last):
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib/python2.7/site-packages/nova/compute/manager.py, line 598, in
 _spawn
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]
 self._legacy_nw_info(network_info), block_device_info)
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib/python2.7/site-packages/nova/exception.py, line 114, in wrapped
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] return f(*args, **kw)
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib/python2.7/site-packages/nova/virt/libvirt/connection.py, line
 930, in spawn
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] self._create_new_domain(xml)
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib/python2.7/site-packages/nova/virt/libvirt/connection.py, line
 1597, in _create_new_domain
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]
 domain.createWithFlags(launch_flags)
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib/python2.7/site-packages/eventlet/tpool.py, line 187, in doit
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] result =
 proxy_call(self._autowrap, f, *args, **kwargs)
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib/python2.7/site-packages/eventlet/tpool.py, line 147, in
 proxy_call
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] rv = execute(f,*args,**kwargs)
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib/python2.7/site-packages/eventlet/tpool.py, line 76, in tworker
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] rv = meth(*args,**kwargs)
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib64/python2.7/site-packages/libvirt.py, line 540, in
 createWithFlags
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] if ret == -1: raise libvirtError
 ('virDomainCreateWithFlags() failed', dom=self)
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] libvirtError: internal error Process
 exited while reading console log output: char device redirected to
 /dev/pts/2
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Could not allocate dynamic translator
 buffer
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]
 2012-05-24 14:11:54 ERROR nova.rpc.amqp
 [req-8b7dbdb7-5771-446a-8cf6-0bcb8833d79f 5677a018b8924cc58f993101c3024794
 873855379940442797e53f2fa437893f] Exception during message handling
 2012-05-24 14:11:54 TRACE nova.rpc.amqp Traceback (most recent call last):
 2012-05-24 14:11:54 TRACE nova.rpc.amqp   File
 /usr/lib/python2.7/site-packages/nova/rpc/amqp.py, line 253, in
 _process_data
 2012-05-24 

Re: [Openstack] Can't ssh into instance

2012-05-24 Thread Leander Bessa Beernaert
Complete log: http://paste.openstack.org/show/18144/

On Thu, May 24, 2012 at 1:49 PM, Anton Haldin ahal...@griddynamics.comwrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't gotten
 that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.comwrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i was
 getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services. However,
 now i can't even get that far. I'm alway faced with a connection refused.

 I've added the permissions for port 22 and icmp in the default security
 group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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


Re: [Openstack] [Nova] Getting error when injecting data into an image

2012-05-24 Thread Pádraig Brady
On 05/24/2012 01:26 PM, Patrick Petit wrote:
 Hi Pádraig,
 
 Thank you for your reply.
 
 I applied the suggested  libvirt_inject_partition = -1
 
 It does change things because it's not complaining about mount error any more 
 but generates further errors down the path in libvirt.py

 2012-05-24 14:11:54 TRACE nova.compute.manager [instance: 
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File 
 /usr/lib64/python2.7/site-packages/libvirt.py, line 540, in createWithFlags
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance: 
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] if ret == -1: raise libvirtError 
 ('virDomainCreateWithFlags() failed', dom=self)
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance: 
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] libvirtError: internal error Process 
 exited while reading console log output: char device redirected to /dev/pts/2
 2012-05-24 14:11:54 TRACE nova.compute.manager [instance: 
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Could not allocate dynamic translator 
 buffer

That's libvirt specific.

Do you have Virtual Machine support enabled in your BIOS?
If not the fallback mode is currently disallowed by SELinux,
and you can enable with: setsebool -P virt_use_execmem=on

https://bugzilla.redhat.com/show_bug.cgi?id=753589#c36

It's quite a non specific error so it could be something else.

cheers,
Pádraig.

___
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] Where to add the performance increasing method in openstack

2012-05-24 Thread Sandy Walsh
Hi!

You would want to report this information to the Scheduler (probably via the 
db) so it can make more informed decisions. A new Weight Function in the 
scheduler would be the place to add it specifically.

We currently track the number of VM I/O operations being performed on each 
Compute node for this (build, resize, migration, etc) but nothing within the 
guest itself. Could be handy for certain verticals.

Hope it helps,
Sandy


From: openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net 
[openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net] on behalf of 
sarath zacharia [sarathzacha...@gmail.com]
Sent: Thursday, May 24, 2012 1:48 AM
To: Nagaraju Bingi
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Where to add the performance increasing method in 
openstack

Hi
  Yes , We are monitoring the loads on the instances in each node and 
next instances will create in most suitable node ie,
 node have less load

Regards ,

Sarath Zacharia


On Wed, May 23, 2012 at 6:51 PM, Nagaraju Bingi 
nagaraju_bi...@persistent.co.inmailto:nagaraju_bi...@persistent.co.in wrote:
Hi,

Do you mean that your program would monitor the Openstack Instances and check 
the performance and load of nodes according to the number of different 
application running in each instance?
Your program will tell you that which Instance is the best suitable to deploy 
your new application.

Please let me know if I understood correctly.

Regards,
Nagaraju B


From: 
openstack-bounces+nagaraju_bingi=persistent.co...@lists.launchpad.netmailto:persistent.co...@lists.launchpad.net
 
[mailto:openstack-bounces+nagaraju_bingimailto:openstack-bounces%2Bnagaraju_bingi=persistent.co...@lists.launchpad.netmailto:persistent.co...@lists.launchpad.net]
 On Behalf Of sarath zacharia
Sent: Wednesday, May 23, 2012 10:57 AM
To: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Subject: [Openstack] Where to add the performance increasing method in openstack


Hi ,
  We created an performance increasing programe for cloud application.
This programe will check the performance and load of nodes according
to the number of different application running in each node of our cloud 
environment and
it will give which node is more suitable for deploying the next application in 
cloud.
In which service we have to modify in openstack for implementing this 
algoritham ?

note : now our code is in java how we can connect to the nova development 
environment

Yours Sincerly

Sarath Zacharia



DISCLAIMER == This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.



--
with regards

Sarath !
___
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] Getting error when injecting data into an image

2012-05-24 Thread Patrick Petit
2012/5/24 Pádraig Brady p...@draigbrady.com

 On 05/24/2012 01:26 PM, Patrick Petit wrote:
  Hi Pádraig,
 
  Thank you for your reply.
 
  I applied the suggested  libvirt_inject_partition = -1
 
  It does change things because it's not complaining about mount error any
 more but generates further errors down the path in libvirt.py

  2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib64/python2.7/site-packages/libvirt.py, line 540, in
 createWithFlags
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] if ret == -1: raise libvirtError
 ('virDomainCreateWithFlags() failed', dom=self)
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] libvirtError: internal error Process
 exited while reading console log output: char device redirected to
 /dev/pts/2
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Could not allocate dynamic translator
 buffer

 That's libvirt specific.

 Do you have Virtual Machine support enabled in your BIOS?
 If not the fallback mode is currently disallowed by SELinux,
 and you can enable with: setsebool -P virt_use_execmem=on

 https://bugzilla.redhat.com/show_bug.cgi?id=753589#c36

 It's quite a non specific error so it could be something else.

I am running the all OpenStack in a virtual machine under VBox.
nova.conf has libvirt_type = qemu

Disabling SELinux solved the problem.
Shouldn't that be reported as a bug?
Thanks a thousand times.
Patrick




 cheers,
 Pádraig.




-- 
*Give me a place to stand, and I shall move the earth with a lever*
___
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] Can't ssh into instance

2012-05-24 Thread Anton Haldin
it can be an issue of openssh:

one more link
http://www.gossamer-threads.com/lists/openssh/dev/51483?do=post_view_threaded#51483


On Thu, May 24, 2012 at 5:48 PM, Anton Haldin ahal...@griddynamics.comwrote:

 what you can try to do:
 you can mount machine image and check /var/log/auth.log

 it can be kind of network issue
 for example like this one
 http://fixunix.com/ssh/74058-ssh-hang-after-ssh2_msg_kexinit-sent.html
 if so you can try to change net.ipv4.tcp_rmem

 nova-compute.log is looking fine.


 On Thu, May 24, 2012 at 5:30 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer

 On Thu, May 24, 2012 at 2:27 PM, Anton Haldin 
 ahal...@griddynamics.comwrote:

 I'm sorry Leander
 I did not note that you are using ubuntu and try to connect by using
 root account

 I thought it may be better to use ubuntu account.
 But in my machine when I was trying to use root account , ssh client
 told me about it.


 On Thu, May 24, 2012 at 5:19 PM, Anton Haldin 
 ahal...@griddynamics.comwrote:

 I doubt you have desktop components on this host ( compute node) with
 GUI.

 in this case you can check that file injection of ssh_key was
 successfully in nova-compute.log


 On Thu, May 24, 2012 at 5:13 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 I currently can't access the vnc console directly due to routing
 issues. The instances is running private ip's over on vlan and public ip
 over another vlan (the host machine only has 1 network interface). There 
 is
 no routing information available to guide all traffic to the host machine,
 and the network administrator isn't around to set up the routing in our
 firewall at the moment.


 On Thu, May 24, 2012 at 2:04 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 it looks like OS was running successfully.

 if you have network access to this host ( compute node) you can to
 try use vnc client to connect to your instance.
 you can find port number  from libvirt.xml: virsh dumpxml
 instance-



 On Thu, May 24, 2012 at 4:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't
 gotten that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i
 was getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1
 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a 
 connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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


Re: [Openstack] Can't ssh into instance

2012-05-24 Thread Leander Bessa Beernaert
Compute log: Log: http://paste.openstack.org/show/18149/

I've tried bot root and ubuntu as account names (ssh -i key.pem
root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is still
Read from socket failed: Connection reset by peer

On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin ahal...@griddynamics.comwrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't gotten
 that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.comwrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i was
 getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services. However,
 now i can't even get that far. I'm alway faced with a connection refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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


Re: [Openstack] devstack installation failing

2012-05-24 Thread Salman Malik

Thanks guys. Here is the output of the curl command:

{error: {message: Invalid tenant, code: 401, title: Not Authorized}}

Seems like there is no such tenant in keystone database. I tried doing keystone 
tenant-list but it keeps on asking for one extra argument each time (i.e after 
keystone tenant-list, I tried keystone --os_username admin tenant-list and 
keystone --os_username --os_password tenant-list ). Anyway, what could be th 
cause of keystone's database problems?


Date: Thu, 24 May 2012 00:40:19 -0500
Subject: Re: [Openstack] devstack installation failing
From: dolph.math...@gmail.com
To: mandar.v...@nttdata.com
CC: salma...@live.com; openstack@lists.launchpad.net

The output to the curl command below should definitely point you in the right 
direction -- devstack is expecting keystone to return an authentication 
response there, but it's getting something else instead. Feel free to paste the 
results to the list.

-Dolph

On Wed, May 23, 2012 at 11:47 PM, Vaze, Mandar mandar.v...@nttdata.com wrote:









Last time when I ran into this error, I had updated (git pull) only nova, but 
forgot to update keystone.

Once I updated (git pull) all the other projects, including keystone, the error 
went away.

 
Few things you can use for troubleshooting :
 
1.  
Run this command from terminal – See if the outpur gives any clue : “curl
 -s -d '{auth:{passwordCredentials: {username: admin, password: 
nova}, tenantName: admin}}' -H 'Content-type: application/json'
http://10.0.3.15:5000/v2.0/tokens”

2.  
Check the keystone database, see if user admin and tenant admin are created OK

 
-Mandar
 


From: openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net 
[mailto:openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net]
On Behalf Of Salman Malik

Sent: Thursday, May 24, 2012 9:48 AM

To: openstack@lists.launchpad.net

Subject: [Openstack] devstack installation failing


 


Hi All,



While installing devstack, installation is failing with the error :

++ python -c 'import sys; import json; tok = json.loads(sys.stdin.read()); 
print tok['\''access'\'']['\''token'\'']['\''id'\''];'

++ curl -s -d '{auth:{passwordCredentials: {username: admin, 
password: nova}, tenantName: admin}}' -H 'Content-type: 
application/json'
http://10.0.3.15:5000/v2.0/tokens

Traceback (most recent call last):

  File string, line 1, in module

KeyError: 'access'



With some searching I know this has something to do with the keystone but I 
have no clue how to resolve this one.

Thanks for your help.



Salman




__

Disclaimer:This email and any attachments are sent in strictest confidence for 
the sole use of the addressee and may contain legally privileged, confidential, 
and proprietary data.  If you are not the intended recipient, please advise the 
sender by replying promptly to this email and then delete and destroy this 
email and any attachments without any further use, copying or forwarding





___

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


Re: [Openstack] devstack multi-node tutorial fails

2012-05-24 Thread Dean Troyer
On Thu, May 24, 2012 at 4:46 AM, Mauch, Viktor (SCC) ma...@kit.edu wrote:

 H, who would be the responsible person to make corrections and insert
 some more comments to the current multi node tutorial of devstack??


The devstack.org site is built from the gh-pages branch of devstack at
https://github.com/cloudbuilders/devstack/tree/gh-pages.  Clone that, make
your changes and send a pull request.   Let us know you've done that, it's
the only time that we use pull requests in that repo.

dt

-- 

Dean Troyer
dtro...@gmail.com
___
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 state machine simplification and clarification

2012-05-24 Thread Yun Mao
Sandy,

I like the suggestion of graphvis, although I haven't used it for a
while. Is there a dir in nova appropriate to put .dot files? I was
hoping to get the proposal discussed a few round, and while it's
getting stabilized, we can work on the graphvis representation.
Thanks,

Yun

On Wed, May 23, 2012 at 11:28 AM, Sandy Walsh sandy.wa...@rackspace.com wrote:
 Hi Yun,

 I like the direction you're going with this. Unifying these three enums would 
 be a great change. Honestly it's really just combing two enums (vm  task) 
 and using power state as a tool for reconciliation (actual != reality).

 Might I suggest using graphvis instead of a spreadsheet? That way we can keep 
 it under version control, have funky pictures and there are libraries for 
 parsing .dot files in Python. Also we can use the graphvis doc to actually 
 drive the state machine (via attributes on nodes/edges)

 I'd like to see more discussion on how reconciliation will be handled in the 
 event of a conflict.

 Cheers!
 -S

 
 From:  Yun Mao [yun...@gmail.com]
 Sent: Thursday, May 17, 2012 10:16 AM
 To: openstack@lists.launchpad.net
 Subject: [Openstack] nova state machine simplification and clarification

 ...

___
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] Getting error when injecting data into an image

2012-05-24 Thread Anton Haldin
Sorry Patrick,

I did not understand you question about bug.
As I understood If you want to use selinux you will need to have policies
 to configure it for you application.
or do customization by setsebool

I'm using OpenStack on CentOS and I know only two way 1) disable selinux 2)
or customize it


On Thu, May 24, 2012 at 5:49 PM, Patrick Petit 
patrick.michel.pe...@gmail.com wrote:



 2012/5/24 Pádraig Brady p...@draigbrady.com

 On 05/24/2012 01:26 PM, Patrick Petit wrote:
  Hi Pádraig,
 
  Thank you for your reply.
 
  I applied the suggested  libvirt_inject_partition = -1
 
  It does change things because it's not complaining about mount error
 any more but generates further errors down the path in libvirt.py

  2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
 /usr/lib64/python2.7/site-packages/libvirt.py, line 540, in
 createWithFlags
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] if ret == -1: raise libvirtError
 ('virDomainCreateWithFlags() failed', dom=self)
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] libvirtError: internal error Process
 exited while reading console log output: char device redirected to
 /dev/pts/2
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Could not allocate dynamic translator
 buffer

 That's libvirt specific.

 Do you have Virtual Machine support enabled in your BIOS?
 If not the fallback mode is currently disallowed by SELinux,
 and you can enable with: setsebool -P virt_use_execmem=on

 https://bugzilla.redhat.com/show_bug.cgi?id=753589#c36

 It's quite a non specific error so it could be something else.

 I am running the all OpenStack in a virtual machine under VBox.
 nova.conf has libvirt_type = qemu

 Disabling SELinux solved the problem.
 Shouldn't that be reported as a bug?
 Thanks a thousand times.
 Patrick




 cheers,
 Pádraig.




 --
 *Give me a place to stand, and I shall move the earth with a lever*

 ___
 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


Re: [Openstack] Can't ssh into instance

2012-05-24 Thread Leander Bessa Beernaert
I've formatted the host machine and reinstalled openstack, just in case.
Now i am only getting connection refused.

On Thu, May 24, 2012 at 3:01 PM, Leander Bessa Beernaert 
leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin 
 ahal...@griddynamics.comwrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't gotten
 that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin ahal...@griddynamics.com
  wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i was
 getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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


Re: [Openstack] devstack installation failing

2012-05-24 Thread Dolph Mathews
keystoneclient is looking for enough arguments for it to either fully
authenticate or bypass authentication.

To fully authenticate:
keystone --os_username=admin --os_password=secret
--os_tenant_name=project-x --os_auth_url=http://keystone:5000/v2.0/tenant-list

To bypass authentication (i.e. you already have a token  endpoint):
keystone --token=94eabe5d --endpoint=http://keystone:35357/v2.0/tenant-list

As shown in the error messages you're seeing, you can also set all these
variables in your environment so you don't have to specify them for each
keystoneclient command.

-Dolph

On Thu, May 24, 2012 at 9:17 AM, Salman Malik salma...@live.com wrote:

  Thanks guys. Here is the output of the curl command:

 {error: {message: Invalid tenant, code: 401, title: Not
 Authorized}}

 Seems like there is no such tenant in keystone database. I tried doing
 keystone tenant-list but it keeps on asking for one extra argument each
 time (i.e after keystone tenant-list, I tried keystone --os_username admin
 tenant-list and keystone --os_username --os_password tenant-list ).
 Anyway, what could be th cause of keystone's database problems?



 --
 Date: Thu, 24 May 2012 00:40:19 -0500
 Subject: Re: [Openstack] devstack installation failing
 From: dolph.math...@gmail.com
 To: mandar.v...@nttdata.com
 CC: salma...@live.com; openstack@lists.launchpad.net


 The output to the curl command below should definitely point you in the
 right direction -- devstack is expecting keystone to return an
 authentication response there, but it's getting something else instead.
 Feel free to paste the results to the list.

 -Dolph

 On Wed, May 23, 2012 at 11:47 PM, Vaze, Mandar mandar.v...@nttdata.comwrote:

  Last time when I ran into this error, I had updated (git pull) only
 nova, but forgot to update keystone.

 Once I updated (git pull) all the other projects, including keystone, the
 error went away.

 ** **

 Few things you can use for troubleshooting :

 ** **
 **1.   **Run this command from terminal – See if the outpur gives any
 clue : “curl -s -d '{auth:{passwordCredentials: {username: admin,
 password: nova}, tenantName: admin}}' -H 'Content-type:
 application/json' http://10.0.3.15:5000/v2.0/tokens”
 **2.   **Check the keystone database, see if user admin and tenant
 admin are created OK

 ** **

 -Mandar

 ** **

 *From:* openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net[mailto:
 openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net] *On Behalf
 Of *Salman Malik
 *Sent:* Thursday, May 24, 2012 9:48 AM
 *To:* openstack@lists.launchpad.net
 *Subject:* [Openstack] devstack installation failing

 ** **

 Hi All,

 While installing devstack, installation is failing with the error :
 ++ python -c 'import sys; import json; tok = json.loads(sys.stdin.read());
 print tok['\''access'\'']['\''token'\'']['\''id'\''];'
 ++ curl -s -d '{auth:{passwordCredentials: {username: admin,
 password: nova}, tenantName: admin}}' -H 'Content-type:
 application/json' http://10.0.3.15:5000/v2.0/tokens
 Traceback (most recent call last):
   File string, line 1, in module
 KeyError: 'access'

 With some searching I know this has something to do with the keystone but
 I have no clue how to resolve this one.
 Thanks for your help.

 Salman

 __
 Disclaimer:This email and any attachments are sent in strictest confidence
 for the sole use of the addressee and may contain legally privileged,
 confidential, and proprietary data. If you are not the intended recipient,
 please advise the sender by replying promptly to this email and then delete
 and destroy this email and any attachments without any further use, copying
 or forwarding

 ___
 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


Re: [Openstack] Can't ssh into instance

2012-05-24 Thread Sébastien Han
It's not an open-ssh issue.
Your virtual machine simply can't fetch the metadata, cloud-init can't to
be more accurate. Without this your ssh key is not imported. This is why
the machine is well running, you can ping it but you can't access it
because the authorized_keys file on the vm is not fulfill.
If you are only running a nova-compute node, installing nova-api-metadata
will do the trick!

Also verify those values in your nova.conf :

   - --vncserver_proxyclient_address=IP_CURRENT_NODE
   - --vncserver_listen=IP_CURRENT_NODE
   - --ec2_dmz_host=IP_CURRENT_NODE
   - --routing_source_ip=IP_CURRENT_NODE
   - --my_ip=IP_CURRENT_NODE

Let us know a little more about your setup :)
Cheers!


On Thu, May 24, 2012 at 4:01 PM, Leander Bessa Beernaert 
leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin 
 ahal...@griddynamics.comwrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't gotten
 that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin ahal...@griddynamics.com
  wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i was
 getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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


___
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] Unused code in Nova [was Re: Quota classes]

2012-05-24 Thread Kevin L. Mitchell
On Thu, 2012-05-24 at 10:56 +0100, Mark McLoughlin wrote:
 So, I'm looking into the quotas code properly for the first time while
 reviewing one of the quota refactor patches and I come across the
 quota_class property on RequestContext
 
 My last 45 minutes have been:
 
   Where is quota_class being set? Nowhere in Nova, really? Let's double,
   triple check that.
 
   Maybe the auth token middleware is setting it? Nope.

Yeah, I had always meant to revisit this and do something about it.  The
obvious thing to do would be to add the quota_class to Keystone, then
have authtoken/keystonecontext use it when creating the RequestContext,
which is why I added an argument to RequestContext to do that.
Unfortunately, I have to move on to working on things other than quotas,
now :/
-- 
Kevin L. Mitchell kevin.mitch...@rackspace.com


___
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] Can't ssh into instance

2012-05-24 Thread Scott Moser
On Thu, 24 May 2012, Leander Bessa Beernaert wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is still
 Read from socket failed: Connection reset by peer

 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 
  Complete log: http://paste.openstack.org/show/18144/

the issue is that the instance cannot access the metadata service.
The node is not routing traffic destined to 169.254.169.254 to an API
server.

This will not work until that is fixed.

Cirros instances will boot, and let you log in, and verify/troubleshoot
that.


___
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] Getting error when injecting data into an image

2012-05-24 Thread Pádraig Brady
On 05/24/2012 02:49 PM, Patrick Petit wrote:
 
 
 2012/5/24 Pádraig Brady p...@draigbrady.com mailto:p...@draigbrady.com
 
 On 05/24/2012 01:26 PM, Patrick Petit wrote:
  Hi Pádraig,
 
  Thank you for your reply.
 
  I applied the suggested  libvirt_inject_partition = -1
 
  It does change things because it's not complaining about mount error 
 any more but generates further errors down the path in libvirt.py
 
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance: 
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File 
 /usr/lib64/python2.7/site-packages/libvirt.py, line 540, in createWithFlags
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance: 
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] if ret == -1: raise libvirtError 
 ('virDomainCreateWithFlags() failed', dom=self)
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance: 
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] libvirtError: internal error Process 
 exited while reading console log output: char device redirected to /dev/pts/2
  2012-05-24 14:11:54 TRACE nova.compute.manager [instance: 
 a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Could not allocate dynamic translator 
 buffer
 
 That's libvirt specific.
 
 Do you have Virtual Machine support enabled in your BIOS?
 If not the fallback mode is currently disallowed by SELinux,
 and you can enable with: setsebool -P virt_use_execmem=on
 
 https://bugzilla.redhat.com/show_bug.cgi?id=753589#c36
 
 It's quite a non specific error so it could be something else.
 
 I am running the all OpenStack in a virtual machine under VBox.
 nova.conf has libvirt_type = qemu
 
 Disabling SELinux solved the problem.
 Shouldn't that be reported as a bug?

I think the bug referenced above captures the issue sufficiently.
What I've done is to document the specific SELinux setting above,
to enable this mode of operation, in the fedora/epel wiki where
you said you were following the instructions.

cheers,
Pádraig.

___
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] Can't ssh into instance

2012-05-24 Thread Leander Bessa Beernaert
Adding the following to my config file solved my problem!! Thanks!!

   - routing_source_ip=IP_CURRENT_NODE
   - --my_ip=IP_CURRENT_NODE

Regards,

Leander
On Thu, May 24, 2012 at 4:24 PM, Sébastien Han han.sebast...@gmail.comwrote:

 It's not an open-ssh issue.
 Your virtual machine simply can't fetch the metadata, cloud-init can't to
 be more accurate. Without this your ssh key is not imported. This is why
 the machine is well running, you can ping it but you can't access it
 because the authorized_keys file on the vm is not fulfill.
 If you are only running a nova-compute node, installing nova-api-metadata
 will do the trick!

 Also verify those values in your nova.conf :

- --vncserver_proxyclient_address=IP_CURRENT_NODE
- --vncserver_listen=IP_CURRENT_NODE
- --ec2_dmz_host=IP_CURRENT_NODE
- --routing_source_ip=IP_CURRENT_NODE
- --my_ip=IP_CURRENT_NODE

 Let us know a little more about your setup :)
 Cheers!



 On Thu, May 24, 2012 at 4:01 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin 
 ahal...@griddynamics.comwrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't gotten
 that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i was
 getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a 
 connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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



___
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] Can't ssh into instance

2012-05-24 Thread Leander Bessa Beernaert
Just a question i forgot, on a multi-host senario, the IP_CURRENT_NODE is
the compute node's ip right? Currently i'm only running everything on a
single host.

On Thu, May 24, 2012 at 4:32 PM, Leander Bessa Beernaert 
leande...@gmail.com wrote:

 Adding the following to my config file solved my problem!! Thanks!!

- routing_source_ip=IP_CURRENT_NODE
- --my_ip=IP_CURRENT_NODE

 Regards,

 Leander

 On Thu, May 24, 2012 at 4:24 PM, Sébastien Han han.sebast...@gmail.comwrote:

 It's not an open-ssh issue.
 Your virtual machine simply can't fetch the metadata, cloud-init can't to
 be more accurate. Without this your ssh key is not imported. This is why
 the machine is well running, you can ping it but you can't access it
 because the authorized_keys file on the vm is not fulfill.
 If you are only running a nova-compute node, installing nova-api-metadata
 will do the trick!

 Also verify those values in your nova.conf :

- --vncserver_proxyclient_address=IP_CURRENT_NODE
- --vncserver_listen=IP_CURRENT_NODE
- --ec2_dmz_host=IP_CURRENT_NODE
- --routing_source_ip=IP_CURRENT_NODE
- --my_ip=IP_CURRENT_NODE

 Let us know a little more about your setup :)
 Cheers!



 On Thu, May 24, 2012 at 4:01 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin ahal...@griddynamics.com
  wrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't gotten
 that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i
 was getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a 
 connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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




___
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] Greatest deployment?

2012-05-24 Thread Matt Joyce
We did some considerable HPC testing when I worked over at NASA Ames with
the Nebula project.  So I think we may have been the first to try out
openstack in an HPC capacity.

If you can find Piyush Mehrotra from the NAS division at Ames, ( I'll leave
it to you to look him up ) he has comprehensive OpenStack tests from the
Bexar days.  He'd probably be willing to share some of that data if there
was interest ( assuming he hasn't already ).

Several points of interest I think worth mentioning are:

I think fundamentally many of the folks who are used to doing HPC work
dislike working with hypervisors in general.  The memory management and
general i/o latency is something they find to be a bit intolerable.
OpenNebula, and OpenStack rely on the same sets of open source
hypervisors.  In fact, I believe OpenStack supports more.  What they do
fundamentally is operate as an orchestration layer on top of the hypervisor
layer of the stack.  So in terms of performance you should not see much
difference between the two at all.  That being said, that's ignoring the
possibility of scheduler customisation and the sort.

We ultimately, much like Amazon HPC ended up handing over VMs to customers
that consumed all the resources on a system thus negating the benefit of
VMs by a large amount.  1 primary reason for this is pinning the 10 gig
drivers, or infiniband if you have it, to a single VM allows for direct
pass through and no hypervisor latency.  We were seeing a maximum
throughput on our 10 gigs of about 8-9 gbit with virtio / jumbo frames via
kvm, while hardware was slightly above 10.  Several vendors in the area I
have spoken with are engaged in efforts to tie in physical layer
provisioning with OpenStack orchestration to bypass the hypervisor
entirely.  LXC is not a good alternative for several obvious reasons.  So
think on all of that.

GPUs are highly specialised.  Depending on your workloads you may not
benefit from them.  Again you have the hardware pinning issue in VMs.

As far as Disk I/O is concerned, large datasets need large disk volumes.
Large non immutable disk volumes.  So swift / lafs go right out the
window.  nova-volume has some limitations ( or it did at the time ) euca
tools couldn't handle 1 TB volumes and the APT maxed out around 2.  So we
had users raiding their volumes and asking how to target them to nodes to
increase I/O.  This was sub optimal.  Luster or gluster would be better
options here.  We chose gluster because we've used luster before, and
anyone who has knows it's pain.

As for node targeting users cared about specific families of cpus.  Many
people optimised by cpu and wanted to target westmeres of nehalems.  We had
no means to do that at the time.

Scheduling full instances is somewhat easier so long as all the nodes in
your zone are full instance use only.

Matt Joyce
Now at Cloudscaling



On Thu, May 24, 2012 at 5:49 AM, John Paul Walters jwalt...@isi.edu wrote:

 Hi,

 On May 24, 2012, at 5:45 AM, Thierry Carrez wrote:

 
 
  OpenNebula has also this advantage, for me, that it's designed also to
  provide scientific cloud and it's used by few research centres and even
  supercomputing centres. How about Openstack? Anyone tried deploy it in
  supercomputing environment? Maybe huge cluster or GPU cluster or any
  other scientific group is using Openstack? Is anyone using Openstack in
  scentific environement or Openstack's purpose is to create commercial
  only cloud (business - large and small companies)?
 
  OpenStack is being used in a number of research clouds, including NeCTAR
  (Australia's national research cloud). There is huge interest around
  bridging the gap there, with companies like Nimbis or Bull being
 involved.
 
  Hopefully people with more information than I have will comment on this
  thread.
 
 
 We're developing GPU, bare metal, and large SMP (think SGI UV) support for
 Openstack and we're targeting HPC/scientific computing workloads.  It's a
 work in progress, but we have people using our code and we're talking to
 folks about getting our code onto nodes within FutureGrid.  We have GPU
 support for LXC right now, and we're working on adding support for other
 hypervisors as well.  We're also working on getting the code into shape for
 merging upstream, some of which (the bare metal work) has already been
 done.  We had an HPC session at the most recent Design Summit, and it was
 well-attended with lots of great input.  If there are specific features
 that you're looking for, we'd love to hear about it.

 By the way, all of our code is available at
 https://github.com/usc-isi/nova, so if you'd like to try it out before it
 gets merged upstream, go for it.

 best,
 JP


 ___
 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] devstack installation failing

2012-05-24 Thread Salman Malik

Thanks Dolph for explaining the full command. Here is my output:

keystone --os_username=admin --os_password=nova --os_tenant_name=admin 
--os_auth_url=http://10.0.3.15:5000/v2.0/ tenant-list

No handlers could be found for logger keystoneclient.client
Invalid tenant (HTTP 401)

where I used:
os_username=admin (default username that I previously used to access the 
dashboard)
os_password=nova(password that I set during devstack installation and can be 
seen in localrc, that I previously used to access dashboard)
os_tenant_name=admin(same as project name ? This is one of the two default 
projects that I used to launch instances for)

I hope my credentials are correct (as explained above) but still I see Invalid 
tenant as command's output. Any ideas?
Also, it would be great if you could correct my understanding of the following 
terms: os_user=cloud user that provides IaaS to the tenants (and tenant is also 
know as project in os jargon?)

Thanks,
Salman
 

Date: Thu, 24 May 2012 10:18:29 -0500
Subject: Re: [Openstack] devstack installation failing
From: dolph.math...@gmail.com
To: salma...@live.com
CC: mandar.v...@nttdata.com; openstack@lists.launchpad.net

keystoneclient is looking for enough arguments for it to either fully 
authenticate or bypass authentication.
To fully authenticate:keystone --os_username=admin --os_password=secret 
--os_tenant_name=project-x --os_auth_url=http://keystone:5000/v2.0/ tenant-list

To bypass authentication (i.e. you already have a token  endpoint):keystone 
--token=94eabe5d --endpoint=http://keystone:35357/v2.0/ tenant-list

As shown in the error messages you're seeing, you can also set all these 
variables in your environment so you don't have to specify them for each 
keystoneclient command.

-Dolph
On Thu, May 24, 2012 at 9:17 AM, Salman Malik salma...@live.com wrote:





Thanks guys. Here is the output of the curl command:

{error: {message: Invalid tenant, code: 401, title: Not Authorized}}


Seems like there is no such tenant in keystone database. I tried doing keystone 
tenant-list but it keeps on asking for one extra argument each time (i.e after 
keystone tenant-list, I tried keystone --os_username admin tenant-list and 
keystone --os_username --os_password tenant-list ). Anyway, what could be th 
cause of keystone's database problems?




Date: Thu, 24 May 2012 00:40:19 -0500
Subject: Re: [Openstack] devstack installation failing
From: dolph.math...@gmail.com

To: mandar.v...@nttdata.com
CC: salma...@live.com; openstack@lists.launchpad.net


The output to the curl command below should definitely point you in the right 
direction -- devstack is expecting keystone to return an authentication 
response there, but it's getting something else instead. Feel free to paste the 
results to the list.


-Dolph

On Wed, May 23, 2012 at 11:47 PM, Vaze, Mandar mandar.v...@nttdata.com wrote:









Last time when I ran into this error, I had updated (git pull) only nova, but 
forgot to update keystone.


Once I updated (git pull) all the other projects, including keystone, the error 
went away.

 
Few things you can use for troubleshooting :
 
1.  
Run this command from terminal – See if the outpur gives any clue : “curl
 -s -d '{auth:{passwordCredentials: {username: admin, password: 
nova}, tenantName: admin}}' -H 'Content-type: application/json'
http://10.0.3.15:5000/v2.0/tokens”



2.  
Check the keystone database, see if user admin and tenant admin are created OK



 
-Mandar
 


From: openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net 
[mailto:openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net]
On Behalf Of Salman Malik

Sent: Thursday, May 24, 2012 9:48 AM

To: openstack@lists.launchpad.net

Subject: [Openstack] devstack installation failing


 


Hi All,



While installing devstack, installation is failing with the error :

++ python -c 'import sys; import json; tok = json.loads(sys.stdin.read()); 
print tok['\''access'\'']['\''token'\'']['\''id'\''];'

++ curl -s -d '{auth:{passwordCredentials: {username: admin, 
password: nova}, tenantName: admin}}' -H 'Content-type: 
application/json'
http://10.0.3.15:5000/v2.0/tokens

Traceback (most recent call last):

  File string, line 1, in module

KeyError: 'access'



With some searching I know this has something to do with the keystone but I 
have no clue how to resolve this one.

Thanks for your help.



Salman




__

Disclaimer:This email and any attachments are sent in strictest confidence for 
the sole use of the addressee and may contain legally privileged, confidential, 
and proprietary data.  If you are not the intended recipient, please advise the 
sender by replying promptly to this email and then delete and destroy this 
email and any attachments without any further use, copying or forwarding






___

Mailing list: https://launchpad.net/~openstack

Post to : 

Re: [Openstack] Greatest deployment?

2012-05-24 Thread Matt Joyce
s/APT/API/

s/of/or/

Please forgive spelling errors.  On a train atm.

On Thu, May 24, 2012 at 8:34 AM, Matt Joyce matt.jo...@cloudscaling.comwrote:

 We did some considerable HPC testing when I worked over at NASA Ames with
 the Nebula project.  So I think we may have been the first to try out
 openstack in an HPC capacity.

 If you can find Piyush Mehrotra from the NAS division at Ames, ( I'll
 leave it to you to look him up ) he has comprehensive OpenStack tests from
 the Bexar days.  He'd probably be willing to share some of that data if
 there was interest ( assuming he hasn't already ).

 Several points of interest I think worth mentioning are:

 I think fundamentally many of the folks who are used to doing HPC work
 dislike working with hypervisors in general.  The memory management and
 general i/o latency is something they find to be a bit intolerable.
 OpenNebula, and OpenStack rely on the same sets of open source
 hypervisors.  In fact, I believe OpenStack supports more.  What they do
 fundamentally is operate as an orchestration layer on top of the hypervisor
 layer of the stack.  So in terms of performance you should not see much
 difference between the two at all.  That being said, that's ignoring the
 possibility of scheduler customisation and the sort.

 We ultimately, much like Amazon HPC ended up handing over VMs to customers
 that consumed all the resources on a system thus negating the benefit of
 VMs by a large amount.  1 primary reason for this is pinning the 10 gig
 drivers, or infiniband if you have it, to a single VM allows for direct
 pass through and no hypervisor latency.  We were seeing a maximum
 throughput on our 10 gigs of about 8-9 gbit with virtio / jumbo frames via
 kvm, while hardware was slightly above 10.  Several vendors in the area I
 have spoken with are engaged in efforts to tie in physical layer
 provisioning with OpenStack orchestration to bypass the hypervisor
 entirely.  LXC is not a good alternative for several obvious reasons.  So
 think on all of that.

 GPUs are highly specialised.  Depending on your workloads you may not
 benefit from them.  Again you have the hardware pinning issue in VMs.

 As far as Disk I/O is concerned, large datasets need large disk volumes.
 Large non immutable disk volumes.  So swift / lafs go right out the
 window.  nova-volume has some limitations ( or it did at the time ) euca
 tools couldn't handle 1 TB volumes and the APT maxed out around 2.  So we
 had users raiding their volumes and asking how to target them to nodes to
 increase I/O.  This was sub optimal.  Luster or gluster would be better
 options here.  We chose gluster because we've used luster before, and
 anyone who has knows it's pain.

 As for node targeting users cared about specific families of cpus.  Many
 people optimised by cpu and wanted to target westmeres of nehalems.  We had
 no means to do that at the time.

 Scheduling full instances is somewhat easier so long as all the nodes in
 your zone are full instance use only.

 Matt Joyce
 Now at Cloudscaling




 On Thu, May 24, 2012 at 5:49 AM, John Paul Walters jwalt...@isi.eduwrote:

 Hi,

 On May 24, 2012, at 5:45 AM, Thierry Carrez wrote:

 
 
  OpenNebula has also this advantage, for me, that it's designed also to
  provide scientific cloud and it's used by few research centres and even
  supercomputing centres. How about Openstack? Anyone tried deploy it in
  supercomputing environment? Maybe huge cluster or GPU cluster or any
  other scientific group is using Openstack? Is anyone using Openstack in
  scentific environement or Openstack's purpose is to create commercial
  only cloud (business - large and small companies)?
 
  OpenStack is being used in a number of research clouds, including NeCTAR
  (Australia's national research cloud). There is huge interest around
  bridging the gap there, with companies like Nimbis or Bull being
 involved.
 
  Hopefully people with more information than I have will comment on this
  thread.
 
 
 We're developing GPU, bare metal, and large SMP (think SGI UV) support
 for Openstack and we're targeting HPC/scientific computing workloads.  It's
 a work in progress, but we have people using our code and we're talking to
 folks about getting our code onto nodes within FutureGrid.  We have GPU
 support for LXC right now, and we're working on adding support for other
 hypervisors as well.  We're also working on getting the code into shape for
 merging upstream, some of which (the bare metal work) has already been
 done.  We had an HPC session at the most recent Design Summit, and it was
 well-attended with lots of great input.  If there are specific features
 that you're looking for, we'd love to hear about it.

 By the way, all of our code is available at
 https://github.com/usc-isi/nova, so if you'd like to try it out before
 it gets merged upstream, go for it.

 best,
 JP


 ___
 Mailing list: https://launchpad.net/~openstack
 

Re: [Openstack] Can't ssh into instance

2012-05-24 Thread Sébastien Han
Perfect!
Yes in a multi-host scenario it's the IP address of the compute node itself
:)

Cheers!

On Thu, May 24, 2012 at 5:34 PM, Leander Bessa Beernaert 
leande...@gmail.com wrote:

 Just a question i forgot, on a multi-host senario, the IP_CURRENT_NODE is
 the compute node's ip right? Currently i'm only running everything on a
 single host.


 On Thu, May 24, 2012 at 4:32 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Adding the following to my config file solved my problem!! Thanks!!

- routing_source_ip=IP_CURRENT_NODE
- --my_ip=IP_CURRENT_NODE

 Regards,

 Leander

 On Thu, May 24, 2012 at 4:24 PM, Sébastien Han 
 han.sebast...@gmail.comwrote:

 It's not an open-ssh issue.
 Your virtual machine simply can't fetch the metadata, cloud-init can't
 to be more accurate. Without this your ssh key is not imported. This is why
 the machine is well running, you can ping it but you can't access it
 because the authorized_keys file on the vm is not fulfill.
 If you are only running a nova-compute node, installing
 nova-api-metadata will do the trick!

 Also verify those values in your nova.conf :

- --vncserver_proxyclient_address=IP_CURRENT_NODE
- --vncserver_listen=IP_CURRENT_NODE
- --ec2_dmz_host=IP_CURRENT_NODE
- --routing_source_ip=IP_CURRENT_NODE
- --my_ip=IP_CURRENT_NODE

 Let us know a little more about your setup :)
 Cheers!



 On Thu, May 24, 2012 at 4:01 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't
 gotten that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i
 was getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a 
 connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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





___
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] [QA] Weekly Meeting tomorrow, Thursday, May 23 @ 17:00 UTC

2012-05-24 Thread Paul Belanger

On 12-05-24 01:42 AM, Dolph Mathews wrote:

The wiki page for meetings has a link to an iCal feed you can subscribe to:
http://wiki.openstack.org/Meetings

Direct iCal link: http://goo.gl/okDGE

Great, thanks.  Feature request, any chance of individual iCal feeds for 
each meeting?  Right now, I'm only interested in the QA Team.


--
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: 
https://twitter.com/pabelanger


___
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] Can't ssh into instance

2012-05-24 Thread Rogerio Goncalves
Maybe you missed the rules of security group?

Rogério Gonçalves
roge...@gmail.com
Cel: (11) 8840-9790




On Thu, May 24, 2012 at 12:12 PM, Leander Bessa Beernaert 
leande...@gmail.com wrote:

 I've formatted the host machine and reinstalled openstack, just in case.
 Now i am only getting connection refused.


 On Thu, May 24, 2012 at 3:01 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin 
 ahal...@griddynamics.comwrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't gotten
 that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i was
 getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a 
 connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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


___
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] Folsom-1 milestone available for Keystone, Glance, Nova, Horizon and Quantum

2012-05-24 Thread Thierry Carrez
Hi everyone,

The first milestone of the Folsom cycle is now available for Keystone,
Glance, Nova, Horizon and Quantum ! Note that Glance now provides
python-glanceclient as a separate release deliverable.

You can see the full list of new features and fixed bugs, as well as
tarball downloads, at:

https://launchpad.net/keystone/folsom/folsom-1
https://launchpad.net/glance/folsom/folsom-1
https://launchpad.net/nova/folsom/folsom-1
https://launchpad.net/horizon/folsom/folsom-1
https://launchpad.net/quantum/folsom/folsom-1

Our next milestone, folsom-2, is scheduled for delivery on July 5th.
Happy hacking !

Cheers,

-- 
Thierry Carrez (ttx)
Release Manager, OpenStack

___
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] Where to add the performance increasing method in openstack

2012-05-24 Thread Diego Parrilla
Hi Sandy,

Where is your VM I/O based scheduler published? We are also working on smart 
schedulers.

Cheers
Diego

Enviado desde mi iPhone, perdona la brevedad

El 24/05/2012, a las 15:10, Sandy Walsh sandy.wa...@rackspace.com escribió:

 Hi!
 
 You would want to report this information to the Scheduler (probably via the 
 db) so it can make more informed decisions. A new Weight Function in the 
 scheduler would be the place to add it specifically.
 
 We currently track the number of VM I/O operations being performed on each 
 Compute node for this (build, resize, migration, etc) but nothing within the 
 guest itself. Could be handy for certain verticals. 
 
 Hope it helps,
 Sandy
 
 From: openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net 
 [openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net] on behalf 
 of sarath zacharia [sarathzacha...@gmail.com]
 Sent: Thursday, May 24, 2012 1:48 AM
 To: Nagaraju Bingi
 Cc: openstack@lists.launchpad.net
 Subject: Re: [Openstack] Where to add the performance increasing method in 
 openstack
 
 Hi
   Yes , We are monitoring the loads on the instances in each node and 
 next instances will create in most suitable node ie, 
  node have less load
 
 Regards ,
 
 Sarath Zacharia
  
 
 On Wed, May 23, 2012 at 6:51 PM, Nagaraju Bingi 
 nagaraju_bi...@persistent.co.in wrote:
 Hi,
 
  
 
 Do you mean that your program would monitor the Openstack Instances and check 
 the performance and load of nodes according to the number of different 
 application running in each instance?
 
 Your program will tell you that which Instance is the best suitable to deploy 
 your new application.
 
  
 
 Please let me know if I understood correctly.
 
  
 
 Regards,
 
 Nagaraju B
 
  
 
  
 
 From: openstack-bounces+nagaraju_bingi=persistent.co...@lists.launchpad.net 
 [mailto:openstack-bounces+nagaraju_bingi=persistent.co...@lists.launchpad.net]
  On Behalf Of sarath zacharia
 Sent: Wednesday, May 23, 2012 10:57 AM
 To: openstack@lists.launchpad.net
 Subject: [Openstack] Where to add the performance increasing method in 
 openstack
 
  
 
 
 
 Hi ,
 
   We created an performance increasing programe for cloud 
 application. 
 
 This programe will check the performance and load of nodes according
 
 to the number of different application running in each node of our cloud 
 environment and
 
 it will give which node is more suitable for deploying the next application 
 in cloud. 
 
 In which service we have to modify in openstack for implementing this 
 algoritham ? 
 
  
 
 note : now our code is in java how we can connect to the nova development 
 environment
 
  
 
 Yours Sincerly
 
  
 
 Sarath Zacharia
 
  
 
   
 
 DISCLAIMER == This e-mail may contain privileged and confidential 
 information which is the property of Persistent Systems Ltd. It is intended 
 only for the use of the individual or entity to which it is addressed. If you 
 are not the intended recipient, you are not authorized to read, retain, copy, 
 print, distribute or use this message. If you have received this 
 communication in error, please notify the sender and delete all copies of 
 this message. Persistent Systems Ltd. does not accept any liability for virus 
 infected mails.
 
 
 
 
 -- 
 with regards
 
 Sarath !
 ___
 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] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
Hi all,

I was seeing that node.js is now being used in horizon. Is there any details on 
why that was needed, the reasoning, the technical docs on where it is used.

Are there packages available in fedora/ubuntu for this?

Such a change seems like it should have a little more reasoning/explanation 
that what I found @ 
https://github.com/openstack-dev/devstack/commit/0c2891558122aa9d030811109536caf5c81cfb75
 or https://blueprints.launchpad.net/horizon/+spec/transition-to-lesscss

Do we really need to have that ?? :-/

-Josh
___
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] Where to add the performance increasing method in openstack

2012-05-24 Thread Sandy Walsh
Have a look at the nova/notifications/capacity_notifier and the related 
capacity operations in nova.db.api

The notifier listens for Compute node operations (*.start/*.end) and keeps the 
ComputeNode table fresh with the latest state. The Scheduler uses the 
ComputeNode table for picking candidates.

Cheers,
Sandy




From: Diego Parrilla [diego.parrilla.santama...@gmail.com]

Sent: Thursday, May 24, 2012 2:01 PM

To: Sandy Walsh
Cc: sarath zacharia; Nagaraju Bingi; openstack@lists.launchpad.net
Subject: Re: [Openstack] Where to add the performance increasing method in 
openstack

Hi Sandy,

Where is your VM I/O based scheduler published? We are also working on smart 
schedulers.

Cheers
Diego

Enviado desde mi iPhone, perdona la brevedad

___
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] nova user management without the dashboard

2012-05-24 Thread Sharif Islam
Is anyone using nova without utilizing the dashboard?

Most of our users are used to ec2 api from the command line so we are
thinking about generating the credential files and placing them in
user's home directory. The idea is to avoid the extra step of login to
the dashboard and grabbing the file. However, keystone seems to not have
a equivalent command like this:

nova-manage project zipfile projectname username
username-projectname-nova.zip



--sharif

-- 
Sharif Islam
Senior Systems Analyst/Programmer
FutureGrid (http://futuregrid.org)
Pervasive Technology Institute, Indiana University Bloomington

___
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] Can't ssh into instance

2012-05-24 Thread Matt Joyce
First rule of security group.  Do not talk about security group.  j/k

On Thu, May 24, 2012 at 9:35 AM, Rogerio Goncalves roge...@gmail.comwrote:

 Maybe you missed the rules of security group?

 Rogério Gonçalves
 roge...@gmail.com
 Cel: (11) 8840-9790




 On Thu, May 24, 2012 at 12:12 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 I've formatted the host machine and reinstalled openstack, just in case.
 Now i am only getting connection refused.


 On Thu, May 24, 2012 at 3:01 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin ahal...@griddynamics.com
  wrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't gotten
 that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i
 was getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a 
 connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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



 ___
 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


Re: [Openstack] nova state machine simplification and clarification

2012-05-24 Thread Jay Pipes

On 05/24/2012 10:46 AM, Yun Mao wrote:

Sandy,

I like the suggestion of graphvis, although I haven't used it for a
while. Is there a dir in nova appropriate to put .dot files? I was
hoping to get the proposal discussed a few round, and while it's
getting stabilized, we can work on the graphvis representation.
Thanks,


Hi Yun!

We use graphviz/dot representation in our /doc/source/architecture.rst 
[1] file to produce the Glance architecture diagram on 
glance.openstack.org [2]. Works like a charm :)


Cheers,
-jay

[1] 
https://raw.github.com/openstack/glance/master/doc/source/architecture.rst

[2] http://glance.openstack.org/architecture.html

___
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] Nodejs in horizon

2012-05-24 Thread Chuck Short
Hi

On Thu, 24 May 2012 10:33:32 -0700
Joshua Harlow harlo...@yahoo-inc.com wrote:

 Hi all,
 
 I was seeing that node.js is now being used in horizon. Is there any
 details on why that was needed, the reasoning, the technical docs on
 where it is used.
 
 Are there packages available in fedora/ubuntu for this?

Yes in ubuntu



 
 Such a change seems like it should have a little more
 reasoning/explanation that what I found @
 https://github.com/openstack-dev/devstack/commit/0c2891558122aa9d030811109536caf5c81cfb75
 or
 https://blueprints.launchpad.net/horizon/+spec/transition-to-lesscss
 
 Do we really need to have that ?? :-/
 
 -Josh

Regards
chuck

___
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] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
So was there thought about the fedora and other distributions when adding this 
as a dependency.

I thought we were going to try to support both, but if a package is currently 
only in a single distribution, that makes it hard to develop on both.

Not sure if this is valid, and it might be helpful: http://nodejs.tchol.org/

It seems like this hairy wart is coming back up again, ie, not including stuff 
on only one distro, or at least planning ahead accordingly to how the other 
distros can get it... This is especially important in CI/integration tests, 
where now without a special package, how can this stuff be tested in the other 
distros...

-Josh

On 5/24/12 12:27 PM, Chuck Short chuck.sh...@canonical.com wrote:

Hi

On Thu, 24 May 2012 10:33:32 -0700
Joshua Harlow harlo...@yahoo-inc.com wrote:

 Hi all,

 I was seeing that node.js is now being used in horizon. Is there any
 details on why that was needed, the reasoning, the technical docs on
 where it is used.

 Are there packages available in fedora/ubuntu for this?

Yes in ubuntu




 Such a change seems like it should have a little more
 reasoning/explanation that what I found @
 https://github.com/openstack-dev/devstack/commit/0c2891558122aa9d030811109536caf5c81cfb75
 or
 https://blueprints.launchpad.net/horizon/+spec/transition-to-lesscss

 Do we really need to have that ?? :-/

 -Josh

Regards
chuck

___
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] Nodejs in horizon

2012-05-24 Thread Devin Carlen
Hi Joshua,

Node.js is in the standard repos for most modern distros.  It's not an issue 
for Ubuntu/Fedora.

We are using Node.js for a package called Less with does asset compression for 
us.  Less is Apache 2 licensed so we have included it directly within Horizon:

https://blueprints.launchpad.net/horizon/+spec/transition-to-lesscss


Relying on Node.js actually opens up a lot of possibilities in the future for 
us to do realtime websocket communications via node.js and still rely on django 
to do the heavy lifting:

https://blueprints.launchpad.net/horizon/+spec/realtime-communication



All this aside, I'm a bit confused why you are asking us to justify a new 
dependency.  (We don't have to.) What is your actual concern here?   We are 
talking about a single package, and a single line patch to update devstack.  


Thanks,

Devin



On May 24, 2012, at 10:33 AM, Joshua Harlow wrote:

 Hi all,
 
 I was seeing that node.js is now being used in horizon. Is there any details 
 on why that was needed, the reasoning, the technical docs on where it is used.
 
 Are there packages available in fedora/ubuntu for this?
 
 Such a change seems like it should have a little more reasoning/explanation 
 that what I found @ 
 https://github.com/openstack-dev/devstack/commit/0c2891558122aa9d030811109536caf5c81cfb75
  or https://blueprints.launchpad.net/horizon/+spec/transition-to-lesscss
 
 Do we really need to have that ?? :-/
 
 -Josh
 ___
 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


Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
That's fine, I just want to make sure there is a vetting process for new 
packages.

With documented reasons, documentation on how the distros will get to having 
that package (if they don't) and so on. Seeing that this is a multiple 
distribution project, it seems pretty relevant to make sure that everyone that 
is affected by this, is ready for it, especially for devs. Maybe that's just me 
missing some IRC log somewhere, but I just wanted to raise this concern on 
behalf of others (and myself).

It'd be nice to have this vetting process be something more formal imho, but 
I'll let the community decide...

On 5/24/12 12:43 PM, Gabriel Hurley gabriel.hur...@nebula.com wrote:

Hi Josh,

As for packages, I can't speak to Fedora offhand, but Ubuntu has the nodejs 
package which is what we've used internally for development and for the 
devstack gate going forward. The LESS binary itself is being bundled with 
Horizon to alleviate versioning incompatibilities and package differences 
across OS's.

As for why, having been involved in the discussion and decision let me present 
a few components of the reasoning as they relate to Horizon's core values 
(expressed here: http://horizon.openstack.org/intro.html#values):

1.  Manageable: The CSS stylesheet for the OpenStack Dashboard had become 
unmaintainable. It was and (until we split it up after LESS lands) is a 
complete mess, over 1000 lines long. We needed a solution that continues to 
allow us to build in a more reasonable fashion. There are plenty of modern 
tools for this (LESS, SASS, etc.). We can split apart the stylesheet into 
logical modules, define variables, mixins and transformations so we update code 
in one place rather than twenty... so on and so forth.

2.  Extensible: LESS allows third-party developers to import and build from 
the core stylesheet(s) instead of copying and pasting the stylesheet wholesale, 
causing the pain of staying up-to-date with changes, bugfixes, etc.

3.  Consistent: As mentioned above, we can define variables and mixins 
which can be used everywhere, preventing the I wrote the same styles ten 
places and forgot to update them all problems that every frontend developer 
knows all too well.

4.  Stable: At this point node.js and LESS are well-proven technologies, 
being leveraged by large companies and large projects all over the globe.

5.  Usable: From a developer standpoint, LESS and SASS are light-years 
ahead of static CSS in terms of writing code. The end product to the consumer 
is more-or-less identical.


We did evaluate a number of other implementation options for meeting these 
needs (develop with LESS and commit both the .less and final .css files, using 
SASS which is built on Ruby, etc.) but came to this as the best long-term 
solution.

All the best,

- Gabriel



From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Joshua Harlow
Sent: Thursday, May 24, 2012 10:34 AM
To: openstack
Cc: Yahoo Openstack Developers
Subject: [Openstack] Nodejs in horizon

Hi all,

I was seeing that node.js is now being used in horizon. Is there any details on 
why that was needed, the reasoning, the technical docs on where it is used.

Are there packages available in fedora/ubuntu for this?

Such a change seems like it should have a little more reasoning/explanation 
that what I found @ 
https://github.com/openstack-dev/devstack/commit/0c2891558122aa9d030811109536caf5c81cfb75
 or https://blueprints.launchpad.net/horizon/+spec/transition-to-lesscss

Do we really need to have that ?? :-/

-Josh

___
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] Question about cloudfiles API

2012-05-24 Thread Shawn Heisey
This question is probably more appropriate for the Swift mailing list, 
but I could not figure out how to subscribe to that list, so it's going 
here.  I'm OK with moving it there, if someone can tell me how to get 
subscribed, or if I'm in completely the wrong place, let me know.


I am attempting to evaluate Swift for our environment.  I have set up a 
Swift cluster using the ubuntu multi-server HOWTO and I can use the 
commandline utilities to upload and download files.  Now I need to do a 
test using the Java API.  I downloaded java-cloudfiles and I can't seem 
to make it work.  It fails at the login() step.


FilesClient client = new FilesClient(username, password, 
authUrl, null, 1);

if (client.login())
{

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at 
com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)
at 
org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
at 
org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:397)
at 
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
at 
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
at 
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at 
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
at 
com.rackspacecloud.client.cloudfiles.FilesClient.login(FilesClient.java:278)

at com.REDACTED.swiftest.Main.main(Main.java:50)

This all works with the curl command using the same auth URL.  I've got 
the default user/password set up from the HOWTO.


Initially I suspected that the problem was due to the self-signed 
certificate, but watching syslog on the primary proxy server, I don't 
see any requests logged, but I do see a conversation happen on port 8080 
with tcpdump.  How can I troubleshoot this?


Thanks,
Shawn


___
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] Can't ssh into instance

2012-05-24 Thread Sébastien Han
Why did you reinstall everything?
There is no just in case, I mean you solved your issue, it was from your
configuration not from openstack :)

It's a routing issue, same as earlier.
Check again those parameters, specially the first one:

   - --routing_source_ip=IP_CURRENT_NODE
   - --my_ip=IP_CURRENT_NODE

Still in all-in-one setup?

Cheers :)

On Thu, May 24, 2012 at 8:40 PM, Matt Joyce matt.jo...@cloudscaling.comwrote:

 First rule of security group.  Do not talk about security group.  j/k


 On Thu, May 24, 2012 at 9:35 AM, Rogerio Goncalves roge...@gmail.comwrote:

 Maybe you missed the rules of security group?

 Rogério Gonçalves
 roge...@gmail.com
 Cel: (11) 8840-9790




 On Thu, May 24, 2012 at 12:12 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 I've formatted the host machine and reinstalled openstack, just in case.
 Now i am only getting connection refused.


 On Thu, May 24, 2012 at 3:01 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't
 gotten that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i
 was getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a 
 connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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



 ___
 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


___
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] Quantum+Openvswitch: could not open /dev/net/tun: Operation not permitted

2012-05-24 Thread Igor Laskovy
Hello all from sunny Kiev))

I have built nova+quantum+openvswitch without nova-volume lab on two
nodes - one controller with everything on it except nova-compute and
second dedicated compute node with nova-compute:

During creating VM I have error which I still can't fix:
$ nova boot --image precise --flavor m1.tiny  my-precise-vm3
$ nova list
+--+++--+
|  ID  |  Name  | Status | Networks |
+--+++--+
| 5a72aa9f-5743-486a-9496-130d367bc665 | my-precise-vm3 | ERROR  |  |
+--+++--+

# cat /var/log/libvirt/qemu/instance-0012.log
2012-05-24 19:51:47.994+: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 512 -smp
1,sockets=1,cores=1,threads=1 -name instance-0012 -uuid
5a72aa9f-5743-486a-9496-130d367bc665 -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-0012.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc
-no-shutdown -drive
file=/var/lib/nova/instances/instance-0012/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
-device 
virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=fa:16:3e:49:f1:a9,bus=pci.0,addr=0x3
-netdev tap,ifname=tapcdd6bc93-86,script=,id=hostnet1 -device
rtl8139,netdev=hostnet1,id=net1,mac=fa:16:3e:68:94:b4,bus=pci.0,addr=0x4
-chardev 
file,id=charserial0,path=/var/lib/nova/instances/instance-0012/console.log
-device isa-serial,chardev=charserial0,id=serial0 -chardev
pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1
-usb -device usb-tablet,id=input0 -vnc 192.168.1.71:0 -k en-us -vga
cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
Domain id=4 is tainted: shell-scripts
char device redirected to /dev/pts/2
kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
open /dev/net/tun: Operation not permitted
kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: Device
'tap' could not be initialized
2012-05-24 19:51:48.175+: shutting down

/var/lib/nova/instances/instance-0012# virsh create libvirt.xml
error: Failed to create domain from libvirt.xml
error: internal error Process exited while reading console log output:
char device redirected to /dev/pts/2
kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
open /dev/net/tun: Operation not permitted
kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: Device
'tap' could not be initialized

Waiting any advises!

-- 
Igor Laskovy
Kiev, Ukraine

___
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 user management without the dashboard

2012-05-24 Thread Rafael Durán Castañeda

El 24/05/12 20:36, Sharif Islam escribió:

Is anyone using nova without utilizing the dashboard?

Most of our users are used to ec2 api from the command line so we are
thinking about generating the credential files and placing them in
user's home directory. The idea is to avoid the extra step of login to
the dashboard and grabbing the file. However, keystone seems to not have
a equivalent command like this:

nova-manage project zipfile projectname username
username-projectname-nova.zip



--sharif


Hi,

You can create credentials with keystone command line, parse the output 
and then build your credentials file. See the keystone sample_data.sh 
script (just at then end ec2 credentials are created).


https://github.com/openstack/keystone/blob/master/tools/sample_data.sh#L238

HTH,
Rafael

___
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 user management without the dashboard

2012-05-24 Thread Dean Troyer
On Thu, May 24, 2012 at 1:36 PM, Sharif Islam isla...@indiana.edu wrote:
 the dashboard and grabbing the file. However, keystone seems to not have
 a equivalent command like this:

 nova-manage project zipfile projectname username
 username-projectname-nova.zip

It isn't a complete replacement, but you can get your ec2 creds form
keystone like this:

keystone ec2-credentials-create

You should be able to use
https://github.com/openstack-dev/devstack/blob/master/eucarc as a
model for turning that into a novarc file.

dt

-- 

Dean Troyer
dtro...@gmail.com

___
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 state machine simplification and clarification

2012-05-24 Thread Matt Joyce
I love graphviz as a charting tool and sphinx support inline is great.
Used to use it all the time at nebula in the work wiki.

-Matt

On Thu, May 24, 2012 at 12:10 PM, Jay Pipes jaypi...@gmail.com wrote:

 On 05/24/2012 10:46 AM, Yun Mao wrote:

 Sandy,

 I like the suggestion of graphvis, although I haven't used it for a
 while. Is there a dir in nova appropriate to put .dot files? I was
 hoping to get the proposal discussed a few round, and while it's
 getting stabilized, we can work on the graphvis representation.
 Thanks,


 Hi Yun!

 We use graphviz/dot representation in our /doc/source/architecture.rst [1]
 file to produce the Glance architecture diagram on glance.openstack.org[2]. 
 Works like a charm :)

 Cheers,
 -jay

 [1] https://raw.github.com/**openstack/glance/master/doc/**
 source/architecture.rsthttps://raw.github.com/openstack/glance/master/doc/source/architecture.rst
 [2] 
 http://glance.openstack.org/**architecture.htmlhttp://glance.openstack.org/architecture.html

 __**_
 Mailing list: 
 https://launchpad.net/~**openstackhttps://launchpad.net/%7Eopenstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~**openstackhttps://launchpad.net/%7Eopenstack
 More help   : 
 https://help.launchpad.net/**ListHelphttps://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


Re: [Openstack] nova user management without the dashboard

2012-05-24 Thread Sharif Islam
On 05/24/2012 04:27 PM, Dean Troyer wrote:
 On Thu, May 24, 2012 at 1:36 PM, Sharif Islam isla...@indiana.edu wrote:
 the dashboard and grabbing the file. However, keystone seems to not have
 a equivalent command like this:

 nova-manage project zipfile projectname username
 username-projectname-nova.zip
 
 It isn't a complete replacement, but you can get your ec2 creds form
 keystone like this:
 
 keystone ec2-credentials-create
 
 You should be able to use
 https://github.com/openstack-dev/devstack/blob/master/eucarc as a
 model for turning that into a novarc file.
 
thanks! I don't know if it possible to also generate the .pem files also
from command line.


--sharif


___
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] Nodejs in horizon

2012-05-24 Thread Gabriel Hurley
I agree with the larger problem of being mindful about our supported distros. 
That said, most of us are (at best) knowledgeable about a single distro's 
bundled packages. This is amplified by the fact that our CI infrastructure is 
only gated on a single distro (Ubuntu) currently.

As you noted, the nodejs.tchol.org site seems to offer useful resources for 
running node on Fedora.

If someone would like to work up a quick writeup of best-practices for 
installing/configuring node.js on Fedora (I'm not a Fedora user, sorry) I'd be 
happy to help get it included in the docs.


-  Gabriel

From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Joshua Harlow
Sent: Thursday, May 24, 2012 12:32 PM
To: Chuck Short
Cc: Yahoo Openstack Developers; openstack
Subject: Re: [Openstack] Nodejs in horizon

So was there thought about the fedora and other distributions when adding this 
as a dependency.

I thought we were going to try to support both, but if a package is currently 
only in a single distribution, that makes it hard to develop on both.

Not sure if this is valid, and it might be helpful: http://nodejs.tchol.org/

It seems like this hairy wart is coming back up again, ie, not including stuff 
on only one distro, or at least planning ahead accordingly to how the other 
distros can get it... This is especially important in CI/integration tests, 
where now without a special package, how can this stuff be tested in the other 
distros...

-Josh

On 5/24/12 12:27 PM, Chuck Short chuck.sh...@canonical.com wrote:
Hi

On Thu, 24 May 2012 10:33:32 -0700
Joshua Harlow harlo...@yahoo-inc.com wrote:

 Hi all,

 I was seeing that node.js is now being used in horizon. Is there any
 details on why that was needed, the reasoning, the technical docs on
 where it is used.

 Are there packages available in fedora/ubuntu for this?

Yes in ubuntu




 Such a change seems like it should have a little more
 reasoning/explanation that what I found @
 https://github.com/openstack-dev/devstack/commit/0c2891558122aa9d030811109536caf5c81cfb75
 or
 https://blueprints.launchpad.net/horizon/+spec/transition-to-lesscss

 Do we really need to have that ?? :-/

 -Josh

Regards
chuck
___
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] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
Good to know,

I thought that fedora was being ran as well in the CI env.

If not, I will try my best to get somebody or something here @ y! to make this 
happen (with fedora or rhel6)...

-Josh

On 5/24/12 1:42 PM, Gabriel Hurley gabriel.hur...@nebula.com wrote:

I agree with the larger problem of being mindful about our supported distros. 
That said, most of us are (at best) knowledgeable about a single distro's 
bundled packages. This is amplified by the fact that our CI infrastructure is 
only gated on a single distro (Ubuntu) currently.

As you noted, the nodejs.tchol.org site seems to offer useful resources for 
running node on Fedora.

If someone would like to work up a quick writeup of best-practices for 
installing/configuring node.js on Fedora (I'm not a Fedora user, sorry) I'd be 
happy to help get it included in the docs.

- Gabriel



From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Joshua Harlow
Sent: Thursday, May 24, 2012 12:32 PM
To: Chuck Short
Cc: Yahoo Openstack Developers; openstack
Subject: Re: [Openstack] Nodejs in horizon

So was there thought about the fedora and other distributions when adding this 
as a dependency.

I thought we were going to try to support both, but if a package is currently 
only in a single distribution, that makes it hard to develop on both.

Not sure if this is valid, and it might be helpful: http://nodejs.tchol.org/

It seems like this hairy wart is coming back up again, ie, not including stuff 
on only one distro, or at least planning ahead accordingly to how the other 
distros can get it... This is especially important in CI/integration tests, 
where now without a special package, how can this stuff be tested in the other 
distros...

-Josh

On 5/24/12 12:27 PM, Chuck Short chuck.sh...@canonical.com wrote:
Hi

On Thu, 24 May 2012 10:33:32 -0700
Joshua Harlow harlo...@yahoo-inc.com wrote:

 Hi all,

 I was seeing that node.js is now being used in horizon. Is there any
 details on why that was needed, the reasoning, the technical docs on
 where it is used.

 Are there packages available in fedora/ubuntu for this?

Yes in ubuntu




 Such a change seems like it should have a little more
 reasoning/explanation that what I found @
 https://github.com/openstack-dev/devstack/commit/0c2891558122aa9d030811109536caf5c81cfb75
 or
 https://blueprints.launchpad.net/horizon/+spec/transition-to-lesscss

 Do we really need to have that ?? :-/

 -Josh

Regards
chuck

___
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] Nodejs in horizon

2012-05-24 Thread Gabriel Hurley
I'm confident in saying that the official gates are on Ubuntu (particularly the 
devstack integration tests). I can't swear that there isn't *some* Fedora 
testing going on in the CI. I'm only as involved with the CI team as I need to 
be to keep moving things forward ;-)


-  Gabriel

From: Joshua Harlow [mailto:harlo...@yahoo-inc.com]
Sent: Thursday, May 24, 2012 1:46 PM
To: openstack-...@yahoo-inc.com; Gabriel Hurley; openstack
Subject: Re: [Openstack] Nodejs in horizon

Good to know,

I thought that fedora was being ran as well in the CI env.

If not, I will try my best to get somebody or something here @ y! to make this 
happen (with fedora or rhel6)...

-Josh

On 5/24/12 1:42 PM, Gabriel Hurley gabriel.hur...@nebula.com wrote:
I agree with the larger problem of being mindful about our supported distros. 
That said, most of us are (at best) knowledgeable about a single distro's 
bundled packages. This is amplified by the fact that our CI infrastructure is 
only gated on a single distro (Ubuntu) currently.

As you noted, the nodejs.tchol.org site seems to offer useful resources for 
running node on Fedora.

If someone would like to work up a quick writeup of best-practices for 
installing/configuring node.js on Fedora (I'm not a Fedora user, sorry) I'd be 
happy to help get it included in the docs.

- Gabriel



From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Joshua Harlow
Sent: Thursday, May 24, 2012 12:32 PM
To: Chuck Short
Cc: Yahoo Openstack Developers; openstack
Subject: Re: [Openstack] Nodejs in horizon

So was there thought about the fedora and other distributions when adding this 
as a dependency.

I thought we were going to try to support both, but if a package is currently 
only in a single distribution, that makes it hard to develop on both.

Not sure if this is valid, and it might be helpful: http://nodejs.tchol.org/

It seems like this hairy wart is coming back up again, ie, not including stuff 
on only one distro, or at least planning ahead accordingly to how the other 
distros can get it... This is especially important in CI/integration tests, 
where now without a special package, how can this stuff be tested in the other 
distros...

-Josh

On 5/24/12 12:27 PM, Chuck Short chuck.sh...@canonical.com wrote:
Hi

On Thu, 24 May 2012 10:33:32 -0700
Joshua Harlow harlo...@yahoo-inc.com wrote:

 Hi all,

 I was seeing that node.js is now being used in horizon. Is there any
 details on why that was needed, the reasoning, the technical docs on
 where it is used.

 Are there packages available in fedora/ubuntu for this?

Yes in ubuntu




 Such a change seems like it should have a little more
 reasoning/explanation that what I found @
 https://github.com/openstack-dev/devstack/commit/0c2891558122aa9d030811109536caf5c81cfb75
 or
 https://blueprints.launchpad.net/horizon/+spec/transition-to-lesscss

 Do we really need to have that ?? :-/

 -Josh

Regards
chuck
___
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] [client] changes to cliff for create commands

2012-05-24 Thread Doug Hellmann
A few days ago we talked about the fact that it felt weird to have the
create commands implementing get_data() in order to make a new resource and
then show its properties. I have a proposed change for a new base class in
cliff [1] that adds a special class for this purpose, with a more logical
API.

Let me know what you think,
Doug

[1]
https://github.com/dhellmann/cliff/commit/b709ccb61760fb3dad7c76ac3df7aa257a930ea4
___
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] Deployments in Scientific Environments

2012-05-24 Thread Tim Bell
CERN is more of a high throughput computing environment rather than a high
performance site.  Although we do multi-core, our programs are not the large
scale floating point programs of some other sciences, so GPUs etc. are not a
significant gain for us.

CERN is currently targeting a pre-production service based on OpenStack this
year and targetting around 15,000 hypervisors spread across two data centres
by 2015.

For a quick overview, see http://cern.ch/go/NH9w

Tim

 -Original Message-
 From: openstack-bounces+tim.bell=cern...@lists.launchpad.net
 [mailto:openstack-bounces+tim.bell=cern...@lists.launchpad.net] On Behalf
Of
 Thierry Carrez
 Sent: 24 May 2012 11:46
 To: openstack@lists.launchpad.net
 Subject: Re: [Openstack] Greatest deployment?
 
 SoLa wrote:
  Few days ago I read something about OpenNebula,it's the main
  competitor in open source for Openstack, beside Eucalyptus, as far as i
know.
 
 OpenNebula and Eucalyptus (as well as CloudStack) are alternative
solutions in
 the open source IaaS Compute space. Note that OpenStack provides more than
 just IaaS Compute feature (Nova), it also addresses object storage
(Swift), or
 network (Quantum)...
 
  I
  found (http://blog.opennebula.org) something about tens of thousands
  of VMs and OpenNebula's performance (maybe CERN has such huge
  deployment, who knows they didn't mention that) and I'm just wondering
  what about Openstack performance. Can anyone praise about biggest
  deployments? How many VMs can Openstack actually supervise? Any large-
 scale achievements?
 
 OpenStack is being used to power public clouds (HP, Rackspace, ATT,
 Internap, Korea Telecom, SDSC...). Those are unfortunately notoriously shy
at
 sharing size numbers :)
 
  OpenNebula has also this advantage, for me, that it's designed also to
  provide scientific cloud and it's used by few research centres and
  even supercomputing centres. How about Openstack? Anyone tried deploy
  it in supercomputing environment? Maybe huge cluster or GPU cluster or
  any other scientific group is using Openstack? Is anyone using
  Openstack in scentific environement or Openstack's purpose is to
  create commercial only cloud (business - large and small companies)?
 
 OpenStack is being used in a number of research clouds, including NeCTAR
 (Australia's national research cloud). There is huge interest around
bridging the
 gap there, with companies like Nimbis or Bull being involved.
 
 Hopefully people with more information than I have will comment on this
 thread.
 
 --
 Thierry Carrez (ttx)
 Release Manager, OpenStack
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


smime.p7s
Description: S/MIME cryptographic signature
___
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] Quantum+Openvswitch: could not open /dev/net/tun: Operation not permitted

2012-05-24 Thread Chris Wright
* Igor Laskovy (igor.lask...@gmail.com) wrote:
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
 open /dev/net/tun: Operation not permitted

This is a shortcoming to using type=ethernet...
Did you add /dev/net/tun to your /etc/libvirt/qemu.conf
cgroup_device_acl on compute node?

thanks,
-chris

___
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] Quantum+Openvswitch: could not open /dev/net/tun: Operation not permitted

2012-05-24 Thread Soheil Hassas Yeganeh
Your user is probably not in the libvirtd group. You can add it to your
user by running:

# sudo usermod -a -G libvirtd `whoami`

If there is no libvirtd group add the group first:

# sudo groupadd libvirtd

Cheers,
Soheil

On Thu, May 24, 2012 at 4:05 PM, Igor Laskovy igor.lask...@gmail.comwrote:

 Hello all from sunny Kiev))

 I have built nova+quantum+openvswitch without nova-volume lab on two
 nodes - one controller with everything on it except nova-compute and
 second dedicated compute node with nova-compute:

 During creating VM I have error which I still can't fix:
 $ nova boot --image precise --flavor m1.tiny  my-precise-vm3
 $ nova list

 +--+++--+
 |  ID  |  Name  | Status |
 Networks |

 +--+++--+
 | 5a72aa9f-5743-486a-9496-130d367bc665 | my-precise-vm3 | ERROR  |
  |

 +--+++--+

 # cat /var/log/libvirt/qemu/instance-0012.log
 2012-05-24 19:51:47.994+: starting up
 LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
 QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 512 -smp
 1,sockets=1,cores=1,threads=1 -name instance-0012 -uuid
 5a72aa9f-5743-486a-9496-130d367bc665 -nodefconfig -nodefaults -chardev

 socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-0012.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc
 -no-shutdown -drive

 file=/var/lib/nova/instances/instance-0012/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
 -device
 virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0 -device
 rtl8139,netdev=hostnet0,id=net0,mac=fa:16:3e:49:f1:a9,bus=pci.0,addr=0x3
 -netdev tap,ifname=tapcdd6bc93-86,script=,id=hostnet1 -device
 rtl8139,netdev=hostnet1,id=net1,mac=fa:16:3e:68:94:b4,bus=pci.0,addr=0x4
 -chardev
 file,id=charserial0,path=/var/lib/nova/instances/instance-0012/console.log
 -device isa-serial,chardev=charserial0,id=serial0 -chardev
 pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1
 -usb -device usb-tablet,id=input0 -vnc 192.168.1.71:0 -k en-us -vga
 cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
 Domain id=4 is tainted: shell-scripts
 char device redirected to /dev/pts/2
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
 open /dev/net/tun: Operation not permitted
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: Device
 'tap' could not be initialized
 2012-05-24 19:51:48.175+: shutting down

 /var/lib/nova/instances/instance-0012# virsh create libvirt.xml
 error: Failed to create domain from libvirt.xml
 error: internal error Process exited while reading console log output:
 char device redirected to /dev/pts/2
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
 open /dev/net/tun: Operation not permitted
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: Device
 'tap' could not be initialized

 Waiting any advises!

 --
 Igor Laskovy
 Kiev, Ukraine

 ___
 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


Re: [Openstack] Devstack multinode setup -- instances hang in state scheduling

2012-05-24 Thread Nicolae Paladi
Hi, I could only check the setup now but thanks for the tips,
it worked! So the trick was to have the rabbit sevice on the compute host
as well. Also there have been several other emails in the threat with
more detailed info (e.g. Multinode=true instead of multinode=1, etc).

Thanks for the help!

/Nico.

On 23 May 2012 20:55, Dan Wendlandt d...@nicira.com wrote:

 Hi nico,

 This may be related to another thread currently on the ML about multi-node
 devstack.

 There seems to be a bug in multi-node devstack that if you do not specify
 rabbit as one of the enabled services on each compute node, the
 nova-compute on the compute node tries to contact the rabbit server on
 localhost, rather than on the IP specified by RABBIT_HOST.

 If the compute nodes are not correctly connecting to rabbit, I believe the
 scheduler would not be able to notify those servers to create VMs, which
 *may* explain why your instances are getting stuck in scheduling. Looking
 at the nova-compute log on your compute hosts could probably help determine
 if this is the issue, as there would be errors due to the failure to
 connect to rabbit. Putting rabbit in the set of ENABLED_SERVICES on all
 nodes seems to have worked for me as a work around.

 I posted a question to the devstack team about this:
 https://answers.launchpad.net/devstack/+question/197749

 Dan



 On Wed, May 23, 2012 at 11:05 AM, Nicolae Paladi n.pal...@gmail.comwrote:

 Hi, a very similar question has been asked in
 https://lists.launchpad.net/openstack/msg10125.html,
 however I could not find a follow-up.

 I have followed the instructions for
 http://devstack.org/guides/multinode-lab.html,
 however I am running Ubuntu 12.04 on both hosts.

 There are 2 issues:

 1. The 'services' panel in the dashboard only displays the services
 running on
 the controller, while nova-manage service list on both hosts displays:

 nova-compute duff nova
 enabled:-)   2012-05-23 18:01:14
 nova-certduff nova
 enabled:-)   2012-05-23 18:01:18
 nova-volume  duff nova
 enabled:-)   2012-05-23 18:01:24
 nova-scheduler   duff nova
 enabled:-)   2012-05-23 18:01:18
 nova-consoleauth duff nova
 enabled:-)   2012-05-23 18:01:19
 nova-network duff nova
 enabled:-)   2012-05-23 18:01:16
 nova-compute cirrus   nova
 enabled:-)   2012-05-23 18:01:17
 nova-volume  cirrus   nova
 enabled:-)   2012-05-23 18:01:16
 nova-network cirrus   nova
 enabled:-)   2012-05-23 18:01:18


 2. Once an instance is launched, it remains in the scheduling state
 with no progress.

 The logs look fine, no errors there.

 Thanks!
 /nico

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




 --
 ~~~
 Dan Wendlandt
 Nicira, Inc: www.nicira.com
 twitter: danwendlandt
 ~~~


___
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] Quantum+Openvswitch: could not open /dev/net/tun: Operation not permitted

2012-05-24 Thread Dan Wendlandt
Hi Igor,

Are you running this on Precise?  If so, Precise is a bit pickier than
previous versions about requiring a setting in /etc/libvirt/qemu.conf

You need to add /dev/net/tun to the cgroup_device_acl list in that file,
and restart libvirt.

This is actually handled automatically by a branch I've pushed for review
in devstack: https://review.openstack.org/#/c/7001/

It has lots of positive reviews, but still needs one more core review and
I've been waiting a while.  If you're a devstack core, please give me a
hand! :)

Dan

p.s.  the root cause of needing to tweak /etc/libvirt/qemu.conf is that
we're using libvirt interface type=ethernet elements to work with
openvswitch.  Starting in libvirt 0.9.11 (not available in precise),
openvswitch is integrated directly with libvirt, meaning that using
type=ethernet (and the workaround) is no longer necessary.


On Thu, May 24, 2012 at 1:05 PM, Igor Laskovy igor.lask...@gmail.comwrote:

 Hello all from sunny Kiev))

 I have built nova+quantum+openvswitch without nova-volume lab on two
 nodes - one controller with everything on it except nova-compute and
 second dedicated compute node with nova-compute:

 During creating VM I have error which I still can't fix:
 $ nova boot --image precise --flavor m1.tiny  my-precise-vm3
 $ nova list

 +--+++--+
 |  ID  |  Name  | Status |
 Networks |

 +--+++--+
 | 5a72aa9f-5743-486a-9496-130d367bc665 | my-precise-vm3 | ERROR  |
  |

 +--+++--+

 # cat /var/log/libvirt/qemu/instance-0012.log
 2012-05-24 19:51:47.994+: starting up
 LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
 QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 512 -smp
 1,sockets=1,cores=1,threads=1 -name instance-0012 -uuid
 5a72aa9f-5743-486a-9496-130d367bc665 -nodefconfig -nodefaults -chardev

 socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-0012.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc
 -no-shutdown -drive

 file=/var/lib/nova/instances/instance-0012/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
 -device
 virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0 -device
 rtl8139,netdev=hostnet0,id=net0,mac=fa:16:3e:49:f1:a9,bus=pci.0,addr=0x3
 -netdev tap,ifname=tapcdd6bc93-86,script=,id=hostnet1 -device
 rtl8139,netdev=hostnet1,id=net1,mac=fa:16:3e:68:94:b4,bus=pci.0,addr=0x4
 -chardev
 file,id=charserial0,path=/var/lib/nova/instances/instance-0012/console.log
 -device isa-serial,chardev=charserial0,id=serial0 -chardev
 pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1
 -usb -device usb-tablet,id=input0 -vnc 192.168.1.71:0 -k en-us -vga
 cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
 Domain id=4 is tainted: shell-scripts
 char device redirected to /dev/pts/2
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
 open /dev/net/tun: Operation not permitted
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: Device
 'tap' could not be initialized
 2012-05-24 19:51:48.175+: shutting down

 /var/lib/nova/instances/instance-0012# virsh create libvirt.xml
 error: Failed to create domain from libvirt.xml
 error: internal error Process exited while reading console log output:
 char device redirected to /dev/pts/2
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
 open /dev/net/tun: Operation not permitted
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: Device
 'tap' could not be initialized

 Waiting any advises!

 --
 Igor Laskovy
 Kiev, Ukraine

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




-- 
~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~
___
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] [Netstack] About python versions that we are planning to support

2012-05-24 Thread Chris Wright
* Dan Wendlandt (d...@nicira.com) wrote:
 I'm concerned about a need to support python 2.4 as well, especially if it
 would have a ripple effect into openstack-common, which otherwise does not
 have that requirement.

I am too.  Is this still open, or did we reach some consensus?  The
discussion on the list seems to have died out.

thanks,
-chris

___
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] Quantum+Openvswitch: could not open /dev/net/tun: Operation not permitted

2012-05-24 Thread Soheil Hassas Yeganeh
Your user is probably not in the libvirtd group. You can add it to your
user by running:

# sudo usermod -a -G libvirtd `whoami`

If there is no libvirtd group add the group first:

# sudo groupadd libvirtd

Cheers,
Soheil

On Thu, May 24, 2012 at 4:05 PM, Igor Laskovy igor.lask...@gmail.comwrote:

 Hello all from sunny Kiev))

 I have built nova+quantum+openvswitch without nova-volume lab on two
 nodes - one controller with everything on it except nova-compute and
 second dedicated compute node with nova-compute:

 During creating VM I have error which I still can't fix:
 $ nova boot --image precise --flavor m1.tiny  my-precise-vm3
 $ nova list

 +--+++--+
 |  ID  |  Name  | Status |
 Networks |

 +--+++--+
 | 5a72aa9f-5743-486a-9496-130d367bc665 | my-precise-vm3 | ERROR  |
  |

 +--+++--+

 # cat /var/log/libvirt/qemu/instance-0012.log
 2012-05-24 19:51:47.994+: starting up
 LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
 QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 512 -smp
 1,sockets=1,cores=1,threads=1 -name instance-0012 -uuid
 5a72aa9f-5743-486a-9496-130d367bc665 -nodefconfig -nodefaults -chardev

 socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-0012.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc
 -no-shutdown -drive

 file=/var/lib/nova/instances/instance-0012/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
 -device
 virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0 -device
 rtl8139,netdev=hostnet0,id=net0,mac=fa:16:3e:49:f1:a9,bus=pci.0,addr=0x3
 -netdev tap,ifname=tapcdd6bc93-86,script=,id=hostnet1 -device
 rtl8139,netdev=hostnet1,id=net1,mac=fa:16:3e:68:94:b4,bus=pci.0,addr=0x4
 -chardev
 file,id=charserial0,path=/var/lib/nova/instances/instance-0012/console.log
 -device isa-serial,chardev=charserial0,id=serial0 -chardev
 pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1
 -usb -device usb-tablet,id=input0 -vnc 192.168.1.71:0 -k en-us -vga
 cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
 Domain id=4 is tainted: shell-scripts
 char device redirected to /dev/pts/2
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
 open /dev/net/tun: Operation not permitted
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: Device
 'tap' could not be initialized
 2012-05-24 19:51:48.175+: shutting down

 /var/lib/nova/instances/instance-0012# virsh create libvirt.xml
 error: Failed to create domain from libvirt.xml
 error: internal error Process exited while reading console log output:
 char device redirected to /dev/pts/2
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
 open /dev/net/tun: Operation not permitted
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: Device
 'tap' could not be initialized

 Waiting any advises!

 --
 Igor Laskovy
 Kiev, Ukraine

 ___
 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


Re: [Openstack] [Netstack] About python versions that we are planning to support

2012-05-24 Thread Dan Wendlandt
On Thu, May 24, 2012 at 2:50 PM, Chris Wright chr...@sous-sol.org wrote:

 * Dan Wendlandt (d...@nicira.com) wrote:
  I'm concerned about a need to support python 2.4 as well, especially if
 it
  would have a ripple effect into openstack-common, which otherwise does
 not
  have that requirement.

 I am too.  Is this still open, or did we reach some consensus?  The
 discussion on the list seems to have died out.


Hi Chris,

We actually talked about this at the quantum team meeting last week.

Current status seems to be:
- we're OK enforcing 2.4 coding standards for agent code in the quantum
repo, so long as it does not become onerous (currently this is mainly a
matter of simple things like not using as or with)
- the bigger question is around code from other repos that may be pulled
in, particularly openstack-common.  Its unclear if those projects can be
kept 2.4 clean, this may well prove substantially more onerous than just
keeping quantum agent code clean (perhaps those requiring 2.4 can help with
that).
- another option is to avoid running the agents on dom0 all together and
instead use the service-vm that is already used in xenserver deployments
to run nova-compute.  There are a couple options here, including a
suggestion from rkukura to potentially utilize the rootwrap functionality
so that the agent could run in the service-vm, but dispatch calls to
dom0.

mnewby has been leading the effort to maintain XenServer support and he has
been out this week (and will be out next as well, I think), so I think
exploring those options may have to wait a week unless someone else wants
to drive.

Dan





 thanks,
 -chris




-- 
~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~
___
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] [Netstack] About python versions that we are planning to support

2012-05-24 Thread Chris Wright
* Dan Wendlandt (d...@nicira.com) wrote:
 On Thu, May 24, 2012 at 2:50 PM, Chris Wright chr...@sous-sol.org wrote:
 
  * Dan Wendlandt (d...@nicira.com) wrote:
   I'm concerned about a need to support python 2.4 as well, especially if
  it
   would have a ripple effect into openstack-common, which otherwise does
  not
   have that requirement.
 
  I am too.  Is this still open, or did we reach some consensus?  The
  discussion on the list seems to have died out.
 
 We actually talked about this at the quantum team meeting last week.

Cool, thanks for the update.

 Current status seems to be:
 - we're OK enforcing 2.4 coding standards for agent code in the quantum
 repo, so long as it does not become onerous (currently this is mainly a
 matter of simple things like not using as or with)
 - the bigger question is around code from other repos that may be pulled
 in, particularly openstack-common.  Its unclear if those projects can be
 kept 2.4 clean, this may well prove substantially more onerous than just
 keeping quantum agent code clean (perhaps those requiring 2.4 can help with
 that).

Right, this is why I brought it up.  The common.cfg blueprint, for example.

 - another option is to avoid running the agents on dom0 all together and
 instead use the service-vm that is already used in xenserver deployments
 to run nova-compute.  There are a couple options here, including a
 suggestion from rkukura to potentially utilize the rootwrap functionality
 so that the agent could run in the service-vm, but dispatch calls to
 dom0.
 
 mnewby has been leading the effort to maintain XenServer support and he has
 been out this week (and will be out next as well, I think), so I think
 exploring those options may have to wait a week unless someone else wants
 to drive.

I see.  I'm inclined to see it as distro support (read: patch and
maintain customizations downstream).  But if Maru is up for the work and
it's not blocking other efforts...

thanks,
-chris

___
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] [Swift] Question about cloudfiles API

2012-05-24 Thread Greg
It is mostly the likely the self-signed certificate issue you suspected. Java 
(and other languages) are pretty notorious for rejecting such unless you 
configure them just right. I haven't worked with Java in 10 years, so my 
knowledge of how to fix that is pretty useless, hopefully another will speak up 
and help. You probably had to use -k with curl right? That would confirm the 
self-signed issue.

Just as a note, the SSL capabilities for the Swift proxy server are truly for 
basic testing only. You might want to start with non-SSL and then lock it down 
after you get things working otherwise.

For SSL capabilities, an SSL-terminating load balancer in front of the Swift 
proxy servers is recommended. You /could/ use DNS-round-robin balancing to 
proxies with SSL turned on, but like I mentioned, that's really just for 
testing purposes. In a production deployment, you'd definitely want SSL 
terminated at the load balancer(s).

Now, which load balancers to use is a whole other email thread, so I won't 
mention that for now, you may already have particular requirements in mind 
anyway.


On May 24, 2012, at 3:03 PM, Shawn Heisey wrote:

 This question is probably more appropriate for the Swift mailing list, but I 
 could not figure out how to subscribe to that list, so it's going here.  I'm 
 OK with moving it there, if someone can tell me how to get subscribed, or if 
 I'm in completely the wrong place, let me know.
 
 I am attempting to evaluate Swift for our environment.  I have set up a Swift 
 cluster using the ubuntu multi-server HOWTO and I can use the commandline 
 utilities to upload and download files.  Now I need to do a test using the 
 Java API.  I downloaded java-cloudfiles and I can't seem to make it work.  It 
 fails at the login() step.
 
FilesClient client = new FilesClient(username, password, authUrl, 
 null, 1);
if (client.login())
{
 
 javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at 
 com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)
at 
 org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
at 
 org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:397)
at 
 org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
at 
 org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
at 
 org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at 
 org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
at 
 org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
at 
 org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at 
 org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at 
 org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
at 
 com.rackspacecloud.client.cloudfiles.FilesClient.login(FilesClient.java:278)
at com.REDACTED.swiftest.Main.main(Main.java:50)
 
 This all works with the curl command using the same auth URL.  I've got the 
 default user/password set up from the HOWTO.
 
 Initially I suspected that the problem was due to the self-signed 
 certificate, but watching syslog on the primary proxy server, I don't see any 
 requests logged, but I do see a conversation happen on port 8080 with 
 tcpdump.  How can I troubleshoot this?
 
 Thanks,
 Shawn
 
 
 ___
 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


Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Russell Bryant
On 05/24/2012 03:40 PM, Devin Carlen wrote:
 Hi Joshua,
 
 Node.js is in the standard repos for most modern distros.  It's not an
 issue for Ubuntu/Fedora.

It actually is a problem for Fedora.  node.js is not in Fedora.  Once
Horizon requires node.js, it will be broken for Fedora (and EPEL for use
with RHEL and its derivatives).

https://bugzilla.redhat.com/show_bug.cgi?id=815018

-- 
Russell Bryant

___
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] Quantum+Openvswitch: could not open /dev/net/tun: Operation not permitted

2012-05-24 Thread Dean Troyer
On Thu, May 24, 2012 at 3:05 PM, Igor Laskovy igor.lask...@gmail.com wrote:
 kvm: -netdev tap,ifname=tap24b9f3da-8b,script=,id=hostnet0: could not
 open /dev/net/tun: Operation not permitted

By chance I just happened to find the solution this afternoon...add
the following to /etc/libvirt/qemu.conf and restart libvirt:

cgroup_device_acl = [
   /dev/null, /dev/full, /dev/zero,
   /dev/random, /dev/urandom,
   /dev/ptmx, /dev/kvm, /dev/kqemu,
   /dev/rtc, /dev/hpet, /dev/net/tun,
]

It is possible that the list can be pared down, I pulled that verbatim
from http://fedoraproject.org/wiki/Quantum.

dt

-- 

Dean Troyer
dtro...@gmail.com

___
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] Can't ssh into instance

2012-05-24 Thread Leander Bessa Beernaert
I'm in no way saying that openstack is to blame for the current problem,
but it occurred to me that my install could have script failed somewhere
along the way without me knowing (i might have forgotten to mention that in
the previous post :s).

Adding those two lines solved my problem.  I've already mentioned it
earlier, perhaps the mail wasn't sent to the list. And yes, i'm still using
a all-in-one setup for now.

Thanks for the tip.

On Thu, May 24, 2012 at 9:03 PM, Sébastien Han han.sebast...@gmail.comwrote:

 Why did you reinstall everything?
 There is no just in case, I mean you solved your issue, it was from your
 configuration not from openstack :)

 It's a routing issue, same as earlier.
 Check again those parameters, specially the first one:

- --routing_source_ip=IP_CURRENT_NODE
- --my_ip=IP_CURRENT_NODE

 Still in all-in-one setup?

 Cheers :)

 On Thu, May 24, 2012 at 8:40 PM, Matt Joyce 
 matt.jo...@cloudscaling.comwrote:

 First rule of security group.  Do not talk about security group.  j/k


 On Thu, May 24, 2012 at 9:35 AM, Rogerio Goncalves roge...@gmail.comwrote:

 Maybe you missed the rules of security group?

 Rogério Gonçalves
 roge...@gmail.com
 Cel: (11) 8840-9790




 On Thu, May 24, 2012 at 12:12 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 I've formatted the host machine and reinstalled openstack, just in
 case. Now i am only getting connection refused.


 On Thu, May 24, 2012 at 3:01 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't
 gotten that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i
 was getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1
 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a 
 connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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



 ___
 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



 ___
 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 

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
That's what I was worried about, and why I (just my opinion) think that we need 
to be a lot stricter about vetting new dependencies.

There needs to be time given to say, ensuring that its really needed, if it 
really is, documenting why it has to be there in depth, getting various PTL's 
to agree on that, then comes the process of informing and/or discussing with 
the distributions about how to get that supported (if it isn't). That second 
stage might influence the first and so on.

Since problems like this, although yes, it slows down development overall, seem 
necessary in a larger project with multiple distributions being enabled (for 
development usage and for actual prod. usage).

On 5/24/12 3:38 PM, Russell Bryant rbry...@redhat.com wrote:

On 05/24/2012 03:40 PM, Devin Carlen wrote:
 Hi Joshua,

 Node.js is in the standard repos for most modern distros.  It's not an
 issue for Ubuntu/Fedora.

It actually is a problem for Fedora.  node.js is not in Fedora.  Once
Horizon requires node.js, it will be broken for Fedora (and EPEL for use
with RHEL and its derivatives).

https://bugzilla.redhat.com/show_bug.cgi?id=815018

--
Russell Bryant

___
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] Can't ssh into instance

2012-05-24 Thread Sébastien Han
Ok ok, no offense in my previous emails :)
Good to know that everything is working.

Cheers.



On Fri, May 25, 2012 at 1:00 AM, Leander Bessa Beernaert 
leande...@gmail.com wrote:

 I'm in no way saying that openstack is to blame for the current problem,
 but it occurred to me that my install could have script failed somewhere
 along the way without me knowing (i might have forgotten to mention that in
 the previous post :s).

 Adding those two lines solved my problem.  I've already mentioned it
 earlier, perhaps the mail wasn't sent to the list. And yes, i'm still using
 a all-in-one setup for now.

  Thanks for the tip.


 On Thu, May 24, 2012 at 9:03 PM, Sébastien Han han.sebast...@gmail.comwrote:

 Why did you reinstall everything?
 There is no just in case, I mean you solved your issue, it was from
 your configuration not from openstack :)

 It's a routing issue, same as earlier.
 Check again those parameters, specially the first one:

- --routing_source_ip=IP_CURRENT_NODE
- --my_ip=IP_CURRENT_NODE

 Still in all-in-one setup?

 Cheers :)

 On Thu, May 24, 2012 at 8:40 PM, Matt Joyce 
 matt.jo...@cloudscaling.comwrote:

 First rule of security group.  Do not talk about security group.  j/k


 On Thu, May 24, 2012 at 9:35 AM, Rogerio Goncalves roge...@gmail.comwrote:

 Maybe you missed the rules of security group?

 Rogério Gonçalves
 roge...@gmail.com
 Cel: (11) 8840-9790




 On Thu, May 24, 2012 at 12:12 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 I've formatted the host machine and reinstalled openstack, just in
 case. Now i am only getting connection refused.


 On Thu, May 24, 2012 at 3:01 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Compute log: Log: http://paste.openstack.org/show/18149/

 I've tried bot root and ubuntu as account names (ssh -i key.pem
 root@10.1.2.3 and  ssh -i key.pem ubuntu@10.1.2.3) and the result is
 still Read from socket failed: Connection reset by peer


 On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:


 Complete log: http://paste.openstack.org/show/18144/

 On Thu, May 24, 2012 at 1:49 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 you can try to look in  console.log for this instance



 On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 No, at the moment the vnc console isn't working yet. I haven't
 gotten that far yet.


 On Thu, May 24, 2012 at 1:29 PM, Anton Haldin 
 ahal...@griddynamics.com wrote:

 t can be an issue on OS side in instance ?

 do you have vnc access for this instance?


 On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert 
 leande...@gmail.com wrote:

 Hello,

 I'm having trouble sshing into the created instances. At first i
 was getting the following error:

 ssh -i testkey.pem root@10.1.1.3 -v

 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

 debug1: Reading configuration data /etc/ssh/ssh_config

 debug1: /etc/ssh/ssh_config line 19: Applying options for *

 debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.

 debug1: Connection established.

 debug1: identity file testkey.pem type -1

 debug1: identity file testkey.pem-cert type -1

 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.8p1 Debian-7ubuntu1

 debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*

 debug1: Enabling compatibility mode for protocol 2.0

 debug1: Local version string SSH-2.0-OpenSSH_5.9p1
 Debian-5ubuntu1

 debug1: SSH2_MSG_KEXINIT sent

 Read from socket failed: Connection reset by peer


 I then proceeded to reboot the machine and all it's services.
 However, now i can't even get that far. I'm alway faced with a 
 connection
 refused.

 I've added the permissions for port 22 and icmp in the default
 security group and i'm also able to ping the instances.

 I'm using the openstack packages provided with ubuntu 12.04.

 Regards,

 Leander

 ___
 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



 ___
 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



 ___
 Mailing list: https://launchpad.net/~openstack
 Post to

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Devin Carlen
-1 to introducing formal processes around this.  This will happen from time to 
time.  Development may be briefly impacted on other platforms but hindering 
innovation and telling developers that they are responsible for package 
availability across every distro is not healthy.

You are concerned about Fedora which is a perfectly reasonable stance.  But 
what about CentOS, RHEL, Debian, etc.

I for once don't want to have my technical options limited by whether or not a 
package is currently maintained by a distro.  We have a lot of reach into these 
communities and we are still in the earliest stages of Folsom.  There is plenty 
of time to deal with this.

That said, this is why we made this change in the *first* milestone, and not a 
week before release. ;)


Devin




On May 24, 2012, at 4:09 PM, Joshua Harlow wrote:

 That’s what I was worried about, and why I (just my opinion) think that we 
 need to be a lot stricter about vetting new dependencies.
 
 There needs to be time given to say, ensuring that its really needed, if it 
 really is, documenting why it has to be there in depth, getting various PTL’s 
 to agree on that, then comes the process of informing and/or discussing with 
 the distributions about how to get that supported (if it isn’t). That second 
 stage might influence the first and so on. 
 
 Since problems like this, although yes, it slows down development overall, 
 seem necessary in a larger project with multiple distributions being enabled 
 (for development usage and for actual prod. usage). 
 
 On 5/24/12 3:38 PM, Russell Bryant rbry...@redhat.com wrote:
 
 On 05/24/2012 03:40 PM, Devin Carlen wrote:
  Hi Joshua,
 
  Node.js is in the standard repos for most modern distros.  It's not an
  issue for Ubuntu/Fedora.
 
 It actually is a problem for Fedora.  node.js is not in Fedora.  Once
 Horizon requires node.js, it will be broken for Fedora (and EPEL for use
 with RHEL and its derivatives).
 
 https://bugzilla.redhat.com/show_bug.cgi?id=815018
 
 --
 Russell Bryant
 

___
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] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
Sure I agree with what u said, its a balance...

But it worries me when a commit pops up that I had to basically find, and then 
I get a reply from russell who works at RH that says nope fedora doesn't have 
it.

It seems like that reach u mentioned, wasn't occurring, idk, maybe that is the 
process, just more of notifying people/companies...

Something seems broken if that can happen. I agree its early, but why was it 
problem in the first place?

On 5/24/12 4:22 PM, Devin Carlen de...@openstack.org wrote:

-1 to introducing formal processes around this.  This will happen from time to 
time.  Development may be briefly impacted on other platforms but hindering 
innovation and telling developers that they are responsible for package 
availability across every distro is not healthy.

You are concerned about Fedora which is a perfectly reasonable stance.  But 
what about CentOS, RHEL, Debian, etc.

I for once don't want to have my technical options limited by whether or not a 
package is currently maintained by a distro.  We have a lot of reach into these 
communities and we are still in the earliest stages of Folsom.  There is plenty 
of time to deal with this.

That said, this is why we made this change in the *first* milestone, and not a 
week before release. ;)


Devin




On May 24, 2012, at 4:09 PM, Joshua Harlow wrote:

Re: [Openstack] Nodejs in horizon
That's what I was worried about, and why I (just my opinion) think that we need 
to be a lot stricter about vetting new dependencies.

There needs to be time given to say, ensuring that its really needed, if it 
really is, documenting why it has to be there in depth, getting various PTL's 
to agree on that, then comes the process of informing and/or discussing with 
the distributions about how to get that supported (if it isn't). That second 
stage might influence the first and so on.

Since problems like this, although yes, it slows down development overall, seem 
necessary in a larger project with multiple distributions being enabled (for 
development usage and for actual prod. usage).

On 5/24/12 3:38 PM, Russell Bryant rbry...@redhat.com 
x-msg://602/rbry...@redhat.com  wrote:

On 05/24/2012 03:40 PM, Devin Carlen wrote:
 Hi Joshua,

 Node.js is in the standard repos for most modern distros.  It's not an
 issue for Ubuntu/Fedora.

It actually is a problem for Fedora.  node.js is not in Fedora.  Once
Horizon requires node.js, it will be broken for Fedora (and EPEL for use
with RHEL and its derivatives).

https://bugzilla.redhat.com/show_bug.cgi?id=815018

--
Russell Bryant



___
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] Nodejs in horizon

2012-05-24 Thread Russell Bryant
On 05/24/2012 07:28 PM, Joshua Harlow wrote:
 Sure I agree with what u said, its a balance...
 
 But it worries me when a commit pops up that I had to basically find,
 and then I get a reply from russell who works at RH that says nope
 fedora doesn’t have it.
 
 It seems like that reach u mentioned, wasn’t occurring, idk, maybe that
 is the process, just more of notifying people/companies...
 
 Something seems broken if that can happen. I agree its early, but why
 was it problem in the first place?

Well, I think you are witnessing it happening.  We now know about it.
It's early enough in the release cycle that hopefully we can react and
make it not be a problem by the time Folsom comes around.  In this
particular case, it's a pretty big dependency.  It's not just a simple
Python library to package up ... but I do agree with Devin that upstream
shouldn't hold back because of it, as long as the more invasive changes
like this are made as early as possible in the release cycle.

We'll look into the state of affairs for getting Node.js packaged.
Pádraig Brady also has an interesting question/suggestion for this
particular issue on the code review:

https://review.openstack.org/#/c/7367/

node is a big dependency just for lesscss.

I wonder could this feature be tweaked to give a configuration option to
run lesscss on the client?

That might be desired to reduce load on the server, or to ease the
installation burden due to node not being easily available for all
platforms at present.

That would sure save us a lot of headaches if we could make that work.  :-)

-- 
Russell Bryant

___
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] New layout of the OpenStack mailing lists

2012-05-24 Thread Stefano Maffulli
Hello folks,

we're working on a new mailing list server to host our discussions. The
main factor behind the move was described in this message by ttx:

http://openstack.markmail.org/thread/ybwazse63sgxozh2


The current layout is drafted on
http://etherpad.openstack.org/newmlist-layout

The open questions remain:

 - what to do with the current list hosted on Launchpad (and its archive)
 - where to host the list for DevOps (if we agree we need to add one)

What do you suggest to do?

thanks
stef

PS sent to the openstack dev list only FYI. Please keep the discussion
on the openstack-community list.

___
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] Nodejs in horizon

2012-05-24 Thread Gabriel Hurley
Calling it broken is a bit of an overstatement. As noted previously, node.js 
can be installed and configured (http://nodejs.tchol.org/) on Fedora. It's just 
not in the Fedora default package repositories. My reading of the ticket on the 
redhat bugzilla also indicates that there's active work to get it included, 
since it's becoming a very popular and wide-spread tool.

I'm willing to spend more development cycles over the course of the Folsom 
release cycle to make sure there's a path forward for Fedora users, but I 
haven't heard any blockers here yet. Whether those solutions include 
documentation, configurable options for client-side processing for users who 
don't wish to use node on the server-side, or other ideas... Patches are always 
welcome. ;-)

I would, however, ask the leadership of the Openstack community (the PPB?) to 
make some official documented decisions on distro support, though. I did a fair 
bit of googling and wiki searching and couldn't find any official list of 
supported distros for OpenStack. It'd be really helpful! :-)

All the best,

- Gabriel

 -Original Message-
 From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net
 [mailto:openstack-
 bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of
 Russell Bryant
 Sent: Thursday, May 24, 2012 3:38 PM
 To: Devin Carlen
 Cc: openstack; Yahoo Openstack Developers
 Subject: Re: [Openstack] Nodejs in horizon
 
 On 05/24/2012 03:40 PM, Devin Carlen wrote:
  Hi Joshua,
 
  Node.js is in the standard repos for most modern distros.  It's not an
  issue for Ubuntu/Fedora.
 
 It actually is a problem for Fedora.  node.js is not in Fedora.  Once Horizon
 requires node.js, it will be broken for Fedora (and EPEL for use with RHEL and
 its derivatives).
 
 https://bugzilla.redhat.com/show_bug.cgi?id=815018
 
 --
 Russell Bryant
 
 ___
 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] [XenAPI] Implementing text console (log)

2012-05-24 Thread Mohammed Naser
Hello,

I am currently doing work on adding the text logs / console output
into XenServer, a feature that has not been implemented:

https://github.com/openstack/nova/blob/master/nova/virt/xenapi/vmops.py#L1345

At the moment, I have a sort-of working concept of it that only runs
under XS6 (the only one that offers VT100 terminals), however it has a
fallback to returning nothing if it doesn't find one, however, there
is an issue.

The way to get the console output is by getting the console URL and
CONNECT-ing to it, an example of this in a curl is the following:

curl -k -X CONNECT
'https://192.168.1.215/console?uuid=6e12b329-6d72-19a4-f8ea-61dedcd049b9session_id=OpaqueRef:d04043d3-4328-c1b6-1a2a-4a3638419967'

The curl process will appear to be hanging, but if you run any
commands or type anything, you'll see it appear in the screen.
Obviously, you need your own session_id and console UUID with type
VT100.

The potential resolution I can see for this is simply having a process
that CONNECT-s to consoles when any VM starts and just keeps storing
it in a file and we can read that file at any given points, however,
I'm not sure if we can create this type of architecture in Nova (or if
we can start background threads, etc).  Also, it would need to handle
any reboots (as a new console will be generated) and re-connect to it.
 This should not be hard to handle as it only requires a restart when
the connection is dropped.

I'm not sure to as what the best way to approach this at the moment so
I would like the input of the OpenStack XenAPI community so we can get
this silly-sounding feature to output proper output instead of fake
data.

Regards,
Mohammed

-- 
Mohammed Naser — vexxhost

___
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] centos 6 images

2012-05-24 Thread Joshua Harlow
Starting this @ https://github.com/yahoo/Openstack-Condense/wiki/How-To-Use-This

I'll try to finish it up soon :-P

On 5/22/12 6:33 PM, Joshua Harlow harlo...@yahoo-inc.com wrote:

Let me write something up that should explain this. Its not that hard.

On 5/22/12 6:31 PM, Jason Ford ja...@chatinara.com wrote:

Joshua,

Do you have some basic instructions on how to push this into an image and 
configure it? Any information about what you have here would be great!

jason

- Original Message -
From: Joshua Harlow harlo...@yahoo-inc.com
To: Jason ja...@chatinara.com, Pádraig Brady p...@draigbrady.com
Cc: Fedora Cloud SIG cl...@lists.fedoraproject.org, Andy Grimm 
agr...@gmail.com, openstack openstack@lists.launchpad.net
Sent: Tuesday, May 22, 2012 1:49:06 PM
Subject: Re: [Openstack] centos 6 images

U might want to check out,

https://github.com/yahoo/Openstack-Condense

Its a stripped down/cleaned up/... version of cloud-init that I know works on 
RHEL6.

I tried to improve the following:



1. Code cleanliness (constants being uppercase, paths using os.path.join 
and so-on)
2. Stripping out some of the odd handlers (byobu, right-scale and such)
3. Improving logging by a lot (so that u can debug this thing)
4. Making what handlers I left work on RH and ubuntu...

Might be useful if u want to try it.

I know just from doing the above work that the cloud-init for ubuntu, requires 
some work to get it to work on RH, but not tons, eventually I hope that I can 
merge this back, but for now its forked so that I could focus on getting it 
working and cleaned up, rather than pushing code through some review process 
via launchpad and such (ie the slow as molasses approach).

On 5/22/12 10:05 AM, Jason  ja...@chatinara.com  wrote:



I will give these a shot later today and reply with feedback.

Thanks for looking into this!

Jason

On May 22, 2012, at 11:44 AM, Pádraig Brady  p...@draigbrady.com  wrote:

 On 05/22/2012 03:39 PM, Andy Grimm wrote:
 On Tue, May 22, 2012 at 9:38 AM, Pádraig Brady  p...@draigbrady.com  wrote:
 On 05/22/2012 04:07 AM, Jason Ford wrote:
 I am trying to put together an image for centos 6 that works like 
 cloud-init on ubuntu does. Currently I have ssh keys getting imported but 
 having some problems getting the disk to dynamically resize to the flavor 
 template as well as the hostname set in horizon to be pushed into the 
 image. Does anyone have any howtos or suggestions on how to get this done? 
 Is there cloud-init for centos just like ubuntu? I would also be 
 interested in how to do this with debian as well.

 Well I notice there is no cloud-init package for EPEL.
 I took a quick stab at it here:
 http://pbrady.fedorapeople.org/cloud-init-el6/

 I've already responded in IRC, but it wouldn't hurt to have a response
 in the mail archive. In short, the reason there isn't already a
 cloud-init for EL6 (or EL5, for that matter) is that upstream has been
 using python 2.7-only calls for a while now. In particular, a couple
 of calls to subprocess.check_output need to be replaced, and I think
 there are a few other issues as well. I don't think it's a huge
 amount of work to make it functional, but it hasn't been high on
 anyone's list. It would be cool if you have time to fix / test it,
 though.

 Ok I've fixed the check_output calls at the above URL.

 cheers,
 Pádraig.

___
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] Fwd: Question about cloudfiles API

2012-05-24 Thread Luis Gervaso
-- Forwarded message --
From: Luis Gervaso l...@woorea.es
Date: Fri, May 25, 2012 at 3:24 AM
Subject: Re: [Openstack] Question about cloudfiles API
To: Shawn Heisey launch...@elyograg.org


Hi Shawn,

You can try with OpenStack Java SDK

https://github.com/woorea/openstack-java-sdk

https://github.com/woorea/openstack-java-sdk/wiki/Swift-Tutorial

Regards


On Thu, May 24, 2012 at 10:03 PM, Shawn Heisey launch...@elyograg.orgwrote:

 This question is probably more appropriate for the Swift mailing list, but
 I could not figure out how to subscribe to that list, so it's going here.
  I'm OK with moving it there, if someone can tell me how to get subscribed,
 or if I'm in completely the wrong place, let me know.

 I am attempting to evaluate Swift for our environment.  I have set up a
 Swift cluster using the ubuntu multi-server HOWTO and I can use the
 commandline utilities to upload and download files.  Now I need to do a
 test using the Java API.  I downloaded java-cloudfiles and I can't seem to
 make it work.  It fails at the login() step.

FilesClient client = new FilesClient(username, password,
 authUrl, null, 1);
if (client.login())
{

 javax.net.ssl.**SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.**SSLSessionImpl.**
 getPeerCertificates(**SSLSessionImpl.java:352)
at org.apache.http.conn.ssl.**AbstractVerifier.verify(**
 AbstractVerifier.java:128)
at org.apache.http.conn.ssl.**SSLSocketFactory.**connectSocket(**
 SSLSocketFactory.java:397)
at org.apache.http.impl.conn.**DefaultClientConnectionOperato**
 r.openConnection(**DefaultClientConnectionOperato**r.java:148)
at org.apache.http.impl.conn.**AbstractPoolEntry.open(**
 AbstractPoolEntry.java:150)
at org.apache.http.impl.conn.**AbstractPooledConnAdapter.**open(**
 AbstractPooledConnAdapter.**java:121)
at org.apache.http.impl.client.**DefaultRequestDirector.**
 tryConnect(**DefaultRequestDirector.java:**575)
at org.apache.http.impl.client.**DefaultRequestDirector.**execute(*
 *DefaultRequestDirector.java:**425)
at org.apache.http.impl.client.**AbstractHttpClient.execute(**
 AbstractHttpClient.java:820)
at org.apache.http.impl.client.**AbstractHttpClient.execute(**
 AbstractHttpClient.java:754)
at org.apache.http.impl.client.**AbstractHttpClient.execute(**
 AbstractHttpClient.java:732)
at com.rackspacecloud.client.**cloudfiles.FilesClient.login(**
 FilesClient.java:278)
at com.REDACTED.swiftest.Main.**main(Main.java:50)

 This all works with the curl command using the same auth URL.  I've got
 the default user/password set up from the HOWTO.

 Initially I suspected that the problem was due to the self-signed
 certificate, but watching syslog on the primary proxy server, I don't see
 any requests logged, but I do see a conversation happen on port 8080 with
 tcpdump.  How can I troubleshoot this?

 Thanks,
 Shawn


 __**_
 Mailing list: 
 https://launchpad.net/~**openstackhttps://launchpad.net/%7Eopenstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~**openstackhttps://launchpad.net/%7Eopenstack
 More help   : 
 https://help.launchpad.net/**ListHelphttps://help.launchpad.net/ListHelp




-- 
---
Luis Alberto Gervaso Martin
Woorea Solutions, S.L
CEO  CTO
mobile: (+34) 627983344
luis@ luis.gerv...@gmail.comwoorea.es




-- 
---
Luis Alberto Gervaso Martin
Woorea Solutions, S.L
CEO  CTO
mobile: (+34) 627983344
luis@ luis.gerv...@gmail.comwoorea.es
___
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] lxml problem

2012-05-24 Thread Hua BJ Zhang
Hi william,

Now that you are failed to install lxml by source code, if you can try
to install lxml by binary, just use the command  yum install python-lxml 

before doing it, make sure lxml is clean, you can python-pip uninstall
lxml first



Best Regards.

Zhang Hua(张华)

IBM China System and Technology Lab(CSTL), Beijing
E-Mail: zhhu...@cn.ibm.com
Tel: 86-10-82452020
Address: Building 28(Ring Building), ZhongGuanCun Software Park,
 No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China
100193




From:   William Herry william.herry.ch...@gmail.com
To: openstack@lists.launchpad.net,
Date:   24/05/2012 20:32
Subject:[Openstack]  lxml problem
Sent by:openstack-bounces+zhhuabj=cn.ibm@lists.launchpad.net



Hi

I am install openstack on centos 6.2 with git and I meet this error when
install lxml

running build_ext

building 'lxml.etree' extension

creating build/temp.linux-x86_64-2.6

creating build/temp.linux-x86_64-2.6/src

creating build/temp.linux-x86_64-2.6/src/lxml

gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
-DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/libxml2
-I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o
build/temp.linux-x86_64-2.6/src/lxml/lxml.etree.o -w

{standard input}: Assembler messages:

{standard input}:135675: Warning: end of file in string; '' inserted

gcc: Internal error: Killed (program cc1)

Please submit a full bug report.

See http://bugzilla.redhat.com/bugzilla for instructions.

error: command 'gcc' failed with exit status 1


  Rolling back uninstall of lxml
Command /usr/bin/python -c import
setuptools;__file__='/root/essex/build/lxml/setup.py';execfile(__file__)
install --single-version-externally-managed
--record /tmp/pip-WQ9Gp9-record/install-record.txt failed with error code 1
Storing complete log in /root/.pip/pip.log

I'v make it work on centos before, I don't know what wrong step I made this
I install it because it is in nova/tools/pip-requires

thanks in advance



--

===
William Herry

williamherrych...@gmail.com
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
inline: graycol.gif___
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] dnsmasq

2012-05-24 Thread William Herry
Hi

sorry for too much silly questions

I am interested in the dnsmasq of nova when use FlatDHCP network mode

I am guess it works like this:
nova write MAC - IP info to /var/lib/nova/networks/nova-br1.conf when boot
a instance

nova tell dnsmasq to reread /var/lib/nova/networks/nova-br1.conf

instance boot up and send DHCP request

dnsmasq receive DHCP request and give instance proper IP

I know it totally wrong and I want some one correct me, more details would
be great

Thanks in advice

Regards

-- 

===
William Herry

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