Re: [Openstack] can't ssh instance when launched on a second compute node

2012-10-08 Thread Afef MDHAFFAR
Hi all,

I so sorry, I posted the wrong logs. It is not a missing key at the client
but the problem comes from openstack configuration (Failed to get metadata
for ip).

Regards,
Afef

2012/10/8 Stephen Gran stephen.g...@guardian.co.uk

 Hi,

 On Sun, 2012-10-07 at 18:32 +0200, Afef MDHAFFAR wrote:
  Here are more information about the issue:
  ssh -vvv -i key1.pem ip@
  OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
  Warning: Identity file key1.pem not accessible: No such file or
  directory.

  It looks like the VM has not loaded the key! But I have no idea how to
  solve that ! ???

 You haven't loaded the key - all of that debug output is from the
 client.  I'd try passing the correct path to the correct key.

 Cheers,
 --
 Stephen Gran
 Senior Systems Integrator - guardian.co.uk

 Please consider the environment before printing this email.
 --
 Visit guardian.co.uk - newspaper of the year

 www.guardian.co.ukwww.observer.co.uk www.guardiannews.com

 On your mobile, visit m.guardian.co.uk or download the Guardian
 iPhone app www.guardian.co.uk/iphone and iPad edition
 www.guardian.co.uk/iPad

 Save up to 37% by subscribing to the Guardian and Observer - choose the
 papers you want and get full digital access.
 Visit guardian.co.uk/subscribe

 -
 This e-mail and all attachments are confidential and may also
 be privileged. If you are not the named recipient, please notify
 the sender and delete the e-mail and all attachments immediately.
 Do not disclose the contents to another person. You may not use
 the information for any purpose, or store, or copy, it in any way.

 Guardian News  Media Limited is not liable for any computer
 viruses or other material transmitted with or as part of this
 e-mail. You should employ virus checking software.

 Guardian News  Media Limited

 A member of Guardian Media Group plc
 Registered Office
 PO Box 68164
 Kings Place
 90 York Way
 London
 N1P 2AP

 Registered in England Number 908396




-- 
Afef MDHAFFAR
http://www.redcad.org/members/mdhaffar/
___
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] No proper displau with Horizon

2012-10-08 Thread Bilel Msekni

Good day everyone,

I have installed OpenStack Folsom successfully but i am experiencing a 
wierd bug in the dashboard: It's not giving me any proper display.

This is the error log i got from apache, http://pastebin.com/P44Edku5
 it seems like it is looking for an endpoint which are all there and 
working fine.


P.S: I used this script to populate my database

===

create_endpoint () {
case $1 in
compute)
keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
--publicurl 'http://'$MASTER':8774/v2/$(tenant_id)s' --adminurl 
'http://'$MASTER':8774/v2/$(tenant_id)s' --internalurl 
'http://'$MASTER':8774/v2/$(tenant_id)s'

;;
volume)
keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
--publicurl 'http://'$MASTER':8776/v1/$(tenant_id)s' --adminurl 
'http://'$MASTER':8776/v1/$(tenant_id)s' --internalurl 
'http://'$MASTER':8776/v1/$(tenant_id)s'

;;
image)
keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
--publicurl 'http://'$MASTER':9292/v2' --adminurl 
'http://'$MASTER':9292/v2' --internalurl 'http://'$MASTER':9292/v2'

;;
object-store)
if [ $SWIFT_MASTER ]; then
keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
--publicurl 'http://'$SWIFT_MASTER':8080/v1/AUTH_$(tenant_id)s' 
--adminurl 'http://'$SWIFT_MASTER':8080/v1' --internalurl 
'http://'$SWIFT_MASTER':8080/v1/AUTH_$(tenant_id)s'

else
keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
--publicurl 'http://'$MASTER':8080/v1/AUTH_$(tenant_id)s' --adminurl 
'http://'$MASTER':8080/v1' --internalurl 
'http://'$MASTER':8080/v1/AUTH_$(tenant_id)s'

fi
;;
identity)
keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
--publicurl 'http://'$MASTER':5000/v2.0' --adminurl 
'http://'$MASTER':35357/v2.0' --internalurl 'http://'$MASTER':5000/v2.0'

;;
ec2)
keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
--publicurl 'http://'$MASTER':8773/services/Cloud' --adminurl 
'http://'$MASTER':8773/services/Admin' --internalurl 
'http://'$MASTER':8773/services/Cloud'

;;
network)
keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
--publicurl 'http://'$MASTER':9696/' --adminurl 
'http://'$MASTER':9696/' --internalurl 'http://'$MASTER':9696/'

;;
esac
} 
 




Please, i need some help

___
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] No proper displau with Horizon

2012-10-08 Thread Bilel Msekni

Thanks for replying Dolph:

keystone service-list
+--+--+--+--+
|id|   name   |   type   | 
description  |

+--+--+--+--+
| 020a5c2b03074e89972202f3822fa95f | quantum  | network  | OpenStack 
Networking service |
| 2b3d91dd9110493a92ea5eb7909d41cf |   ec2|   ec2| OpenStack EC2 
service |
| 4ef30c360f4e4e0aaac9d1247dcaafe8 |  cinder  |  volume  | OpenStack 
Volume Service   |
| 776d3b71749f4711bf1c956ccfeb2728 |  glance  |  image   | OpenStack 
Image Service|
| 9733c366161f4f7f8e8484fe702ee840 | keystone | identity | OpenStack 
Identity  |
| c6011214a82645fe97b4bbd64608ad9b |   nova   | compute  | OpenStack 
Compute Service   |

+--+--+--+--+

keystone endpoint-list
+--+---+--+--+--+
|id|   region  | 
publicurl   | internalurl  | 
adminurl   |

+--+---+--+--+--+
| 2febceec3f324755b0c9c7fe3ba2d29d | RegionOne | 
http://x.x.x.x:9696/ | http://x.x.x.x:9696/ | 
http://x.x.x.x:9696/ |
| 649d5e5b5cd8467c89b218b2adc29009 | RegionOne | 
http://x.x.x.x:8774/v2/$(tenant_id)s | 
http://x.x.x.x:8774/v2/$(tenant_id)s | 
http://x.x.x.x:8774/v2/$(tenant_id)s |
| 7b25b6283dd4408d8c8f7541b9b9d2f0 | RegionOne | 
http://x.x.x.x:5000/v2.0   | http://x.x.x.x:5000/v2.0   | 
http://x.x.x.x:35357/v2.0   |
| 9ebfa2784d78425fa08a146aa27e786b | RegionOne | 
http://x.x.x.x:9292/v2| http://x.x.x.x:9292/v2| 
http://x.x.x.x:9292/v2|
| f321ae42d39d4d9a9d5e771be459f6ba | RegionOne | 
http://x.x.x.x:8776/v1/$(tenant_id)s | 
http://x.x.x.x:8776/v1/$(tenant_id)s | 
http://x.x.x.x:8776/v1/$(tenant_id)s |
| f7ef924364614d91b49a589ca7719ce6 | RegionOne | 
http://x.x.x.x:8773/services/Cloud  | 
http://x.x.x.x:8773/services/Cloud  | http://x.x.x.x:8773/services/Admin  |

+--+---+--+--+--+

x.x.x.x refers to my Host address :)


Le 08/10/2012 10:18, Dolph Mathews a écrit :
it seems like it is looking for an endpoint which are all there are 
you sure? -- it looks like your service catalog is missing the 
'identity' service entirely... can you paste the output of the 
following two commands?:


$ keystone service-list
$ keystone endpoint-list

-Dolph


On Mon, Oct 8, 2012 at 2:59 AM, Bilel Msekni ski...@hotmail.fr 
mailto:ski...@hotmail.fr wrote:


Good day everyone,

I have installed OpenStack Folsom successfully but i am
experiencing a wierd bug in the dashboard: It's not giving me any
proper display.
This is the error log i got from apache, http://pastebin.com/P44Edku5
 it seems like it is looking for an endpoint which are all there
and working fine.

P.S: I used this script to populate my database

===

create_endpoint () {

case $1 in

compute)
keystone endpoint-create --region $KEYSTONE_REGION
--service-id $2 --publicurl
'http://'$MASTER':8774/v2/$(tenant_id)s' --adminurl
'http://'$MASTER':8774/v2/$(tenant_id)s' --internalurl
'http://'$MASTER':8774/v2/$(tenant_id)s'

;;
volume)

keystone endpoint-create --region $KEYSTONE_REGION
--service-id $2 --publicurl
'http://'$MASTER':8776/v1/$(tenant_id)s' --adminurl
'http://'$MASTER':8776/v1/$(tenant_id)s' --internalurl
'http://'$MASTER':8776/v1/$(tenant_id)s'

;;
image)
keystone endpoint-create --region $KEYSTONE_REGION
--service-id $2 --publicurl 'http://'$MASTER':9292/v2'
--adminurl 'http://'$MASTER':9292/v2' --internalurl
'http://'$MASTER':9292/v2'

;;
object-store)

if [ $SWIFT_MASTER ]; then

keystone endpoint-create --region $KEYSTONE_REGION --service-id $2
--publicurl 'http://'$SWIFT_MASTER':8080/v1/AUTH_$(tenant_id)s'
--adminurl 'http://'$SWIFT_MASTER':8080/v1' --internalurl
'http://'$SWIFT_MASTER':8080/v1/AUTH_$(tenant_id)s'

else
keystone endpoint-create --region $KEYSTONE_REGION --service-id $2
--publicurl 'http://'$MASTER':8080/v1/AUTH_$(tenant_id)s'
--adminurl 'http://'$MASTER':8080/v1' --internalurl
'http://'$MASTER':8080/v1/AUTH_$(tenant_id)s'

fi
;;
identity)

Re: [Openstack] No proper displau with Horizon

2012-10-08 Thread Dolph Mathews
Hmm... I don't see anything wrong there. Any chance you've
overridden AVAILABLE_REGIONS in your horizon configuration? If so, what's
the new value?

Also, to make sure service_id references are configured correctly, can you
paste the raw output of:

curl http://x.x.x.x:35357/v2.0/endpoints -H 'x-auth-token: ADMIN'

Substitute your own IP for keystone and a valid token.

-Dolph


On Mon, Oct 8, 2012 at 3:47 AM, Bilel Msekni ski...@hotmail.fr wrote:

  Thanks for replying Dolph:


 keystone service-list

 +--+--+--+--+
 |id|   name   |   type   |
 description  |

 +--+--+--+--+
 | 020a5c2b03074e89972202f3822fa95f | quantum  | network  | OpenStack
 Networking service |
 | 2b3d91dd9110493a92ea5eb7909d41cf |   ec2|   ec2|OpenStack
 EC2 service |
 | 4ef30c360f4e4e0aaac9d1247dcaafe8 |  cinder  |  volume  |   OpenStack
 Volume Service   |
 | 776d3b71749f4711bf1c956ccfeb2728 |  glance  |  image   |   OpenStack
 Image Service|
 | 9733c366161f4f7f8e8484fe702ee840 | keystone | identity |  OpenStack
 Identity  |
 | c6011214a82645fe97b4bbd64608ad9b |   nova   | compute  |  OpenStack
 Compute Service   |

 +--+--+--+--+

 keystone endpoint-list

 +--+---+--+--+--+
 |id|   region  |
 publicurl   | internalurl
 |   adminurl   |

 +--+---+--+--+--+
 | 2febceec3f324755b0c9c7fe3ba2d29d | RegionOne |
 http://x.x.x.x:9696/ | http://x.x.x.x:9696/
 | http://x.x.x.x:9696/ |
 | 649d5e5b5cd8467c89b218b2adc29009 | RegionOne |
 http://x.x.x.x:8774/v2/$(tenant_id)s |
 http://x.x.x.x:8774/v2/$(tenant_id)s |
 http://x.x.x.x:8774/v2/$(tenant_id)s |
 | 7b25b6283dd4408d8c8f7541b9b9d2f0 | RegionOne |
 http://x.x.x.x:5000/v2.0   |   http://x.x.x.x:5000/v2.0
 |  http://x.x.x.x:35357/v2.0   |
 | 9ebfa2784d78425fa08a146aa27e786b | RegionOne |
 http://x.x.x.x:9292/v2|http://x.x.x.x:9292/v2
 |http://x.x.x.x:9292/v2|
 | f321ae42d39d4d9a9d5e771be459f6ba | RegionOne |
 http://x.x.x.x:8776/v1/$(tenant_id)s |
 http://x.x.x.x:8776/v1/$(tenant_id)s |
 http://x.x.x.x:8776/v1/$(tenant_id)s |
 | f7ef924364614d91b49a589ca7719ce6 | RegionOne |
 http://x.x.x.x:8773/services/Cloud  |  http://x.x.x.x:8773/services/Cloud
 |  http://x.x.x.x:8773/services/Admin  |

 +--+---+--+--+--+

 x.x.x.x refers to my Host address :)



 Le 08/10/2012 10:18, Dolph Mathews a écrit :

 it seems like it is looking for an endpoint which are all there are you
 sure? -- it looks like your service catalog is missing the 'identity'
 service entirely... can you paste the output of the following two
 commands?:

  $ keystone service-list
 $ keystone endpoint-list

  -Dolph


 On Mon, Oct 8, 2012 at 2:59 AM, Bilel Msekni ski...@hotmail.fr wrote:

  Good day everyone,

 I have installed OpenStack Folsom successfully but i am experiencing a
 wierd bug in the dashboard: It's not giving me any proper display.
 This is the error log i got from apache, http://pastebin.com/P44Edku5
  it seems like it is looking for an endpoint which are all there and
 working fine.

 P.S: I used this script to populate my database

 ===

 create_endpoint () {
   case $1 in
 compute)
 keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
 --publicurl 'http://'$MASTER':8774/v2/$(tenant_id)s' --adminurl 
 'http://'$MASTER':8774/v2/$(tenant_id)s' --internalurl 
 'http://'$MASTER':8774/v2/$(tenant_id)s'
 ;;
 volume)
 keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
 --publicurl 'http://'$MASTER':8776/v1/$(tenant_id)s' --adminurl 
 'http://'$MASTER':8776/v1/$(tenant_id)s' --internalurl 
 'http://'$MASTER':8776/v1/$(tenant_id)s'
 ;;
 image)

 keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
 --publicurl 'http://'$MASTER':9292/v2' --adminurl 
 'http://'$MASTER':9292/v2' --internalurl 'http://'$MASTER':9292/v2'
 ;;
 object-store)
 if [ $SWIFT_MASTER ]; then
   keystone endpoint-create --region $KEYSTONE_REGION --service-id $2 
 --publicurl 

Re: [Openstack] No proper displau with Horizon

2012-10-08 Thread Bilel Msekni

Response to :

{
endpoints: [
{
adminurl: http://x.x.x.x:9696/;,
region: RegionOne,
internalurl: http://x.x.x.x:9696/;,
service_id: 020a5c2b03074e89972202f3822fa95f,
id: 2febceec3f324755b0c9c7fe3ba2d29d,
publicurl: http://x.x.x.x:9696/;
},
{
adminurl: http://x.x.x.x:8774/v2/$(tenant_id)s,
region: RegionOne,
internalurl: http://x.x.x.x:8774/v2/$(tenant_id)s,
service_id: c6011214a82645fe97b4bbd64608ad9b,
id: 649d5e5b5cd8467c89b218b2adc29009,
publicurl: http://x.x.x.x:8774/v2/$(tenant_id)s
},
{
adminurl: http://x.x.x.x:35357/v2.0;,
region: RegionOne,
internalurl: http://x.x.x.x:5000/v2.0;,
service_id: 9733c366161f4f7f8e8484fe702ee840,
id: 7b25b6283dd4408d8c8f7541b9b9d2f0,
publicurl: http://x.x.x.x:5000/v2.0;
},
{
adminurl: http://x.x.x.x:9292/v2;,
region: RegionOne,
internalurl: http://x.x.x.x:9292/v2;,
service_id: 776d3b71749f4711bf1c956ccfeb2728,
id: 9ebfa2784d78425fa08a146aa27e786b,
publicurl: http://x.x.x.x:9292/v2;
},
{
adminurl: http://x.x.x.x:8776/v1/$(tenant_id)s,
region: RegionOne,
internalurl: http://x.x.x.x:8776/v1/$(tenant_id)s,
service_id: 4ef30c360f4e4e0aaac9d1247dcaafe8,
id: f321ae42d39d4d9a9d5e771be459f6ba,
publicurl: http://x.x.x.x:8776/v1/$(tenant_id)s
},
{
adminurl: http://x.x.x.x:8773/services/Admin;,
region: RegionOne,
internalurl: http://x.x.x.x:8773/services/Cloud;,
service_id: 2b3d91dd9110493a92ea5eb7909d41cf,
id: f7ef924364614d91b49a589ca7719ce6,
publicurl: http://x.x.x.x:8773/services/Cloud;
}
]
}

i didn't edit my local_settings.py, i just disabled the quantum then i 
restarted apache and memcached services.


Le 08/10/2012 10:59, Dolph Mathews a écrit :
Hmm... I don't see anything wrong there. Any chance you've 
overridden AVAILABLE_REGIONS in your horizon configuration? If so, 
what's the new value?


Also, to make sure service_id references are configured correctly, can 
you paste the raw output of:


curl http://x.x.x.x:35357/v2.0/endpoints -H 'x-auth-token: ADMIN'

Substitute your own IP for keystone and a valid token.

-Dolph


On Mon, Oct 8, 2012 at 3:47 AM, Bilel Msekni ski...@hotmail.fr 
mailto:ski...@hotmail.fr wrote:


Thanks for replying Dolph:


keystone service-list

+--+--+--+--+
|id|   name   | type   |
description  |


+--+--+--+--+
| 020a5c2b03074e89972202f3822fa95f | quantum  | network  |
OpenStack Networking service |
| 2b3d91dd9110493a92ea5eb7909d41cf |   ec2| ec2|   
OpenStack EC2 service |
| 4ef30c360f4e4e0aaac9d1247dcaafe8 |  cinder  | volume  |  
OpenStack Volume Service   |
| 776d3b71749f4711bf1c956ccfeb2728 |  glance  | image   |  
OpenStack Image Service|
| 9733c366161f4f7f8e8484fe702ee840 | keystone | identity | 
OpenStack Identity  |
| c6011214a82645fe97b4bbd64608ad9b |   nova   | compute  | 
OpenStack Compute Service   |


+--+--+--+--+

keystone endpoint-list

+--+---+--+--+--+
|id|   region | 
publicurl | internalurl |  
adminurl   |


+--+---+--+--+--+
| 2febceec3f324755b0c9c7fe3ba2d29d | RegionOne |
http://x.x.x.x:9696/ | http://x.x.x.x:9696/ | http://x.x.x.x:9696/ |
| 649d5e5b5cd8467c89b218b2adc29009 | RegionOne |
http://x.x.x.x:8774/v2/$(tenant_id)s
http://x.x.x.x:8774/v2/$%28tenant_id%29s |
http://x.x.x.x:8774/v2/$(tenant_id)s
http://x.x.x.x:8774/v2/$%28tenant_id%29s |
http://x.x.x.x:8774/v2/$(tenant_id)s
http://x.x.x.x:8774/v2/$%28tenant_id%29s |
| 7b25b6283dd4408d8c8f7541b9b9d2f0 | RegionOne |
http://x.x.x.x:5000/v2.0 | http://x.x.x.x:5000/v2.0 |
http://x.x.x.x:35357/v2.0 |
| 9ebfa2784d78425fa08a146aa27e786b | RegionOne |
http://x.x.x.x:9292/v2 | http://x.x.x.x:9292/v2 |
http://x.x.x.x:9292/v2 |
| 

Re: [Openstack] No proper displau with Horizon

2012-10-08 Thread Bilel Msekni

Hi Dolph,

I figured it out. This is not a keystone problem but actually a problem 
in the Ubuntu OpenStack theme.

