Re: [Openstack] Index out of range during nova-manage

2011-07-20 Thread Shehjar Tikoo


Yes, Got it, thanks to Jay.

Anne Gentle wrote:

Yes, the trunk docs show "nova-manage network create private cidr/nn"
but you can use any word in place of private to name the network. Hope
that gets you there. Anne Gentle Content Stacker a...@openstack.org


On Jul 20, 2011, at 9:19 AM, Jay Pipes  wrote:


FYI, the command signature was missing a network name after create...

-jay

2011/7/20 Shehjar Tikoo :

Thanks. It still runs into the Index out of range error. Are there
any configurables we could look at to debug further?

-Shehjar

Diego Parrilla SantamarĂ­a wrote:

it seems fixed range and network size they don't match.

It seems you are running a small environment. Try with this
parameters:

/usr/bin/nova-manage network create 10.0.0.0/
<http://10.0.0.0/24>8 1 255

and

--fixed_range=10.0.0.0/ <http://10.0.0.0/12>8 --network_size=64

Diego

On Wed, Jul 20, 2011 at 3:00 PM, Shehjar Tikoo
mailto:shehj...@gluster.com>> wrote:

Hi all, I am running into a "Command failed, please check log for 
more info" error on running the following command:


/usr/bin/nova-manage network create 10.0.0.0/24
<http://10.0.0.0/24> 1 255

/var/log/nova/nova-manage.log contains the output at 
http://pastebin.com/HP85LKQE


The nova.conf contains; 
--dhcpbridge_flagfile=/etc/__nova/nova.conf 
--dhcpbridge=/usr/bin/nova-__dhcpbridge --logdir=/var/log/nova 
--state_path=/var/lib/nova --lock_path=/var/lock/nova --verbose 
--s3_host=192.168.1.154 --rabbit_host=192.168.1.154 
--cc_host=192.168.1.154 
--ec2_url=http://192.168.1.__154:8773/services/Cloud 
<http://192.168.1.154:8773/services/Cloud> 
--fixed_range=10.0.0.0/12 <http://10.0.0.0/12> --network_size=8 
--FAKE_subdomain=ec2 --routing_source_ip=192.168.1.__154 --verbose
 --sql_connection=mysql://root:__gluster123@192.168.1.154/nova 
<http://root:gluster123@192.168.1.154/nova> 
--network_manager=nova.__network.manager.FlatManager



I am simply following the instructions in Section 3.5.2 in the 
Cactus compute admin guide. Appreciate any help here. Thanks. 
-Shehjar


_ Mailing list:
https://launchpad.net/~__openstack 
<https://launchpad.net/~openstack> Post to :
openstack@lists.launchpad.net 
<mailto:openstack@lists.launchpad.net> Unsubscribe :
https://launchpad.net/~__openstack 
<https://launchpad.net/~openstack> More help   :
https://help.launchpad.net/__ListHelp 
<https://help.launchpad.net/ListHelp>





___ Mailing list:
https://launchpad.net/~openstack Post to :
openstack@lists.launchpad.net Unsubscribe :
https://launchpad.net/~openstack More help   :
https://help.launchpad.net/ListHelp


___ Mailing list:
https://launchpad.net/~openstack Post to :
openstack@lists.launchpad.net Unsubscribe :
https://launchpad.net/~openstack More help   :
https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Index out of range during nova-manage

2011-07-20 Thread Shehjar Tikoo
Thanks. It still runs into the Index out of range error. Are there any 
configurables we could look at to debug further?


-Shehjar

Diego Parrilla SantamarĂ­a wrote:

it seems fixed range and network size they don't match.

It seems you are running a small environment. Try with this parameters:

/usr/bin/nova-manage network create 10.0.0.0/ <http://10.0.0.0/24>8 1 255

and

--fixed_range=10.0.0.0/ <http://10.0.0.0/12>8
--network_size=64

Diego

On Wed, Jul 20, 2011 at 3:00 PM, Shehjar Tikoo <mailto:shehj...@gluster.com>> wrote:


Hi all, I am running into a "Command failed, please check log for
more info" error on running the following command:

/usr/bin/nova-manage network create 10.0.0.0/24 <http://10.0.0.0/24>
1 255

/var/log/nova/nova-manage.log contains the output at
http://pastebin.com/HP85LKQE

