Re: [Openstack] big problem with boot from iso

2012-06-26 Thread William Herry
Thanks for you reply

I guess that's not the reason, I noticed that instances's xml file, and I
find:
disk type=file device=cdrom
  driver type=qcow2 cache=none/
  source file=/var/lib/nova/instances/instance-0011/disk/
  target bus=ide dev=vda/
/disk
disk type=file device=cdrom
  driver type=qcow2 cache=none/
  source file=/var/lib/nova/instances/instance-0011/disk.local/
  target bus=virtio dev=vdb/
/disk
disk type=file device=disk
  driver type=qcow2 cache=none/
  source file=/var/lib/nova/instances/instance-0011/disk.swap/
  target bus=virtio dev=vdc/
/disk

it set vda and vdb to cdrom, only swap is set to disk, I don't know why
this happen

Thanks


On Tue, Jun 26, 2012 at 3:05 PM, Christian Parpart tra...@gmail.com wrote:

 On Tue, Jun 26, 2012 at 2:30 AM, William Herry 
 william.herry.ch...@gmail.com wrote:

 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

 Hey,

 maybe your VM disk space is exported as VIRTIO block-device (/dev/vda,
 ...) and your ISO image doesn't support these block devices? Try loading
 its underlying kernel module :)

 Cheers,
 Christian.




-- 



William Herry

williamherrych...@gmail.com
___
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] 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 tell me what's going go,

-- 



William Herry

williamherrych...@gmail.com
___
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] Nova migrate and resize

2012-06-05 Thread William Herry
Hi Belmiro, thanks for your share

Is that required that the two node must have the same setting about the
user, like they all use nova run nova-* command, what if I set them
different(one of them run nova-* command with user 'stack', is it possible
to make it work also?

Thanks

On Wed, Jun 6, 2012 at 2:17 AM, Belmiro Moreira 
moreira.belmiro.email.li...@gmail.com wrote:

 Hi,
 I spent some time today trying understand how to use successfully the
 “resize” and “migrate” in nova.  Because I couldn’t find any documentation…
 I share my experience.
 I have a kvm multi-node installation using fedora 16.

 Migrate and resize use ssh to create the directories and transfer the
 image.
 So you need to make sure that “nova” user is able to ssh the other compute
 nodes.

 Make sure you have this in your ssh configuration:
 Host *
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null

 Create a ssh key for “nova” and distribute it in your setup.
 If you are using Fedora set selinux to permissive.
 … and should work.

 cheers,
 Belmiro

 __**_
 Mailing list: 
 https://launchpad.net/~**openstackhttps://launchpad.net/%7Eopenstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~**openstackhttps://launchpad.net/%7Eopenstack
 More help   : 
 https://help.launchpad.net/**ListHelphttps://help.launchpad.net/ListHelp




-- 



William Herry

williamherrych...@gmail.com
___
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] metadata and file injection

2012-06-03 Thread William Herry
Thank you Pádraig Brady, I learn a lot, but still can not get some of them

since centos has no nbd supported, I use libguestfs-mount to inject
ssh-key, and I make it work

you said if I can inject ssh-key, I can inject file, etc. but I don't know
how

I added --meta key=value to boot command, I notice that when instance boot,
it said No suck file or directory, do I have to build meta.js myself?

I still don't get metadata, is key=value I specified will store in there,
can I see that's in metadata server?

so now, I make injection function work, and seems don't know how to use
them, please give me some examples,


On Fri, Jun 1, 2012 at 8:16 PM, Pádraig Brady p...@draigbrady.com wrote:

 On 06/01/2012 10:55 AM, William Herry wrote:
  I have been spend all days to search metadata and file injection related
 info with Google,
  there are few doc or blog about this topic (or I am not use the proper
 keyword)
  I know about this is only pieces
 
  what I know now is:
  cloud-init can inject files to instance and a lot other things, seems
 only on ubuntu,

 cloud-init is available for Fedora now.
 There is also a test package available for RHEL and derivatives:
 http://pbrady.fedorapeople.org/cloud-init-el6/

  I can inject ssh key with qemu-nbd

 If you can do that, you can also inject 'metadata',
 'files' and root 'passwords'. Note only failure to
 inject 'files' will result in a failure to boot the guest.

  my question is:
  what is in metadata, how can I use matadata
  there is no injection related sub command in nova
 
  any related URL will be very appreciate

 The `nova` command interface is defined in:

 https://github.com/openstack/python-novaclient/blob/master/novaclient/v1_1/shell.py
 It would be good to have a man page for the `nova`
 command that you could reference.

 Anyway here is what you get when executing the
 help for the 'boot' command:


 # nova help boot
 usage: nova boot [--flavor flavor] [--image image] [--meta key=value]
 [--file dst-path=src-path] [--key_name key_name]
 [--user_data user-data]
 [--availability_zone availability-zone]
 [--security_groups security_groups]
 [--block_device_mapping dev_name=mapping]
 [--hint key=value]
 [--nic net-id=net-uuid,v4-fixed-ip=ip-addr]
 [--config-drive value] [--poll]
 name

 Boot a new server.

 Positional arguments:
  nameName for the new server

 Optional arguments:
  --flavor flavor Flavor ID (see 'nova flavor-list').
  --image image   Image ID (see 'nova image-list').
  --meta key=valueRecord arbitrary key/value metadata. May be give
