Re: [Openstack] ScalR with OpenStack

2011-09-20 Thread Zeeshan Ali Shah
Would SCALR team try to setup a small Openstack cluster ? or do you need
cluster from Community to finish adding support.

BR

Zeeshan

2011/9/19 Sebastian Stadil - Scalr sebast...@scalr.com

 Correct, we need an OpenStack cluster with Swift and Volumes to finish
 adding support.

 Sent from my iPad

 On Sep 19, 2011, at 10:28 AM, Tomasz 'Zen' Napierała tom...@napierala.org
 wrote:

 
  On 19 wrz 2011, at 18:56, Zeeshan Ali Shah wrote:
 
  Any one tried to use ScalR with OpenStack ?
 
 
 
  From my last status check, it's not compatible yet.
 
  --
  Tomasz 'Zen' Napierała
 
 
 
 
 
 
  ___
  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] Reminder: OpenStack team meeting - 21:00 UTC

2011-09-20 Thread Thierry Carrez
Hello everyone,

Our team meeting will take place at 21:00 UTC this Tuesday in
#openstack-meeting on IRC. PTLs, if you can't make it, please name a
substitute on [2].

This is our last meeting before Diablo final release. I'd like to get
the go-ahead from PTLs on current milestone-proposed state, or come up
with the precise list of issues we still want to get fixed at:

https://launchpad.net/glance/+milestone/2011.3
https://launchpad.net/nova/+milestone/2011.3

Check out how that meeting time translates for *your* timezone:
[1] http://www.timeanddate.com/worldclock/fixedtime.html?iso=20110920T21

See the meeting agenda, edit the wiki to add new topics for discussion:
[2] http://wiki.openstack.org/Meetings/TeamMeeting

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] Guidelines for OpenStack APIs

2011-09-20 Thread Bryan Taylor
I agree with Jorge, HTTP defines PUT and POST in a way that allows each 
to be used for both create and update. We should not be changing the 
semantics of HTTP's uniform interface by adding additional constraints 
that are not documented in the HTTP spec.



On 09/19/2011 11:33 PM, Jorge Williams wrote:



On 9/19/11 1:03 AM, Mark McLoughlinmar...@redhat.com  wrote:


The spec is actually quite clear on the different between PUT and POST:

  The fundamental difference between the POST and PUT requests is
   reflected in the different meaning of the Request-URI. The URI in a
   POST request identifies the resource that will handle the enclosed
   entity. That resource might be a data-accepting process, a gateway to
   some other protocol, or a separate entity that accepts annotations.
   In contrast, the URI in a PUT request identifies the entity enclosed
   with the request


Right.  Another important difference between PUT and POST in that PUT is
idempotent -- see section 9.1.2.  In reality both PUT and POST can be used
for create and update. Some further thoughts on this in
http://etherpad.openstack.org/RFC-API-Guidelines

-jOrGe W.

This email may include confidential information. If you received it in error, 
please delete it.


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


This email may include confidential information. If you received it in error, 
please delete it.


___
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] rebalance error

2011-09-20 Thread Khaled Ben Bahri

Hi,

I am following intructions described at : 
http://swift.openstack.org/1.2/howto_installmultinode.html  in order to install 
openstack swift

when I reach the step of rebalancing ring ( at the end of configuring the proxy 
node) , after adding entries to rings,
and when I execute the command : 
swift-ring-builder account.builder rebalance
I have this error :


Traceback (most recent call last):
  File /usr/bin/swift-ring-builder, line 571, in module
Commands.__dict__.get(command, Commands.unknown)()
  File /usr/bin/swift-ring-builder, line 443, in rebalance
parts, balance = builder.rebalance()
  File /usr/lib/pymodules/python2.6/swift/common/ring/builder.py, line 200, 
in rebalance
self._initial_balance()
  File /usr/lib/pymodules/python2.6/swift/common/ring/builder.py, line 351, 
in _initial_balance
while available_devs[index]['zone'] in other_zones:
IndexError: list index out of range



can any one help me please to solve this problem

best regards
Khaled
  ___
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] rebalance error

2011-09-20 Thread Mark Gius
I usually see this error when there are not enough zones to satisfy the
number of replicas in the ring.

When you created the ring, your create command ended with three numbers.
 The second number is the number of replicas.  You need at least as many
zones as there are replicas.

Mark