The nova.conf contains;
--dhcpbridge_flagfile=/etc/__nova/nova.conf
--dhcpbridge=/usr/bin/nova-__dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--verbose
--s3_host=192.168.1.154
--rabbit_host=192.168.1.154
--cc_host=192.168.1.154
--ec2_url=http://192.168.1.__154:8773/services/Cloud
<http://192.168.1.154:8773/services/Cloud>
--fixed_range=10.0.0.0/12 <http://10.0.0.0/12>
--network_size=8
--FAKE_subdomain=ec2
--routing_source_ip=192.168.1.__154
--verbose
--sql_connection=mysql://root:__gluster123@192.168.1.154/nova
<http://root:gluster123@192.168.1.154/nova>
--network_manager=nova.__network.manager.FlatManager


I am simply following the instructions in Section 3.5.2 in the
Cactus compute admin guide. Appreciate any help here. Thanks.
-Shehjar

_
Mailing list: https://launchpad.net/~__openstack
<https://launchpad.net/~openstack>
Post to : openstack@lists.launchpad.net
<mailto:openstack@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~__openstack
<https://launchpad.net/~openstack>
More help   : https://help.launchpad.net/__ListHelp
<https://help.launchpad.net/ListHelp>





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Index out of range during nova-manage

2011-07-20 Thread Shehjar Tikoo
Hi all, I am running into a "Command failed, please check log for more 
info" error on running the following command:


/usr/bin/nova-manage network create 10.0.0.0/24 1 255

/var/log/nova/nova-manage.log contains the output at 
http://pastebin.com/HP85LKQE


The nova.conf contains;
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--verbose
--s3_host=192.168.1.154
--rabbit_host=192.168.1.154
--cc_host=192.168.1.154
--ec2_url=http://192.168.1.154:8773/services/Cloud
--fixed_range=10.0.0.0/12
--network_size=8
--FAKE_subdomain=ec2
--routing_source_ip=192.168.1.154
--verbose
--sql_connection=mysql://root:gluster123@192.168.1.154/nova
--network_manager=nova.network.manager.FlatManager


I am simply following the instructions in Section 3.5.2 in the Cactus 
compute admin guide. Appreciate any help here. Thanks.

-Shehjar

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Single server install script errors out on ubuntu 10.4+

2011-07-20 Thread Shehjar Tikoo
Ok, looks like the machine was reconfiged by someone else. This is fixed. 
Thanks


Shehjar Tikoo wrote:

Hi all,

On running:

./nova.sh install

The installation errors out giving the following errors:
http://pastebin.com/SK0YhDst

I am following the instructions at:
http://wiki.openstack.org/NovaInstall/DevInstallScript

using the script:
https://raw.github.com/cloudbuilders/deploy.sh/master/nova.sh

Any pointers to how this can be fixed?

Thanks

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Single server install script errors out on ubuntu 10.4+

2011-07-20 Thread Shehjar Tikoo

Hi all,

On running:

./nova.sh install

The installation errors out giving the following errors:
http://pastebin.com/SK0YhDst

I am following the instructions at:
http://wiki.openstack.org/NovaInstall/DevInstallScript

using the script:
https://raw.github.com/cloudbuilders/deploy.sh/master/nova.sh

Any pointers to how this can be fixed?

Thanks

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] GlusterFS project proposal online

2011-06-08 Thread Shehjar Tikoo


On 08/06/2011, at 3:16 AM, Sherman Boyd wrote:


Proposal looks great!



Thanks.

I'm wondering if you are aware of Redhat's CloudFS project.  It adds  
namespace isolation, ID isolation, storage encryption and network  
encryption to Gluster.  Having these kind of features takes a step  
towards addressing cloud computing privacy issues.


Yes, we're aware of it. It is great that GlusterFS is getting more  
eyeballs of the calibre and experience of Jeff. Overall, some of the  
changes in the core and the framework of GlusterFS brought in by  
CloudFS, eg. SSL support, will gradually be merged back but for the  
rest of the major changes, there is nothing final yet because it is  
too early to comment.


Hope that answers your question, if only partly. I am CC'ing Anand  
Avati who offered to throw more light on CloudFS and GlusterFS.


Regards
-Shehjar



I'm not sure it's in the scope of your plans, but when I saw your  
proposal I thought that it would be nice to have some of these  
features as well, or at least space for them on the roadmap.



Best regards,


Sherman Boyd





On Mon, Jun 6, 2011 at 10:42 PM, Shehjar Tikoo  
 wrote:
For those who havent seen this already, GlusterFS proposal is now  
available at:


http://wiki.openstack.org/Governance/Proposed/OpenStack%20Cloud%20Storage%20(Gluster)