multiple times.
  --file dst-path=src-path
Store arbitrary files from src-path locally to
 dst-
path on the new server. You may store up to 5
 files.
  --key_name key_name
Key name of keypair that should be created earlier
with the command keypair-add
  --user_data user-data
user data file to pass to be exposed by the metadata
server.
  --availability_zone availability-zone
The availability zone for instance placement.
  --security_groups security_groups
comma separated list of security group names.
  --block_device_mapping dev_name=mapping
Block device mapping in the format
 dev_name=id:typ
e:size(GB):delete_on_terminate.
  --hint key=valueSend arbitrary key/value pairs to the scheduler for
custom use.
  --nic net-id=net-uuid,v4-fixed-ip=ip-addr
Create a NIC on the server. Specify option multiple
times to create multiple NICs. net-id: attach NIC to
network with this UUID (optional) v4-fixed-ip: IPv4
fixed address for NIC (optional).
  --config-drive value
Enable config drive
  --pollBlocks while instance builds so progress can be
reported.


 Here are the related APIs that are used by the command above:

 http://docs.openstack.org/api/openstack-compute/2/content/CreateServers.html

 So what happens when you present --meta options above?
 That will bubble through the API to:
 https://github.com/openstack/nova/blob/master/nova/virt/disk/api.py
 If you look at _inject_metadata_into_fs() there, you can see
 that a 'meta.js' file is written to the / directory.
 Logic within the guest can then inspect that as required.

 cheers,
 Pádraig.




-- 



William Herry

williamherrych...@gmail.com
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More

[Openstack] lease ip problem with ubuntu

2012-06-03 Thread William Herry
My ubuntu instance can't get leased IP address, CentOS instance image is OK
with that

I boot up ubuntu instance and run dhclient eth0 manually, I can see
packages from server side, I don't know why ubuntu can't get address :
12:44:11.973930 IP 0.0.0.0.bootpc  255.255.255.255.bootps: BOOTP/DHCP,
Request from fa:16:3e:74:22:48 (oui Unknown), length 300
12:44:11.974184 IP 10.0.1.3.bootps  10.0.1.15.bootpc: BOOTP/DHCP, Reply,
length 300

In guest ubuntu's syslog I find:
5 bad udp checksums in packets

I am thinking if it is related with my bridge settings, cause I have a two
internal network(10.0.0.0/24, 10.0.1.0/24) bonding to the same
interface(em2)

What step should do to finger out what's going on?


-- 



William Herry

williamherrych...@gmail.com
___
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] Fwd: lease ip problem with ubuntu

2012-06-03 Thread William Herry
I use CentOS6.2 as Server and I solve this problem by :

iptables -A POSTROUTING -t mangle -p udp --dport bootpc -j CHECKSUM
--checksum-fill

from http://www.mail-archive.com/kvm@vger.kernel.org/msg41958.html

It looks like a bug for centos

Thanks



-- Forwarded message --
From: William Herry william.herry.ch...@gmail.com
Date: Mon, Jun 4, 2012 at 12:52 PM
Subject: [Openstack] lease ip problem with ubuntu
To: Openstack openstack@lists.launchpad.net


My ubuntu instance can't get leased IP address, CentOS instance image is OK
with that

I boot up ubuntu instance and run dhclient eth0 manually, I can see
packages from server side, I don't know why ubuntu can't get address :
12:44:11.973930 IP 0.0.0.0.bootpc  255.255.255.255.bootps: BOOTP/DHCP,
Request from fa:16:3e:74:22:48 (oui Unknown), length 300
12:44:11.974184 IP 10.0.1.3.bootps  10.0.1.15.bootpc: BOOTP/DHCP, Reply,
length 300