On Tue, Sep 20, 2011 at 9:08 AM, Khaled Ben Bahri khaled-...@hotmail.comwrote:

  Hi,

 I am following intructions described at :
 http://swift.openstack.org/1.2/howto_installmultinode.html  in order to
 install openstack swift

 when I reach the step of rebalancing ring ( at the end of configuring the
 proxy node) , after adding entries to rings,
 and when I execute the command :

 swift-ring-builder account.builder rebalance


 I have this error :


 Traceback (most recent call last):
   File /usr/bin/swift-ring-builder, line 571, in module
 Commands.__dict__.get(command, Commands.unknown)()
   File /usr/bin/swift-ring-builder, line 443, in rebalance
 parts, balance = builder.rebalance()
   File /usr/lib/pymodules/python2.6/swift/common/ring/builder.py, line
 200, in rebalance
 self._initial_balance()
   File /usr/lib/pymodules/python2.6/swift/common/ring/builder.py, line
 351, in _initial_balance
 while available_devs[index]['zone'] in other_zones:
 IndexError: list index out of range



 can any one help me please to solve this problem

 best regards
 Khaled

 ___
 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] rebalance error

2011-09-20 Thread Khaled Ben Bahri

thanks a lot for your answer :)

regards
Khaled

Date: Tue, 20 Sep 2011 10:54:34 -0700
From: m...@markgius.com
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] rebalance error

I usually see this error when there are not enough zones to satisfy the number 
of replicas in the ring.  
When you created the ring, your create command ended with three numbers.  The 
second number is the number of replicas.  You need at least as many zones as 
there are replicas.

Mark

On Tue, Sep 20, 2011 at 9:08 AM, Khaled Ben Bahri khaled-...@hotmail.com 
wrote:






Hi,

I am following intructions described at : 
http://swift.openstack.org/1.2/howto_installmultinode.html  in order to install 
openstack swift


when I reach the step of rebalancing ring ( at the end of configuring the proxy 
node) , after adding entries to rings,
and when I execute the command : 
swift-ring-builder account.builder rebalance

I have this error :


Traceback (most recent call last):
  File /usr/bin/swift-ring-builder, line 571, in module
Commands.__dict__.get(command, Commands.unknown)()
  File /usr/bin/swift-ring-builder, line 443, in rebalance

parts, balance = builder.rebalance()
  File /usr/lib/pymodules/python2.6/swift/common/ring/builder.py, line 200, 
in rebalance
self._initial_balance()
  File /usr/lib/pymodules/python2.6/swift/common/ring/builder.py, line 351, 
in _initial_balance

while available_devs[index]['zone'] in other_zones:
IndexError: list index out of range



can any one help me please to solve this problem

best regards
Khaled

  

___

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] Error while resizing. Nova compute on XenServer 5.6

2011-09-20 Thread Matt Dietz
Giuseppe,

I'm not sure that's the error that's causing the problem, but it seems
indicative of a larger issue: namely that the other compute node (the one
that received the VHD in the migration) perhaps cannot talk to the dom0?

Matt

On 9/20/11 11:29 AM, Giuseppe Civitella giuseppe.civite...@gmail.com
wrote:

Hi all,

I'm trying to resize an instance between two XenServer, each managed
by a domU running Natty and current Diablo milestone.
When I schedule the resize the instance gets a snapshot and its vhd
file get  copyed by rsync on the other host. At this point the task
fails.
At this time there is a record on migrations table of cloud controller's
mysql.
On source host's  nova-compute log i can see:

2011-09-20 18:11:34,446 DEBUG nova.rpc [-] received
{u'_context_roles': [], u'_context_request_id':
u'da2ac014-1600-4fa4-9be7-4c53add5caa4', u'_context_read_deleted':
False, u'args': {u'instance_id':
u'4548a3ed-2989-4fe7-bca9-bdf55bc9635a', u'migration_id': 12},
u'_context_auth_token': None, u'_context_is_admin': True,
u'_context_project_id': u'gcivitella_proj', u'_context_timestamp':
u'2011-09-20T16:11:33.724787', u'_context_user_id':
u'gcivitella_name', u'method': u'resize_instance',
u'_context_remote_address': u'127.0.0.1'} from (pid=20478)
process_data /usr/lib/pymodules/python2.7/nova/rpc/amqp.py:200
2011-09-20 18:11:34,447 DEBUG nova.rpc [-] unpacked context:
{'user_id': u'gcivitella_name', 'roles': [], 'timestamp':
u'2011-09-20T16:11:33.724787', 'auth_token': None, 'msg_id': None,
'remote_address': u'127.0.0.1', 'is_admin': True, 'request_id':
u'da2ac014-1600-4fa4-9be7-4c53add5caa4', 'project_id':
u'gcivitella_proj', 'read_deleted': False} from (pid=20478)
_unpack_context /usr/lib/pymodules/python2.7/nova/rpc/amqp.py:432
2011-09-20 18:11:34,447 INFO nova.compute.manager
[da2ac014-1600-4fa4-9be7-4c53add5caa4 gcivitella_name gcivitella_proj]
check_instance_lock: decorating: |function resize_instance at
0x362d758|
2011-09-20 18:11:34,448 INFO nova.compute.manager
[da2ac014-1600-4fa4-9be7-4c53add5caa4 gcivitella_name gcivitella_proj]
check_instance_lock: arguments: |nova.compute.manager.ComputeManager
object at 0x2f56810| |nova.rpc.amqp.RpcContext object at 0x4b46e50|
|4548a3ed-2989-4fe7-bca9-bdf55bc9635a|
2011-09-20 18:11:34,448 DEBUG nova.compute.manager
[da2ac014-1600-4fa4-9be7-4c53add5caa4 gcivitella_name gcivitella_proj]
instance 4548a3ed-2989-4fe7-bca9-bdf55bc9635a: getting locked state
from (pid=20478) get_lock
/usr/lib/pymodules/python2.7/nova/compute/manager.py:1121
2011-09-20 18:11:34,522 INFO nova.compute.manager
[da2ac014-1600-4fa4-9be7-4c53add5caa4 gcivitella_name gcivitella_proj]
check_instance_lock: locked: |False|
2011-09-20 18:11:34,522 INFO nova.compute.manager
[da2ac014-1600-4fa4-9be7-4c53add5caa4 gcivitella_name gcivitella_proj]
check_instance_lock: admin: |True|
2011-09-20 18:11:34,523 INFO nova.compute.manager
[da2ac014-1600-4fa4-9be7-4c53add5caa4 gcivitella_name gcivitella_proj]
check_instance_lock: executing: |function resize_instance at
0x362d758|
2011-09-20 18:11:34,716 DEBUG nova [-] Starting snapshot for VM
nova.db.sqlalchemy.models.Instance object at 0x496eb10 from
(pid=20478) _get_snapshot
/usr/lib/pymodules/python2.7/nova/virt/xenapi/vmops.py:515
2011-09-20 18:11:34,723 DEBUG nova.virt.xenapi.vm_utils [-]
Snapshotting VM OpaqueRef:defbf1c9-f3e6-3822-f110-7b61a35b7c18 with
label 'instance-0048-snapshot'... from (pid=20478) create_snapshot
/usr/lib/pymodules/python2.7/nova/virt/xenapi/vm_utils.py:338
2011-09-20 18:11:36,337 INFO nova.virt.xenapi [-] Task
[Async.VM.snapshot] OpaqueRef:7ca66e5a-261e-5e7b-441e-dca99ab2a1a8
status: success
valueOpaqueRef:05b68453-bee2-9c9b-db33-2bebe97cbdf7/value
2011-09-20 18:11:36,361 DEBUG nova.virt.xenapi.vm_utils [-] Created
snapshot OpaqueRef:05b68453-bee2-9c9b-db33-2bebe97cbdf7 from VM
OpaqueRef:defbf1c9-f3e6-3822-f110-7b61a35b7c18. from (pid=20478)
create_snapshot
/usr/lib/pymodules/python2.7/nova/virt/xenapi/vm_utils.py:352
2011-09-20 18:11:36,361 DEBUG nova.virt.xenapi.vm_utils [-]
Re-scanning SR OpaqueRef:d02abfe8-c781-f49f-81b2-6b981ed98097 from
(pid=20478) scan_sr
/usr/lib/pymodules/python2.7/nova/virt/xenapi/vm_utils.py:804
2011-09-20 18:11:36,916 INFO nova.virt.xenapi [-] Task [Async.SR.scan]
OpaqueRef:9514755f-8b94-dea1-5c0b-689bbe282804 status: success
2011-09-20 18:11:36,940 DEBUG nova.virt.xenapi.vm_utils [-] VHD
9d2ec65d-aeb4-4e6c-811f-78111d5835fc has parent
OpaqueRef:1f83df6e-d9aa-90cb-e2d9-b3c672c7ec4d from (pid=20478)
get_vhd_parent 
/usr/lib/pymodules/python2.7/nova/virt/xenapi/vm_utils.py:840

and then the error that stops the task:

2011-09-20 18:12:28,311 DEBUG nova.manager [-] Notifying Schedulers of
capabilities ... from (pid=20478) periodic_tasks
/usr/lib/pymodules/python2.7/nova/manager.py:111
2011-09-20 18:12:28,312 DEBUG nova.rpc [-] Making asynchronous fanout
cast... from (pid=20478) fanout_cast
/usr/lib/pymodules/python2.7/nova/rpc/amqp.py:545
2011-09-20 18:12:28,312 INFO nova.rpc [-] Creating