Re: [Openstack] How to integrate Cloudsim

2013-05-01 Thread harryxiyou
On Wed, May 1, 2013 at 9:23 PM, Lorin Hochstein 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 run Cloudsim with O

[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. Thanks

[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'])

[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 ignored [Thu Feb 21 14:57:08

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 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 ___

Re: [Openstack] Restart devstack errors

2013-02-20 Thread harryxiyou
On Thu, Feb 21, 2013 at 1:35 PM, Chris Behrens 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 __

Re: [Openstack] Restart devstack errors

2013-02-20 Thread harryxiyou
On Thu, Feb 21, 2013 at 12:14 PM, Chris Behrens 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 readable. > You are

Re: [Openstack] Restart devstack errors

2013-02-20 Thread harryxiyou
On Wed, Feb 20, 2013 at 3:14 PM, Hirendra Rathor 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 stack.sh every time on re

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 wrote: > > > > 2013/2/20 harryxiyou >> [...] > Use screen to see the logging output: > $screen -d -m -S -t shell -s /bin/bash > $ screen -x stack > After executed $ screen -d -m -S stack -t shell -s /bin/bash $ scree

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 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 ___ Mailing list: https://la

[Openstack] Restart devstack errors

2013-02-19 Thread harryxiyou
Hi all, When i reboot my OS, i have to install devstack again. But i caught following errors during the restart + timeout 60 sh -c 'while ! http_proxy= curl -s http://192.168.1.3:5000/v2.0/ >/dev/null; do sleep 1; done' + echo 'keystone did not start' keystone did not start + exit 1 + clean + loc

[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 --testr-args='--su

[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 solv

[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 U

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 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 libvirt > doesn't supp

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 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 libvirt python module to

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 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. They(libvirt.so and libvirt pyth

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 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 nova/virt/libvirt/driver.py? > This lib

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 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 parameters to libv

[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 s

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 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. Then, we wi

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 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 is not > supported in

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 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 QEMU&&Libvirt community. After the patches are merged, we will send patch to Openstack. Do

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 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

[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-18 Thread harryxiyou
On Sat, Jan 19, 2013 at 12:24 PM, MORITA Kazutaka 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 realize the block dr

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, 张家龙 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 the same as sheepdog

[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] Volume driver in Cinder by ISCSI way

2013-01-18 Thread harryxiyou
On Fri, Jan 18, 2013 at 10:13 PM, yang, xing 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 provided drivers. >

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 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 will. Thanks for

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 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 say, iSCSI is the

Re: [Openstack] Cannot install Cinder doc successfully

2013-01-18 Thread harryxiyou
On Fri, Jan 18, 2013 at 4:54 PM, harryxiyou wrote: > > > On Fri, Jan 18, 2013 at 4:37 PM, Razique Mahroua > wrote: >> >> Hi, > > > Hi Razique, > > >>is python-paramiko installed on your box? > > After i installed python-paramiko, i get the follo

Re: [Openstack] Cannot install Cinder doc successfully

2013-01-18 Thread harryxiyou
On Fri, Jan 18, 2013 at 4:37 PM, Razique Mahroua wrote: > 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 directory... Running Sphinx v1.1

[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 0.

[Openstack] Volume driver in Cinder by ISCSI way

2013-01-17 Thread harryxiyou
Hi all, I find they, emc volumes, lvm, Netapp, IBM Svc and Zadara Virtual Private Storage Array, are all use ISCSI to be the bridge to make drivers to let Openstack support them. You can see their driver files here: https://github.com/openstack/cinder/tree/master/cinder/volume/drivers If i wanna

Re: [Openstack] Difference between Swift and Cinder

2013-01-17 Thread harryxiyou
On Thu, Jan 17, 2013 at 1:01 AM, Syed Armani 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 ___ Ma

[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 ___

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 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 sheepdog but Openstack C

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 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 interesting if someone h

[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: https://launchpad.net/

[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 : https://help.launchpad.net/Lis