In guest ubuntu's syslog I find:
5 bad udp checksums in packets

I am thinking if it is related with my bridge settings, cause I have a two
internal network(10.0.0.0/24, 10.0.1.0/24) bonding to the same
interface(em2)

What step should do to finger out what's going on?


-- 



William Herry

williamherrych...@gmail.com




-- 



William Herry

williamherrych...@gmail.com
___
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] Fwd: lock a instance

2012-05-31 Thread William Herry
ignore this mail cause I find in nova source code, sorry

-- Forwarded message --
From: William Herry william.herry.ch...@gmail.com
Date: Thu, May 31, 2012 at 3:13 PM
Subject: [Openstack] lock a instance
To: openstack@lists.launchpad.net


What nova lock name_of_instance will do to a instance, I just find it
change locked to 1 on instances table
What restrict a locked instances have?

-- 



William Herry

williamherrych...@gmail.com




-- 



William Herry

williamherrych...@gmail.com
___
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] question about security

2012-05-31 Thread William Herry
We use FlatDHCP network mode, all thing work fine, instance has 10.0.0.x ip
and 10.0.0.1 as gateway
Our problem is that service(most time compute node) has little restrict
from instance,
which instance can see a lot opened port on service, I am thinking if this
is a security problem

restrict service on compute node not listen on 10.0.0.x ip is the way I can
thing to solve this, any other ways?

Thanks

-- 



William Herry

williamherrych...@gmail.com
___
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] (no subject)

2012-05-30 Thread William Herry
When I run live-migration, it fail because of:
MigrationError_Remote: Migration error: Unable to migrate
e0fd9c27-cc7b-4420-bd8a-6dd9d5316929 to compute2: Lack of
disk(host:-188978561024
= instance:37580963840)

In fact I have 170G free disk on compute2, then I check nova database and
find this in compute_nodes which compute2 have:
disk_available_least: -176
 free_ram_mb: 41086
free_disk_gb: -149

my question is that, how nova get disk info and then fill to this db

by the way, horizon seems don't have ability to show host capabilities
which I can easy to know how much resource left on each node

Thanks




-- 



William Herry

williamherrych...@gmail.com
___
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] release fixed_ip

2012-05-29 Thread William Herry
Hi

I noticed that when I delete a instance, the fixed ip that associate with
it will not be used for other newly launched instance

I want to know if there is a timeout for a fixed ip to be reused, how long
this time is

Thanks

-- 



William Herry

williamherrych...@gmail.com
___
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] Migrate use nova

2012-05-29 Thread William Herry
I am trying to do openstack migrate and get stuck
My coworker told me that I can use nova-manage to migrate, but I can't find
any migrate options within nova-manage, it must be removed in Essex
there is migrate option with nova command, but it has very little options
and help info, I am confuse with that

usage: nova migrate [--poll] server
Migrate a server.
Positional arguments:
  server  Name or ID of server.
Optional arguments:
  --pollBlocks while instance migrates so progress can be reported.

there is not option to specify which host I want migrate an instance to

I run 'nova migrate --poll name-of-instance', this error shows:
ERROR: Policy doesn't allow compute_extension:admin_actions:migrate to be
performed. (HTTP 403) (Request-ID: req-17fafbff-5264-4ba5-a5bd-141520601f78

I have not setup share storage so live migrate not work (and I am not
looking for live migrate)

can some one share any experience about migrate?

Thanks


-- 



William Herry

williamherrych...@gmail.com
___
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] Fwd: Migrate use nova

2012-05-29 Thread William Herry
sorry, I googled and find that error was because I am normal user

now my only question is that it have to option to let me specify which host
to migrate to, which host well be migrate to ?

-- Forwarded message --
From: William Herry william.herry.ch...@gmail.com
Date: Wed, May 30, 2012 at 10:00 AM
Subject: [Openstack] Migrate use nova
To: openstack@lists.launchpad.net



I am trying to do openstack migrate and get stuck
My coworker told me that I can use nova-manage to migrate, but I can't find
any migrate options within nova-manage, it must be removed in Essex
there is migrate option with nova command, but it has very little options
and help info, I am confuse with that

usage: nova migrate [--poll] server
Migrate a server.
Positional arguments:
  server  Name or ID of server.
Optional arguments:
  --pollBlocks while instance migrates so progress can be reported.

there is not option to specify which host I want migrate an instance to