Inputs welcome. Please do CC openst...@gluster.com

Thanks

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] GlusterFS project proposal online

2011-06-07 Thread Shehjar Tikoo
Hi Joshua, this in fact is a proposal albeit not a policy proposal but a 
project proposal(not a blueprint either, which is WIP). Is there a more 
appropriate place for project proposals?


Regards
-Shehjar

Joshua McKenty wrote:

Shehjar,

While I'll be able to provide more detailed feedback on the proposal
itself after I've had a chance to digest it, can I please ask that you
relocate it on the wiki? The Governance/Proposed section is for
proposals for policy to be reviewed by the PPB, and not intended for
blueprints.

Thanks!

Joshua McKenty Piston Cloud Computing, Inc. (650) 283-6846 
jos...@piston.cc




On 2011-06-07, at 1:42 PM, Shehjar Tikoo wrote:


For those who havent seen this already, GlusterFS proposal is now
available at:

http://wiki.openstack.org/Governance/Proposed/OpenStack%20Cloud%20Storage%20(Gluster)


Inputs welcome. Please do CC openst...@gluster.com

Thanks

___ Mailing list:
https://launchpad.net/~openstack Post to :
openstack@lists.launchpad.net Unsubscribe :
https://launchpad.net/~openstack More help   :
https://help.launchpad.net/ListHelp





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Lunr question and GlusterFS integration

2011-06-06 Thread Shehjar Tikoo
Thanks everyone. I now get the difference between Lunr, nova-volume and 
glance. Section 7.7 in Cactus Compute Admin Guide didnt have much info on 
support for Ceph, AoE and Sheepdog, so I understood it only supported iSCSI.


-Shehjar

Devin Carlen wrote:

On Jun 6, 2011, at 3:17 AM, FUJITA Tomonori wrote:


On Mon, 6 Jun 2011 09:59:19 +
Shehjar Tikoo  wrote:


It is not very clear to me whether Lunr will be a replacement for
Glance 

I don't think so.


Glance is the image store which uses s3/swift api's to store machine images.  
Lunr is an effort to take the block volume code that is currently in nova and 
separate it into it's own more generic service.


or will only be used for supporting application volumes.

I'm not sure the meaning of application volumes but it's a replacement
of the current nova-volume, provinding volume service for VMs.


Yep, exactly.  I believe Shehjart was referring to EBS style block storage, 
which nova-volume currently provides (and Lunr will replace in the future most 
likely).




If I
understand this correct, it is trying to overcome the iscsi-only
access method currently provided for creating and accessing
application volumes. Correct?

nova-volume already supports non iSCSI protocols, AOE, Sheepdog, Ceph
RBD. I think that you start working on GlusterFS integration with
nova-volume right now. You can work with Lunr later (when it's
released).



Agreed - it seems most reasonable to begin this work in nova-volume and then 
add support to Lunr when it is closer to being ready for prime time.


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] GlusterFS project proposal online

2011-06-06 Thread Shehjar Tikoo

For those who havent seen this already, GlusterFS proposal is now available at:

http://wiki.openstack.org/Governance/Proposed/OpenStack%20Cloud%20Storage%20(Gluster)

Inputs welcome. Please do CC openst...@gluster.com

Thanks

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Integrating GlusterFS with OpenStack

2011-06-06 Thread Shehjar Tikoo
My understanding is that the --instances_path will be the share to which the VM 
state will be synced on the source hypervisor. This synced image will then be 
used to restart the VM at  the destination hypervisor. Ideally, I'd like to 
avoid having a local copy of the VM state in order to provide persistence in 
VMs so that if the hypervisor fails or crashes, etc. the VM state on a Gluster 
volume can be used to restart it. I am not sure whether this is possible in 
OpenStack yet or if KVM will even support using a shared mount as a VM state 
storage. This is something I will be looking into. Of course, some references 
to docs, emails will be nice . Thanks.



From: masumo...@nttdata.co.jp [masumo...@nttdata.co.jp]
Sent: Monday, June 06, 2011 6:23 AM
To: Shehjar Tikoo
Cc: openstack@lists.launchpad.net; so...@linux2go.dk
Subject: RE: [Openstack] Integrating GlusterFS with OpenStack

Hi,

> When doing live migration, we could let KVM migrate the
> VM state and somehow tell gluster to migrate the disk image to the new
> host (to maintain locality between the virtual machine and its storage).
> Gluster already has the means to do live rebalancing, but I don't believe
> an API to specify "I'd like for this particular file to reside on this
> particular brick. Please make it so". That would *rock*.