I just commented these lines
=
# Enable the Ubuntu theme if it is present.
#try:
#from ubuntu_theme import *
#except ImportError:
#pass

so that i can go back at using the default OpenStack theme , restarted 
apache and memcached
I am still getting the no endpoint problem but at least i get a proper 
display to work with :)



Le 08/10/2012 11:14, Bilel Msekni a écrit :

Response to :

{
endpoints: [
{
adminurl: http://x.x.x.x:9696/;,
region: RegionOne,
internalurl: http://x.x.x.x:9696/;,
service_id: 020a5c2b03074e89972202f3822fa95f,
id: 2febceec3f324755b0c9c7fe3ba2d29d,
publicurl: http://x.x.x.x:9696/;
},
{
adminurl: http://x.x.x.x:8774/v2/$(tenant_id)s,
region: RegionOne,
internalurl: http://x.x.x.x:8774/v2/$(tenant_id)s,
service_id: c6011214a82645fe97b4bbd64608ad9b,
id: 649d5e5b5cd8467c89b218b2adc29009,
publicurl: http://x.x.x.x:8774/v2/$(tenant_id)s
},
{
adminurl: http://x.x.x.x:35357/v2.0;,
region: RegionOne,
internalurl: http://x.x.x.x:5000/v2.0;,
service_id: 9733c366161f4f7f8e8484fe702ee840,
id: 7b25b6283dd4408d8c8f7541b9b9d2f0,
publicurl: http://x.x.x.x:5000/v2.0;
},
{
adminurl: http://x.x.x.x:9292/v2;,
region: RegionOne,
internalurl: http://x.x.x.x:9292/v2;,
service_id: 776d3b71749f4711bf1c956ccfeb2728,
id: 9ebfa2784d78425fa08a146aa27e786b,
publicurl: http://x.x.x.x:9292/v2;
},
{
adminurl: http://x.x.x.x:8776/v1/$(tenant_id)s,
region: RegionOne,
internalurl: http://x.x.x.x:8776/v1/$(tenant_id)s,
service_id: 4ef30c360f4e4e0aaac9d1247dcaafe8,
id: f321ae42d39d4d9a9d5e771be459f6ba,
publicurl: http://x.x.x.x:8776/v1/$(tenant_id)s
},
{
adminurl: http://x.x.x.x:8773/services/Admin;,
region: RegionOne,
internalurl: http://x.x.x.x:8773/services/Cloud;,
service_id: 2b3d91dd9110493a92ea5eb7909d41cf,
id: f7ef924364614d91b49a589ca7719ce6,
publicurl: http://x.x.x.x:8773/services/Cloud;
}
]
}

i didn't edit my local_settings.py, i just disabled the quantum then i 
restarted apache and memcached services.


Le 08/10/2012 10:59, Dolph Mathews a écrit :
Hmm... I don't see anything wrong there. Any chance you've 
overridden AVAILABLE_REGIONS in your horizon configuration? If so, 
what's the new value?


Also, to make sure service_id references are configured correctly, 
can you paste the raw output of:


curl http://x.x.x.x:35357/v2.0/endpoints -H 'x-auth-token: ADMIN'

Substitute your own IP for keystone and a valid token.

-Dolph


On Mon, Oct 8, 2012 at 3:47 AM, Bilel Msekni ski...@hotmail.fr 
mailto:ski...@hotmail.fr wrote:


Thanks for replying Dolph:


keystone service-list

+--+--+--+--+
|id|   name   | type   |
description  |


+--+--+--+--+
| 020a5c2b03074e89972202f3822fa95f | quantum  | network  |
OpenStack Networking service |
| 2b3d91dd9110493a92ea5eb7909d41cf |   ec2| ec2|   
OpenStack EC2 service |
| 4ef30c360f4e4e0aaac9d1247dcaafe8 |  cinder  | volume  |  
OpenStack Volume Service   |
| 776d3b71749f4711bf1c956ccfeb2728 |  glance  | image   |  
OpenStack Image Service|
| 9733c366161f4f7f8e8484fe702ee840 | keystone | identity | 
OpenStack Identity  |
| c6011214a82645fe97b4bbd64608ad9b |   nova   | compute  | 
OpenStack Compute Service   |


+--+--+--+--+

keystone endpoint-list

+--+---+--+--+--+
|id|   region | 
publicurl | internalurl |  
adminurl   |


+--+---+--+--+--+
| 2febceec3f324755b0c9c7fe3ba2d29d | RegionOne |
http://x.x.x.x:9696/ | http://x.x.x.x:9696/ | http://x.x.x.x:9696/ |
| 649d5e5b5cd8467c89b218b2adc29009 | RegionOne |

[Openstack] Resize Resource dynamically on Openstack Instance

2012-10-08 Thread Iftakhul Anwar
Hi All,

Anyone know about how to resize resource (memory,HD,etc) on openstack
Instance running ? I don't found this feature on OpenStack Essex version.
Actually i found this feature on some Cloud Provider like Azure, where they
provide this feature in order to user can change or resize resource
(RAM,HD,etc) dinamycally.
it will be nice feature i think :)

Thanks

-- 
*M.Iftakhul Anwar*
Meruvian Integrator
High Performance Computing / Cloud Computing (HPC/CC)


Office Phone  : 021-93586577
Mobile Phone : 085215331477
Blog   :  http://blog.mervpolis.com/roller/anwar
FB :  http://www.facebook.com/troya.adromeda
Website : www.meruvian.org
___
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] Disable Quantum in Horizon Folsom

2012-10-08 Thread Bilel Msekni

Hi,

Back with a new bug :)
So, i have installed OpenStack Folsom and edited the horizon 
localsetting.py file to disable Quantum service: (Quantum_Enabled=False)


Still now Horizon is giving errors and inhibiting me from starting VMs:
I get this when i click on the networks tab in the dashboard page: 
http://pastebin.com/7766hVwb



does anyone have an idea how to disable quantum in Horizon ?
___
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] Disable Quantum in Horizon Folsom

2012-10-08 Thread Kiall Mac Innes
Did you restart apache after editing local_settings.py?

Thanks,
Kiall


On Mon, Oct 8, 2012 at 10:57 AM, Bilel Msekni ski...@hotmail.fr wrote:

  Hi,

 Back with a new bug :)
 So, i have installed OpenStack Folsom and edited the horizon
 localsetting.py file to disable Quantum service: (Quantum_Enabled=False)

 Still now Horizon is giving errors and inhibiting me from starting VMs:
 I get this when i click on the networks tab in the dashboard page:
 http://pastebin.com/7766hVwb


 does anyone have an idea how to disable quantum in Horizon ?

 ___
 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] Disable Quantum in Horizon Folsom

2012-10-08 Thread Bilel Msekni

Thank you Kiall for replying,
Of course i did :)

Yet, after consulting with OpenStack IRC people, it seems that quantum 
can not be excluded from horizon :)


I am going for installing it :)
Le 08/10/2012 12:10, Kiall Mac Innes a écrit :

Did you restart apache after editing local_settings.py?

Thanks,
Kiall


On Mon, Oct 8, 2012 at 10:57 AM, Bilel Msekni ski...@hotmail.fr 
mailto:ski...@hotmail.fr wrote:


Hi,

Back with a new bug :)
So, i have installed OpenStack Folsom and edited the horizon
localsetting.py file to disable Quantum service:
(Quantum_Enabled=False)

Still now Horizon is giving errors and inhibiting me from starting
VMs:
I get this when i click on the networks tab in the dashboard page:
http://pastebin.com/7766hVwb


does anyone have an idea how to disable quantum in Horizon ?

___
Mailing list: https://launchpad.net/~openstack
https://launchpad.net/%7Eopenstack
Post to : openstack@lists.launchpad.net
mailto:openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
https://launchpad.net/%7Eopenstack
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] Disable Quantum in Horizon Folsom

2012-10-08 Thread Kiall Mac Innes
Quantum is defiantly not needed for Horizon in Folsom. We don't use Quantum,
and do use Horizon.

The python-quantumclient library needs to be installed, but thats about it.
And from your pastebin - I'm pretty sure you already have that installed.

Thanks,
Kiall


On Mon, Oct 8, 2012 at 11:20 AM, Bilel Msekni ski...@hotmail.fr wrote:

  Thank you Kiall for replying,
 Of course i did :)

 Yet, after consulting with OpenStack IRC people, it seems that quantum can
 not be excluded from horizon :)

 I am going for installing it :)
 Le 08/10/2012 12:10, Kiall Mac Innes a écrit :

 Did you restart apache after editing local_settings.py?

 Thanks,
 Kiall


 On Mon, Oct 8, 2012 at 10:57 AM, Bilel Msekni ski...@hotmail.fr wrote:

  Hi,

 Back with a new bug :)
 So, i have installed OpenStack Folsom and edited the horizon
 localsetting.py file to disable Quantum service: (Quantum_Enabled=False)

 Still now Horizon is giving errors and inhibiting me from starting VMs:
 I get this when i click on the networks tab in the dashboard page:
 http://pastebin.com/7766hVwb


 does anyone have an idea how to disable quantum in Horizon ?

 ___
 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] [OPENSTACK] [GLANCE] VMWARE Instance provisioning taking more time for all the instances

2012-10-08 Thread Nagaraju Bingi
Hi,

We have deployed Openstack on VMware and the following is the topology:

1-  Controller node (API,Scheduler,Mysql and RabbitMQ)

2-  Compute Node (network, compute)

3-  ESX 4.1 Server

4-  Glance Server
The Openstack instance provisioning time is ~ 1 to 2hr for 4GB image, so 
installed  glance within the compute node then provisioning took around ~ 
15Mins.

Here is my Question:

1)  Can we setup multiple glance servers for each compute node or location 
wise to reduce the download time for  big images like 20GB?

2)  Is it possible to keep multiple glance servers and sync among them?

Your help would be appreciated.

Regards,
Nagaraju B

From: Nagaraju Bingi
Sent: Saturday, September 29, 2012 3:10 PM
To: openstack@lists.launchpad.net; 'jaypi...@gmail.com'
Subject: Instance provisioning taking more time for all the instances
Importance: High