I run 'nova migrate --poll name-of-instance', this error shows:
ERROR: Policy doesn't allow compute_extension:admin_actions:migrate to be
performed. (HTTP 403) (Request-ID: req-17fafbff-5264-4ba5-a5bd-141520601f78

I have not setup share storage so live migrate not work (and I am not
looking for live migrate)

can some one share any experience about migrate?

Thanks


-- 



William Herry

williamherrych...@gmail.com




-- 



William Herry

williamherrych...@gmail.com
___
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] dnsmasq

2012-05-24 Thread William Herry
Hi

sorry for too much silly questions

I am interested in the dnsmasq of nova when use FlatDHCP network mode

I am guess it works like this:
nova write MAC - IP info to /var/lib/nova/networks/nova-br1.conf when boot
a instance

nova tell dnsmasq to reread /var/lib/nova/networks/nova-br1.conf

instance boot up and send DHCP request

dnsmasq receive DHCP request and give instance proper IP

I know it totally wrong and I want some one correct me, more details would
be great

Thanks in advice

Regards

-- 

===
William Herry

williamherrych...@gmail.com
___
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] libvirt.xml.template

2012-05-23 Thread William Herry
Hi,

I can't find this libvirt.xml.template file with git install, I change this
file to make my vm show real cpu rather than QEMU, now, I can't find that
file, some one know where it is?

I use the recent git packages which is 2012.2

Thanks

-- 

===
William Herry

williamherrych...@gmail.com
___
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] dhcp snat

2012-05-23 Thread William Herry
Hi

I use FlatDHCP network and I create two provate network which is 10.0.0.0/24and
10.0.1.0/24

I launched a instance and give him a public ip address, but can't ping to
it, (it is very odd that I can mtr it)

after debug I find that the vm's default gateway is set to 10.0.1.1, and on
host only have a SNAT of 10.0.0.0

after change gateway, it start to work,

my question is that, does the SNAT of 10.0.0.0 is hard coded? or other way
to solve my problem(use two private network)

Thanks in advance
Best Regards


-- 

===
William Herry

williamherrych...@gmail.com
___
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] is it posible to make openatack kickstart

2012-05-22 Thread William Herry
Hi

Openstack already support boot from ISO image, I am think if I can use
kickstart install (or other auto installation) within openstack,
cause openstack's image only support one root partition(or it can be multi
partition, I just didn't know) not alway meet our need.

what in my mind now is that, I can make a special iso image that auto read
a ks file I provade and start installation,
if I want different settings, I can change that ks file manually

any good advs?

Regards

-- 

===
William Herry

williamherrych...@gmail.com
___
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] [openstack]create network project_id

2012-05-15 Thread William Herry
Hi

how can I create a network for
*specified*dict://key.0895DFE8DB67F9409DB285590D870EDD/specifiedproject,
I use --project_id option when create network, seems not work,
do i miss something:

any one can help?

thanks


-- 

===
William Herry

williamherrych...@gmail.com
___
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] raw or qcow2

2012-04-17 Thread William Herry
Hi all

we plan to use openstack on our production,
we are not sure which disk type will be the better choice

I did a little test on qcow2 and it's performance looks good when I use
cache=writeback

can some one give us some advice, or some article,
cause for such common topic must be discussed before

thanks

-- 

===
William Herry

williamherrych...@gmail.com
___
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] raw or qcow2

2012-04-17 Thread William Herry
so, what changes should I make if I want use raw in openstack, I didn't
find some configure option in nova.conf.sample

I also try to modify the source code in nova/virt/libvirt/utils.py, and
didn't succeed

I noticed that the type of snapshot is same as the instance's image by
default, does this right, and what about the type of model image that
uploaded to glance, does it affect the disk type I use?

Thanks

On Tue, Apr 17, 2012 at 4:41 PM, Daniel P. Berrange berra...@redhat.comwrote:

 On Tue, Apr 17, 2012 at 04:23:04PM +0800, William Herry wrote:
  Hi all
 
  we plan to use openstack on our production,
  we are not sure which disk type will be the better choice
 
  I did a little test on qcow2 and it's performance looks good when I use
  cache=writeback
 
  can some one give us some advice, or some article,
  cause for such common topic must be discussed before

 Raw files or block devices will always have some performance advantage
 over qcow2, though I don't have figures to tell you just how much of
 a difference it will be. The performance gap is certainly much smaller
 than it used to be a few years back.

 The more important question is probably, do you actually need any of
 the other features that qcow2 gives over raw ? eg internal snapshots,
 external backing files, encryption, compression, etc ?  If you don't
 need any of these features, then there is no real point in choosing
 to use qcow2 over raw.

 REgards,
 Daniel
 --
 |: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/:|
 |: http://libvirt.org  -o- http://virt-manager.org:|
 |: http://autobuild.org   -o- http://search.cpan.org/~danberr/:|
 |: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc:|




