Re: [Openstack] Making Nova HA summit notes

2011-07-20 Thread Mike Scherbakov
Hi, Thank you for the work on making nova components HA. Did you have a chance to move further in this topic? I especially interested in making nova-network HA and looking for possible active-active implementations, so the downtime of the service would me minimal. Thank you, On Tue, May 3, 2011

Re: [Openstack] about vlan and switch

2011-07-20 Thread Thor Wolpert
That was a great explanation, thanks! There is also a limit of 12 bits in the 802.1Q protocol, effectively setting the max to 4096 vlans I so look forward to having that kind of problem :)! On Wed, Jul 20, 2011 at 9:26 PM, Jeff Kramer wrote: > As I understand it, you can setup the tags in the

Re: [Openstack] about vlan and switch

2011-07-20 Thread Jeff Kramer
As I understand it, you can setup the tags in the switch first if you want, but you don't need to. You will create VLAN tags in the Nova database as you create networks with 'nova-manage network create ...', and those will be assigned to users on a first-come first-serve basis. When a user create

Re: [Openstack] Thinking about Backups/Snapshots in Nova Volume

2011-07-20 Thread Thorsten von Eicken
+1 On 7/20/2011 2:27 PM, Chuck Thier wrote: > Yeah, I think you are illustrating how this generates much confusion :) > > To try to be more specific, the base functionality should be: > > 1. Create a point in time backup of a volume > 2. Create a new volume from a backup (I guess it seems reasonab

[Openstack] about vlan and switch

2011-07-20 Thread tianyi wang
Hi, all If use VLAN mode, it's need setting VLAN in switch's NOS first? And then the setting VLAN in nova controller node? Now, the switch's IP is 192.168.0.234 and the gateway ip address is 192.168.0.1 ( in switch web management interface), should I change the switch IP and gateway to 10.

[Openstack] [Keystone] usage of PUT and POST in APIs

2011-07-20 Thread Mellquist, Peter
Looking through the latest Keystone code and developer guide I have noticed some differences in the usage of PUT and POST CRUD operations. Resource Creation admin.py Developer Guide Says Tenant PUT

Re: [Openstack] [Keystone] Question from mgius on IRC about update_user API call

2011-07-20 Thread Yogi Srikrishnan
Even if we remove this restriction you still need to fetch and examine disabled users only by fetching every user with a get_users call. Do you think whether we need a shorthand operation just to get the disabled users.I am fine with removing these checks. Yogeshwar Srikrishnan Rackspace ___

Re: [Openstack] [Keystone] Question from mgius on IRC about update_user API call

2011-07-20 Thread Mark Gius
It looks like my previous email didn't go through because I hadn't registered this email address with launchpad. Sending again. Would you be opposed to removing the check for disabled in get_user, and possibly update_user as well? As it stands now, you can only fetch and examine disabled users b

Re: [Openstack] Thinking about Backups/Snapshots in Nova Volume

2011-07-20 Thread Chuck Thier
Yeah, I think you are illustrating how this generates much confusion :) To try to be more specific, the base functionality should be: 1. Create a point in time backup of a volume 2. Create a new volume from a backup (I guess it seems reasonable to call this a clone) This emulates the behavior of

Re: [Openstack] FW: [Netstack] Official Python version for Quantum

2011-07-20 Thread Joseph Heck
Openstack currently supports back through Python 2.6 and includes Python 2.7 - as far as I know, we're not aiming to support any Python 3.x versions as yet. -joe On Jul 20, 2011, at 1:04 PM, Debo Dutta (dedutta) wrote: > Some of us were discussing about the official stand on what version of pyth

Re: [Openstack] Thinking about Backups/Snapshots in Nova Volume

2011-07-20 Thread Vishvananda Ishaya
In rereading this i'm noticing that you are actually suggesting alternative usage: backup/clone snapshot/restore Correct? It seems like backup and snapshot are kind of interchangable. This is quite confusing, perhaps we should refer to them as: partial-snapshot whole-snapshot or something

[Openstack] FW: [Netstack] Official Python version for Quantum

2011-07-20 Thread Debo Dutta (dedutta)
Hi Some of us were discussing about the official stand on what version of python one should use for Diablo. The web page says 2.6.x. If folks are going to test on ubuntu 11.04 etc, then I guess things need to run on 2.7.x .Clarification would be very useful. Debo From: Dan Wendlan

Re: [Openstack] Thinking about Backups/Snapshots in Nova Volume

2011-07-20 Thread Vishvananda Ishaya
Can we clarify this a bit? I see there are two functionalities: backup / restore this allows you to do an in place backup of an object, restore brings back the state in place (internally the backup can be local or remote, but for effeciency would probably be something like a difference image)

Re: [Openstack] [Keystone] Question from mgius on IRC about update_user API call

2011-07-20 Thread Yogi Srikrishnan
Right now the code to update doesn't allow the operation if the user is disabled as there is a separate call to enable/disable user ie /users/userId/enabled .That call should allow the enabling/disabling of user independent of his current status. Regards Yogeshwar Srikrishnan Rackspace ___

[Openstack] [Keystone] Question from mgius on IRC about update_user API call

2011-07-20 Thread Jay Pipes
Keystone devs, mgius had a question on IRC: I have a question about Keystone I'm looking to add support to the dashboard so that users can be enabled or disabled from the dashboard but it looks like in update_user if the target user is disabled a 403 is always thrown was that intentional? -j

[Openstack] Thinking about Backups/Snapshots in Nova Volume

2011-07-20 Thread Chuck Thier
At the last developers summit, it was noted by many, that the idea of a volume snaphsot in the cloud is highly overloaded. EBS uses the notion of snapshots for making point in time backups of a volume that can be used to create a new volume from. These are not true snapshots though from a storage