Hi,

We have deployed Openstack on VMware and we could able to provision Instances 
but image is not getting cached on compute/ESX server and for every 
provisioning of instances the image is getting downloaded from glance.

Please provide steps to cache VMDK images on compute.

Regards,
Nagaraju B


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


[Openstack] Puppet module for Quantum and vSwitches (Currently OVS)

2012-10-08 Thread Endre Karlson
Hi, me and Emilien Macchi have been collaborating on some puppet modules
for Quantum and vSwitches.

You can see them here:
https://github.com/EmilienM/openstack-quantum-puppet
https://github.com/ekarlso/puppet-vswitch

Please note that they are Working In Progress and may change.

Feedback is wanted.
___
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] Failed to get metadata for ip x.x.x.x

2012-10-08 Thread Afef MDHAFFAR
Hi all,

I am trying to install openstack on 3 nodes (Ubuntu 12.04 + XCP).
The platform is composed of a cloud controller and 2 compute nodes.
The installation of the cloud controller looks successful. I am able to
create and launch instances.
But launching instances on the compute nodes raise the following error:
--
2012-10-08 11:40:59 DEBUG nova.openstack.common.rpc.amqp [-] Making
asynchronous call on network ... from (pid=26752) multicall
/opt/stack/nova/nova/openstack/common/rpc/amqp.py:351
2012-10-08 11:40:59 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is
85ce008c9916415c9454c4087c468109 from (pid=26752) multicall
/opt/stack/nova/nova/openstack/common/rpc/amqp.py:354
2012-10-08 11:40:59 ERROR nova.api.metadata.handler
[req-e9540e8a-9729-40ba-9655-22d0725c82b7 None None] Failed to get metadata
for ip: 10.0.0.21
2012-10-08 11:40:59 TRACE nova.api.metadata.handler Traceback (most recent
call last):
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/api/metadata/handler.py, line 75, in __call__
2012-10-08 11:40:59 TRACE nova.api.metadata.handler meta_data =
self.get_metadata(remote_address)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/api/metadata/handler.py, line 57, in get_metadata
2012-10-08 11:40:59 TRACE nova.api.metadata.handler data =
base.get_metadata_by_address(address)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/api/metadata/base.py, line 383, in
get_metadata_by_address
2012-10-08 11:40:59 TRACE nova.api.metadata.handler return
InstanceMetadata(instance, address)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/api/metadata/base.py, line 102, in __init__
2012-10-08 11:40:59 TRACE nova.api.metadata.handler self.mappings =
_format_instance_mapping(ctxt, instance)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/api/metadata/base.py, line 388, in
_format_instance_mapping
2012-10-08 11:40:59 TRACE nova.api.metadata.handler return
block_device.instance_block_mapping(instance, bdms)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/block_device.py, line 97, in instance_block_mapping
2012-10-08 11:40:59 TRACE nova.api.metadata.handler if
FLAGS.compute_driver.endswith('xenapi.XenAPIDriver'):
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/openstack/common/cfg.py, line 1039, in __getattr__
2012-10-08 11:40:59 TRACE nova.api.metadata.handler return
self._get(name)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/openstack/common/cfg.py, line 1361, in _get
2012-10-08 11:40:59 TRACE nova.api.metadata.handler value =
self._substitute(self._do_get(name, group))
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/openstack/common/cfg.py, line 1377, in _do_get
2012-10-08 11:40:59 TRACE nova.api.metadata.handler info =
self._get_opt_info(name, group)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File
/opt/stack/nova/nova/openstack/common/cfg.py, line 1470, in _get_opt_info
2012-10-08 11:40:59 TRACE nova.api.metadata.handler raise
NoSuchOptError(opt_name, group)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler NoSuchOptError: no such
option: compute_driver
2012-10-08 11:40:59 TRACE nova.api.metadata.handler
2012-10-08 11:40:59 INFO nova.api.ec2 [-] 0.228018s 10.0.0.21 GET
/2009-04-04/meta-data/instance-id None:None 500 [Python-urllib/2.7]
text/plain text/plain
2012-10-08 11:40:59 INFO nova.metadata.wsgi.server [-] 10.0.0.21 - -
[08/Oct/2012 11:40:59] GET /2009-04-04/meta-data/instance-id HTTP/1.1 500
248 0.228905

However, the launching process seems to be ok. I can ping the instance but
can't ssh it.
when I try to ssh an instance launched on the compute node, I get this
error: Read from socket failed: Connection reset by peer

Can you please help to solve this problem ??

Thank you,
Afef
___
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] General questions regarding zones and replicas

2012-10-08 Thread Moritz Krinke
Hello,

beeing new to openstack in general and more specific to swift i've set up a
folsom 2node cluster in vms, using ubuntu cloud archive packages on ubuntu
12.04.

My goal is to have a 2node cluster where each node acts both as a storage
node and a proxy node.
Each node will have 12*2TB drives

Now i already have one of those nodes and there are ~ 16TB of data on it.
This data i would like to migrate into swift using 2 replicas for it.

Initially i thought i could just bring up the second node, migrate the data
into it only using one replicata at migratation time, install swift on the
old node and change to two replicas.

Unfortunately after reading the documentation this does not seem to be
possible.
- I cannot change the number of replicas after creating the ring (e.g.
changing it from 1 to 2)
- I could put each drive in its one zone, but this would create two copies
of each file/object on the first node while migrating. I do not have enough
empty space on that node.

Now my questions are:
- are my previous assumptions correct?
- reading about the unique-as-possible feature in folsom im asking myself
how would swift know if nodes are in different places, is there a feature
like regions i am not aware of?
- after migration of data and having two replicas spread over those two
nodes, how can i make sure that in the event of a node beeing down swift
will not start copying files to second drives on the healty nodes?


Thanks a lot,
Moritz
___
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 talking to swift https really slow

2012-10-08 Thread stuart . mclaren

Hi Sam,

In case its useful for comparison I looked at Swift SSL performance in
general a while back:

https://region-a.geo-1.objects.hpcloudsvc.com/v1.0/AUTH_19cbcca3-a4b8-4b90-9332-c9bffd02285f/public_referenced/swift_perf6.pdf

I didn't see pound hurting performance as much as you did, but our configs
may have been different.

-Stuart

PS

There's currently some work being done to allow the
Glance client to disable SSL compression on a per connection basis:

https://blueprints.launchpad.net/python-glanceclient/+spec/ssl-connect-rework

If this gets merged it will cover the glanceclient - glance data path but
not the glance - swift part. (With a bit of luck that may get added later.)

On Mon, 8 Oct 2012, Sam Morrison wrote:


OK we changed to use nginx as opposed to pound and got a huge increase in speed.

With taking glance out of it and talking directly to swift an image took 1m38s 
to download with pound in front.
With nginx this took just 5s not sure what is wrong with pound, we haven't 
changed any settings for pound or nginx.

Sam


On 08/10/2012, at 2:50 PM, Sam Morrison sorri...@gmail.com wrote:


Hi,

We've recently enabled ssl on our swift-proxy and now glance is incredibly 
slow. I've read some stuff about disabling zlib compression etc.

Has anyone got a good fix for this?

We're using Ubuntu 12.04

Cheers,
Sam





___
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] General questions regarding zones and replicas

2012-10-08 Thread Michael Barton
On Mon, Oct 8, 2012 at 8:12 AM, Moritz Krinke mkri...@fotocommunity.net wrote:
 - I cannot change the number of replicas after creating the ring (e.g.
 changing it from 1 to 2)

Not really.  Logically it's not a difficult operation, there's just no
code to do it.  There was a patch a while back, but I guess it wasn't
ever approved:

https://review.openstack.org/#/c/5484/

 - reading about the unique-as-possible feature in folsom im asking myself
 how would swift know if nodes are in different places, is there a feature
 like regions i am not aware of?

There's no concept of regions (yet).  The commit message is pretty descriptive:

https://github.com/openstack/swift/commit/bb509dd863dc99c06a232d1d8e0f950a7e73dcc8

 - after migration of data and having two replicas spread over those two
 nodes, how can i make sure that in the event of a node beeing down swift
 will not start copying files to second drives on the healty nodes?

Swift won't over-replicate when a node's down, only when an individual
drive is unmounted.  There's no way to disable over-replication in
that case, though.

- Michael

___
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] XCP 1.6 Test Day Tomorrow

2012-10-08 Thread John Garbutt
Hi,

Alongside the recent XenServer 6.1 release, you may have noticed XCP 1.6 beta 
has been released.

If you are a user of XCP, please help influence the future of XCP by 
participating in this survey:
http://www.xen.org/download/xcp/index_1.6.0.html#survey

It would be great if you can also participate in the XCP test day tomorrow. 
More details below.

In related news, you might also want to checkout the recent Xen 4.2 release:
http://xen.org/download/index_4.2.0.html

Thanks,
John

 -Original Message-
 From: xen-users-boun...@lists.xen.org [mailto:xen-users-
 boun...@lists.xen.org] On Behalf Of Mike McClurg
 Sent: 08 October 2012 2:43
 To: xen-us...@lists.xen.org; xen-...@lists.xen.org
 Subject: Re: [Xen-users] Reminder: XCP 1.6 Test Day on Tue the 9th
 
 Hi XCP users,
 
 Don't forget that the XCP 1.6 test day is tomorrow! See Lars' email below for
 the details.
 
 Also, we have resolved the issue that prevented upgrades to XCP 1.6. A new
 beta build can be found here: http://downloads.xen.org/XCP/61002c/
 The links on the download page will be updated shortly.
 
 Mike
 
 On 05/10/12 15:04, Lars Kurth wrote:
  Hi,
 
  After the success of the first Xen Test Day and with XCP 1.6 being
  close to release, we will run an XCP test day next week. The *XCP 1.6
  Test
  Day* will be on Tuesday, October 9th, on IRC freenode channel
  *#xentest*. The plan is to test XCP 1.6 beta, which should be released
  shortly. You can find more information about Xen Test Days on:
 
  * http://wiki.xen.org/wiki/Xen_Test_Days
  * http://wiki.xen.org/wiki/XCP_1.6_test_instructions
 
  What is a Xen Test Day?
  ===
 
  Xen test days are all day IRC events, facilitated by members of the
  Xen community. The purpose of Test Days is to
 
   * Provide focus in testing Xen/XCP Release Candidates
   * Primary focus will be on new features and ensuring the RC/beta works
 with your hardware and in your environment
 
  How Does it Work?
  =
 
  The pattern is the same as for Xen Document Days:
 
   * Join us on IRC: freenode channel #xentest
   * Tell people what you intend to test
   * Make sure that a XCP release works for you
   * Help others, get help!
   * And above all: have fun!
 
  It is also OK, do to some testing before and jon the Test Day, if you
  get stuck and need some help. Looking forward to see you on IRC!
 
  Best Regards
  Lars
 
 
 
 ___
 Xen-users mailing list
 xen-us...@lists.xen.org
 http://lists.xen.org/xen-users

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

