Re: [Openstack] netns kernel of RedHat

2013-05-31 Thread Pádraig Brady
On 05/29/2013 11:02 AM, Pádraig Brady wrote: On 05/29/2013 09:59 AM, 彭勇 wrote: there is no netns support in RedHat kernel: https://bugzilla.redhat.com/show_bug.cgi?id=869004 is there any progress of this feature? We expect to release an netns enabled kernel to RDO (http

Re: [Openstack] Installing OpenvSwitch on CentOS 6.4

2013-05-07 Thread Pádraig Brady
On 05/07/2013 05:53 AM, Ashutosh Narayan wrote: Hi Folks, I have installed Grizzly on CentOS 6.4 and facing some issues while installing OpenvSwitch in order to make Quantum service work properly. Can anybody point me to some link which has useful information for the same ? I was following

Re: [Openstack] ceilometer and heat tutorial

2013-04-30 Thread Pádraig Brady
On 04/28/2013 07:35 PM, Michaël Van de Borne wrote: Le 26/04/2013 20:28, Steven Hardy a écrit : On Fri, Apr 26, 2013 at 05:02:54PM +0200, Michaël Van de Borne wrote: Hi all, I'm looking for install and usage tutorials for ceilometer and heat. The best I could find so far are these: -

Re: [Openstack] Gerrit Review + SSH

2013-04-05 Thread Pádraig Brady
On 04/04/2013 06:51 PM, Ronak Shah wrote: Hi, As OS dev cycle involves Gerrit review tool which requires ssh into the gerrit server, I was wondering if any of you guys face problems where your company/org does not allow ssh to external hosts. In general, what is the best practice in

Re: [Openstack] Poor guest disk IO after disk usage.

2013-03-06 Thread Pádraig Brady
On 03/06/2013 02:55 PM, Samuel Winchenbach wrote: N o harm will come to existing VMs if I set use_cow_images=False and restart nova-api correct? Just all new VMs will be created with a raw disk backend? right. ___ Mailing list:

Re: [Openstack] Poor guest disk IO after disk usage.

2013-03-06 Thread Pádraig Brady
On 03/06/2013 02:56 PM, Samuel Winchenbach wrote: On Tue, Mar 5, 2013 at 12:11 PM, Pádraig Brady p...@draigbrady.com mailto:p...@draigbrady.com wrote: Just did some testing here, writing in a VM backed by a local file system, using: dd if=/dev/zero of=file bs=1M count=1k conv

Re: [Openstack] [OpenStack] How to speed up the instance launch time?

2013-03-06 Thread Pádraig Brady
On 03/06/2013 02:46 PM, Mark Lehrer wrote: are make in the compute node. So all this takes long an dis proportional to the image size. Is there any way to speed up this process? Is a SAN based backend the only way to go? No, but if you have multiple compute nodes you will want to have them

Re: [Openstack] [OpenStack] How to speed up the instance launch time?

2013-03-06 Thread Pádraig Brady
On 03/06/2013 04:12 PM, Mark Lehrer wrote: The change I made that helped the most was to disable NBD. You have Was that to disable injection at startup? No, NBD is just slow and unreliable for some reason. Disabling it made my users happy. I haven't had time to find out why NBD is so

Re: [Openstack] [OpenStack] How to speed up the instance launch time?

2013-03-05 Thread Pádraig Brady
On 03/05/2013 11:03 AM, Balamurugan V G wrote: Hi, I have a Folsom 2012.2 3 nodes setup like the one specified at https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst. Each node has a 1Tb hard disk with no raid. Be it

Re: [Openstack] How to create a Image which can extend the partition automatically.

2013-03-05 Thread Pádraig Brady
On 03/05/2013 02:04 PM, Scott Moser wrote: On Tue, 5 Mar 2013, Sylvain Bauza wrote: If you look at http://www.pixelbeat.org/docs/openstack_libvirt_images/#1361764412, you'll see that resize2fs is performed. But there is a caveat with RHEL6 which is Linux 2.6 (contrary to Ubuntu 12.04

Re: [Openstack] initramfs-growroot or LVM

2013-02-11 Thread Pádraig Brady
On 02/10/2013 03:54 AM, Owen Synge wrote: Dear Davide, Please dont use LVM in cloud images unless you want to encrypt the content and then please use a very unique volume group name. Reason follows. If you want to allow the mangement domain to mount your partitons and make edits then the

Re: [Openstack] initramfs-growroot or LVM

2013-02-11 Thread Pádraig Brady
On 02/11/2013 10:46 AM, Davide Guerri wrote: On 11/feb/2013, at 11:23, Pádraig Brady p...@draigbrady.com wrote: On 02/10/2013 03:54 AM, Owen Synge wrote: This is where a system like libguestfs is very useful as it separates image details from the host completely. OpenStack file injection

