Re: [Openstack] Grizzly Compute gives error

2013-07-09 Thread Adrian Smith
I'm guessing you've checked all the basic stuff but without anything else to go on I'd check, i) is MySQL up and running? ii) is MySQL bound to 0.0.0.0 (as per the instructions on the setup page, i.e. sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf iii) can you connect to MySQL from another

Re: [Openstack] Networking with Nova

2013-07-09 Thread Adrian Smith
when I create an instance via nova, can I specify which network the instance should e attached to? For example, suppose that I have three VM in a compute node each of them is attached to a network 1,2,3, I want to add the fourth one and specify that this VM should be attached in network 2.

Re: [Openstack] [SWIFT] Account or User or Account_User?

2013-02-20 Thread Adrian Smith
Unless tester3 is given explicit permissions he can't do anything. To be of any use the 'test' user (who is an admin) would need to grant 'test3' read/write access to a container. Permissions are granted using the X-Container-Read and X-Container-Write headers on containers,

Re: [Openstack] [Swift] Auth problem

2013-01-13 Thread Adrian Smith
Hi Kun, I got user_login1_login2 = password privileges from http://www.stephenbroeker.com/2012/03/28/openstack-swift-tempauth-module/, but what's different from login1 and login2? Perhaps the login1, login2 labels is what's causing your confusion. The format of the proxy config entries for

Re: [Openstack] Openstack common

2012-06-17 Thread Adrian Smith
pep8 1.3 (released 15-Jun) is much stricter about the indentation used on continuation lines. After upgrading we started seeing quite a few instances of E127,E128... E127 continuation line over-indented for visual indent. Adrian On 17 June 2012 17:52, Jay Pipes jaypi...@gmail.com wrote: What

Re: [Openstack] [Swift] Where's Object's metadata located ?

2012-06-16 Thread Adrian Smith
Q1: Where's the metadata of an object ? It's stored in extended attributes on the filesystem itself. This is reason XFS (or other filesystem supporting extended attributes) is required. Could I find the value? Sure. You just need some way of a) identifying the object on disk and, b) a means of

Re: [Openstack] [Horizon][Swift]Cloudfile API

2012-06-12 Thread Adrian Smith
Hi Ke Wu, Unfortunately the Swift API doesn't offer any way of filtering. The 'prefix' parameter is as good as it gets. Adrian On 11 June 2012 21:18, Ke Wu ke...@ibeca.me wrote: Hi everyone, I am currently working on the Horizon's Swift containers/objects dashboard. On the dashboard user

[Openstack] Swift API - Differences between API docs and code

2012-06-05 Thread Adrian Smith
I've been digging about in the Swift codebase recently and I've come across a few few features that aren't documented in the API docs. For example, metadata at the account level, prefix parameter at the account level, end_marker parameter, object versioning (new in 1.5.0). These are just a few.

[Openstack] [Swift] Functional Tests

2012-05-25 Thread Adrian Smith
Are the Swift functional tests ran by Jenkins? I couldn't find anything but there's quite a few jobs in there so I may have missed something. I'm curious if they're used to gate what's merged or if they're purely discretionary. Adrian ___ Mailing

Re: [Openstack] [Swift] Functional Tests

2012-05-25 Thread Adrian Smith
. Regards, Ravi -Original Message- From: openstack-bounces+ravikumar.venkatesan=hp@lists.launchpad.net [mailto:openstack-bounces+ravikumar.venkatesan=hp@lists.launchpad.net] On Behalf Of Adrian Smith Sent: Friday, May 25, 2012 8:04 AM To: openstack@lists.launchpad.net

Re: [Openstack] CORS implementation for OpenStack

2012-05-14 Thread Adrian Smith
Perhaps the openstack-common project [1] could house a common CORS implementation? FYI, I'm hoping to refactor the CORS middleware as a standalone project soon Javier (just a bit short on time atm). [1] https://github.com/openstack/openstack-common On 14 May 2012 14:35, javier cerviño

Re: [Openstack] Using Nova APIs from Javascript: possible?

2012-04-30 Thread Adrian Smith
will test it with Android and Opera browsers. Sure! It will be very interesting to submit your code to gerrit!! Diego, I will talk with Joaquin to check if we can show you a demo in two weeks!! Cheers, Javier. 2012/4/27 Adrian Smith adrian_f_sm...@dell.com I'd be really interested to hear

Re: [Openstack] Using Nova APIs from Javascript: possible?

2012-04-27 Thread Adrian Smith
I'd be really interested to hear how you go on with the CORS middleware Javier. Did it work as-is or did you have to modify it? Was there much effort involved in using it with Nova? From your experience it sounds like there's decent CORS support in browsers now so it's probably time to submit