2012-10-08 Thread Daniel Oliveira
Oh lol what was I thinking. The DEBUG message isn't exactly the same, it's
the following:

# nova-manage network create private --multi-host=T --fixed_range_v4=
192.168.0.0/24 \
--bridge_interface=br100 --num_networks=1 --network_size=256
2012-10-08 11:09:33 DEBUG nova.utils
[req-780639b1-695c-42d8-af9a-1560185af834 None None] backend module
'nova.db.sqlalchemy.api' from
'/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc' from
(pid=3857) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658

2012/10/8 Daniel Oliveira dvalbr...@gmail.com

 Hello again, I'm sorry for asking for help so much. Well, after I managed
 to sucessfully install Glance (thanks to your help), I went to the next
 steps in the installation tutorial, which means installing nova components.
 Everything apparently went fine until I was asked to populate the database:

 # nova-manage db sync
 2012-10-08 11:05:35 DEBUG nova.utils [-] backend module
 'nova.db.sqlalchemy.migration' from
 '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.pyc' from
 (pid=3574) __get_backend /usr/lib/pýthon2.7/dist-packages/nova/utils.py:658
 2012-10-08 11:06:28 WARNING nova.utils [-]
 /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py:639:
 SADeprecationWarning: The 'listeners' argument to Pool (and
 create_engine()) is deprecated. Use event.listen().
   Pool.__init__(self, creator, **kw)

 2012-10-08 11:06:28 WARNING nova.utils [-]
 /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py:145:
 SADeprecationWarning: Pool.add-listener is deprecated. Use event.listen
   self.add_listener(l)

 2012-10-08 11:06:28 AUDIT nova.db.sqlalchemy.fix_dns_domains [-] Applying
 database fix for Essex dns_domains table.

 I'm asking for help because supposedly there shouldn't be any output to
 the db sync command. Also, if I move on on the tutorial, and do the
 command to create the network for the VMs, I get the same DEBUG message I
 get on the previous command.

 Thanks in advance.

 --
 My best regards,

 Daniel Oliveira.




-- 
My best regards,

Daniel Oliveira.
___
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] metadata api with Quantum and provider networks

2012-10-08 Thread Jānis Ģeņģeris
Hello,

When using provider networks in Quantum, where should the metadata service
rule mapping (e.g. 169.254.169.254:80 - metadata_server:metadata_port)
must be set?

For example, for floating IPs l3-agent handles this, but for provider
networks router is not used. I tried to set custom iptables rule for this,
but have a hard time understanding where to set it, as there is openvswitch
and namespaces.

I'm using provider network configuration with VLANs.

Regards,
--janis
___
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] Failed to get metadata for ip x.x.x.x

2012-10-08 Thread John Garbutt
I think Mate has just spotted this bug on trunk this morning.
He should be raising the bug and uploading a patch for that ASAP.
Clearly some unit tests are missing in this bit of code.

Thanks,
John

From: openstack-bounces+john.garbutt=citrix@lists.launchpad.net 
[mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net] On 
Behalf Of Afef MDHAFFAR
Sent: 08 October 2012 1:43
To: openstack@lists.launchpad.net
Subject: [Openstack] Failed to get metadata for ip x.x.x.x

Hi all,

I am trying to install openstack on 3 nodes (Ubuntu 12.04 + XCP).
The platform is composed of a cloud controller and 2 compute nodes.
The installation of the cloud controller looks successful. I am able to create 
and launch instances.
But launching instances on the compute nodes raise the following error:
--
2012-10-08 11:40:59 DEBUG nova.openstack.common.rpc.amqp [-] Making 
asynchronous call on network ... from (pid=26752) multicall 
/opt/stack/nova/nova/openstack/common/rpc/amqp.py:351
2012-10-08 11:40:59 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 
85ce008c9916415c9454c4087c468109 from (pid=26752) multicall 
/opt/stack/nova/nova/openstack/common/rpc/amqp.py:354
2012-10-08 11:40:59 ERROR nova.api.metadata.handler 
[req-e9540e8a-9729-40ba-9655-22d0725c82b7 None None] Failed to get metadata for 
ip: 10.0.0.21
2012-10-08 11:40:59 TRACE nova.api.metadata.handler Traceback (most recent call 
last):
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/api/metadata/handler.py, line 75, in __call__
2012-10-08 11:40:59 TRACE nova.api.metadata.handler meta_data = 
self.get_metadata(remote_address)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/api/metadata/handler.py, line 57, in get_metadata
2012-10-08 11:40:59 TRACE nova.api.metadata.handler data = 
base.get_metadata_by_address(address)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/api/metadata/base.py, line 383, in 
get_metadata_by_address
2012-10-08 11:40:59 TRACE nova.api.metadata.handler return 
InstanceMetadata(instance, address)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/api/metadata/base.py, line 102, in __init__
2012-10-08 11:40:59 TRACE nova.api.metadata.handler self.mappings = 
_format_instance_mapping(ctxt, instance)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/api/metadata/base.py, line 388, in 
_format_instance_mapping
2012-10-08 11:40:59 TRACE nova.api.metadata.handler return 
block_device.instance_block_mapping(instance, bdms)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/block_device.py, line 97, in instance_block_mapping
2012-10-08 11:40:59 TRACE nova.api.metadata.handler if 
FLAGS.compute_driver.endswith('xenapi.XenAPIDriver'):
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/openstack/common/cfg.py, line 1039, in __getattr__
2012-10-08 11:40:59 TRACE nova.api.metadata.handler return self._get(name)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/openstack/common/cfg.py, line 1361, in _get
2012-10-08 11:40:59 TRACE nova.api.metadata.handler value = 
self._substitute(self._do_get(name, group))
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/openstack/common/cfg.py, line 1377, in _do_get
2012-10-08 11:40:59 TRACE nova.api.metadata.handler info = 
self._get_opt_info(name, group)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler   File 
/opt/stack/nova/nova/openstack/common/cfg.py, line 1470, in _get_opt_info
2012-10-08 11:40:59 TRACE nova.api.metadata.handler raise 
NoSuchOptError(opt_name, group)
2012-10-08 11:40:59 TRACE nova.api.metadata.handler NoSuchOptError: no such 
option: compute_driver
2012-10-08 11:40:59 TRACE nova.api.metadata.handler
2012-10-08 11:40:59 INFO nova.api.ec2 [-] 0.228018s 10.0.0.21 GET 
/2009-04-04/meta-data/instance-id None:None 500 [Python-urllib/2.7] text/plain 
text/plain
2012-10-08 11:40:59 INFO nova.metadata.wsgi.server [-] 10.0.0.21 - - 
[08/Oct/2012 11:40:59] GET /2009-04-04/meta-data/instance-id HTTP/1.1 500 248 
0.228905

However, the launching process seems to be ok. I can ping the instance but 
can't ssh it.
when I try to ssh an instance launched on the compute node, I get this error: 
Read from socket failed: Connection reset by peer

Can you please help to solve this problem ??

Thank you,
Afef


___
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] Multi host nova-networking and local DNS resolving

2012-10-08 Thread Doude
Ok, thanks.
But how I can configure the external DNS ?
Should I manually set it ?

Doude.

On Fri, Oct 5, 2012 at 9:44 PM, Gui Maluf guimal...@gmail.com wrote:

 I think it's true. Maybe you will have to setup some external dns if you
 want resolution between hosts.

 On Thu, Oct 4, 2012 at 4:51 AM, Doude doudou...@gmail.com wrote:

 Hi all,

 I saw this question : https://answers.launchpad.net/nova/+question/197603
 Is it still true ? If yes, which workaround is possible ?

 Regards,
 Doude.

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




 --
 *guilherme* \n
 \tab *maluf*


___
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] How to run functional test only instead of the whole tests

2012-10-08 Thread Benzwt
It is possible to run the tests under the folder functional/ instead of 
run-test.sh ?
I think some hacking might be needed, please give me some hints.


Thanks!

Sent from my iPad
___
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 How to run functional test only instead of the whole tests

2012-10-08 Thread Benzwt


Sent from my iPad

On Oct 9, 2012, at 0:12, Benzwt ben...@gmail.com wrote:

 It is possible to run the GLANCE tests under the folder functional/ instead 
 of run-test.sh ?
 I think some hacking might be needed, please give me some hints.
 
 
 Thanks!
 
 Sent from my iPad

___
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] metadata api with Quantum and provider networks

2012-10-08 Thread Dan Wendlandt
On Mon, Oct 8, 2012 at 7:52 AM, Jānis Ģeņģeris janis.genge...@gmail.com wrote:
 Hello,

 When using provider networks in Quantum, where should the metadata service
 rule mapping (e.g. 169.254.169.254:80 - metadata_server:metadata_port) must
 be set?

 For example, for floating IPs l3-agent handles this, but for provider
 networks router is not used. I tried to set custom iptables rule for this,
 but have a hard time understanding where to set it, as there is openvswitch
 and namespaces.

 I'm using provider network configuration with VLANs.

You actually could use the Quantum L3 router as your gateway even if
VMs are on a provider network, but I suspect your question is actually
more along the lines of: if I want my gateway to be a physical router
not managed by Quantum, how do I does the DNAT rule for metadata get
applied?  In this case, you need to apply the DNAT rule manually to
the physical router, which I believe is the same as if you were using
flat networking with Nova with a physical router.

There may also be a more complex solution achievable via quantum in
which the provider creates a quantum router with an interface on the
provider network, VMs are each given a host route to route traffic
destined for 169.254.169.254/32 to this quantum router IP, rather than
the physical default gateway, and this quantum router performs the
DNAT.  However, its probably much easier to just apply this rule to
your physical router.

Dan



 Regards,
 --janis

 ___
 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] GLANCE How to run functional test only instead of the whole tests

2012-10-08 Thread Iccha Sethi

You can try:
 
./run_tests.sh glance/tests/functional/
 
 
Thanks,
Iccha
 
-Original Message-
From: Benzwt ben...@gmail.com
Sent: Monday, October 8, 2012 12:16pm
To: Benzwt ben...@gmail.com
Cc: OpenStack list mailing openstack@lists.launchpad.net
Subject: Re: [Openstack] GLANCE How to run functional test only instead of the 
whole tests




Sent from my iPad

On Oct 9, 2012, at 0:12, Benzwt ben...@gmail.com wrote:

 It is possible to run the GLANCE tests under the folder functional/ instead 
 of run-test.sh ?
 I think some hacking might be needed, please give me some hints.
 
 
 Thanks!
 
 Sent from my iPad

___
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] Doc team meeting today, #openstack-meeting at 2000 UTC

2012-10-08 Thread Anne Gentle
Hi all -

Would like to hold a brief Doc meeting in #openstack-meeting today at
our normal time, 3:00 Central. The agenda is here:
http://wiki.openstack.org/Meetings/DocTeamMeeting

Thanks,
Anne

___
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] metadata api with Quantum and provider networks

2012-10-08 Thread Jānis Ģeņģeris
On Mon, Oct 8, 2012 at 6:24 PM, Dan Wendlandt d...@nicira.com wrote:

 On Mon, Oct 8, 2012 at 7:52 AM, Jānis Ģeņģeris janis.genge...@gmail.com
 wrote:
  Hello,
 
  When using provider networks in Quantum, where should the metadata
 service
  rule mapping (e.g. 169.254.169.254:80 - metadata_server:metadata_port)
 must
  be set?
 
  For example, for floating IPs l3-agent handles this, but for provider
  networks router is not used. I tried to set custom iptables rule for
 this,
  but have a hard time understanding where to set it, as there is
 openvswitch
  and namespaces.
 
  I'm using provider network configuration with VLANs.

 You actually could use the Quantum L3 router as your gateway even if
 VMs are on a provider network, but I suspect your question is actually
 more along the lines of: if I want my gateway to be a physical router
 not managed by Quantum, how do I does the DNAT rule for metadata get
 applied?  In this case, you need to apply the DNAT rule manually to
 the physical router, which I believe is the same as if you were using
 flat networking with Nova with a physical router.

Adding the rule in physical router is not a good idea, because then the
configuration of the OpenStack crosses the actual software/server border
into network equipment, than can add to complexity later.

I tried to add provider network to quantum router, and the quantum CLI was
rejecting it.
AFAIK router-interface-add is for internal networks, and router-gateway-set
is also failing.

Which CLI command to use for adding provider network to existing quantum
router?




 There may also be a more complex solution achievable via quantum in
 which the provider creates a quantum router with an interface on the
 provider network, VMs are each given a host route to route traffic
 destined for 169.254.169.254/32 to this quantum router IP, rather than
 the physical default gateway, and this quantum router performs the
 DNAT.  However, its probably much easier to just apply this rule to
 your physical router.

No, this is no good.


 Dan


 
  Regards,
  --janis
 
  ___
  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
 ~~~


Regards,
--janis
___
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] Disable Quantum in Horizon Folsom

2012-10-08 Thread Gabriel Hurley
This QUANTUM_ENABLED setting hasn't existed in a very long time (I'm talking 
like Diablo timeframe). Everything in Horizon is controlled by Keystone's 
service catalog. The presence or absence of particular service types (e.g. 
network for Quantum) is what controls the appearance of those panels in the 
UI. This paradigm is also true for Swift (object-store service) and Cinder 
(volume service).

So, that said, if you are seeing Quantum in your UI when you aren't using 
Quantum then that means your Keystone catalog is misconfigured.

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 John Garbutt
Sent: Monday, October 08, 2012 8:01 AM
To: 'Kiall Mac Innes'; Bilel Msekni
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Disable Quantum in Horizon Folsom

I think, when I had this issue I modified my keystone configuration.
I removed the quantum endpoint and service accounts, and Horizon seemed to 
correctly detect there is was no quantum in my setup.

Having said that, I am surprized the flag did not work.
Maybe a capitalization error (try all caps), or missing space between equals 
sign?
I can't remember if that stuff matters.

John

From: 
openstack-bounces+john.garbutt=citrix@lists.launchpad.netmailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net
 
[mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net]mailto:[mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net]
 On Behalf Of Kiall Mac Innes
Sent: 08 October 2012 11:50
To: Bilel Msekni
Cc: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Subject: Re: [Openstack] Disable Quantum in Horizon Folsom

Quantum is defiantly not needed for Horizon in Folsom. We don't use Quantum, 
and do use Horizon.

The python-quantumclient library needs to be installed, but thats about it. And 
from your pastebin - I'm pretty sure you already have that installed.

Thanks,
Kiall
On Mon, Oct 8, 2012 at 11:20 AM, Bilel Msekni 
ski...@hotmail.frmailto:ski...@hotmail.fr wrote:
Thank you Kiall for replying,
Of course i did :)

Yet, after consulting with OpenStack IRC people, it seems that quantum can not 
be excluded from horizon :)

I am going for installing it :)
Le 08/10/2012 12:10, Kiall Mac Innes a écrit :
Did you restart apache after editing local_settings.py?

Thanks,
Kiall
On Mon, Oct 8, 2012 at 10:57 AM, Bilel Msekni 
ski...@hotmail.frmailto:ski...@hotmail.fr wrote:
Hi,

Back with a new bug :)
So, i have installed OpenStack Folsom and edited the horizon localsetting.py 
file to disable Quantum service: (Quantum_Enabled=False)

Still now Horizon is giving errors and inhibiting me from starting VMs:
I get this when i click on the networks tab in the dashboard page: 
http://pastebin.com/7766hVwb


does anyone have an idea how to disable quantum in Horizon ?

___
Mailing list: 
https://launchpad.net/~openstackhttps://launchpad.net/%7Eopenstack
Post to : 
openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Unsubscribe : 
https://launchpad.net/~openstackhttps://launchpad.net/%7Eopenstack
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] metadata api with Quantum and provider networks

2012-10-08 Thread Jānis Ģeņģeris
Here is the output, with few details.

# quantum router-show router_vlan1501
+---+--+
| Field | Value|
+---+--+
| admin_state_up| True |
| external_gateway_info |  |
| id| 3c7383c7-7759-4db6-ba5b-19e754280cb8 |
| name  | router_vlan1501  |
| status| ACTIVE   |
| tenant_id | 7246a7e9d61f42b8a644bc1551a2a396 |
+---+--+

# quantum net-show vlan1501
+---+--+
| Field | Value|
+---+--+
| admin_state_up| True |
| id| c2161824-a439-40e5-8809-5599f80df2fe |
| name  | vlan1501 |
| provider:network_type | vlan |
| provider:physical_network | default  |
| provider:segmentation_id  | 1501 |
| router:external   | False|
| shared| False|
| status| ACTIVE   |
| subnets   | af6eac1e-dfec-49a0-bfc2-3fbf9a7063b3 |
| tenant_id | 7246a7e9d61f42b8a644bc1551a2a396 |
+---+--+

# quantum router-gateway-set 3c7383c7-7759-4db6-ba5b-19e754280cb8
c2161824-a439-40e5-8809-5599f80df2fe
Bad router request: Network c2161824-a439-40e5-8809-5599f80df2fe is not a
valid external network

I assume this happens because 'router:external' if False, when switching it
to True the above command succeeds. But then if I want to switch back later
(with no ports attached, no routers, even no subnets), I get this:

quantum net-update vlan1501 --router:external False
External network e011d68b-6abd-43a4-b6c3-9dbadf5344ee cannot be updated to
be made non-external, since it has existing gateway ports

Anyway, I have set 'router:external' to True for 'vlan1501' network, set
the gateway for my newly created quantum router(router_vlan1501) with
'router-gateway-set' as a result quantum have created router ns with single
interface from my configured provider network 'vlan1501' with default
gateway set to the one of the 'vlan1501' nets attached subnet.

But now if I boot the VM with '--nic=vlan1501_id' option, I get VM with
default gateway set to networks('vlan1501') gateway(not the freshly created
router gateway, am I missing something in configs?), which is the same as
the created routers gateway. Another thing if I switch to newly created
'router_vlan1501' namespace I can't actually ping the external gateway,
that is there as a default gw for the 'vlan1501' net.

So my thinking is I need to change the default gw in VM to the virtual
router?

On Mon, Oct 8, 2012 at 9:32 PM, Dan Wendlandt d...@nicira.com wrote:

 On Mon, Oct 8, 2012 at 12:27 PM, Jānis Ģeņģeris
 janis.genge...@gmail.com wrote:
  On Mon, Oct 8, 2012 at 6:24 PM, Dan Wendlandt d...@nicira.com wrote:
 
  On Mon, Oct 8, 2012 at 7:52 AM, Jānis Ģeņģeris 
 janis.genge...@gmail.com
  wrote:
   Hello,
  
   When using provider networks in Quantum, where should the metadata
   service
   rule mapping (e.g. 169.254.169.254:80 -
 metadata_server:metadata_port)
   must
   be set?
  
   For example, for floating IPs l3-agent handles this, but for provider
   networks router is not used. I tried to set custom iptables rule for
   this,
   but have a hard time understanding where to set it, as there is
   openvswitch
   and namespaces.
  
   I'm using provider network configuration with VLANs.
 
  You actually could use the Quantum L3 router as your gateway even if
  VMs are on a provider network, but I suspect your question is actually
  more along the lines of: if I want my gateway to be a physical router
  not managed by Quantum, how do I does the DNAT rule for metadata get
  applied?  In this case, you need to apply the DNAT rule manually to
  the physical router, which I believe is the same as if you were using
  flat networking with Nova with a physical router.
 
  Adding the rule in physical router is not a good idea, because then the
  configuration of the OpenStack crosses the actual software/server border
  into network equipment, than can add to complexity later.

 Yes, its hard to have it both ways...  if you want everything done
 automatically via software, I'd suggest using the quantum router as
 the gateway, not an external physical router.

 
  I tried to add provider network to quantum 