[Openstack] openstack brctl addbr not supported on RHEL 6.3

2013-02-11 Thread Pádraig Brady
A quick search suggests that kernel has CONFIG_BRIDGE=n set. So I presume there another method is possible through config. Gary any ideas? On 02/11/2013 04:33 PM, Greg Chavez wrote: Running latest EPEL Folsom packages on RHEL 6.3. Three nodes right now, one controller, one network node, one

Re: [Openstack] initramfs-growroot or LVM

2013-02-08 Thread Pádraig Brady
On 02/08/2013 08:55 AM, Davide Guerri wrote: Hi all, I'm preparing some cloud images for the major Linux distributions and I'd like they to grow their root fs on boot (to use all the available space). Ubuntu cloud images (http://cloud-images.ubuntu.com) use initramfs-growroot but installing

Re: [Openstack] Configuring instances during first boot

2013-01-29 Thread Pádraig Brady
On 01/29/2013 01:08 PM, JuanFra Rodriguez Cardoso wrote: Thanks for your replies!! Has anyone tried to resize root disk of Centos/Fedora instances with cloud-init? Juerg Haefliger is working on cloud-utils and cloud-initramfs-tools packages for Fedora/Red Hat, which support the growroot

Re: [Openstack] Openstack - cinder - volume driver NFS

2013-01-15 Thread Pádraig Brady
On 01/15/2013 10:41 AM, Benoit ML wrote: Hello, (plz ignore my previous mail) I'm sorry because I probabably misunderstand something. I have : - configured cinder like the file you show (thank you again) (apport the nfs_mount_point_base = /etc/cinder/volumes and volumes_dir =

Re: [Openstack] Instances RedHat / Centos / Fedora vs /dev/vdx

2013-01-10 Thread Pádraig Brady
On 01/10/2013 12:18 PM, Alex Vitola wrote: I'm having the following problem Release Folsom When I install any version of Like Redhat (Fedora all release, CentOS 6 and 6.3), during the installation the anaconda not find hard disk. But, if i switch to the console and give it an fdisk -l the

Re: [Openstack] cloud-init and resizing centos image

2012-12-28 Thread Pádraig Brady
On 12/28/2012 10:05 AM, YIP Wai Peng wrote: Dear all, I am trying to build a CentOS image. I followed the instructions here: at http://docs.openstack.org/essex/openstack-compute/starter/content/CentOS-de1592.html I have also added EPEL cloud-init package to the image that I build. I can boot

Re: [Openstack] Compute not restarting, qemu-img error?

2012-12-18 Thread Pádraig Brady
On 12/18/2012 09:43 PM, Greg C wrote: I suspended instances and rebooted one of my compute nodes, but not compute wont start up. From nova-compute.log: 2012-12-18 12:38:16 TRACE nova File /usr/lib/python2.7/dist-packages/nova/virt/images.py, line 56, in qemu_img_info 2012-12-18

Re: [Openstack] python-swiftclient is missing from epel repo

2012-11-20 Thread Pádraig Brady
On 11/18/2012 09:01 PM, George Lekatsas wrote: Hello, after a yum update in centos 6.3 i have the following error ¨-- Processing Dependency: python-swiftclient for package: python-glance-2012.2-3.el6.noarch -- Finished Dependency Resolution Error: Package: python-glance-2012.2-3.el6.noarch

Re: [Openstack] nova-volumes problem after host reboot

2012-11-19 Thread Pádraig Brady
On 11/10/2012 03:17 PM, Ronivon Costa wrote: Hi there, I am dealing with this issue for a while, but could not figure out what is going on. After a reboot in the openstack server, I am not able to restart ANY instance that had a nova-volume attached. I tried the DR procedure here without any

Re: [Openstack] glance add : 'utf8' codec can't decode byte 0x94

2012-11-15 Thread Pádraig Brady
On 11/15/2012 08:49 AM, G. Lekatsas wrote: hello, sorry for the delay but after a restart i have to deal with another problem and without being able to check the previous 'utf8' codec error. File /usr/lib/python2.6/site-packages/keystone/catalog/backends/sql.py, line 169, in

Re: [Openstack] n-api installation problem with devstack (on centos)

2012-11-08 Thread Pádraig Brady
On 11/08/2012 04:12 PM, Mauch, Viktor (SCC) wrote: Hi Guys, Now I found the solution for my problem: n-api installation/start (via devstack) failed on centos 6.x with the error message below The problem is the old python-paste version of centos. So if you get this error,

Re: [Openstack] Handling of adminPass is arguably broken (essex)

2012-11-02 Thread Pádraig Brady
On 11/02/2012 07:03 PM, Lars Kellogg-Stedman wrote: On Thu, Nov 01, 2012 at 11:03:14AM -0700, Vishvananda Ishaya wrote: The new config drive code defaults to iso-9660, so that should work. The vfat version should probably create a partition table. Is that what Folsom is using? Or is it

Re: [Openstack] Handling of adminPass is arguably broken (essex)

2012-11-01 Thread Pádraig Brady
On 11/01/2012 05:14 PM, Lars Kellogg-Stedman wrote: On Wed, Oct 31, 2012 at 09:09:14PM -0400, Lars Kellogg-Stedman wrote: TL;DR: The way OpenStack handles the adminPass attribute during metadata injection is not useful on operating systems without an /etc/passwd and /etc/shadow. I would like

Re: [Openstack] Error while launching instance RHEL (cannot run lease-init script nova-dhcpbridge )

2012-10-28 Thread Pádraig Brady
On 10/28/2012 06:00 PM, Daniel Vázquez wrote: 2012/10/27 Pádraig Brady p...@draigbrady.com: On 10/26/2012 06:38 PM, Daniel Vázquez wrote: 2012/10/26 Pádraig Brady p...@draigbrady.com: On 10/25/2012 06:30 PM, Pavan Kulkarni wrote: Hi all, I am facing errors while launching

Re: [Openstack] Error while launching instance RHEL (cannot run lease-init script nova-dhcpbridge )

2012-10-27 Thread Pádraig Brady
On 10/26/2012 06:38 PM, Daniel Vázquez wrote: 2012/10/26 Pádraig Brady p...@draigbrady.com: On 10/25/2012 06:30 PM, Pavan Kulkarni wrote: Hi all, I am facing errors while launching instances on RHEL. The network.log says *cannot run lease-init script /usr/bin/nova-dhcpbridge* I did

Re: [Openstack] Error while launching instance RHEL (cannot run lease-init script nova-dhcpbridge )

2012-10-25 Thread Pádraig Brady
On 10/25/2012 06:30 PM, Pavan Kulkarni wrote: Hi all, I am facing errors while launching instances on RHEL. The network.log says *cannot run lease-init script /usr/bin/nova-dhcpbridge* I did a liitle search and found out this link https://lists.launchpad.net/openstack/msg08790.html,

Re: [Openstack] Finding/Making Windows 7 Images for OpenStack

2012-10-24 Thread Pádraig Brady
On 10/21/2012 12:56 AM, Curtis C. wrote: Hi, Has anyone seen any recent documentation on creating Windows 7 images for OpenStack? I know it's supposed to be as easy as using kvm to install it initially (as per the OpenStack docs) then importing that image into glance, but there are some subtle

Re: [Openstack] Can't boot lxc instance

2012-10-22 Thread Pádraig Brady
On 10/22/2012 10:33 AM, hzguanqiang wrote: Hi Pádraig I think you are right. I met the same probelm just as 念远 did when I tried lxc with openstack folsom. To solve the problem, I tried to modify the function setup_container, adding a partition argument to _DiskImage(...) just as follow:

[Openstack] CLA Contributor list is missing from the wiki?

2012-10-17 Thread Pádraig Brady
I tried to approve a few new CLA signers and noticed that the http://wiki.openstack.org/Contributors page is missing. Trying to restore a previous version resulted in an error. Could someone with appropriate admin rights look into this? thanks, Pádraig.

Re: [Openstack] Terminating instance stuck at deleting - Openstack on Fedora Core 17

2012-09-26 Thread Pádraig Brady
On 09/26/2012 11:35 PM, Vishvananda Ishaya wrote: FYI, I just tested on devstack and it looks like it works fine. If you are on older code you may be running into this bug: https://bugs.launchpad.net/nova/+bug/1038266 To confirm. The last Fedora 17 essex update just missed the above fix. The

Re: [Openstack] /var/lib/nova/instances over nfs/glusterfs issues

2012-09-08 Thread Pádraig Brady
On 09/08/2012 11:29 AM, Rich Wohlstadter wrote: Hi everyone, I'm running into an issue where I'm using nfs on my multi-node setup for /var/lib/nova/instances so that I can use live migration. Things work great unless I try to spawn multiple vm instances simultaneously and the image does not yet

Re: [Openstack] [Nova] Getting error when injecting data into an image

2012-09-06 Thread Pádraig Brady
On 09/06/2012 01:45 PM, Nagaraju Bingi wrote: Hi All, I’m facing an issue with guest mount command and error as shown below. It would be appreciable if you could provide pointers. Note guestmount is a method tried after nbd and loop. I.E. only if they fail will it be attempted. Looking at

Re: [Openstack] openstack libvirt lxc

2012-08-21 Thread Pádraig Brady
On 08/21/2012 03:19 AM, 廖南海 wrote: Who use the lxc virtual machine? Please give me some advices? I encountered some problems. Thank you! Essex had some fundamental issues with LXC, that are addressed with: https://review.openstack.org/#/c/10962/ thanks, Pádraig.

Re: [Openstack] Live Migration with libvirtError

2012-08-09 Thread Pádraig Brady
On 08/09/2012 07:55 AM, 王鹏 wrote: HI everyone, when I test live migration use NFS ,that's my sitting according to http://docs.openstack.org/essex/openstack-compute/admin/content/configuring-live-migrations.html 1.add this line /var/lib/nova/instances *(rw,sync,fsid=0,no_root_squash) in

Re: [Openstack] [OSSA 2012-011] Compute node filesystem injection/corruption (CVE-2012-3447)

2012-08-08 Thread Pádraig Brady
On 08/08/2012 02:35 AM, Michael Still wrote: On 08/08/12 11:08, Pádraig Brady wrote: If supporting either of the above cases, it would be great to reuse the existing image loopback mounting code: virt.disk.setup_container(image_file) virt.disk.inject_file() other tweaks

Re: [Openstack] [OSSA 2012-011] Compute node filesystem injection/corruption (CVE-2012-3447)

2012-08-08 Thread Pádraig Brady
On 08/08/2012 05:37 AM, Eric Windisch wrote: Also notice that libguestfs is supported as an injection mechanism which mounts images in a separate VM, with one of the big advantages of that being better security. Are you sure about this? Reading the driver source, it appears

Re: [Openstack] [OSSA 2012-011] Compute node filesystem injection/corruption (CVE-2012-3447)

2012-08-07 Thread Pádraig Brady
On 08/07/2012 10:38 PM, Eric Windisch wrote: Pádraig Brady from Red Hat discovered that the fix implemented for CVE-2012-3361 (OSSA-2012-008) was not covering all attack scenarios. By crafting a malicious image with root-readable-only symlinks and requesting a server based

Re: [Openstack] [OSSA 2012-011] Compute node filesystem injection/corruption (CVE-2012-3447)

2012-08-07 Thread Pádraig Brady
On 08/08/2012 01:00 AM, Michael Still wrote: On 08/08/12 07:38, Eric Windisch wrote: Pádraig Brady from Red Hat discovered that the fix implemented for CVE-2012-3361 (OSSA-2012-008) was not covering all attack scenarios. By crafting a malicious image with root-readable-only symlinks

[Openstack] Heads-up: Minimum version dependency added on python-evenlet (0.9.17)

2012-08-04 Thread Pádraig Brady
https://review.openstack.org/#/c/10823/ 0.9.17 was released 2012-08-03 and includes two particular fixes related to OpenStack 1. https://bitbucket.org/which_linden/eventlet/issue/123/ Fix an exception thrown by epoll in certain cases. This can cause jenkins to deadlock, triggered for example by:

Re: [Openstack] Node Disk Cleaning Script

2012-08-02 Thread Pádraig Brady
On 08/02/2012 12:12 PM, Алексей Кайтаз wrote: Hi! I hope this script will usefull for somebody. #!/bin/bash cd /var/lib/nova/instances find -name disk* | xargs -n1 qemu-img info | grep backing | sed -e's/.*file: //' -e 's/ .*//' | sort | uniq /tmp/ignore while read i; do ARGS=$ARGS \(

Re: [Openstack] qpid_heartbeat...doesn't?

2012-08-02 Thread Pádraig Brady
On 08/02/2012 05:35 PM, Lars Kellogg-Stedman wrote: On Thu, Aug 02, 2012 at 12:33:13PM -0400, Lars Kellogg-Stedman wrote: Looks like a typo. Could you try this. FYI: The same typo appears to exist in notify_qpid.py. Err, that is, glance/notifier/notify_qpid.py, in case it wasn't

Re: [Openstack] qpid_heartbeat...doesn't?

2012-07-29 Thread Pádraig Brady
On 07/29/2012 07:14 PM, Lars Kellogg-Stedman wrote: Looks like a typo. Could you try this. That seems better...although while the documentation says that qpid_heartbeat is Seconds between heartbeat messages [1], observed behavior suggests that it is actually *minutes* between messages.

Re: [Openstack] qpid_heartbeat...doesn't?

2012-07-28 Thread Pádraig Brady
On 07/29/2012 03:24 AM, Lars Kellogg-Stedman wrote: Our environment has connection-tracking firewalls that drop idle connections after an hour. There is a connection between nova-compute and our qpidd server that appears to be idle for long periods of time. When the firewall drops this

Re: [Openstack] 回复: [openstack] nova-compute always dead on RHEL6.1

2012-07-24 Thread Pádraig Brady
On 07/24/2012 02:05 AM, 延生 付 wrote: Dear Padraig, Thanks for the help. I can see the log from console, really strange there is no log generated under /var/log/nova, the permission is open to nova. Ensure there are no root owned files under /var/log/nova Another question is Apache Qpid

Re: [Openstack] File injection support

2012-07-13 Thread Pádraig Brady
On 07/14/2012 12:09 AM, Mark Moseley wrote: On Tue, Jun 12, 2012 at 8:20 AM, Pádraig Brady p...@draigbrady.com wrote: On 06/12/2012 04:07 PM, Fredric Morenius wrote: From: Scott Moser [mailto:ssmos...@gmail.com] On Behalf Of Scott Moser Sent: den 11 juni 2012 23:16 ...Without digging around

Re: [Openstack] running HA cluster of guests within openstack

2012-06-27 Thread Pádraig Brady
On 04/13/2012 12:53 PM, Pádraig Brady wrote: On 04/13/2012 10:31 AM, ikke wrote: I likely am not the first one to ask this, but since I didn't find a thread about it I start one. Is there any shared experience available what are the capabilities of OpenStack to run cluster of guests

Re: [Openstack] Nova doesn't release ips when terminating instances

2012-06-26 Thread Pádraig Brady
On 06/26/2012 05:55 PM, Lars Kellogg-Stedman wrote: force_dhcp_release=true should cause the ip to be released immediately, assuming the relevant optional binary from dnsmasq is installed (it is in the package dnsmasq-utils in ubuntu). The dhcp_release command does not appear to be packaged

Re: [Openstack] [bug] cannot umount guestfs (Bug #1013689)

2012-06-21 Thread Pádraig Brady
On 06/21/2012 08:40 AM, Alexey Ababilov wrote: Hi! On our machines ins Grid Dynamics (HP ProBooks and miscellaneous servers), repeating unmount if it reported device or resource is busy while spawning a VM is not acceptable. Very often, unmount is reported as _successful_ during the

Re: [Openstack] Welcome RHEL/CentOS/Fedora to docland!

2012-06-12 Thread Pádraig Brady
On 06/12/2012 10:59 AM, Rajesh Avula wrote: Hi Anne, I am unable to open the link, http://docs.openstack.org/essex/openstack-compute/install/apt/content/ RHEL/CentOS/Fedora http://docs.openstack.org/essex/openstack-compute/install/apt/content/%0ARHEL/CentOS/Fedora Your mail client is

Re: [Openstack] File injection support

2012-06-12 Thread Pádraig Brady
On 06/11/2012 10:16 PM, Scott Moser wrote: Without digging around on older versions of OS's and their included kernel/udev/kpartx i'd have to say that from your message above, and my testing that running 'kpartx' is no longer necessary. That can reasonably be expected to be created by the

Re: [Openstack] File injection support

2012-06-12 Thread Pádraig Brady
On 06/12/2012 04:07 PM, Fredric Morenius wrote: From: Scott Moser [mailto:ssmos...@gmail.com] On Behalf Of Scott Moser Sent: den 11 juni 2012 23:16 ...Without digging around on older versions of OS's and their included kernel/udev/kpartx i'd have to say that from your message above, and

Re: [Openstack] File injection support

2012-06-08 Thread Pádraig Brady
On 06/08/2012 09:20 AM, Fredric Morenius wrote: Hello All, An update on the use of the qemu-nbd/kpartx based solution to inject files into VM images: After some more testing it has turned out that injection into the UEC version of CirrOS (this:

Re: [Openstack] File injection support

2012-06-08 Thread Pádraig Brady
On 06/08/2012 04:35 PM, Scott Moser wrote: On Fri, 8 Jun 2012, Pádraig Brady wrote: On 06/08/2012 09:20 AM, Fredric Morenius wrote: Hello All, An update on the use of the qemu-nbd/kpartx based solution to inject files into VM images: After some more testing it has turned out

Re: [Openstack] Is openstack-glance package broken?

2012-06-05 Thread Pádraig Brady
On 06/05/2012 08:56 AM, Patrick Petit wrote: Hi there, Trying to install OpenStack on Fedora 16 following instructions at http://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17 Very early in the installation process here is what I get. This is new to me as previous

Re: [Openstack] Is openstack-glance package broken?

2012-06-05 Thread Pádraig Brady
On 06/05/2012 09:37 AM, Pádraig Brady wrote: On 06/05/2012 08:56 AM, Patrick Petit wrote: Hi there, Trying to install OpenStack on Fedora 16 following instructions at http://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17 Very early in the installation process here

Re: [Openstack] Single Server Test

2012-06-03 Thread Pádraig Brady
On 06/04/2012 01:00 AM, Chandana De Silva wrote: Hello All, I have not worked with OpenStack before this, and want to set up a minimal test instance of Open Stack on a single server. Is this possible, and if so is there a document which goes through the steps ? If there is not, could

Re: [Openstack] metadata and file injection

2012-06-01 Thread Pádraig Brady
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

Re: [Openstack] File injection support

2012-05-30 Thread Pádraig Brady
On 05/30/2012 03:47 PM, Fredric Morenius wrote: Hello Pádraig, I am also trying to get file injection to work in Essex, but have run into some issues, as stated here: https://answers.launchpad.net/nova/+question/198878 Igor Laskovy also had that device-mapper: resume ioctl failed: issue

Re: [Openstack] File injection support

2012-05-29 Thread Pádraig Brady
On 05/29/2012 07:35 PM, Nicolae Paladi wrote: Hello, I am looking for more information about file injection support in OpenStack and find it increasingly inconsistent and incomplete. I have several questions: * This wiki article (http://wiki.openstack.org/HypervisorSupportMatrix)

Re: [Openstack] [Nova] Getting error when injecting data into an image

2012-05-25 Thread Pádraig Brady
On 05/25/2012 09:35 AM, Anton Haldin wrote: Thank you very much Pádraig It's cool to have openstack with well configured selinux Did you mean this page http://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17 ? Right, and the EPEL variant

Re: [Openstack] [Nova] Getting error when injecting data into an image

2012-05-24 Thread Pádraig Brady
On 05/24/2012 11:38 AM, Patrick Petit wrote: Hi, I am getting the following error when running $ nova boot myserver --flavor 2 --key_name mykey --image 661bbe35-ebe5-4614-bdb2-3259ea507934 +-+--+ |

Re: [Openstack] [Nova] Getting error when injecting data into an image

2012-05-24 Thread Pádraig Brady
On 05/24/2012 01:26 PM, Patrick Petit wrote: Hi Pádraig, Thank you for your reply. I applied the suggested libvirt_inject_partition = -1 It does change things because it's not complaining about mount error any more but generates further errors down the path in libvirt.py 2012-05-24

Re: [Openstack] [Nova] Getting error when injecting data into an image

2012-05-24 Thread Pádraig Brady
On 05/24/2012 02:49 PM, Patrick Petit wrote: 2012/5/24 Pádraig Brady p...@draigbrady.com mailto:p...@draigbrady.com On 05/24/2012 01:26 PM, Patrick Petit wrote: Hi Pádraig, Thank you for your reply. I applied the suggested libvirt_inject_partition = -1

Re: [Openstack] centos 6 images

2012-05-22 Thread Pádraig Brady
On 05/22/2012 04:07 AM, Jason Ford wrote: I am trying to put together an image for centos 6 that works like cloud-init on ubuntu does. Currently I have ssh keys getting imported but having some problems getting the disk to dynamically resize to the flavor template as well as the hostname

Re: [Openstack] centos 6 images

2012-05-22 Thread Pádraig Brady
On 05/22/2012 03:39 PM, Andy Grimm wrote: On Tue, May 22, 2012 at 9:38 AM, Pádraig Brady p...@draigbrady.com wrote: On 05/22/2012 04:07 AM, Jason Ford wrote: I am trying to put together an image for centos 6 that works like cloud-init on ubuntu does. Currently I have ssh keys getting imported

Re: [Openstack] centos 6 images

2012-05-22 Thread Pádraig Brady
On 05/22/2012 05:51 PM, Scott Moser wrote: On Tue, 22 May 2012, Pádraig Brady wrote: On 05/22/2012 03:39 PM, Andy Grimm wrote: On Tue, May 22, 2012 at 9:38 AM, Pádraig Brady p...@draigbrady.com wrote: On 05/22/2012 04:07 AM, Jason Ford wrote: I am trying to put together an image for centos

Re: [Openstack] upload file from a specific directory

2012-05-22 Thread Pádraig Brady
On 05/22/2012 11:43 AM, khabou imen wrote: Hi everybody, when runnig this command swift -v -V 2.0 -A http://192.168.1.5:5000/v2.0/ -U service:swift -K swiftpass upload Containera doc1.pdf the file doc1.pdf is well uploaded only if it's placed in the home directory How can I upload a

Re: [Openstack] Launching vpn image issue

2012-05-05 Thread Pádraig Brady
On 05/05/2012 02:45 AM, Anton Haldin wrote: hi I found guestmount in libguestfs-tools-c package. and I had such issue with guestmount in centos. in ubuntu I thought by default nova-compute would use nbd . if you did not change img_handlers flag. By default loop,nbd,libguestfs

Re: [Openstack] Flagfiles vs. .ini files

2012-05-02 Thread Pádraig Brady
On 05/02/2012 08:32 AM, Ghe Rivero wrote: Essex was released with support for both types of configuration files, flagfiles (using the --) and the .ini file style, being the nova.conf.sample file included in nova upstream code using the .ini format. From a deployer point of view, this can

Re: [Openstack] File injection and disk resize not working

2012-04-25 Thread Pádraig Brady
On 04/25/2012 01:13 PM, Alvaro Lopez wrote: Dear. I've run into troubles with the resize of partitions and file injection; using libvirt and raw images. According to https://bugs.launchpad.net/nova/+bug/929005 file injection into images only works in the following situations: 1.- whole

Re: [Openstack] compute create instance failure

2012-04-17 Thread Pádraig Brady
On 04/11/2012 10:17 PM, Craig Vyvial wrote: I've run into a few issues while i have been testing creating and deleting instances on my vm after setting everything up with devstack. I create a new instance and it goes into an error state. the log says it failed to map partitions but this is

Re: [Openstack] compute create instance failure

2012-04-17 Thread Pádraig Brady
On 04/17/2012 03:54 PM, Nathanael Burton wrote: I've run into a similar problem when using whole disk (no separate kernel / ramdisk) images with LVM. In my case /dev/sda1 was the /boot file system. What I did is modify the code to let guestmount do its thing by always using the -i option

Re: [Openstack] Openstack in centos 6.2 install document

2012-04-16 Thread Pádraig Brady
On 04/16/2012 05:03 PM, darkfower wrote: hi,every one: The attachment is I wrote in the installation of openstack centos 6.2 document That's excellent thanks! Note we're finalizing Essex packages within EPEL too. There is a preview repo available for dev testing, with a README there

Re: [Openstack] Essex on RHEL 6.2 and Cent OS 6.2

2012-04-16 Thread Pádraig Brady
On 04/16/2012 04:19 PM, Salman A Baset wrote: Hello folks, Has anyone tried to install Essex compute, and cloud controller on RHEL 6.2 or Cent OS 6.2? Any experiences? We tried to install Openstack Essex (2012) release on RHEL 6.2. Since there are no packages ready for it, we tried to

Re: [Openstack] running HA cluster of guests within openstack

2012-04-13 Thread Pádraig Brady
On 04/13/2012 10:31 AM, ikke wrote: I likely am not the first one to ask this, but since I didn't find a thread about it I start one. Is there any shared experience available what are the capabilities of OpenStack to run cluster of guests in the cloud? Do you have experience of the

Re: [Openstack] Agreeing a common set of Image Properties

2012-04-07 Thread Pádraig Brady
On 04/07/2012 11:13 PM, Justin Santa Barbara wrote: Is there a (de-facto) standard for image metadata/properties? I'd like to be able to able to launch e.g. the Debian Squeeze image provided by the cloud. This is particularly important for clouds that don't allow image upload, but likely

Re: [Openstack] KVM disk performance

2012-03-26 Thread Pádraig Brady
On 03/26/2012 01:59 PM, Martin van Wilderen - JDN BV wrote: Hi List, I have a question about KVM disk performance. We are using Openstack Nova on three machines. These machines have a SSD drive with a dd write performance of about 130mb/s Within the instance the write performance is

Re: [Openstack] KVM disk performance

2012-03-26 Thread Pádraig Brady
On 03/26/2012 01:59 PM, Martin van Wilderen - JDN BV wrote: Hi List, I have a question about KVM disk performance. We are using Openstack Nova on three machines. These machines have a SSD drive with a dd write performance of about 130mb/s Within the instance the write performance is

Re: [Openstack] [NOVA] Snapshotting may require significant disk space (in /tmp). How to properly solve disk space issues?

2012-03-16 Thread Pádraig Brady
On 03/16/2012 04:11 PM, Jay Pipes wrote: Hi Stackers, So, in diagnosing a few things on TryStack yesterday, I ran into an interesting problem with snapshotting that I'm hoping to get some advice on. == The Problem == QEMU was unhelpfully returning a vague error message of error while

Re: [Openstack] [NOVA] Snapshotting may require significant disk space (in /tmp). How to properly solve disk space issues?

2012-03-16 Thread Pádraig Brady
On 03/16/2012 11:57 PM, Justin Shepherd wrote: On Mar 16, 2012, at 12:26, Pádraig Brady p...@draigbrady.com wrote: On 03/16/2012 04:11 PM, Jay Pipes wrote: Hi Stackers, So, in diagnosing a few things on TryStack yesterday, I ran into an interesting problem with snapshotting that I'm

Re: [Openstack] Can openstack support spice ?

2012-03-14 Thread Pádraig Brady
On 03/11/2012 02:31 AM, wangsuyi640 wrote: Dear all: The release of openstack on my server is D3. I tred to run 'qemu-kvm -hda /root/free.img -m 512 -vga qxl -spice port=5930,disable-ticketing ' without openstack , it worked well. However,I have tried to modify the

Re: [Openstack] Invitation to work on Essex Deployments, Thursday 3/8

2012-03-07 Thread Pádraig Brady
On 03/05/2012 06:27 PM, rob_hirschf...@dell.com wrote: Stackers, The Dell OpenStack team is coordinating a world-wide effort to work on Essex deployments this coming Thursday, 3/8. Coincidentally Fedora is having an OpenStack test day on the same date (tomorrow).

Re: [Openstack] Memory leaks from greenthreads

2012-03-05 Thread Pádraig Brady
On 02/29/2012 09:08 PM, Johannes Erdfelt wrote: On Wed, Feb 29, 2012, Vishvananda Ishaya vishvana...@gmail.com wrote: We have had a memory leak due to an interaction with eventlet for a while that Johannes has just made a fix for. bug: https://bugs.launchpad.net/nova/+bug/903199 fix:

Re: [Openstack] DevStack and Fedora

2012-02-22 Thread Pádraig Brady
On 02/22/2012 05:04 PM, Dean Troyer wrote: I have proposed a DevStack branch that supports Fedora 16 at https://review.openstack.org/4364. Thanks! tgtd is misbehaving on fedora16 for me: volumes don't work That used to work but recently I noticed systemd hangup issues. Does starting it like

Re: [Openstack] Force dhcp release in Centos and Fedora

2012-02-21 Thread Pádraig Brady
On 02/08/2012 12:47 PM, Ilya Kharin wrote: Hello. The component nova-network disassociate fixed IP of VM when it deleted. There are two mechanisms by timeout and force. Disassociate by timeout is a periodical task (period can be set by flag --fixed_ip_disassociate_timeout). The force

Re: [Openstack] RHEL / CentOS - interfaces.template

2012-02-14 Thread Pádraig Brady
On 02/14/2012 06:48 PM, Scott Moser wrote: On Tue, 14 Feb 2012, Leandro Reox wrote: Hi guys, Anyone already implemented networking injection to RHEL systems acting as a guest ? If no any plans to make it to Essex final ? Before we go down the road of trying to write system network

Re: [Openstack] Force dhcp release in Centos and Fedora

2012-02-08 Thread Pádraig Brady
On 02/08/2012 12:47 PM, Ilya Kharin wrote: Hello. The component nova-network disassociate fixed IP of VM when it deleted. There are two mechanisms by timeout and force. Disassociate by timeout is a periodical task (period can be set by flag --fixed_ip_disassociate_timeout). The force

Re: [Openstack] Proposal for new devstack (v2?)

2012-01-24 Thread Pádraig Brady
On 01/24/2012 12:35 AM, Joshua Harlow wrote: So some of the issues after doing a comparison might be the following: For RHEL6 + EPEL a lot of the packages are there (yippe!). Yes there has been lots of work in this area. See here for details:

Re: [Openstack] Proposal for new devstack (v2?)

2012-01-24 Thread Pádraig Brady
On 01/24/2012 06:39 PM, Joshua Harlow wrote: Ok, I was using 6.1. Is there any reason that it isn’t available for 6.1 and 6.2 (technically?) Well it's not been tested on 6.1 currently. One issue with 6.1 is the version of libvirt is too old I think. cheers, Pádraig.

Re: [Openstack] openstack nova-comoute boot instance error (diablo)

2011-12-24 Thread Pádraig Brady
On 12/24/2011 03:47 AM, darkfower wrote: hi,everybody: when i new create a kvm instance , error as flollow: 2011-12-24 11:45:17,937 INFO nova.virt.libvirt_conn [-] Instance instance-0001 spawned successfully. 2011-12-24 11:45:18,126 ERROR nova.exception [-] DB exception

Re: [Openstack] Hardware HA

2011-11-10 Thread Pádraig Brady
On 11/10/2011 02:38 PM, Viacheslav Biriukov wrote: Hi all. What are the best practices for HA of the hardware compute-node, and virtual machines. After googling I found matahari, pacemaker-cloud, but nothing about build-in fiches openstack. 1) How do you create such environments?