Re: [Openstack] need help on swift and python

2012-06-25 Thread Christophe Le Guern
Hi Yogesh, Here is an example using swauth middleware and swift: ** from cloudfiles.connection import Connection conn = Connection("account:user", "password", authurl="https://SWIFT-URL/auth/v1.0";) container = conn.create_container("mycontainer") obj = container.cr

Re: [Openstack] Openstack Command Line

2012-06-25 Thread Vaze, Mandar
http://lmgtfy.com/?q=openstack+command+line+tools -Mandar From: openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net [mailto:openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net] On Behalf Of Trinath Somanchi Sent: Tuesday, June 26, 2012 10:49 AM To: openstack@lists.launchpad.

Re: [Openstack] Openstack Command Line

2012-06-25 Thread Atul Jha
Hi Trinath, Checking docs.opestack.org will help, look for nova related commands. Cheers!! Atul From: openstack-bounces+atul.jha=csscorp@lists.launchpad.net [openstack-bounces+atul.jha=csscorp@lists.launchpad.net] on behalf of Trinath Somanchi [trinath.

Re: [Openstack] Openstack Command Line

2012-06-25 Thread Matt Joyce
yes there is. check out the python-novaclient, or use euca2ools. Cheers, Matt On Mon, Jun 25, 2012 at 10:18 PM, Trinath Somanchi < trinath.soman...@gmail.com> wrote: > Hi- > > With out using Horizon, is there any command line Openstack for > configuring and bringing up instances? > > > > --

[Openstack] Openstack Command Line

2012-06-25 Thread Trinath Somanchi
Hi- With out using Horizon, is there any command line Openstack for configuring and bringing up instances? -- Regards, -- Trinath Somanchi, +91 9866 235 130 ___ Mailing list: https://launchpad.net/~openstac

[Openstack] need help on swift and python

2012-06-25 Thread Yogesh Bansal
Hi, I want to upload a file or image on swift object storage server. I can do it using curl command. But I am not able to do it using python apis. I am using Django and python to make web based application, which required to store file from client to swift object storage server. Is there any s

Re: [Openstack] [nova][ec2] EC2 CreateImage API and nova boot-from-volume

2012-06-25 Thread Scott Moser
On Mon, 25 Jun 2012, Vishvananda Ishaya wrote: > > On Jun 25, 2012, at 9:25 AM, Eoghan Glynn wrote: > > > > > Hi Folks, > > > > I've been looking into the (currently broken) EC2 CreateImage API support > > and just wanted to get a sanity check on the following line of reasoning: > > > > - EC2 Crea

Re: [Openstack] [Swift] rsyslog daemon reloading causes swift related services hangs and CPU reach to 100%

2012-06-25 Thread MORITA Kazutaka
At Sat, 23 Jun 2012 14:09:43 +0800, Kuo Hugo wrote: > > nice suggestion , > We decide to use UPD now Just an FYI, the fix was merged into upstream python. http://hg.python.org/cpython/rev/6af0535b5e3a Thanks, Kazutaka ___ Mailing list: https://launc

[Openstack] big problem with boot from iso

2012-06-25 Thread William Herry
Hi I use boot from iso to install a centos instance, it can't recognize the disk, I create a flavor with 300G ephemeral and 300G disk, it says no valid disk found, but when I create a flavor with 30 swap, it found the disk vdb, and can install the system, but of course can boot can some one te

[Openstack] New mailing list server [status update]

2012-06-25 Thread Stefano Maffulli
Hello folks, we're getting closer to being able to have a new mailing list manager. Duncan and the infra team have a new machine running, with mailman installed. We tested also the migration of the archives, successfully. You can have a look at the result on the staging server: http://stagelists

[Openstack] [metering] collector storage backends

2012-06-25 Thread Doug Hellmann
After running some numbers through the calculator Nick put together, we're comfortable starting with a MongoDB backend for the monitoring data. I know a couple of other people were interested in that, but we decided to go with the SQLAlchemy backend at least in part because I was advocating that.

[Openstack] [nova] RFC - filtering compute nodes in a mixed environment

2012-06-25 Thread Jim Fehlig
In a previous thread [1], I mentioned two possibilities for controlling the scheduling of instances to an appropriate compute node in a mixed node (Xen, KVM) environment. The first approach uses availability zones, the second uses the existing vm_mode image property. Folks seemed to agree on the

Re: [Openstack] UnifiedCLI suggestion

2012-06-25 Thread Doug Hellmann
On Mon, Jun 25, 2012 at 6:19 PM, Ken Thomas wrote: > Greetings all, > > Our security folks have an issue with putting passwords on the command > line or in the environment. I wrote up a blueprint that gives the details > on their objections as well as a proposed short-term fix for keystone ( > ht

[Openstack] UnifiedCLI suggestion

2012-06-25 Thread Ken Thomas
Greetings all, Our security folks have an issue with putting passwords on the command line or in the environment. I wrote up a blueprint that gives the details on their objections as well as a proposed short-term fix for keystone (https://blueprints.launchpad.net/keystone/+spec/prompt-for-pas

[Openstack] [metering] need code review for bug #1005941 (emitting "exists" events)

2012-06-25 Thread Doug Hellmann
I have a small patch to emit metering data for existing instances when they are polled for CPU utilization. https://review.stackforge.org/#/c/237/ Doug ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubs

Re: [Openstack] [nova][ec2] EC2 CreateImage API and nova boot-from-volume

2012-06-25 Thread Vishvananda Ishaya
On Jun 25, 2012, at 9:25 AM, Eoghan Glynn wrote: > > Hi Folks, > > I've been looking into the (currently broken) EC2 CreateImage API support > and just wanted to get a sanity check on the following line of reasoning: > > - EC2 CreateImage should *only* apply to booted-from-volume nova servers

Re: [Openstack] [OpenStack][Nova] Multi-host ip mix up.

2012-06-25 Thread Vishvananda Ishaya
10.0.9.5 is probably the ip that nova assigned to your compute host for the bridge. ip addr show should show it on br100 There is likely something else going on that is causing your instance to fail to network properly. I would check the console output of the vm first, make sure it is getting

Re: [Openstack] Noob question about api client access

2012-06-25 Thread Roman Sokolkov
Hi! You could also see on endpoints in keystone. And satisfy that urls differ from localhost. keystone endpoint-list As I remember. Thanks, Roman S. 24.06.2012 19:15 пользователь "Jonathan Proulx" написал: > Hi All, > > I have a shiny new install of openstack and from the controller node > (th

Re: [Openstack] Ceph as a NOVA-INST-DIR/instances/ storage backend

2012-06-25 Thread Igor Laskovy
Thank you Florian and Tommi, I appreciated your help)) On Mon, Jun 25, 2012 at 8:18 PM, Tommi Virtanen wrote: > On Mon, Jun 25, 2012 at 10:03 AM, Igor Laskovy wrote: >> but can I use RBD for booting instances? I would like store whole VM on the >> Ceph, not only persistent volumes (actually for

Re: [Openstack] [OpenStack][Nova] Snapshot stuck in Queued state, no erros found in compute log

2012-06-25 Thread Vishvananda Ishaya
Usually queued means it didn't ever get uploaded into glance. Any errors in the glance log? I have never seen the error below, but it could be related. Vish On Jun 25, 2012, at 3:50 AM, Leander Bessa Beernaert wrote: > Hello, > > I've performed snapshots over and over without ever running into

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Kevin L. Mitchell
On Mon, 2012-06-25 at 16:56 +0100, Leander Bessa Beernaert wrote: > Here's the diff http://paste.openstack.org/show/18756/ Change "import diagnostics" to "from nova.virt.libvirt import diagnostics". (Also note that you may need to add a space between your name and your email address in Authors, a

Re: [Openstack] AttributeError: "virDomain instance has no attribute 'reset'"

2012-06-25 Thread Dan Prince
I went ahead and implemented the fix here: https://review.openstack.org/#/c/8943/1/nova/virt/libvirt/connection.py Once we do this the version requirement should be back at 0.9.6 (I think). Dan - Original Message - > From: "Jay Pipes" > To: openstack@lists.launchpad.net > Sent: Friday,

Re: [Openstack] Ceph as a NOVA-INST-DIR/instances/ storage backend

2012-06-25 Thread Florian Haas
On Mon, Jun 25, 2012 at 6:03 PM, Tommi Virtanen wrote: > On Sat, Jun 23, 2012 at 11:42 AM, Igor Laskovy wrote: >> Hi all from hot Kiev)) >> >> Does anybody use Ceph as a backend storage for NOVA-INST-DIR/instances/ ? Yes. http://www.sebastien-han.fr/blog/2012/06/10/introducing-ceph-to-openstack/

Re: [Openstack] Ceph as a NOVA-INST-DIR/instances/ storage backend

2012-06-25 Thread Igor Laskovy
Thank you Tommi, but can I use RBD for booting instances? I would like store whole VM on the Ceph, not only persistent volumes (actually for my project I not prefer use persistent volumes at all). Igor Laskovy facebook.com/igor.laskovy Kiev, Ukraine On Jun 25, 2012 7:03 PM, "Tommi Virtanen" wrot

[Openstack] [nova][ec2] EC2 CreateImage API and nova boot-from-volume

2012-06-25 Thread Eoghan Glynn
Hi Folks, I've been looking into the (currently broken) EC2 CreateImage API support and just wanted to get a sanity check on the following line of reasoning: - EC2 CreateImage should *only* apply to booted-from-volume nova servers, for fidelity with the EC2 limitation to EBS-based instances (

[Openstack] [OpenStack][Nova] Multi-host ip mix up.

2012-06-25 Thread Leander Bessa Beernaert
Hello, I've setup OpenStack with a multi-host configuration. Everything appears to be working fine. However, when i launch an instance, it get's assigned an ip (10.0.9.3) and when i ping that IP i get this output: > ping 10.0.9.3 > PING 10.0.9.3 (10.0.9.3) 56(84) bytes of data. > From 10.0.9.5 ic

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Leander Bessa Beernaert
Here's the diff http://paste.openstack.org/show/18756/ On Mon, Jun 25, 2012 at 4:53 PM, Brian Waldon wrote: > I usually run into this kind of problem when I break an import or add an > unfulfillable import somewhere in Nova or Glance. Could you post a diff for > us to take a look at? > > Brian >

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Brian Waldon
I usually run into this kind of problem when I break an import or add an unfulfillable import somewhere in Nova or Glance. Could you post a diff for us to take a look at? Brian On Jun 25, 2012, at 7:03 AM, Leander Bessa Beernaert wrote: > I've just added a new file and added a new method in t

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Leander Bessa Beernaert
I've implemented a diagnostics method for libvirt. The code works perfectly with the devstack installation. However, when i run the test from "run_tests.sh" this happens: http://paste.openstack.org/show/18754/. From what i've been told from the irc channel, the data supplied by the test is differen

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Leander Bessa Beernaert
I would like to add that I did not implement the test method, it was already there. Also it supplies a different set of data than the one i received when working with devstack. Which of the data types should i assume to be correct, the one from devstack or the one from the test? On Mon, Jun 25, 2

Re: [Openstack] [infra] Stackforge issues: tests & mails

2012-06-25 Thread James E. Blair
Julien Danjou writes: > Looking for the check manually here: > >https://jenkins.stackforge.org/view/Ceilometer/job/gate-ceilometer-merge/ > > seems to show that build #73 was related to this request but it has been > successful. But it reviews and reports as "LOST". Jenkins was missing the n

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Sean Dague
On 06/25/2012 10:41 AM, Leander Bessa Beernaert wrote: Hello, I'm working on the diagnostics method for libvirt. I've successfully managed to test it while running it manually and with devstack. However, the test case in test_virt_drivers.py fails since it supplies a different data type to the m

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Jay Pipes
You are not returning the data in the test method, whereas you are in the real method :) -jay On 06/25/2012 10:44 AM, Leander Bessa Beernaert wrote: Sorry, forgot to add the code: *This is my method (this worked with devstack):* def get_diagnostics(self, instance): dom = self._l

[Openstack] [metering] need commit approval on DB API

2012-06-25 Thread Doug Hellmann
During last week's meeting we approved the DB API put forward, at least as a first pass until we implement a couple of the plugins to actually talk to databases. I need approval on the change ( https://review.stackforge.org/#/c/227/) so I can use the API base class while working on the first plugin

[Openstack] [metering] need review of instance metadata change

2012-06-25 Thread Doug Hellmann
After updating nova to emit more metadata about an instance when a notification is sent, the next step was to update ceilometer to use that information when converting the notification to a metering event. I have that change up for review at https://review.stackforge.org/#/c/225/ I would like to g

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Leander Bessa Beernaert
Sorry, forgot to add the code: *This is my method (this worked with devstack):* def get_diagnostics(self, instance): dom = self._lookup_by_name(instance['name']) return diagnostics.get_diagnostics(dom) *and this the test method*: def test_get_diagnostics(self): inst

[Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Leander Bessa Beernaert
Hello, I'm working on the diagnostics method for libvirt. I've successfully managed to test it while running it manually and with devstack. However, the test case in test_virt_drivers.py fails since it supplies a different data type to the method. Could it be possible that there's a certain misma

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Leander Bessa Beernaert
I've just added a new file and added a new method in the connection.py of libvirt. Those are the changes i made, surely they haven' screwed up the test system :/ On Mon, Jun 25, 2012 at 3:00 PM, Joseph Suh wrote: > Leander, > > If it works fine in master branch, the problem must be due to some c

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Joseph Suh
Leander, If it works fine in master branch, the problem must be due to some changes in your own branch. Thanks, Joseph (w) 703-248-6160 (c) 571-340-2434 (f) 703-812-3712 3811 N. Fairfax Drive Suite 200 Arlington, VA, 22203, USA http://www.east.isi.edu/~jsuh - Original Message - F

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Leander Bessa Beernaert
I've tried all the options and the output is always, even with -V and -f: -- > Ran 0 tests in 0.000s > OK > Running PEP8 and HACKING compliance check... > 5 imports missing in this test environment The tests run just fine on the

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Joseph Suh
Leander, Did you give -V -f option? If you post your log, it would be easier to help. Thanks, Joseph (w) 703-248-6160 (c) 571-340-2434 (f) 703-812-3712 3811 N. Fairfax Drive Suite 200 Arlington, VA, 22203, USA http://www.east.isi.edu/~jsuh - Original Message - From: "Leander Bessa

Re: [Openstack] [infra] Stackforge issues: tests & mails

2012-06-25 Thread Julien Danjou
On Mon, Jun 25 2012, Andrew Hutchings wrote: > I can see the jobs on Jenkins just fine and puppet confirms there was no > problem with deployment. The Zuul service, however, was not running. > This has been fixed. Things changed indeed, but something is still wrong I think. I just sent a review

Re: [Openstack] Openstack Dashboard Error

2012-06-25 Thread Vaze, Mandar
See https://lists.launchpad.net/openstack/msg12548.html to get debug information on the webpage -Mandar From: openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net [mailto:openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net] On Behalf Of Trinath Somanchi Sent: Monday, June 2

[Openstack] [OpenStack][Swift] Global data backup, possible or not?

2012-06-25 Thread Leander Bessa Beernaert
Hello, I've been tasked with finding out if Swift has any means of performing a consistent global backup of all the information stored, which then could easily be restored in case of failure. I've been reading the documentation and these are my conclusions so far are: - Swift maintains a copy of

Re: [Openstack] [Ops] OpenStack and Operations: Input from the Wild

2012-06-25 Thread Endre Karlson
Is it monitoring or metering ? Ceilometer does metering. Endre. 2012/4/9 Huang Zhiteng > Thanks. Now I understand the performance metrics you guys were talking > about. It'd be good if we can have some tool reporting numbers for a cloud > just like 'mpstat', 'iostat' did for a system. > > > O

Re: [Openstack] HVM + Xen Hypervisor via libvirt possible?

2012-06-25 Thread Li Wang
I will discuss with my team to decide which aproach we'll take, and reply to this mail whenever there is something out. Thanks all guys Regards, Wang Li 2012/6/22 John Garbutt > I have asked some of the Xen.org guys if they know anyone who has time to > fix this. > I will let you know if I ha

Re: [Openstack] Openstack Dashboard Error

2012-06-25 Thread Trinath Somanchi
Hi- I'm seeing this error, when I login to the Openstack Dashboard in the apache2 error logs .. [error] No handlers could be found for logger "openstack_dashboard" In the Webpage its displaying " Internal Server Error An unexpected error occurred while processing your request. Please try your

Re: [Openstack] [infra] Stackforge issues: tests & mails

2012-06-25 Thread Julien Danjou
On Mon, Jun 25 2012, Andrew Hutchings wrote: > As we have pointed out several times the Stackforge Gerrit mail is > unreliable. This is because the Stackforge setup is hosted in HP Cloud > and they have (quite rightly) anti-spam measures such as port 25 rate > limiting. We have a plan to resolve

[Openstack] Allow keystone users to know their rights

2012-06-25 Thread Alexey Ababilov
Hi! Currently, user can obtain information about his rights (roles, tenants, endpoints) only saving response to POST /tokens query. If you are a non-privileged user, have a token, and haven't saved the mentioned response, you cannot know your rights - you have to make another POST /tokens query an

Re: [Openstack] [infra] Stackforge issues: tests & mails

2012-06-25 Thread Andrew Hutchings
Hi Julien, On 25/06/12 10:15, Julien Danjou wrote: > We've a couple of problem on Stackforge currently with at least the > ceilometer project. > > First, I don't receive any email from Gerrit anymore since several days. > :-( As we have pointed out several times the Stackforge Gerrit mail is unr

[Openstack] [OpenStack][Nova] Snapshot stuck in Queued state, no erros found in compute log

2012-06-25 Thread Leander Bessa Beernaert
Hello, I've performed snapshots over and over without ever running into trouble, however now one of them is stuck in the Queued state. I've searched the machine's compute.log for any indication of an error, but nothing showed up. I did a quick search and usually the erros appear in the compute.log

[Openstack] Hashing image files

2012-06-25 Thread Alexey Ababilov
Hi! I am curious to know: is it necessary for nova to save images in file which names are hashes from image IDs (UUIDs)? Nova saves root image under its sha1 hash: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/connection.py#L1214 but it saves kernel and ramdisk under their origi

Re: [Openstack] XCP with DevStack

2012-06-25 Thread John Garbutt
From: Thomas Goirand > I wrote it before, and I will write it again: a shell script is not, and will > never > replace, a documentation. What you need to do is write enough > documentation so that an experienced admin can write his own script, not > the other way around! So please write a decent t

Re: [Openstack] XCP with DevStack

2012-06-25 Thread John Garbutt
Glad your networking is fine :) One other possibility is, do you have anything in the PRESEED_URL variable? Are you OK to share your localrc file? Cheers, John From: r...@midokura.jp [mailto:r...@midokura.jp] On Behalf Of Ishimoto, Ryu Sent: 25 June 2012 3:49 To: John Garbutt Cc: Takaaki Suzuki;

[Openstack] [infra] Stackforge issues: tests & mails

2012-06-25 Thread Julien Danjou
Hi infra team, We've a couple of problem on Stackforge currently with at least the ceilometer project. First, I don't receive any email from Gerrit anymore since several days. :-( Secondly, I've added a bunch of tests for Essex on Jenkins days ago, but it seems they are either not complete or no

Re: [Openstack] [Swift] Lost of an object data file is not detected

2012-06-25 Thread 山縣陽
Hi mike, Thank you for your answer. I understand that swift can't detect missing object files. And I am afraid of performance of object-auditor too. Best regards, You Yamagata 2012/6/25 Michael Barton : > On Sun, Jun 24, 2012 at 9:05 PM, 山縣陽 wrote: >> But if I removed the data file, no pro

Re: [Openstack] [metering] Cinder usage data retrieval

2012-06-25 Thread Nick Barcet
On 06/21/2012 12:44 PM, Thomas, Duncan wrote: > John Griffith on 20 June 2012 18:26 wrote: > > >> On Wed, Jun 20, 2012 at 10:53 AM, Nick Barcet >> wrote: >>> What we want is to retrieve the maximum amount of data, so we can >> meter >>> things, to bill them in the end. For now and for Cinder, th