Re: [Openstack] Puppet module for Quantum and vSwitches (Currently OVS)

2012-10-08 Thread Joe Topjian
Hi Endre,

You and I spoke about this module earlier today. I just saw this post to
the OpenStack list and wanted to follow-up to the list with some brief
information about it + where to find more information -- so please
disregard anything repeated from our conversation :)

Secondly, thank you and Emilien for your interest in Puppet and OpenStack.

On Mon, Oct 8, 2012 at 6:15 AM, Endre Karlson endre.karl...@gmail.comwrote:

 Hi, me and Emilien Macchi have been collaborating on some puppet modules
 for Quantum and vSwitches.

 You can see them here:
 https://github.com/EmilienM/openstack-quantum-puppet
 https://github.com/ekarlso/puppet-vswitch

 Please note that they are Working In Progress and may change.

 Feedback is wanted.


The Quantum module that you linked is based off of an earlier
proof-of-concept module that I made a few weeks ago. There are areas in
this code that were strictly for experimenting, so be careful.

I think your vswitch module is great and will work well with the Quantum
module -- much better than the original exec blocks.

Rather than going into deep Puppet-specific details about this module on
the OpenStack list, I'll instead point to the puppet-openstack mailing list
for you or anyone else interested to join:

https://groups.google.com/a/puppetlabs.com/forum/?fromgroups#!forum/puppet-openstack

There's a current thread discussing the original Quantum module plus some
other early Folsom modules:

https://groups.google.com/a/puppetlabs.com/forum/?fromgroups=#!topic/puppet-openstack/BGaBkYDn2wo

Thank you again for your interest and work with this :)

Joe

-- 
Joe Topjian
Systems Administrator
Cybera Inc.

www.cybera.ca

Cybera is a not-for-profit organization that works to spur and support
innovation, for the economic benefit of Alberta, through the use
of cyberinfrastructure.
___
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 talking to swift https really slow

2012-10-08 Thread Sam Morrison
Thanks stuart, interesting reading. I'm not sure why our pound was so slow but 
nginx is working great so I'm not too fused.

One thing to note when using nginx (for anyone else reading), with older swift 
clients creating containers will fail as it doesn't send the content-length 
header.
This is fixed in the latest python-swiftclient.

https://bugs.launchpad.net/python-swiftclient/+bug/951155

Cheers,
Sam



On 09/10/2012, at 12:35 AM, stuart.mcla...@hp.com wrote:

 Hi Sam,
 
 In case its useful for comparison I looked at Swift SSL performance in
 general a while back:
 
 https://region-a.geo-1.objects.hpcloudsvc.com/v1.0/AUTH_19cbcca3-a4b8-4b90-9332-c9bffd02285f/public_referenced/swift_perf6.pdf
 
 I didn't see pound hurting performance as much as you did, but our configs
 may have been different.
 
 -Stuart
 
 PS
 
 There's currently some work being done to allow the
 Glance client to disable SSL compression on a per connection basis:
 
 https://blueprints.launchpad.net/python-glanceclient/+spec/ssl-connect-rework
 
 If this gets merged it will cover the glanceclient - glance data path but
 not the glance - swift part. (With a bit of luck that may get added later.)
 
 On Mon, 8 Oct 2012, Sam Morrison wrote:
 
 OK we changed to use nginx as opposed to pound and got a huge increase in 
 speed.
 
 With taking glance out of it and talking directly to swift an image took 
 1m38s to download with pound in front.
 With nginx this took just 5s not sure what is wrong with pound, we haven't 
 changed any settings for pound or nginx.
 
 Sam
 
 
 On 08/10/2012, at 2:50 PM, Sam Morrison sorri...@gmail.com wrote:
 
 Hi,
 
 We've recently enabled ssl on our swift-proxy and now glance is incredibly 
 slow. I've read some stuff about disabling zlib compression etc.
 
 Has anyone got a good fix for this?
 
 We're using Ubuntu 12.04
 
 Cheers,
 Sam
 
 
 
 
 ___
 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] OpenStack User Group - Chicago - forming now

2012-10-08 Thread Steve Loving
Hello -

We have a few interested in forming an OpenStack Users Group in Chicago,
but we need more.   If your interested, please send me a note.

Thx.

-- 
Best Regards,



 Steven Loving
 818-725-1329 X5683


http://tungle.me/stevecurry
___
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] Puppet module for Quantum and vSwitches (Currently OVS)

2012-10-08 Thread Dan Bode
On Mon, Oct 8, 2012 at 5:15 AM, Endre Karlson endre.karl...@gmail.comwrote:

 Hi, me and Emilien Macchi have been collaborating on some puppet modules
 for Quantum and vSwitches.

 You can see them here:
 https://github.com/EmilienM/openstack-quantum-puppet
 https://github.com/ekarlso/puppet-vswitch

 Please note that they are Working In Progress and may change.

 Feedback is wanted.\


great to see that your guys are taking this on. I will review and make
inline comments this week. I am in the process of testing everything on
folsom this week. Hopefully, I will have time to try vswitch/quantum as
well.





 ___
 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] [heat] 10-08-2012 Heat Planning and Status meeting

2012-10-08 Thread Steven Dake
=
#heat Meeting
=


Meeting started by sdake at 21:00:38 UTC. The full logs are available at:
http://heat-api.org/heat-irc-meetings/heat.2012-10-08-21.00.log.html


Meeting summary
---
* rollcall  (sdake, 21:03:34)

* v7 release  (sdake, 21:04:43)

* remaining for incubation  (sdake, 21:08:00)
  * rest API in, but needs bit more work around events/resources
(sdake, 21:11:05)
  * need to sort out a python-heatclient repo  (sdake, 21:12:57)
  * cloudwatch security model ready by summit  (sdake, 21:29:32)
  * LINK: https://github.com/heat-api/heat/issues/173   (sdake,
21:29:58)
 * v7 priorities - rest api, resource dictionary mapping, cloudwatch
security, python-heatclient  (sdake, 21:36:51)

* bugs  (sdake, 21:38:06)
  * LINK: https://github.com/heat-api/heat-jeos/issues/13   (sdake,
21:38:21)
  * LINK: https://github.com/heat-api/heat-jeos/issues/20   (sdake,
21:39:10)
  * LINK: https://github.com/heat-api/heat/issues/249   (sdake,
21:39:44)
  * LINK: https://github.com/heat-api/heat/issues/190   (sdake,
21:41:43)

* release schedule  (sdake, 21:43:07)
  * zaneb release manager for v7 on 15th  (sdake, 21:49:24)

* summit planning  (sdake, 21:49:52)
  * LINK:
http://wiki.openstack.org/Heat/GrizzlySummit/HeatApiDraftDiscussion
(sdake, 21:50:05)
  * LINK:
http://wiki.openstack.org/Heat/GrizzlySummit/HeatImplementingCloudWatch
(sdake, 21:50:13)
  * LINK:
http://wiki.openstack.org/Heat/GrizzlySummit/HeatRoadmapPastandFuture
(sdake, 21:50:22)

* open issues  (sdake, 21:51:58)
  * LINK: https://gist.github.com/2369729   (stevebake, 21:57:18)
  * vote passed unanimously to migrate wiki to blueprints - migrate
issues to launchpad bugs  (sdake, 22:00:26)

Meeting ended at 22:06:22 UTC.

___
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] Bottleneck of message queue

2012-10-08 Thread Hao Wang
Hi guys,

I am trying to figure out how the internal interaction processes within
different modules of OpenStack. Frankly speaking, while I'm reading the
source codes I lost myself and have to jump out again to look at OpenStack
from out of the box. I don't know if anybody has the similiar feeling with
me.

OpenStack is based on message queue to ensure the expansion easy. Here come
my questions. Does anybody know the capacity of message queue? Would the
capacity be a bottleneck of the platform?

Thanks,
Howard
___
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] Puppet module for Quantum and vSwitches (Currently OVS)

2012-10-08 Thread Dmitry Ukov
Great modules. But you're using function multini to insert values into
configuration files. Where can I find sources of this function?

On Mon, Oct 8, 2012 at 5:45 PM, Dan Bode d...@puppetlabs.com wrote:



 On Mon, Oct 8, 2012 at 5:15 AM, Endre Karlson endre.karl...@gmail.comwrote:

 Hi, me and Emilien Macchi have been collaborating on some puppet modules
 for Quantum and vSwitches.

 You can see them here:
 https://github.com/EmilienM/openstack-quantum-puppet
 https://github.com/ekarlso/puppet-vswitch

 Please note that they are Working In Progress and may change.

 Feedback is wanted.\


 great to see that your guys are taking this on. I will review and make
 inline comments this week. I am in the process of testing everything on
 folsom this week. Hopefully, I will have time to try vswitch/quantum as
 well.





 ___
 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




-- 
Kind regards
Dmitry Ukov
IT Engineer
Mirantis, Inc.
___
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] Puppet module for Quantum and vSwitches (Currently OVS)

2012-10-08 Thread Joe Topjian
Hi Dmitry,


 Great modules. But you're using function multini to insert values into
 configuration files. Where can I find sources of this function?


https://github.com/jtopjian/puppetlabs-inifile/tree/jtopjian-multini