In current openstack live migration feature, a flag --instances_path specifies 
the path which has to be on shared storage. Live re-balancing sounds like good 
idea, and I think at least, just "--instances_path is on the glusterFS" is good 
option to users.
If you want any help, my colleague and me would love to do ^^;


> -Original Message-
> From: openstack-bounces+masumotok=nttdata.co...@lists.launchpad.net
> [mailto:openstack-bounces+masumotok=nttdata.co...@lists.launchpad.ne
> t] On Behalf Of Soren Hansen
> Sent: Monday, June 06, 2011 7:40 AM
> To: Shehjar Tikoo
> Cc: openstack@lists.launchpad.net
> Subject: Re: [Openstack] Integrating GlusterFS with OpenStack
>
> 2011/6/3 Shehjar Tikoo :
> > We're aiming to integrate Gluster with Openstack in a way that allows
> > GlusterFS to be used as the storage for application volumes as well
> as VMs.
> > I am interested in hearing your ideas on how such an integration can
> > be performed. Being the openstack experts, could you please share some
> > issues I should be considering, the problems I may run into or
> > anything else you think I should know.
>
> One thing I'd love to be able to do is store my virtual disks on a gluster
> filesystem that is shared across my compute nodes. The data would be
> stored on the host that is actually running the virtual machine (think
> NUFA scheduler). When doing live migration, we could let KVM migrate the
> VM state and somehow tell gluster to migrate the disk image to the new
> host (to maintain locality between the virtual machine and its storage).
> Gluster already has the means to do live rebalancing, but I don't believe
> an API to specify "I'd like for this particular file to reside on this
> particular brick. Please make it so". That would *rock*.
>
> --
> Soren Hansen| http://linux2go.dk/ Ubuntu Developer|
> http://www.ubuntu.com/ OpenStack Developer | http://www.openstack.org/
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Lunr question and GlusterFS integration

2011-06-06 Thread Shehjar Tikoo
Hi All

My research into the GlusterFS-OpenStack integration saga continues..

Going by this message: https://lists.launchpad.net/openstack/msg02667.html

It is not very clear to me whether Lunr will be a replacement for Glance or 
will only be used for supporting application volumes. If I understand this 
correct, it is trying to overcome the iscsi-only access method currently 
provided for creating and accessing application volumes. Correct?

With GlusterFS, my first milestone is to enable GlusterFS as an application 
volume backend, followed later by supporting GlusterFS as a VM store. So a 
deeper dive into Lunr would really help appreciate the integration points with 
Lunr. Are there any design docs available at this time?

Thanks
-Shehjar
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Integrating GlusterFS with OpenStack

2011-06-03 Thread Shehjar Tikoo

Devin Carlen wrote:

Hi Shehjar,

Nova's block device volume service currently has support for several
backends and is made in an abstract way so that adding support for
Gluster should be a reasonably simple implementation.

There is a new project called Lunr being developed that aims to separate
the volume code from Nova and have it be implemented as its own stand
alone service.



Thanks Devin, those two are my main focus areas. I will be coming back with 
more questions in a couple of days.


Regards
-Shehjar



There was also some conversations around using Gluster as a ring backend
for OpenStack's object storage system named Swift.

In short, I think there are quite a few places that Gluster can provide
value to the OpenStack ecosystem.


Devin


On Jun 3, 2011, at 12:34 AM, Shehjar Tikoo wrote:


Hi All

We're aiming to integrate Gluster with Openstack in a way that allows
GlusterFS to be used as the storage for application volumes as well as
VMs. I am interested in hearing your ideas on how such an integration
can be performed. Being the openstack experts, could you please share
some issues I should be considering, the problems I may run into or
anything else you think I should know.

Thanks -Shehjar

___ Mailing list:
https://launchpad.net/~openstack Post to :
openstack@lists.launchpad.net Unsubscribe :
https://launchpad.net/~openstack More help   :
https://help.launchpad.net/ListHelp





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Integrating GlusterFS with OpenStack

2011-06-03 Thread Shehjar Tikoo

Hi All

We're aiming to integrate Gluster with Openstack in a way that allows 
GlusterFS to be used as the storage for application volumes as well as VMs. 
I am interested in hearing your ideas on how such an integration can be 
performed. Being the openstack experts, could you please share some issues 
I should be considering, the problems I may run into or anything else you 
think I should know.


Thanks
-Shehjar

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp