[Openstack] scheduler compute node capabilites status update problem
Hi guys, I have a problem with the nova scheduler and the capabilities update period. For Example: If I have a flavor with the extra_specs key / value pair: vcpus_used = '= 2' So, virtual machines should be submitted if the host not more than two vcpus used. However I'm able to start more than two machines, if I do it fast enough. So I have the situation, that for example 5 vms are already running, and I'm still able to submit new machines on that host. If I wait (let's say a minute), the capability vcpus_used will be upgraded, and at that point the filter works. So my question. Is there a possibility to update the host capabilities with every VM submit? PS: I used folsom. Cheers Viktor Mauch smime.p7s Description: S/MIME cryptographic signature ___ 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] n-api installation problem with devstack (on centos)
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, just remove python-paste with: yum remove python-paste python-paste-deploy python-paste-script and install the new one via pip: pip install --upgrade paste PasteDeploy PasteScript in the last step you have to remove the package names (paste, paste-deploy, paste-script) in devstack (./files/rpms/*) , because stack.sh will install this package with the next run. = -Original Message- From: openstack-bounces+mauch=kit@lists.launchpad.net [mailto:openstack-bounces+mauch=kit@lists.launchpad.net] On Behalf Of Mauch, Viktor (SCC) Sent: Monday, September 24, 2012 3:39 PM To: openstack Subject: [Openstack] n-api installation problem with devstack (on centos) Hi, I have a problem with the installation of n-api (via devstack) on CentOS 6.3. I get the following error message during installation: 2012-09-24 15:11:55 DEBUG nova.wsgi [-] Loading app ec2 from /etc/nova/api-paste.ini from (pid=12486) load_app /opt/stack/nova/nova/wsgi.py:371 2012-09-24 15:11:55 ERROR nova.wsgi [-] URI scheme not known: 'call' (from egg, config) 2012-09-24 15:11:55 CRITICAL nova [-] Could not load paste app 'ec2' from /etc/nova/api-paste.ini 2012-09-24 15:11:55 TRACE nova Traceback (most recent call last): 2012-09-24 15:11:55 TRACE nova File /opt/stack/nova/bin/nova-api, line 50, in module 2012-09-24 15:11:55 TRACE nova server = service.WSGIService(api) 2012-09-24 15:11:55 TRACE nova File /opt/stack/nova/nova/service.py, line 577, in __init__ 2012-09-24 15:11:55 TRACE nova self.app = self.loader.load_app(name) 2012-09-24 15:11:55 TRACE nova File /opt/stack/nova/nova/wsgi.py, line 375, in load_app 2012-09-24 15:11:55 TRACE nova raise exception.PasteAppNotFound(name=name, path=self.config_path) 2012-09-24 15:11:55 TRACE nova PasteAppNotFound: Could not load paste app 'ec2' from /etc/nova/api-paste.ini 2012-09-24 15:11:55 TRACE nova Can someone help?? Cheers Viktor smime.p7s Description: S/MIME cryptographic signature ___ 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] console.log is empty, what to do?
Hi Guys, I have a question concerning the instance console log. Do I have to prepare an image in any way to see content in the file console.log (or in horizon: instance console log)?? I have a standard centos6.2 image and I always have an empty file (console.log) Thanks in advance Viktor smime.p7s Description: S/MIME cryptographic signature ___ 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] how to use extra_specs??
Or being more specific, How can a add key/value pairs to a compute node??? So I can check the extra_specs data with the key/value paris of the compute node? Cheers Viktor From: openstack-bounces+mauch=kit@lists.launchpad.net [mailto:openstack-bounces+mauch=kit@lists.launchpad.net] On Behalf Of Mauch, Viktor (SCC) Sent: Tuesday, November 06, 2012 11:37 AM To: openstack@lists.launchpad.net Subject: Re: [Openstack] how to use extra_specs?? Just one more noob question. Is it normal that If I set a set key/value pair let's say {my_special_key:my_special_value} to an existing flavor, that the scheduler failed to find a host for an instance of this flavor. (I use devstack with folsom stable code) Cheers Viktor From: Vinay Bannai [mailto:vban...@gmail.com] Sent: Tuesday, November 06, 2012 5:09 AM To: Mauch, Viktor (SCC) Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] how to use extra_specs?? The simplest way would be to create key/value pairs for flavor types (instance types). This information would be associated in a separate table in nova db (instance_type_extra_specs) and would go along with the instance type. Once it is in the database, you can use this information to customize all kinds of things like the nova scheduler, additional data that can be passed to the instance at the time of the creation. This is the high level overview. If you search the mailing list archives you will find some additional discussion about this topic. Vinay On Mon, Nov 5, 2012 at 5:57 PM, Mauch, Viktor (SCC) ma...@kit.edu wrote: Hi guys, can anyone tell me (with an example) how to use the extra_specs variable for an instance_type?? Best Regards Viktor ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Vinay Bannai Email: vban...@gmail.com Google Voice: 415 938 7576 smime.p7s Description: S/MIME cryptographic signature ___ 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] how to use extra_specs??
Yes sure, But in this example you use an existing key free_ram_rmb?! Ist that right? What I want to do is to create my own key value paris for compute nodes (who can I do that) and for the extra_specs variable of the flavors Best Regards Viktor From: Razique Mahroua [mailto:razique.mahr...@gmail.com] Sent: Tuesday, November 06, 2012 11:49 AM To: Mauch, Viktor (SCC) Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] how to use extra_specs?? You can also use the cli, does the job too nova boot --flavor 1 --image 1f3fbdde-4c8a-4b3b-9cf1-a3b9fd0f1d9e --key_name key1 --hint query='[=, free_ram_mb, 1024]' vm1 Nuage Co - Razique Mahroua razique.mahr...@gmail.com Le 6 nov. 2012 à 11:46, Mauch, Viktor (SCC) ma...@kit.edu a écrit : Or being more specific, How can a add key/value pairs to a compute node??? So I can check the extra_specs data with the key/value paris of the compute node? Cheers Viktor From: openstack-bounces+mauch=kit@lists.launchpad.net [mailto:openstack-bounces+mauch=kit@lists.launchpad.net] On Behalf Of Mauch, Viktor (SCC) Sent: Tuesday, November 06, 2012 11:37 AM To: openstack@lists.launchpad.net Subject: Re: [Openstack] how to use extra_specs?? Just one more noob question. Is it normal that If I set a set key/value pair lets say {my_special_key:my_special_value} to an existing flavor, that the scheduler failed to find a host for an instance of this flavor. (I use devstack with folsom stable code) Cheers Viktor From: Vinay Bannai [ mailto:vban...@gmail.com mailto:vban...@gmail.com] Sent: Tuesday, November 06, 2012 5:09 AM To: Mauch, Viktor (SCC) Cc: mailto:openstack@lists.launchpad.net openstack@lists.launchpad.net Subject: Re: [Openstack] how to use extra_specs?? The simplest way would be to create key/value pairs for flavor types (instance types). This information would be associated in a separate table in nova db (instance_type_extra_specs) and would go along with the instance type. Once it is in the database, you can use this information to customize all kinds of things like the nova scheduler, additional data that can be passed to the instance at the time of the creation. This is the high level overview. If you search the mailing list archives you will find some additional discussion about this topic. Vinay On Mon, Nov 5, 2012 at 5:57 PM, Mauch, Viktor (SCC) mailto:ma...@kit.edu ma...@kit.edu wrote: Hi guys, can anyone tell me (with an example) how to use the extra_specs variable for an instance_type?? Best Regards Viktor ___ Mailing list: https://launchpad.net/~openstack https://launchpad.net/~openstack Post to : mailto:openstack@lists.launchpad.net openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp https://help.launchpad.net/ListHelp -- Vinay Bannai Email: mailto:vban...@gmail.com vban...@gmail.com Google Voice: 415 938 7576 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp image001.jpg smime.p7s Description: S/MIME cryptographic signature ___ 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] how to use extra_specs??
Hi guys, can anyone tell me (with an example) how to use the extra_specs variable for an instance_type?? Best Regards Viktor smime.p7s Description: S/MIME cryptographic signature ___ 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] n-api installation problem with devstack (on centos)
Hi, I have a problem with the installation of n-api (via devstack) on CentOS 6.3. I get the following error message during installation: 2012-09-24 15:11:55 DEBUG nova.wsgi [-] Loading app ec2 from /etc/nova/api-paste.ini from (pid=12486) load_app /opt/stack/nova/nova/wsgi.py:371 2012-09-24 15:11:55 ERROR nova.wsgi [-] URI scheme not known: 'call' (from egg, config) 2012-09-24 15:11:55 CRITICAL nova [-] Could not load paste app 'ec2' from /etc/nova/api-paste.ini 2012-09-24 15:11:55 TRACE nova Traceback (most recent call last): 2012-09-24 15:11:55 TRACE nova File /opt/stack/nova/bin/nova-api, line 50, in module 2012-09-24 15:11:55 TRACE nova server = service.WSGIService(api) 2012-09-24 15:11:55 TRACE nova File /opt/stack/nova/nova/service.py, line 577, in __init__ 2012-09-24 15:11:55 TRACE nova self.app = self.loader.load_app(name) 2012-09-24 15:11:55 TRACE nova File /opt/stack/nova/nova/wsgi.py, line 375, in load_app 2012-09-24 15:11:55 TRACE nova raise exception.PasteAppNotFound(name=name, path=self.config_path) 2012-09-24 15:11:55 TRACE nova PasteAppNotFound: Could not load paste app 'ec2' from /etc/nova/api-paste.ini 2012-09-24 15:11:55 TRACE nova Can someone help?? Cheers Viktor smime.p7s Description: S/MIME cryptographic signature ___ 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] devstack multi-node tutorial fails
Hi, I just want so say, that some days ago the stack.sh script hast been changed concerning the rabbit server installation. The current description for multi node tutorial (http://devstack.org/guides/multinode-lab.html) will fail. At the moment it is necessary to install the rabbit service on the compute hosts TOO (but of course with the IP from the master node)!! e.g.: ENABLED_SERVICES=n-cpu,n-net,g-api,rabbit RABBIT_HOST=$MASTERNODE RABBIT_PASSWORD=pass Otherwise the compute node tries to find a rabbit-mq server on localhost! There are also some other wrong details in the multi-node toturial. It must be: RABBIT_PASSWORD and MYSQL_PASSWORD instead of MYSQL_PASS und RABBIT_PASS Und the parameter MULTI_HOST=1 has to be change to MULTI_HOST=True (and should only be available on the master node, as I understand it right). Cheers Viktor -- Dipl.-Phys. Viktor Mauch Steinbuch Centre for Computing (SCC) http://www.scc.kit.edu/ http://www.scc.kit.edu/ Karlsruhe Institute of Technology (KIT) Hermann-von-Helmholtz-Platz 1 D-76344 Eggenstein-Leopoldshafen Phone: +49(0)721 608-28721 eMail: mailto:ma...@kit.edu ma...@kit.edu KIT - University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association smime.p7s Description: S/MIME cryptographic signature ___ 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] nova-api error on centos (devstack installation)
Hello together, In the last days a played with multi-node installation of devstack: http://devstack.org/guides/multinode-lab.html However I tried to use CentOS 6.2 machines for Computes Nodes and a normal Ubuntu 12.04 for Head Node. On the compute nodes I want to run n-cpu (nova-compute) and n-net (nova-network). However after the stack.sh run there are still missing some API modules if I try to run nova-manage. If I try to install n-cpu, n-net AND n-api, the stack.sh script will crash because of the nova-api service with the following message: CRITICAL nova [-] Could not load paste app 'ec2' from /etc/nova/api-paste.ini TRACE nova Traceback (most recent call last): TRACE nova File /usr/bin/nova-api, line 51, in module TRACE nova servers.append(service.WSGIService(api)) TRACE nova File /usr/lib/python2.6/site-packages/nova/service.py, line 326, in __init__ TRACE nova self.app = self.loader.load_app(name) TRACE nova File /usr/lib/python2.6/site-packages/nova/wsgi.py, line 391, in load_app TRACE nova raise exception.PasteAppNotFound(name=name, path=self.config_path) TRACE nova PasteAppNotFound: Could not load paste app 'ec2' from /etc/nova/api-paste.ini Does anybody have an idea, what is going wrong? Cheers Viktor smime.p7s Description: S/MIME cryptographic signature ___ 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] minimal IaaS openstack installation FROM SOURCE on CentOS
Hi, I need to install a minimal/simple Openstack IaaS Deployment framework on CentOS 6.x from Source. Is there anywhere a nice howto tutorial? And yes: I know there are packeges, but I need it from source. Cheers Viktor smime.p7s Description: S/MIME cryptographic signature ___ 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] minimal IaaS openstack installation FROM SOURCE on CentOS
Of course I found the tarballs with the source code. However all the centos specific docs I found couldn't really help. Most of them are too old, did not work (concerning several dependency errors) or provide only a single-node-installation What I really search is a detailed step-by-step description, how to install a simple/minimal IaaS Openstack cloud on 2 nodes on CentOS 6.x from source. But thanks for your answer! Cheer vic From: P. Stallworth [mailto:pstallwo...@gmail.com] Sent: Thursday, April 12, 2012 6:15 PM To: Mauch, Viktor (SCC) Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] minimal IaaS openstack installation FROM SOURCE on CentOS All the tarballs should be available on Launchpad, there are links from the main OpenStack.org page. Most instructions assume getting packages from yum, apt-get, etc but once you get the source installed there are plenty of CentOS specific config docs around. For Nova and Swift: http://wiki.openstack.org/InstallInstructions. For Keystone there's also this https://github.com/timeredbull/references/wiki/Installing-and-configuring-op enstack-keystone-in-a-CentOS-6.2 which may help. -Paul On Thu, Apr 12, 2012 at 8:31 AM, Mauch, Viktor (SCC) ma...@kit.edu wrote: Hi, I need to install a minimal/simple Openstack IaaS Deployment framework on CentOS 6.x from Source. Is there anywhere a nice howto tutorial? And yes: I know there are packeges, but I need it from source. Cheers Viktor ___ Mailing list: https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack More help : https://help.launchpad.net/ListHelp smime.p7s Description: S/MIME cryptographic signature ___ 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] nova-manage error message CRITICAL nova [-] cannot import name util
Hi, I just install the current source code of nova, glance and python-novaclient on a CentOS 6.2 node. Running command: #nova-manage db sync Gives me the following error message: Command failed, please check log for more info 2012-04-04 16:40:57 CRITICAL nova [-] cannot import name util Any idea what I do wrong? Best Regeards vic smime.p7s Description: S/MIME cryptographic signature ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp