Re: [Openstack] error while creating instance on nfs share

2013-07-09 Thread Michael Still
On Tue, Jul 9, 2013 at 3:27 AM, Chathura M. Sarathchandra Magurawalage 77.chath...@gmail.com wrote: Hello al, I followed the Openstack instructions for enabling vm migration ( http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-live-migrations.html ) But I can not

Re: [Openstack] Download a specific image from Glance to local hard drive

2013-06-20 Thread Michael Still
On Thu, Jun 20, 2013 at 7:33 PM, Narayanan, Krishnaprasad naray...@uni-mainz.de wrote: Hallo All, I am using OpenStack ESSEX and want to download an image from glance to my local hard drive. Can I get to know any commands in glance (in ESSEX) using which I can perform this operation? Take a

Re: [Openstack] Download a specific image from Glance to local hard drive

2013-06-20 Thread Michael Still
: mikalst...@gmail.com [mailto:mikalst...@gmail.com] On Behalf Of Michael Still Sent: Donnerstag, 20. Juni 2013 11:46 To: Narayanan, Krishnaprasad Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] Download a specific image from Glance to local hard drive On Thu, Jun 20, 2013 at 7:33

Re: [Openstack] To run Openstack, stack.sh is required to execute after every reboot ?

2013-06-17 Thread Michael Still
devstack is only intended for developers to test changes. If your building a persistent cloud, then you should be using one of the various sets of operating system packages. Cheers, Michael On Tue, Jun 18, 2013 at 5:15 AM, Vivek Satpute vivekonlin...@gmail.com wrote: Hi, I recently setup a

Re: [Openstack] Benefits for moving live migration/resize/code migration/provision to conductor

2013-06-01 Thread Michael Still
IIRC the discussion from the summit, there was concern about compute nodes talking directly to each other. The way live migration works in libvirt is that the libvirt on one node opens up a connection to the other and then streams the instance across. If this is bounced off a conductor, then it

Re: [Openstack] [OVS] Loopingcall and high load on nova comp

