Re: [Openstack] (no subject)

2012-01-20 Thread Khaled Ben Bahri
Hi, I restarted proxyserver, and i checked to head the account by executing this command : curl -k -v -H 'X-Auth-Token: My x-auth-token' My x-storage-url but I got the same error This what i found in the syslog file: Jan 20 09:43:34 node1 proxy-server - x.x.x.x 20/Jan/2012/08/43/34 GET

[Openstack] How to resolve error Domain not found: no domain with matching ...

2012-01-20 Thread DeadSun
When I reboot my vm today(reboot works well before), it show : *2012-01-20 16:55:19,112 WARNING nova.virt.libvirt_conn [-] Error from libvirt during undefine of instance-0013. Code=42 Error=Domain not found: no domain with matching uuid '60f24c80-aee7-8e21-a14f-0682b82b13e2'** * *2012-01-20

[Openstack] [ANNOUNCE] OpenStack Nova and Glance 2011.3.1 released

2012-01-20 Thread Mark McLoughlin
Hey, In the months since the Diablo release, we have been busy selectively back-porting bugfixes to the stable/diablo branches of Nova and Glance. Well, those fixes are now available as 2011.3.1 releases! These releases are bugfix updates to Diablo and are intended to be relatively risk free

Re: [Openstack] Memory quota in nova-compute nodes.

2012-01-20 Thread Jorge Luiz Corrêa
On Jan 19, 2012, at 6:03 PM, Joe Gordon wrote: Hi Jorge, I have two questions: 1) Has anyone optimized nova to work in a HPC environment like you describe? Such as an intelligent scheduler that will generate VMs that consume x percent of a physical machines resources (so you don't end

Re: [Openstack] Listing non-public images in Glance

2012-01-20 Thread stuart . mclaren
 b) If authentication is not in effect, should we chage to listing    everything, public and not? I can file a bug and see it implemented. In case its useful, I think that currently (without authentication) a command such as: curl http://localhost:9292/v1/images?is_public=None will list both

Re: [Openstack] (no subject)

2012-01-20 Thread Chmouel Boudjnah
Hi, What is the content of your proxy-server.conf ? I would be interested to know what is your auth server and can you reproduce this problem with the tempauth auth server. This could mean a lot of different problems, make sure of the basic stuff lke file permissions on the storage nodes.

Re: [Openstack] (no subject)

2012-01-20 Thread Khaled Ben Bahri
Hi, This is the content of the proxy-server.conf [DEFAULT] cert_file = /etc/swift/cert.crt key_file = /etc/swift/cert.key bind_port = 8080 workers = 8 user = swift [pipeline:main] pipeline = healthcheck cache swift3 tempauth proxy-server [app:proxy-server] use = egg:swift#proxy

Re: [Openstack] (no subject)

2012-01-20 Thread Chmouel Boudjnah
On Fri, Jan 20, 2012 at 9:25 AM, Khaled Ben Bahri khaled-...@hotmail.com wrote: user_system_root = testpass .admin* https://x.x.x.x:8080/v1/AUTH_system* This doesn't seem right (the https URL at the end should not be there) Chmouel. ___ Mailing list:

Re: [Openstack] (no subject)

2012-01-20 Thread Khaled Ben Bahri
I followed the example in this link : http://swift.openstack.org/howto_installmultinode.html#config-proxy Best regards Khaled From: chmo...@openstack.org Date: Fri, 20 Jan 2012 09:32:27 -0600 Subject: Re: [Openstack] (no subject) To: khaled-...@hotmail.com CC: openstack@lists.launchpad.net On

Re: [Openstack] (no subject)

