Re: [Openstack] How to integrate Cloudsim

2013-05-01 Thread harryxiyou
On Wed, May 1, 2013 at 9:23 PM, Lorin Hochstein lo...@nimbisservices.com wrote: Harry: I believe that Cloudsim is a cloud simulator, intended to be run on your local desktop/laptop. You wouldn't actually run it on a cloud such as OpenStack. Yeah, that's the problem. So i wanna realize that

[Openstack] How to integrate Cloudsim

2013-04-30 Thread harryxiyou
Hi all, I just wonder how to integrate Cloudsim(https://code.google.com/p/cloudsim) into Openstack, that is to say i wanna use Cloudsim in local clouds with Openstack. Would anyone please give me some suggestions about this one? Or give me an example patch that is integrated into Openstack.

Re: [Openstack] Create Sheepdog Volume by Openstack Dashboard error

2013-02-21 Thread harryxiyou
On Thu, Feb 21, 2013 at 3:50 PM, Jean-Baptiste RANSY jean-baptiste.ra...@alyseo.com wrote: Hi, Hi Jean-Baptiste RANSY, $ screen -r than navigate to c-vol with Ctrl+A then N To detach from screen : Ctrl+A then D This really helps me a lot. Thanks very much ;-) -- Thanks Harry Wei

[Openstack] Installed Openstack errors

2013-02-21 Thread harryxiyou
Hi all, After i installed Openstack by Devstack, i got following error logs. 1, Some errors with django === [Thu Feb 21 14:57:07 2013] [error] Exception AttributeError: AttributeError('_DummyThread' object has no attribute '_Thread__block',) in module 'threading' from

[Openstack] How to get debug logs in Openstack Cinder

2013-02-21 Thread harryxiyou
Hi all, I add some print logs for cinder/cinder/volume/drivers/sheepdog.py like following. [...] 57 def create_volume(self, volume): 58 Creates a sheepdog volume 59 LOG.debug(_('999 volume name is %s') % volume['name'])

Re: [Openstack] [cloudxy] Re: [openstack-dev] Restart devstack errors

2013-02-20 Thread harryxiyou
On Wed, Feb 20, 2013 at 8:00 PM, Liang Liang lyon.lian...@gmail.com wrote: you need analyze your keystone log to get the reason why keystone fails, they are in /opt/stack/logs/screen/ I cannot find /opt/stack/logs dir. -- Thanks Harry Wei ___

Re: [Openstack] [cloudxy] Re: [openstack-dev] Restart devstack errors

2013-02-20 Thread harryxiyou
On Thu, Feb 21, 2013 at 12:44 AM, Yujie Du duyujie@gmail.com wrote: 2013/2/20 harryxiyou harryxi...@gmail.com [...] Use screen to see the logging output: $screen -d -m -S screen-name -t shell -s /bin/bash $ screen -x stack After executed $ screen -d -m -S stack -t shell -s /bin

Re: [Openstack] Restart devstack errors

2013-02-20 Thread harryxiyou
On Wed, Feb 20, 2013 at 3:14 PM, Hirendra Rathor hirendra.rat...@gmail.com wrote: Hi Hirendra Rathor, I was getting same error when I picked up devstack for the first time few days ago. I could have tried troubleshooting it but I wasn't particularly happy with the fact that I had to launch

Re: [Openstack] Restart devstack errors

2013-02-20 Thread harryxiyou
On Thu, Feb 21, 2013 at 12:14 PM, Chris Behrens cbehr...@codestud.com wrote: [Removed the dev list -- no need to cross-post.] It looks like you have broken permissions on '/usr/local/lib/python2.7/dist-packages/httplib2-0.7.7-py2.7.egg' nd/or subdirectories. Make sure everything is world

Re: [Openstack] Restart devstack errors