2013-05-17 Thread Michael Still
Hi! This means that this loopingcall will be running in a hard loop (no delay between runs) because it is taking longer than the interval it has requested to be called at. Either we need to change the interval (if that's ok, no idea with Quantum), or we need to make the work being done in a loop

[Openstack] [OSSA 2013-012] Nova fails to verify image virtual size (CVE-2013-2096)

2013-05-16 Thread Michael Still
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2013-2096 Thanks, Michael Still OpenStack Vulnerability Management Team -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGUoRQACgkQlhS32Mrx3702BgCeKZUDDA

Re: [Openstack] nova-compute : nbd module not loaded

2013-05-03 Thread Michael Still
You get this error if there are no nbd devices. Specifically /sys/block/nbd0 doesn't exist. I'd start by seeing if the kernel module is loaded. Cheers, Michael On Fri, May 3, 2013 at 10:57 AM, Mohammed Amine SAYA asaya.openst...@gmail.com wrote: Hi All, I have had time to investigate why

Re: [Openstack] Vm provision code flow in openstack

2013-04-29 Thread Michael Still
So, there are a few things which happen here. VM provisioning is handled by the compute driver (checkout run_instance in nova/compute/manager.py). Scheduling however is handled by the scheduler, which has a plugin system (checkout nova/scheduler/*). Also, you'd be better off browing git for the

Re: [Openstack] Grizzly release notes and the never-ending image-cache-manager issue

2013-04-04 Thread Michael Still
On Fri, Apr 5, 2013 at 7:20 AM, Lorin Hochstein lo...@nimbisservices.com wrote: Michael (et al): The Grizzly release notes https://wiki.openstack.org/wiki/ReleaseNotes/Grizzly say: The image-cache-manager has been turned on by default. This may have potential issues for users who are using

Re: [Openstack] [Nova] Creating instances with custom UUIDs

2013-04-03 Thread Michael Still
On Thu, Apr 4, 2013 at 9:16 AM, Rafael Rosa rafaelros...@gmail.com wrote: Hi, In our OpenStack installation we have an issue when creating new instances, we need to execute some long running processes before calling nova boot and the call blocks for the end user for a while. We would like to

[Openstack] DNS options for nova

2013-03-21 Thread Michael Still
Hi. I've been playing with the DNS drivers in nova recently, and I'm trying to decide if anyone actually uses it. The only driver in the codebase that looks useful a the moment is the LDAP backed DNS driver that Wikimedia wrote. There's also stackforge project called Moniker which implements DNS

[Openstack] TC candidacy

2013-03-15 Thread Michael Still
Hi. I'd like to run for the TC Spring 2013 election. I am a senior software engineer at Rackspace in their OpenStack group, and have worked in a variety of cloud devops roles for the last seven years. I think my operations experience gives me an interesting perspective into where OpenStack should

Re: [Openstack] TC candidacy

2013-03-15 Thread Michael Still
On Fri, Mar 15, 2013 at 11:27 AM, Michael Still mi...@stillhq.com wrote: Hi. I'd like to run for the TC Spring 2013 election. I am a senior software engineer at Rackspace in their OpenStack group, and have worked in a variety of cloud devops roles for the last seven years. I think my

[Openstack] [Packagers] Adding psutils as a dependency for nova

2012-12-12 Thread Michael Still
Hi. https://review.openstack.org/#/c/17980/ adds psutils (packaged on Ubuntu as python-psutils) as a dependency for nova. This (or something very much like it) is required to traverse the process tree in the is_parent_process() method in nova.utils. I need that functionality to eliminate a race

Re: [Openstack] [Packagers] Adding psutils as a dependency for nova

2012-12-12 Thread Michael Still
Stand down. Padraig has suggested a better way. Michael On Thu, Dec 13, 2012 at 10:02 AM, Michael Still mi...@stillhq.com wrote: Hi. https://review.openstack.org/#/c/17980/ adds psutils (packaged on Ubuntu as python-psutils) as a dependency for nova. This (or something very much like

Re: [Openstack] Upcoming wiki migration to Mediawiki

2012-12-07 Thread Michael Still
On 12/08/2012 07:15 AM, Anne Gentle wrote: Hi all - tl;dr: Migration of wiki.openstack.org http://wiki.openstack.org from MoinMoin to Mediawiki commences 12/17. Service will continue with Mediawiki as the wiki engine after 12/21. While the MoinMoin engine served its purpose to get

Re: [Openstack] Understanding flavors of VM

2012-12-05 Thread Michael Still
On 12/05/2012 06:59 PM, Marco CONSONNI wrote: To be honest it seems like I missed something because, from your investigation, the storage is kept under _base. Strange. I didn't know that. Hi! The following description is libvirt specific. Bearing in mind that this code is a moving target and

[Openstack] Wikipedia page

2012-11-17 Thread Michael Still
Hi. I just noticed that the wikipedia page for OpenStack seems pretty badly out of date: http://en.wikipedia.org/wiki/Openstack I wonder if someone feels called to improve it? Mikal ___ Mailing list: https://launchpad.net/~openstack Post to :

Re: [Openstack] [Openstack-operators] Base images removed in upgrade essex - folsom and other stories

2012-11-13 Thread Michael Still
On 11/14/2012 04:03 PM, Sam Morrison wrote: After the upgrade which went relatively smoothly (a lot easier than diablo - essex) almost all our base images were deleted by the image cache clean up. I can't explain how this happened. We lost a total of about 70 images that affected ~200

Re: [Openstack] Is there any documents explain nova source code in detail?

2012-11-01 Thread Michael Still
On 11/01/2012 08:07 AM, xiaohua liu wrote: Want to read nova code but don't know how should I begin. Sorry for disturb. The nova code is a pretty fast moving target. Any documentation which tried to provide a code overview is probably wrong by now. I'd start by deciding what part of nova you

Re: [Openstack] Tracking triage statistics

2012-10-26 Thread Michael Still
On 10/27/2012 12:08 AM, Dolph Mathews wrote: How many cookies for a self-triaged bug that was subsequently closed as invalid? This rulebook is going to get really complicated really fast ;) Would love to see a report for more projects on a longer timeline! Well, the tool was aimed at nova's

[Openstack] Tracking triage statistics

2012-10-25 Thread Michael Still
(1070509) Michael Still: 6 (1062474, 1070349, 1064854, 1065728, 1065430, 1070452) Mauro Sergio Martins Rodrigues: 16 (1070155, 1070156, 1070157, 1070158, 1070160, 1070161, 1070162, 1070163, 1070164, 1070165, 1070167, 1070169, 1070170, 1070171, 1070172, 1070173) Matthew Treinish: 1 (1071338

Re: [Openstack] Tracking triage statistics

2012-10-25 Thread Michael Still
On 10/26/2012 12:24 PM, Russell Bryant wrote: On 10/25/2012 08:18 PM, Michael Still wrote: I'd be interested in comments people might have. The code is at http://bazaar.launchpad.net/~mikalstill/+junk/openstack-lp-scripts/view/head:/triage-stats.py Awesome, thanks! One thing I think we

Re: [Openstack] Tracking triage statistics

2012-10-25 Thread Michael Still
On 10/26/2012 12:41 PM, Russell Bryant wrote: On 10/25/2012 09:30 PM, Michael Still wrote: I thought about this... Surely any triage is better than none? If we don't reward self triage, then someone else will still have to triage the bug, right? I'd be interested in other people's thoughts

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

2012-10-17 Thread Michael Still
On 10/17/2012 09:41 AM, Pádraig Brady wrote: 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? The list

Re: [Openstack] OpenStack Performance

2012-10-14 Thread Michael Still
On 10/14/2012 03:06 PM, Sriram Subramanian wrote: Frans: Does the report you are talking about has any info on OpenStack performance? Is it sharable? One of the sessions during the summit next week aims at brainstorming ways to do performance and scalability testing for OpenStack.

Re: [Openstack] [openstack-dev] Nova PTL candidacy

2012-09-05 Thread Michael Still
On 09/05/2012 06:03 AM, Matt Joyce wrote: Vish is also a pretty cool guy and doesn't afraid of anything. Vish does a great job -- many hours a day of code review and mentoring, puts up with criticism much more calmly than I think many would, and is a pleasure to work with. Mikal

Re: [Openstack] A plea from an OpenStack user

2012-08-28 Thread Michael Still
On 08/29/2012 07:26 AM, Ryan Lane wrote: My plea is for the developers to think about how their changes are going to affect production deployments when upgrade time comes. I for one would like to see the ops bug tag used more to try and track these issues. If an upgrade makes something harder

Re: [Openstack] [Nova] How common is user_data for instances?

2012-08-13 Thread Michael Still
On 14/08/12 01:24, Jay Pipes wrote: Or just set the column to the LONGTEXT type and both MySQL and PostgreSQL will be just as happy. This is what I was originally aiming at -- will large deployers be angry if I change this column to longtext? Will the migration be a significant problem for

Re: [Openstack] [Nova] How common is user_data for instances?

2012-08-13 Thread Michael Still
On 14/08/12 08:54, Jay Pipes wrote: I was *going* to create a random-data table with the same average row size as the instances table in Nova to see how long the migration would take, and then I realized something... The user_data column is already of column type MEDIUMTEXT, not TEXT:

[Openstack] [Nova] How common is user_data for instances?

2012-08-11 Thread Michael Still
Greetings. I'm seeking information about how common user_data is for instances in nova. Specifically for large deployments (rackspace and HP, here's looking at you). What sort of costs would be associated with changing the data type of the user_data column in the nova database? Bug 1035055 [1]

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

2012-08-08 Thread Michael Still
On 08/08/12 14:33, Eric Windisch wrote: The solution here may be to use libguestfs, which seems to be a modern alternative to mtools, but to use it as a non-privileged user and to forego any illusions of mounting the filesystem anywhere via the kernel or FUSE. Looking at the docs for the

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

2012-08-07 Thread Michael Still
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 and requesting a server based on it, an

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

2012-08-07 Thread Michael Still
On 08/08/12 10:58, Eric Windisch wrote: This might be kind-of okay if it uses libguestfs, but I'd need to look more closely at libguestfs before considering it safe. If it is only updating vfat, another option is mtools which is entirely userspace and can be run with some safety on the host.

Re: [Openstack] compute_nodes DB table

2012-08-06 Thread Michael Still
On 06/08/12 16:47, Trinath Somanchi wrote: Hi- Can any one guide me on understanding the process that updates the compute_nodes table in nova database. nova-compute on each compute node sends a regular message to the nova-scheduler on the scheduler node with an update of its status. These

[Openstack] Example horizon customization module?

2012-08-01 Thread Michael Still
Hi. I've been poking around trying to find an example of a horizon customization module. I haven't had a lot of luck. Does anyone have one they can point me to? Thanks heaps, Mikal ___ Mailing list: https://launchpad.net/~openstack Post to :

Re: [Openstack] [glance] legacy client removal and python-glanceclient

2012-08-01 Thread Michael Still
On 01/08/12 15:09, Brian Waldon wrote: I do agree that this current upgrade story could be better, but how much better do you expect it to be and in what specific ways? If the command-line interface were backwards-compatibile, would that solve all your problems? I'm fine doing that for the

Re: [Openstack] Example horizon customization module?

2012-08-01 Thread Michael Still
On 01/08/12 17:43, Atul Jha wrote: Mikal, If you meant customizing the UI http://docs.openstack.org/developer/horizon/topics/customizing.html The link will help. Yep, that's how I ended up deciding I wanted a customization module. From that page: If you wish to alter dashboards or panels

Re: [Openstack] Example horizon customization module?

2012-08-01 Thread Michael Still
On 01/08/12 19:11, Erwan Gallen wrote: Hi, here you have a customization example of Gabriel : https://github.com/gabrielhurley/horizon_demo and docs of this demo : http://gabrielhurley.github.com/slides/openstack/building_on_horizon/index.html Thanks for this. I can't see an

Re: [Openstack] Qcow2 Details on base images

2012-07-28 Thread Michael Still
On 28/07/12 05:42, Gaurab Basu wrote: Hi, I am trying to figure out the technology that openstack uses when multiple VM's having the*same *base image (OS) are provisioned on a physical server. Does it use as many copy as the number of VM's or does it use the same base image and then copy

Re: [Openstack] Individual Nominations for Foundation Board of Directors

2012-07-25 Thread Michael Still
On 26/07/12 09:44, Jonathan Bryce wrote: Elections for the Individual Directors will take place August 20-24. To vote in the initial Board election, you must join as an Individual Member by August 15. To appear on the ballot, an Individual Member must receive nominations from 10 other

Re: [Openstack] Improving logging

2012-07-23 Thread Michael Still
On 23/07/12 19:54, Thierry Carrez wrote: Michael Still wrote: On 21/07/12 00:08, Jay Pipes wrote: Not that I've seen, but I think it would be good to standardize on one. How about just ops? Works for me. Added to http://wiki.openstack.org/BugTags and as official tag for all core

Re: [Openstack] Improving logging

2012-07-21 Thread Michael Still
On 21/07/12 00:08, Jay Pipes wrote: Not that I've seen, but I think it would be good to standardize on one. How about just ops? Works for me. Mikal ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net

Re: [Openstack] Improving logging

2012-07-19 Thread Michael Still
On 19/07/12 23:16, Gabe Westmaas wrote: There is definitely support for logging only patches that help us find problems easier. I just added openstack operators, because I think it would be good to get as much input as possible over what problems are difficult to track down. Some thoughts

Re: [Openstack] [nova] Proposal to add Padraig Brady to nova-core

2012-07-18 Thread Michael Still
On 19/07/12 09:09, Vishvananda Ishaya wrote: Hello Everyone! Padraig has been contributing a lot of code to all parts of nova, and has been contributing a lot to reviews[1]. I think he would make a great addition to nova-core. +1 Padraig has been a pleasure to work with for the entire time

Re: [Openstack] Improving logging

2012-07-18 Thread Michael Still
On 19/07/12 09:32, Eugene Kirpichov wrote: Hi, I noticed that there are quite a few cases when I found my OpenStack installation is broken and logging was not verbose enough for me to understand what exactly was broken, so I had to add more logging statements to the code and relaunch. Most

Re: [Openstack] Hashing image files

2012-07-06 Thread Michael Still
On 03/07/12 02:33, Alexey Ababilov wrote: Hi, Michael! I am curious to know: is it necessary for nova to save images in file which names are sha1 hashes from image IDs (UUIDs)? Nova saves root image under its sha1 hash:

[Openstack] Problems with sqlalchemy migrate and foreign key constraints

2012-06-21 Thread Michael Still
Hi. I've spent ages on this and can't get myself unstuck. I have a DB schema update like this: def upgrade(migrate_engine): meta = MetaData() meta.bind = migrate_engine instances = Table('instances', meta, autoload=True) instance_info_caches = Table('instance_info_caches', meta,

[Openstack] Examples of authentication using the glance REST API?

2012-06-10 Thread Michael Still
Hi. I am trying to find an example of how to do authentication using the glance REST API. I assume there are some HTTP headers that I need to set, but a pointer to some existing code which does this would be appreciated. This is part of porting the glance replicator to use the REST API instead

[Openstack] nova.projects table problems

2012-05-31 Thread Michael Still
Has anyone else experienced something like this? Its happened to me twice now (on the same machine) and I have no idea what is causing it: mysql show tables like 'projects'; +---+ | Tables_in_nova (projects) | +---+ | projects |

Re: [Openstack] nova.projects table problems

2012-05-31 Thread Michael Still
On 01/06/12 09:54, Michael Still wrote: Has anyone else experienced something like this? Its happened to me twice now (on the same machine) and I have no idea what is causing it: mysql show tables like 'projects'; +---+ | Tables_in_nova (projects

Re: [Openstack] [Glance] Replication implementations

2012-05-08 Thread Michael Still
On 04/05/12 20:31, Eoghan Glynn wrote: Sorry for the slow reply, I've been trapped in meetings. [snip] So the way things currently stand, the EC2 image ID isn't really capable of migration. I was thinking however that we should change the EC2 image generation logic, so that there is a

Re: [Openstack] [Glance] Replication implementations

2012-05-04 Thread Michael Still
On 04/05/12 04:07, Brian Waldon wrote: I think the path forward is first to gather information on what people are already doing w.r.t. replication, which you have helped trigger with this email. I'm definitely interested in seeing your solution. Once we get this information out in the open, we

[Openstack] [Glance] Replication implementations

2012-05-02 Thread Michael Still
Hi. I'd be interested in hearing from people who have implemented some form of replication with glance. I'm especially interested in how you went about it. I attended the session at the dev summit, but that was forward looking, and I am pretty sure that there wasn't any mention of current

Re: [Openstack] Pending reviews

2012-04-26 Thread Michael Still
On 26/04/12 02:28, Mandar Vaze / मंदार वझे wrote: It would be great if someone can spare some time to have a look at these : https://review.openstack.org/#/c/6451/ : I've addressed comments from first review cycle - Second patch set needs to be reviewed and approved

[Openstack] Spelling error on www.openstack.org

2012-04-08 Thread Michael Still
I'm not sure who to report this to, but I just noticed that the yellow graphic at the top left of www.openstack.org proudly announces that essex was relased recently. I hope it develops laser based super powers. That would be cool. Mikal ___ Mailing

Re: [Openstack] Spelling error on www.openstack.org

2012-04-08 Thread Michael Still
On 09/04/12 11:07, Mark Collier wrote: Todd morey (t...@openstack.org) is your friendly neighborhood webmaster and laser operator. Todd, can I please have a laser too? Michael Still michael.st...@canonical.com wrote: I'm not sure who to report this to, but I just noticed that the yellow

Re: [Openstack] Spelling error on www.openstack.org

2012-04-08 Thread Michael Still
On 09/04/12 14:18, Todd Morey wrote: Mikal, are you running Essex? It already has them. (See release notes under World Domination Enhancements.) Careful now. The release notes are a wiki, and you might end up with a World Domination section... Mikal

[Openstack-poc] [Bug 930270] Re: flagfile interpolation breaks instance_name_template

2012-02-14 Thread Michael Still
** Summary changed: - flagfile interpolation breaks instance_name_tempalte + flagfile interpolation breaks instance_name_template -- You received this bug notification because you are a member of OpenStack Common Drivers, which is the registrant for openstack-common.

Re: [Openstack] Google Summer of Code-2012

2012-02-09 Thread Michael Still
On 10/02/12 02:59, Armaan wrote: Hi folks, Google has announced Google Summer of Code -2012, /Google Summer of Code/ is a global program that offers student developers stipends to write code for various open source software projects. More info is available here http://code.google.com/soc/.

[Openstack] Image cache management - FFE

2012-02-01 Thread Michael Still
Hi. https://blueprints.launchpad.net/nova/+spec/nova-image-cache-management This change has been in code review for a while (https://review.openstack.org/#change,2902). It didn't make it in before the feature freeze because I got called away and didn't have a chance to address the last few

Re: [Openstack] [Nova] Essex dead wood cutting

2012-01-30 Thread Michael Still
On 28/01/12 02:23, Thierry Carrez wrote: Just as Nova enters feature freeze, it sounds like a good moment to consider removing deprecated, known-buggy-and-unmaintained or useless feature code from the Essex tree. Here are my suggestions for removal: - Hyper-V support (known broken and