Re: [Openstack] Using Nova APIs from Javascript: possible?

2012-04-23 Thread Adrian Smith
Hi Nick, I did some work with CORS a few months back [1]. At the time I couldn't get any browser to work properly with CORS so I just parked the code. The problem was lack of support for the Access-Control-Expose-Headers header. According to the Chrome bug report [2] this issue may well be

Re: [Openstack] Using Nova APIs from Javascript: possible?

2012-04-23 Thread Adrian Smith
that return custom headers. (It's likely I'm missing them though) Nick On Apr 23, 2012 5:40 PM, Adrian Smith adr...@17od.com wrote: Hi Nick, I did some work with CORS a few months back [1]. At the time I couldn't get any browser to work properly with CORS so I just parked the code

Re: [Openstack] Using Nova APIs from Javascript: possible?

2012-04-23 Thread Adrian Smith
This is for Swift of course. But I guess there are similar headers for Nova. On 23 April 2012 11:09, Adrian Smith adr...@17od.com wrote: The authentication request returns X-Storage-Url and X-Auth-Token headers. For the JS client to see them they need to be referenced in Access-Control-Expose

Re: [Openstack] understanding ephemeral and persistant volumes

2012-02-29 Thread Adrian Smith
Great description. Thanks George. On 28 February 2012 18:03, George Mihaiescu george.mihaie...@q9.com wrote: When you ask Nova to boot a VM, nova-compute will connect to Glance and GET the image file from Glance and save it on the its local filesystem in /var/lib/nova/instances/_base. If

Re: [Openstack] how to run selected tests

2012-02-29 Thread Adrian Smith
nova/testing/runner.py has a few suggestions in the header comments. e.g. To run a single test module: python nova/testing/runner.py test_compute On 29 February 2012 20:42, Yun Mao yun...@gmail.com wrote: Greetings, What's the most convenient way to run a subset of the existing tests?

Re: [Openstack] [Swift] Cannot create container.

2012-02-24 Thread Adrian Smith
A 507 usually means a device isn't mounted. It might be worth revisiting the Using a partition for storage or Using a loopback device for storage sections of the guide (depending on which option you chose) in case you missed something. Adrian On 24 February 2012 15:13, Leander Bessa

Re: [Openstack] Object Storage Swift on rhel6.0

2012-02-23 Thread Adrian Smith
#healthcheck [filter:cache] use = egg:swift#memcache memcache_servers = 10.30.91.80:11211 On 23 February 2012 04:39, Sudhakar Maiya sma...@gmail.com wrote: please check and let me know what needs to be done On Wed, Feb 22, 2012 at 7:31 PM, Adrian Smith adrian_f_sm...@dell.com wrote

Re: [Openstack] Object Storage Swift on rhel6.0

2012-02-23 Thread Adrian Smith
let me know what can be done regards Sudhakar On Thu, Feb 23, 2012 at 2:08 PM, Adrian Smith adr...@17od.com wrote: Your config file looks fine Sudhakar (included below, sent offline). Have you checked your syslog (/var/log/syslog) for errors? [DEFAULT] #cert_file = /etc/swift/cert.crt

Re: [Openstack] Confused between devstack repos

2012-02-22 Thread Adrian Smith
openstack-dev/devstack.git is the main repo. The project summary for cloudbuilders/devstack.git states, THIS IS A MIRROR OF https://github.com/openstack-dev/devstack; I guess someone has a dependency on cloudbuilders/devstack.git that they can't give up just yet. On 22 February 2012 09:45,

Re: [Openstack] Confused between devstack repos

2012-02-22 Thread Adrian Smith
openstack-dev/devstack.git is the main repo. The project summary for cloudbuilders/devstack.git states, THIS IS A MIRROR OF https://github.com/openstack-dev/devstack; I guess someone has a dependency on cloudbuilders/devstack.git that they can't give up just yet. On 22 February 2012 09:45,

Re: [Openstack] Object Storage Swift on rhel6.0

2012-02-22 Thread Adrian Smith
Could be a problem with the URL (/swauth rather than /auth). Try this, swauth-add-user -K swauthkey -A http://10.30.91.80:8080/auth/ -a system root testpass On 22 February 2012 10:16, Sudhakar Maiya sma...@gmail.com wrote: Hi, after successfull configuration of openstack object storage.. i

Re: [Openstack] Object Storage Swift on rhel6.0

2012-02-22 Thread Adrian Smith
-A http://10.30.91.80:8080/auth/ -a system root testpass error Account creation failed: 500 Server Error User creation failed: 500 Server Error Regards Sudhakar On Wed, Feb 22, 2012 at 4:07 PM, Adrian Smith adrian_f_sm...@dell.com wrote: Could be a problem with the URL (/swauth rather