2012-01-20 Thread Chmouel Boudjnah
One can always learn, I never used that option (but I don't use much of the tempauth server). You probably want to look over the logs of the storage node see if there is any ERROR in the logs there. Chmouel. On Fri, Jan 20, 2012 at 9:36 AM, Khaled Ben Bahri khaled-...@hotmail.comwrote: I

[Openstack] Fwd: Associating VM to a quantum network

2012-01-20 Thread Alisson Soares Limeira Pontes
I have os-create-server but nova-client management does not accept the --nic option, as you said, Dan. When I instantiate a vm, it is created but no IP is assigned to it, thus, it does not change status to ACTIVE. Though I can't access the vm, I can attach the vm vif to a network port (using

Re: [Openstack] (no subject)

2012-01-20 Thread Khaled Ben Bahri
when I check log file on storage nodes, i found that data4 is not mounted, data4 is a shared folder that i mounted on storage nodes to have a bigger storage space Is it necessary that storage devices have to be mounted on /srv/node?? or i can mount them on other directory Can I use a list

Re: [Openstack] Memory quota in nova-compute nodes.

2012-01-20 Thread Eric Windisch
On Thursday, January 19, 2012 at 12:52 PM, Jorge Luiz Correa wrote: I would like to know if it's possible to configure quota in each nova-compute node. For example, I set up a new hardware with 8 GB of memory and install the nova-compute, but I wish only 4 GB of memory are used (dedicated

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Nikolaus Rath
Hi, No one able to further clarify this? Does swift offer there read-after-create consistence like non-us-standard S3? What are the precise syntax and semantics of X-Newest header? Best, Nikolaus On 01/18/2012 10:15 AM, Nikolaus Rath wrote: Michael Barton mike-launch...@weirdlooking.com

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Nikolaus Rath
Hi, What happens if one of the nodes is down? Especially if that node holds the newest copy? Thanks, Nikolaus On 01/20/2012 12:33 PM, Stephen Broeker wrote: The X-Newest header can be used by a GET Operation to ensure that all of the Storage Nodes (3 by default) are queried for the latest

[Openstack] Swift supported file system

2012-01-20 Thread Khaled Ben Bahri
Hi, Can any one please tell me if we can mount and use for openstack swift a mounted shared folder as a storage device Is it necessary that storage devices have to be mounted on /srv/node?? Thanks in advance Best regards Khaled

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Stephen Broeker
If a node is down, then it is ignored. That is the whole point about 3 replicas. On Fri, Jan 20, 2012 at 10:43 AM, Nikolaus Rath nikol...@rath.org wrote: Hi, What happens if one of the nodes is down? Especially if that node holds the newest copy? Thanks, Nikolaus On 01/20/2012 12:33 PM,

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Nikolaus Rath
Hi, So if an object update has not yet been replicated on all nodes, and all nodes that have been updated are offline, what will happen? Will swift recognize this and give me an error, or will it silently return the older version? Thanks, Nikolaus On 01/20/2012 02:14 PM, Stephen Broeker wrote:

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Stephen Broeker
By default there are 3 replicas. A PUT Object will return after 2 replicas are done. So if all nodes are up then there are at least 2 replicas. If all replica nodes are down, then the GET Object will fail. On Fri, Jan 20, 2012 at 11:21 AM, Nikolaus Rath nikol...@rath.org wrote: Hi, So if an

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Nikolaus Rath
Hi, Sorry for being so persistent, but I'm still not sure what happens if the 2 servers that carry the new replica are down, but the 1 server that has the old replica is up. Will GET fail or return the old replica? Best, Niko On 01/20/2012 02:52 PM, Stephen Broeker wrote: By default there are

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Stephen Broeker
In this case, I believe that the GET will succeed. On Fri, Jan 20, 2012 at 11:58 AM, Nikolaus Rath nikol...@rath.org wrote: Hi, Sorry for being so persistent, but I'm still not sure what happens if the 2 servers that carry the new replica are down, but the 1 server that has the old replica

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Nikolaus Rath
Hmm, but if there are e.g. 4 replicas, two of which are up-to-date but offline, and two available but online, swift would serve the old version? -Niko On 01/20/2012 03:06 PM, Chmouel Boudjnah wrote: As Stephen mentionned if there is only one replica left Swift would not serve it. Chmouel.

Re: [Openstack] Swift supported file system

2012-01-20 Thread Chmouel Boudjnah
On Fri, Jan 20, 2012 at 1:59 PM, Florian Hines florian.hi...@gmail.comwrote: Is it necessary that storage devices have to be mounted on /srv/node?? You can change where you mount devices with the devices config option in the default section of your config. Note that there is a few places in

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread andi abes
I'm finding this thread a bit confusing. You're comparing offered SERVICES to Software. While some of the details of the software will dictate what's possible, some are heavily dependent on how you deploy the swift software, and what kind of deployment decisions you (or your service provider)

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Chuck Thier
Some general notes for consistency and swift (all of the below assumes 3 replicas): Objects: When swift PUTs an object, it attempts to write to all 3 replicas and only returns success if 2 or more replicas were written successfully. When a new object is created, it has a fairly strong

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Caitlin Bestler
A new put can only succeed if it has successfully updated a full majority of the replicas (typically 2 out of 3). Therefore two different updates cannot concurrently succeed, one of them has to know that it is the later transaction. If you aren't forcing a Get to reference all servers, using

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Nikolaus Rath
Hi Andi, My perspective is that I'm working on an application that should work with arbitrary service providers using swift. Therefore, I'm interested in the minimal set of guarantees that I can always rely on, no matter how the service provider has configured his particular swift instance.

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Pete Zaitcev
On Fri, 20 Jan 2012 15:17:32 -0500 Nikolaus Rath nikol...@rath.org wrote: Thanks! So there is no way to reliably get the most-recent version of an object under all conditions. If you bend the conditions hard enough to hit the CAP theorem, you do. -- Pete

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Nikolaus Rath
On 01/20/2012 06:35 PM, Pete Zaitcev wrote: On Fri, 20 Jan 2012 15:17:32 -0500 Nikolaus Rath nikol...@rath.org wrote: Thanks! So there is no way to reliably get the most-recent version of an object under all conditions. If you bend the conditions hard enough to hit the CAP theorem, you

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread andi abes
nice reply ;) On Fri, Jan 20, 2012 at 6:35 PM, Pete Zaitcev zait...@redhat.com wrote: On Fri, 20 Jan 2012 15:17:32 -0500 Nikolaus Rath nikol...@rath.org wrote: Thanks! So there is no way to reliably get the most-recent version of an object under all conditions. If you bend the

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread andi abes
You would need to have the following occur, to make your scenario plausible: * you write the object, which places it on a majority of the replica nodes (i.e. 2 out of 3) * replication is slowly churning away, but doesn't quite catch up * both the nodes that have the updated data fail

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Nikolaus Rath
On 01/20/2012 05:08 PM, Caitlin Bestler wrote: If you aren’t forcing a Get to reference all servers, using the option Stephen mentioned, then you MAY get an old version before the replication process is complete. That is what is meant by “eventual consistency”. Well, but apparently this may

Re: [Openstack] Swift Consistency Guarantees?

2012-01-20 Thread Nikolaus Rath
Hi Chuck, Thanks for the detailed explanation! That pretty much answers all of my questions. I think this can (and should) placed as-is somewhere in the Swift Dokumentation and/or the Wiki. Best, Nikolaus On 01/20/2012 04:58 PM, Chuck Thier wrote: Some general notes for consistency and swift

Re: [Openstack] Proposal for new devstack (v2?)

2012-01-20 Thread Joshua Harlow
For those that want to try it glance should be working! Since glance has dependencies on keystone, and the database both of these will be installed and started automatically (uninstall and starting and such should work!) How to accomplish this can be seen at the github page readme.

Re: [Openstack] Proposal for new devstack (v2?)

2012-01-20 Thread Sean Roberts
Sweet. Will do next week. ~sean On Jan 20, 2012, at 7:25 PM, Joshua Harlow harlo...@yahoo-inc.commailto:harlo...@yahoo-inc.com wrote: For those that want to try it glance should be working! Since glance has dependencies on keystone, and the database both of these will be installed and started

Re: [Openstack] Proposal for new devstack (v2?)

2012-01-20 Thread Joshua Harlow
Note rhel6 isn't fully there yet. But in progress ;) On 1/20/12 7:33 PM, Sean Roberts sean...@yahoo-inc.com wrote: Sweet. Will do next week. ~sean On Jan 20, 2012, at 7:25 PM, Joshua Harlow harlo...@yahoo-inc.com wrote: Re: [Openstack] Proposal for new devstack (v2?) For those that want to

[Openstack] Openstack packages tags in Debian

2012-01-20 Thread Thomas Goirand
Hi, I have spent quite some time making sure that we have nice tags for Openstack in Debian, making it easier to find each of our daemons and programs. I have also pushed for a new tag called Suite::openstack, so that it's easy now to find absolutely all packages related to openstack with a very