Re: [Openstack] Request for review on merge proposal

2011-07-20 Thread Jay Pipes
Doh! Sorry, Rohit! On Wed, Jul 20, 2011 at 2:04 PM, Rohit Karajgi wrote: > The correct branch URL is: > > https://code.launchpad.net/~rohitkarajgi/nova/libvirt_unittests/+merge/68144 > > Thanks, > Rohit > > -Original Message- > From: openstack-bounces+rohit.karajgi=vertex.co...@lists.laun

Re: [Openstack] Request for review on merge proposal

2011-07-20 Thread Rohit Karajgi
The correct branch URL is: https://code.launchpad.net/~rohitkarajgi/nova/libvirt_unittests/+merge/68144 Thanks, Rohit -Original Message- From: openstack-bounces+rohit.karajgi=vertex.co...@lists.launchpad.net [mailto:openstack-bounces+rohit.karajgi=vertex.co...@lists.launchpad.net] On

Re: [Openstack] Host filter Instance Type Filter with virt layer Libvirt

2011-07-20 Thread edouard1.thuleau
Hi Lorin, Thanks to point me the branch. I messed it. So you set the memory in Mb and disk in Kb. I have questions: 1) The method 'update_status' in class HostState doesn't return anything, so why method 'update_host_status' in class 'LibvirtConnection' return it ? 2) I made this c

Re: [Openstack] Host filter Instance Type Filter with virt layer Libvirt

2011-07-20 Thread Lorin Hochstein
Edouard: There's another branch that has this code added to the libvirt layer, which has already been proposed for merge. I need to make some minor fixes, but once I do, I think it will be approved for merge. Here's the merge proposal: https://code.launchpad.net/~usc-isi/nova/extra_specs_sched

[Openstack] Host filter Instance Type Filter with virt layer Libvirt

2011-07-20 Thread edouard1.thuleau
Hi, I try to add code to the Libvirt layer to enable the Instance Type Filter needed by the zone aware scheduler. I looked the code of fake virt layer which implement that. The table 'host_status' in class 'FakeConnection' contains all capabilities of the host: self.host_status = { 'h

[Openstack] Request for review on merge proposal

2011-07-20 Thread Jay Pipes
Hi Nova-core, all, Rohit has asked for a review on his merge proposal. Please feel free to oblige him. https://code.launchpad.net/~tpatil/nova/add-options-network-create-os-apis/+merge/68292 Thanks, jay ___ Mailing list: https://launchpad.net/~opensta

[Openstack] Host filter - Instance Type Filter with virt layer Libvirt

2011-07-20 Thread Doude
Hi, I try to add code to the Libvirt layer to enable the Instance Type Filter needed by the zone aware scheduler. I looked the code of fake virt layer which implement that. The table ‘host_status’ in class ‘FakeConnection’ contains all capabilities of the host: self.host_status = {

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

2011-07-20 Thread Anne Gentle
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 missi

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 Pipe

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

2011-07-20 Thread Jay Pipes
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 r

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

2011-07-20 Thread Diego Parrilla Santamaría
mmm give our distro a try: http://www.stackops.org But I copied the parameters from Cactus-based running system. Cheers Diego 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 > >

Re: [Openstack] [Openstack-operators] FLAG --start_guests_on_host_boot=true

2011-07-20 Thread Diego Parrilla Santamaría
We are testing this flag for the 0.3 version of the Stackops Distro. Our goal is to restart the VMs in a different compute-node if a server fails automatically. On Wed, Jul 20, 2011 at 1:08 AM, Vishvananda Ishaya wrote: > Hmm, this flag needs to be set when the instance is created, so it will >

Re: [Openstack] [Openstack-operators] FLAG --start_guests_on_host_boot=true

2011-07-20 Thread Leandro Reox
Diego, Thats the "rescue" option from Diablo, you can use this instead if youre planing to do it with cactus : https://github.com/Mirantis/openstack-utils/blob/master/nova-compute Regards 2011/7/20 Diego Parrilla Santamaría > We are testing this flag for the 0.3 version of the Stackops Distro.

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: /u

Re: [Openstack] [Openstack-operators] FLAG --start_guests_on_host_boot=true

2011-07-20 Thread Diego Parrilla Santamaría
Yes, 0.3 will be based in Diablo. 2011/7/20 Leandro Reox > Diego, > > Thats the "rescue" option from Diablo, you can use this instead if youre > planing to do it with cactus : > https://github.com/Mirantis/openstack-utils/blob/master/nova-compute > > Regards > > > 2011/7/20 Diego Parrilla Santam

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

2011-07-20 Thread Diego Parrilla Santamaría
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/ 8 1 255 and --fixed_range=10.0.0.0/ 8 --network_size=64 Diego On Wed, Jul 20, 2

Re: [Openstack] FLAG --start_guests_on_host_boot=true

2011-07-20 Thread Leandro Reox
Vish, I tried that out, and you were right, instances created after adding the flag, autoreboots themselves like charm ! Best regards On Wed, Jul 20, 2011 at 9:31 AM, Leandro Reox wrote: > Virsh, > > I was trying with my already spawned instances, thats good to know ! Ill > try that in a few mi

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

Re: [Openstack] FLAG --start_guests_on_host_boot=true

2011-07-20 Thread Leandro Reox
Virsh, I was trying with my already spawned instances, thats good to know ! Ill try that in a few minutes Best Regards On Tue, Jul 19, 2011 at 8:08 PM, Vishvananda Ishaya wrote: > Hmm, this flag needs to be set when the instance is created, so it will > only work for new instances. > > I'm not

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

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