This function is now deprecated as Dan Bode has done a better
implementation. Please see the following discussion for more information:

https://groups.google.com/a/puppetlabs.com/forum/?fromgroups=#!topic/puppet-openstack/BGaBkYDn2wo

Thanks,
Joe


-- 
Joe Topjian
Systems Administrator
Cybera Inc.

www.cybera.ca

Cybera is a not-for-profit organization that works to spur and support
innovation, for the economic benefit of Alberta, through the use
of cyberinfrastructure.
___
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] Puppet module for Quantum and vSwitches (Currently OVS)

2012-10-08 Thread Dmitry Ukov
Thanks a lot

On Mon, Oct 8, 2012 at 9:45 PM, Joe Topjian joe.topj...@cybera.ca wrote:

 Hi Dmitry,


 Great modules. But you're using function multini to insert values into
 configuration files. Where can I find sources of this function?


 https://github.com/jtopjian/puppetlabs-inifile/tree/jtopjian-multini

 This function is now deprecated as Dan Bode has done a better
 implementation. Please see the following discussion for more information:


 https://groups.google.com/a/puppetlabs.com/forum/?fromgroups=#!topic/puppet-openstack/BGaBkYDn2wo

 Thanks,
 Joe


 --
 Joe Topjian
 Systems Administrator
 Cybera Inc.

 www.cybera.ca

 Cybera is a not-for-profit organization that works to spur and support
 innovation, for the economic benefit of Alberta, through the use
 of cyberinfrastructure.




-- 
Kind regards
Dmitry Ukov
IT Engineer
Mirantis, Inc.
___
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] Need 4+ volunteers for Design Summit

2012-10-08 Thread Stefano Maffulli

hello folks,

we need at least 4 volunteers, one for each track at the Design Summit. 
Their job will be to be the contact point for Webex streaming in each 
room (Emma AB, Emma C, Windsor BC, Annie AB): in case anything goes 
wrong with the Webex session from those rooms.


In each of the above mentioned rooms there will be one laptop with a 
webex session connected to http://openstack.webex.com. Cisco Webex 
producers will monitor all the sessions remotely and in case anything 
happens in one of the rooms (session falls, internet failures, 
microphones not working) they will need a contact point. We don't expect 
to be much work to do.


If you want to earn points and eternal gratitude please send me 
privately your email and phone number.


Thank you,
Stef

___
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-ubuntu-testing-notifications] Build Still Failing: precise_folsom_swift_trunk #93

2012-10-08 Thread openstack-testing-bot
Title: precise_folsom_swift_trunk
General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/precise_folsom_swift_trunk/93/Project:precise_folsom_swift_trunkDate of build:Mon, 08 Oct 2012 19:00:33 -0400Build duration:2 min 58 secBuild cause:Started by an SCM changeBuilt on:pkg-builderHealth ReportWDescriptionScoreBuild stability: All recent builds failed.0Changesfix typing in swift/common.db, swift/container/server.dbby vito.ordazeditswift/common/db.pyeditswift/container/server.pyConsole Output[...truncated 2788 lines...]dch -a [7e0c4eb] Fixed leak on 499sdch -a [57b10cd] Restore old SIGPIPE handler in a proxy server test.dch -a [87c1c5d] Gracefully handle stdin flush failure on BSDdch -a [da99c33] Only set TCP_KEEPIDLE where supporteddch -a [8a7afa5] 1.7.2. changelog and version bump to 1.7.3-devdch -a [c97fb37] Fix bug where serialization_format is ignoreddch -a [568b61a] replace a value set with utils.TRUE_VALUESdch -a [411c7cb] Add README.md to the tarball.dch -a [c4f5761] builder.add_devs gets next id if not provideddch -a [bfc114b] new more helpful READMEdch -a [343968b] added disable_fallocate info to docsdch -a [2ca379d] added errno.EINVAL check to fallocatedch -a [463da7e] Adds Error Handling to swift-drive-audit for missing or unreadable /var/log/kern.logdch -a [d24e280] obj replicator speed updch -a [063789b] container_info returns a dictdch -a [a2ac5ef] swift constraints are now settable via configdch -a [3139760] Fix pep8 issuesdch -a [cde6d59] Fix pep8 issuesdch -a [c0537ac] Breakout search_devs & add get_builder() for reusedch -a [54e28fa] fix some formatdch -a [4d6ae96] fix some format issuredch -a [edaaa47] format some code according to pep8dch -a [46a093f] Obj replicator cleans up files where part dirs should be.dch -a [d56772a] Fix pep8 issues in test_memcached.py.dch -a [314d3b7] Fall back to UDP if /dev/log does not exist.dch -a [ed3b12d] Can run swift-bench across multiple cores/servers.debcommitbzr builddeb -S -- -sa -us -ucbzr builddeb -S -- -sa -us -ucdebsign -k9935ACDC swift_1.7.5+git201210081900~precise-0ubuntu1_source.changessbuild -d precise-folsom -n -A swift_1.7.5+git201210081900~precise-0ubuntu1.dscTraceback (most recent call last):  File "/var/lib/jenkins/tools/openstack-ubuntu-testing/bin/build-package", line 141, in raise esubprocess.CalledProcessError: Command '['sbuild', '-d', 'precise-folsom', '-n', '-A', 'swift_1.7.5+git201210081900~precise-0ubuntu1.dsc']' returned non-zero exit status 2Error in sys.excepthook:Traceback (most recent call last):  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 68, in apport_excepthookbinary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))OSError: [Errno 2] No such file or directoryOriginal exception was:Traceback (most recent call last):  File "/var/lib/jenkins/tools/openstack-ubuntu-testing/bin/build-package", line 141, in raise esubprocess.CalledProcessError: Command '['sbuild', '-d', 'precise-folsom', '-n', '-A', 'swift_1.7.5+git201210081900~precise-0ubuntu1.dsc']' returned non-zero exit status 2Build step 'Execute shell' marked build as failureEmail was triggered for: FailureSending email for trigger: Failure-- 
Mailing list: https://launchpad.net/~openstack-ubuntu-testing-notifications
Post to : openstack-ubuntu-testing-notifications@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-ubuntu-testing-notifications
More help   : https://help.launchpad.net/ListHelp


[Openstack-ubuntu-testing-notifications] Build Still Failing: precise_folsom_swift_trunk #94

2012-10-08 Thread openstack-testing-bot
Title: precise_folsom_swift_trunk
General InformationBUILD FAILUREBuild URL:https://jenkins.qa.ubuntu.com/job/precise_folsom_swift_trunk/94/Project:precise_folsom_swift_trunkDate of build:Mon, 08 Oct 2012 20:00:33 -0400Build duration:3 min 3 secBuild cause:Started by an SCM changeBuilt on:pkg-builderHealth ReportWDescriptionScoreBuild stability: All recent builds failed.0Changesremove configobj from depsby mikeedittools/pip-requireseditdoc/source/debian_package_guide.rsteditdoc/source/development_saio.rstConsole Output[...truncated 2791 lines...]dch -a [7e0c4eb] Fixed leak on 499sdch -a [57b10cd] Restore old SIGPIPE handler in a proxy server test.dch -a [87c1c5d] Gracefully handle stdin flush failure on BSDdch -a [da99c33] Only set TCP_KEEPIDLE where supporteddch -a [8a7afa5] 1.7.2. changelog and version bump to 1.7.3-devdch -a [c97fb37] Fix bug where serialization_format is ignoreddch -a [568b61a] replace a value set with utils.TRUE_VALUESdch -a [411c7cb] Add README.md to the tarball.dch -a [c4f5761] builder.add_devs gets next id if not provideddch -a [bfc114b] new more helpful READMEdch -a [343968b] added disable_fallocate info to docsdch -a [2ca379d] added errno.EINVAL check to fallocatedch -a [463da7e] Adds Error Handling to swift-drive-audit for missing or unreadable /var/log/kern.logdch -a [d24e280] obj replicator speed updch -a [063789b] container_info returns a dictdch -a [a2ac5ef] swift constraints are now settable via configdch -a [3139760] Fix pep8 issuesdch -a [cde6d59] Fix pep8 issuesdch -a [c0537ac] Breakout search_devs & add get_builder() for reusedch -a [54e28fa] fix some formatdch -a [4d6ae96] fix some format issuredch -a [edaaa47] format some code according to pep8dch -a [46a093f] Obj replicator cleans up files where part dirs should be.dch -a [d56772a] Fix pep8 issues in test_memcached.py.dch -a [314d3b7] Fall back to UDP if /dev/log does not exist.dch -a [ed3b12d] Can run swift-bench across multiple cores/servers.debcommitbzr builddeb -S -- -sa -us -ucbzr builddeb -S -- -sa -us -ucdebsign -k9935ACDC swift_1.7.5+git201210082000~precise-0ubuntu1_source.changessbuild -d precise-folsom -n -A swift_1.7.5+git201210082000~precise-0ubuntu1.dscTraceback (most recent call last):  File "/var/lib/jenkins/tools/openstack-ubuntu-testing/bin/build-package", line 141, in raise esubprocess.CalledProcessError: Command '['sbuild', '-d', 'precise-folsom', '-n', '-A', 'swift_1.7.5+git201210082000~precise-0ubuntu1.dsc']' returned non-zero exit status 2Error in sys.excepthook:Traceback (most recent call last):  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 68, in apport_excepthookbinary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))OSError: [Errno 2] No such file or directoryOriginal exception was:Traceback (most recent call last):  File "/var/lib/jenkins/tools/openstack-ubuntu-testing/bin/build-package", line 141, in raise esubprocess.CalledProcessError: Command '['sbuild', '-d', 'precise-folsom', '-n', '-A', 'swift_1.7.5+git201210082000~precise-0ubuntu1.dsc']' returned non-zero exit status 2Build step 'Execute shell' marked build as failureEmail was triggered for: FailureSending email for trigger: Failure-- 
Mailing list: https://launchpad.net/~openstack-ubuntu-testing-notifications
Post to : openstack-ubuntu-testing-notifications@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-ubuntu-testing-notifications
More help   : https://help.launchpad.net/ListHelp