2013-02-20 Thread harryxiyou
On Thu, Feb 21, 2013 at 1:35 PM, Chris Behrens cbehr...@codestud.com wrote: Well, you probably don't want world writeable, but :) 755 on dirs and 644 on files is probably more appropriate! Ah..., this may be better ;-) But at least you know the issue. Yup, thanks. -- Thanks Harry Wei

[Openstack] Run ./run_tests.sh test_libvirt error

2013-02-19 Thread harryxiyou
Hi all, After i installed Openstack by Devstack, i wanna run the tests in the nova/tests/test_libvirt.py file. I ran the command './run_tests.sh test_libvirt' and i caught following error. $ ./run_tests.sh test_libvirt Running `tools/with_venv.sh python setup.py testr --slowest

[Openstack] Install devstack problem

2013-02-16 Thread harryxiyou
Hi all, When i installed Openstack by devstack, i was stucking in following condition. [...] Downloading/unpacking prettytable (from -r python_keystoneclient.egg-info/requires.txt (line 2)) It just got stuck here... and not moving forward. Has anyone ever got the same problem? How did you

[Openstack] Install devstack in Ubuntu 10.04

2013-02-14 Thread harryxiyou
Hi all, Has anyone installed devstack in Ubuntu 10.04? Following are my distro's detail infomations. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 10.04.4 LTS Release:10.04 Codename: lucid Has anyone ever configured devstack for this

Re: [Openstack] [Sheepdog][Libvirt][Qemu]Add a new block storage driver by Libvirt/Qemu way for Openstack

2013-01-25 Thread harryxiyou
On Sat, Jan 19, 2013 at 10:04 PM, MORITA Kazutaka morita.kazut...@gmail.com wrote: [...] If you do the above work, I think you can use your file system with OpenStack. But I suggest doing them step by step. If your file system is not supported in QEMU, I think libvirt won't support it. If

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread harryxiyou
On Mon, Jan 21, 2013 at 8:14 PM, Daniel P. Berrange berra...@redhat.com wrote: [...] The nova driver for talking to libvirt is in nova/virt/libvirt/ Yup, i think so. Therefore, i also think nova driver in nova/virt/libvirt has some relationships with libvirt code itself, right? Nova driver send

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread harryxiyou
On Tue, Jan 22, 2013 at 12:20 AM, Daniel P. Berrange berra...@redhat.com wrote: [...] Nova simply uses the standard libvirt python module, which is a thin python wrapper around the libvirt.so C library. I think so, but i wonder if the standard libvirt python module is

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread harryxiyou
On Tue, Jan 22, 2013 at 1:10 AM, Daniel P. Berrange berra...@redhat.com wrote: [...] That isn't the libvirt python module. That is Nova's libvirt integration driver code. That is to say, libvirt.so is from standard libvirt code itself and libvirt python module is from libvirt.so.

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread harryxiyou
On Tue, Jan 22, 2013 at 9:21 AM, longeek mengql112...@gmail.com wrote: Hi friends, Hi Meng, the python interface of libvirt maybe help you, because openstack uses it in nova/virt/libvirt/ If openstack use it direactly, how to call these interface effectively? I think Nova should place

[Openstack] [Sheepdog][Libvirt][Qemu]Add a new block storage driver by Libvirt/Qemu way for Openstack

2013-01-19 Thread harryxiyou
Hi all, I wanna add a new block storage driver by Libvirt/Qemu way for Openstack, which is as same as Sheepdog driver for Openstack. So i think the theories are like this. 1, In the Openstack Nova branch, Openstck driver call libvirt client and send parameters to libvirt client.(From this point,

Re: [Openstack] [Openstack-dev][Sheepdog]Add a new driver for Openstack Cinder like Sheepdog volumes

2013-01-19 Thread harryxiyou
On Sat, Jan 19, 2013 at 5:27 PM, MORITA Kazutaka morita.kazut...@gmail.com wrote: At Sat, 19 Jan 2013 13:14:42 +0800, harryxiyou wrote: [...] Sheepdog uses an own protocol, and I think your file system is similar. IIUC, what you need to do are: 1. modify libvirt so that you can specify

Re: [Openstack] [Openstack-dev][Sheepdog]Add a new driver for Openstack Cinder like Sheepdog volumes

2013-01-19 Thread harryxiyou
On Sat, Jan 19, 2013 at 7:00 PM, Huang Zhiteng winsto...@gmail.com wrote: Until the QEMU support is official, I don't think it's a good idea to have HLFS driver in Cinder. It sounds reasonable, we will send our patches to QEMULibvirt community. After the patches are merged, we will send patch

Re: [Openstack] [Sheepdog][Libvirt][Qemu]Add a new block storage driver by Libvirt/Qemu way for Openstack

2013-01-19 Thread harryxiyou
On Sat, Jan 19, 2013 at 10:04 PM, MORITA Kazutaka morita.kazut...@gmail.com wrote: At Sat, 19 Jan 2013 16:47:37 +0800, [...] If you do the above work, I think you can use your file system with OpenStack. Thanks for your review ;-) But I suggest doing them step by step. If your file system

Re: [Openstack] [Openstack-dev][Sheepdog]Add a new driver for Openstack Cinder like Sheepdog volumes

2013-01-19 Thread harryxiyou
On Sat, Jan 19, 2013 at 10:09 PM, Huang Zhiteng winsto...@gmail.com wrote: It seems you also have tgt patch for HLFS, personally I'd prefer iSCSI support over qEMU support since iSCSI is well supported by almost every hypervisor. We will first realize HLFS driver by Qemu/Libvirt way for

[Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-19 Thread harryxiyou
Hi all, I read the source code of Openstack Nova branch source codes but i can not find the standard libvirt library packages, which i think Nova uses libvirt interfaces they are from standard libvirt library to attach Sheepdog(or others) volumes to QEMU. If i add a new block storage driver for

Re: [Openstack] Cannot install Cinder doc successfully

2013-01-18 Thread harryxiyou
On Fri, Jan 18, 2013 at 4:37 PM, Razique Mahroua razique.mahr...@gmail.comwrote: Hi, Hi Razique, is python-paramiko installed on your box? After i installed python-paramiko, i get the following errors. $ make sphinx-build -b html -d build/doctrees source build/html Making output

Re: [Openstack] Cannot install Cinder doc successfully

2013-01-18 Thread harryxiyou
On Fri, Jan 18, 2013 at 4:54 PM, harryxiyou harryxi...@gmail.com wrote: On Fri, Jan 18, 2013 at 4:37 PM, Razique Mahroua razique.mahr...@gmail.com wrote: Hi, Hi Razique, is python-paramiko installed on your box? After i installed python-paramiko, i get the following errors. $ make

Re: [Openstack] Volume driver in Cinder by ISCSI way

2013-01-18 Thread harryxiyou
On Fri, Jan 18, 2013 at 8:35 PM, yang, xing xing.y...@emc.com wrote: Hi Harry, If you have questions about EMC volume driver, you can email me. Thanks for your help, that's very kind of you ;-) EMC is not open-source code project, right? And Openstack support EMC by iSCSI way. That is to

Re: [Openstack] Volume driver in Cinder by ISCSI way

2013-01-18 Thread harryxiyou
On Fri, Jan 18, 2013 at 9:40 PM, Huang Zhiteng winsto...@gmail.com wrote: For development efforts, it is better to use openstack-dev list instead of this general openstack list. You can also join #openstack-cinder IRC channel in freenode for online discussion with cinder developers. Okay, i

Re: [Openstack] Volume driver in Cinder by ISCSI way

2013-01-18 Thread harryxiyou
On Fri, Jan 18, 2013 at 10:13 PM, yang, xing xing.y...@emc.com wrote: Harry, Hi Xing, EMC’s volume driver (implemented in emc.py) is open source but EMC storage is not. EMC volume driver allows users to provision EMC storage in OpenStack. This is the same case with many other vendor

[Openstack] [Openstack-dev][Sheepdog]Add a new driver for Openstack Cinder like Sheepdog volumes

2013-01-18 Thread harryxiyou
Hi Morita and other developers, If i add a QEMU/Libvirt driver(the same as Sheepdog volumes driver in Openstack Cinder branch) to let Openstack Cinder support a new block-level storage system, I should change following stuffs, right? 1, Add a driver file to the dir in Openstack Cinder branch(the

Re: [Openstack] [Openstack-dev][Sheepdog]Add a new driver for OpenstackCinder like Sheepdog volumes

2013-01-18 Thread harryxiyou
On Sat, Jan 19, 2013 at 10:57 AM, 张家龙 zhan...@awcloud.com wrote: Maybe,you need to modify the nova/virt/libvirt.xml.template.In our tesing of nova and sheepdog, Hi Zhang jia long, What are the functions of libvirt.xml.template? Currently, we just wanna to add a new block driver(a new one as

Re: [Openstack] [Openstack-dev][Sheepdog]Add a new driver for Openstack Cinder like Sheepdog volumes

2013-01-18 Thread harryxiyou
On Sat, Jan 19, 2013 at 12:24 PM, MORITA Kazutaka morita.kazut...@gmail.com wrote: At Fri, 18 Jan 2013 22:56:38 +0800, [...] The answer depends on the protocol between QEMU and HLFS. What is used for accessing HLFS volumes from QEMU? Is it iSCSI, NFS, or something else? Actually, we just

Re: [Openstack] Difference between Swift and Cinder

2013-01-17 Thread harryxiyou
On Thu, Jan 17, 2013 at 1:01 AM, Syed Armani dce3...@gmail.com wrote: This question was also discussed last week. You may want to have a look at the answers there. https://lists.launchpad.net/openstack/msg19997.html Thanks, i see ;-) -- Thanks Harry Wei

[Openstack] Cannot install Cinder doc successfully

2013-01-17 Thread harryxiyou
Hi all, I wanna install Cinder docs for reading but i cannot install them according to cinder/doc/README.rst. My PC environment are == $ lsb_release -a Distributor ID: Ubuntu Description:Ubuntu 10.04.4 LTS Release:10.04 Codename: lucid $ pip --version pip

[Openstack] Difference between Swift and Cinder

2013-01-16 Thread harryxiyou
Hi all, Swift is oriented Openstack object storage but Cinder is oriented Openstack block storage. What are the detail differences betwwen object storage and block storage? Cloud anyone tell me his/her ideas? Thanks inadvance. -- Thanks Harry Wei ___

[Openstack] How can openstack support Sheepdog in details?

2013-01-15 Thread harryxiyou
Hi all, I find openstack can support sheepdog(modify qemu and libvirt), but i can't find how openstack support sheepdog in details. Could anyone give me some suggestions? Thanks in advance. -- Thanks Harry Wei ___ Mailing list:

Re: [Openstack] How can openstack support Sheepdog in details?

2013-01-15 Thread harryxiyou
On Tue, Jan 15, 2013 at 11:46 PM, Razique Mahroua razique.mahr...@gmail.com wrote: Hi, Hi unfortunately, we don't have much feedback/ tests that have been done, so the doc is not top notch regarding Sheepdog. Could you please tell me where is the doc? Or send me this doc. It would be

Re: [Openstack] How can openstack support Sheepdog in details?

2013-01-15 Thread harryxiyou
On Tue, Jan 15, 2013 at 11:47 PM, Huang Zhiteng winsto...@gmail.com wrote: Hi Huang, What kind of details do you need? How to setup a SheepDog cluster? Or how to configure Cinder to use SheepDog? Thanks for your reply. But i find sheepdog developers modify Openstack Nova for supporting

[Openstack] [openstack]Test if i have join this maillist, don't read

2013-01-14 Thread harryxiyou
Test if i have join this maillist, don't read -- Thanks Harry Wei ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help :