-- 

===
William Herry

williamherrych...@gmail.com
___
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] [OpenStack]issue on horizon

2012-04-15 Thread William Herry
Hi Developers

I make all thing work on centos 6.2 with Essex 2012.1, except one little
problem with horizon

when I create containers, it always say: Error: Unable to create container.

but actually the container already created and I can do further operating
like upload object, list object

so, can some one tell me where should the problem be

Thanks

-- 

===
William Herry

williamherrych...@gmail.com
___
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] [OpenStack]Swift + Keystone + Cyberduck

2012-04-09 Thread William Herry
Hi

I am try to use Cyberduck as the client of Swift storage, my swift use
keystone as the auth system, any one has successful experience can share
with me, or is there any other client software for swift

In fact I can't make Cyberduck work when I use tempauth as the auth, which
can work with cloudberry and cloudfuse, but as I know, in windows only
Cyberduck can support Keystone

Thanks

William

-- 

===
William Herry

williamherrych...@gmail.com
___
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] [OpenStack] preallocation

2012-04-09 Thread William Herry
Hi

I read from an article that said use preallocation can improve disk I/O
performance in kvm, when I add it to openstack, suck error come to me

(nova.rpc.amqp): TRACE: Stderr: 'Backing file and preallocation cannot be
used at the same time\nqemu-img:
/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/instances/instance-000e/disk:
error while creating qcow2: Invalid argument\n'

I was added it to utils.py in virt/libvirt directory (line 77)

def create_cow_image(backing_file, path):
Create COW image

Creates a COW image with the given backing file

:param backing_file: Existing image on which to base the COW image
:param path: Desired location of the COW image

execute(FLAGS.qemu_img, 'create', '-f', 'qcow2', '-o',
 'preallocation=metadata,cluster_size=2M,backing_file=%s' %
  backing_file, path)

here is the article:
http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/

so what is Backing file for, can I disable it for use preallocation cause I
can't got both

Thanks

-- 

===
William Herry

williamherrych...@gmail.com
___
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] [OpenStack] boot from iso image

2012-04-08 Thread William Herry
Hi

I am try the openstack's new feature of boot from iso image, and after
installation it boot up a working system, it is really awesome

but I have a little question is that, I give 10G disk when i create this
instance but during the installation and after boot up, I got almost 20G,
what's going on here? did i miss configure some, I am use essex rc1

Thanks

-- 

===
William Herry

williamherrych...@gmail.com
___
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] make instances not communicate each other

2012-04-04 Thread William Herry
Greeting:

I want my instances not be able to communicate to each other, I know it is
possible to set the firewall manually. I just want know if there are more
graceful way to do that

thanks

William Herry

-- 
Where there is a will, there is a way.

williamherrych...@gmail.com
___
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] problem with quantum

2012-03-27 Thread William Herry
Hi
I am try quantum on my test environment, without quantum it works fine,
when I try to use quantum, I can't make it work, I notice that in
nova-network.log there some thing like this

2012-03-28 10:38:28 DEBUG nova.utils [-] Running cmd (subprocess): sudo
brctl addbr 332a1a19-d6da-4bee-9836-42d4228a786b from (pid=7105) execute
/opt/stack/nova/nova/utils.py:217

332a1a19-d6da-4bee-9836-42d4228a786b if my network's uuid, and it can not
success because it is too long

(nova.rpc.amqp): TRACE: Stderr: iptables-restore v1.4.12: interface name
`332a1a19-d6da-4bee-9836-42d4228a786b' must be shorter than IFNAMSIZ
(15)\nError occurred at line: 31\nTry `iptables-restore -h' or
'iptables-restore --help' for more information.\n

why this happen, can any one point out where is my problem

here is the line i add to nova.conf
network_manager=nova.network.quantum.manager.QuantumManager
libvirt_vif_type=ethernet
libvirt_vif_drive=nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver
linuxnet_interface_drive=nova.network.linux_net.QuantumLinuxBridgeInterfaceDriver
quantum_use_dhcp=true
multi_host=true

quantum is already configured according to Quantum Admin Guide and
/opt/stack/quantum/quantum/plugins/linuxbridge/README

Thanks
-- 
Where there is a will, there is a way.

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