aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova
AgeCommit message (Collapse)Author
2018-04-09python-nova: uprev to latest openstack sable/pike releaseMark Asselstine
This requires several new recipes and package uprevs (python-tooz, python-os-brick, python-pypowervm, python-networkx, python-microversion-parse, python-os-win, python-os-vif, and python-os-traits). Along with updates to make things work with systemd. We also take steps to make setup/init use the directions from https://docs.openstack.org/nova/pike/install/controller-install-ubuntu.html After these changes we can validate that nova is operating nominally using the command: +-------+--------------------------------------+ | Name | UUID | +-------+--------------------------------------+ | cell0 | 00000000-0000-0000-0000-000000000000 | | cell1 | f547fa04-7c82-4498-95ee-210fc40abdb6 | +-------+--------------------------------------+ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-05nova: uprev to LibertyMark Asselstine
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-11-16init: no need to close (non-existing) ps file descriptorsMark Asselstine
Attempting to get the status of various daemons which are part of the compute image results in an error: ps: write error: Bad file descriptor Switch to using the more standard io redirection techniques to avoid this error. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-11-17nova: update configuration settingsBruce Ashfield
The following nova commit: commit 5cacad3508570ce70b1f9ef620e0508169687fda Author: Gary Kotton <gkotton@vmware.com> Date: Tue Jun 3 03:44:40 2014 -0700 Deprecate neutron_* configuration settings Create a new section in the configuration file called 'neutron'. Move all of the neutron_* configuration settings to this section. DocImpact The table below has the changes: +---------------------------------+-------------------------+ | 'DEFAULT' Section | 'neutron' Section | |---------------------------------|-------------------------| | neutron_url | url | | neutron_url_timeout | url_timeout | | neutron_admin_username | admin_username | | neutron_admin_password | admin_password | | neutron_admin_tenant_id | admin_tenant_id | | neutron_admin_tenant_name | admin_tenant_name | | neutron_region_name | region_name | | neutron_admin_auth_url | admin_auth_url | | neutron_api_insecure | api_insecure | | neutron_auth_strategy | auth_strategy | | neutron_region_name | region_name | | neutron_ovs_bridge | ovs_bridge | | neutron_extension_sync_interval | extension_sync_interval | | neutron_ca_certificates_file | ca_certificates_file | +---------------------------------+-----------------------=-+ Means that we need to create a [neturon] section, move and rename our configs appropriately. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-11-05nova: allow empty schemes at python 2.7.3Bruce Ashfield
The upstream project is concerned with a bug in empty schemes with 2.7.3. But since Yocto is 2.7.3 and we get an empty scheme via websockify, no VNC consoles are possible. Rather than upreving python (big change), we aren't being hit by the referenced bug, so we simply make sure that the condition can never be true. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-27neutron: move from OVS unified to OVS ml2 pluginBruce Ashfield
Juno removes support for the unified OVS and linuxbridge plugins. So we switch to the ml2 OVS plugin. This involves configuration and packaging changes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-22keystone: Change packages configuration to use apache keystone.Liam R. Howlett
This commit changes all required configurations to use keystone running on apache. The following packages configurations were modified for keystone running on apache: python-neutron, python-nova, tempest, python-swift, python-rally, python-heat, python-glance, python-cinder, python-ceilmoeter, python-horizon. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
2014-09-16core: update core projects to juno b3 releaseBruce Ashfield
Along with this update, we also fix a bug with nova and neutron port types. this patch will be removed once it is fixed in the upstream project. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-04python-nova: Remove duplicate line from conf file.Liam R. Howlett
Removed duplicate dhcpbridge_flagfile from the nova.conf file. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-03nova: update to juno configuration requirementsBruce Ashfield
To boot a nested guest in juno, we need to relocate the virtualization type config setting into the [libvirt] section. With this, we can sucessfully launch a guest. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25openstack initscript: add resetAmy Fong
Some of the openstack data is associated with external resources (ie glance may have external files), we explicitly invoke the delete commands on those in additional to dropping and recreating the databases. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-06-23nova: package plugin directory and fix its pathKeith Holman
The tests included with nova require some files that are within the "plugin" directory. This fix includes the "plugin" directory on the target system as part of the recipe. This fix also includes a patch that updates the tests to find the "plugin" directory where it is installed on the target system. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
2014-06-23nova: package doc directory and fix its pathKeith Holman
The tests included with nova require some setup and configuration files that are within the "doc" directory. This fix includes the doc directory on the target system as part of the recipe. This fix also includes a patch that updates the tests to find the "doc" directory where it is installed on the target system. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
2014-06-23nova: use absolute path to api-paste.ini fileKeith Holman
The api-paste.ini file shipped with nova is installed into the /etc/nova directory on a target system. The tests included with nova expect the file to be relative to the location of the tests within the source tree. This fix sets the absolute path to the api-paste.ini file as it exists on the system. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
2014-06-18Add metadata service support to controller nodeAndy Ning
The metadata service is working as the following: - metadata is being served by nova-api on controller at port 8775. - VM instance requests metadata by 169.254.169.254 (eg, curl http://169.254.169.254/latest/meta-data) - metadata request comes to neutron-ns-metadata-proxy on controller in dhcp network name space. - neutron-ns-metadata-proxy forwards the request to neutron-metadata-agent through a unix domain socket (/var/lib/neutron/metadata_proxy). - neutron-metadata-agent sends the request to nova-api on port 8775 to be serviced. To support metadata service, neutron-ns-metadata-proxy is baked into the controller image. Also neutron-metadata-agent startup script (/etc/init.d/neutron-metadata-agent) and config file (/etc/neutron/metadata_agent.ini) are added to start up metadata agent at system initialization. dhcp_agent.ini and nova.conf are updated as well. A README.metadata is added in the Documentation/ directory. Signed-off-by: Andy Ning <andy.ning@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-30nova: uprev to icehouse/stable supportBruce Ashfield
Updating the recipe's branch and SRCREV to the icehouse/stable release branch. The configuration changes required for basic operation are limited, so we keep nearly everything the same, and will update the config in subsequent commits. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-30linux-yocto: enable NBD and RTLINK supportBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-28OpenStack: sysvinit scripts - enable loggingAmy Fong
Explicitly enable --log-dir to enable logging where available Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-27nova-consoleauth :redundant "status" in helpAmy Fong
Usage info for initrd script says status twice, cleaning up. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-25OpenStack: modify controller to be able to talk to both consoleAmy Fong
We modify the controller so that both vnc and spice html5 proxies are running. Since in the current recipe, both controller and compute share the same nova.conf file, in the compute, both vnc and spice html5 are set to enabled and in this configuration, vnc is chosen (in source: vnc is chosen because it's better tested). To change to spice, only change required is on the compute side. The controller (since the default console_type is auto) will try to talk to both and run whichever is available. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-03-24OpenStack: nova-novncproxy:can't stop this serviceAmy Fong
nova-novncproxy and nova-spicehtml5proxy both do not check to see if the process specified in PIDFILE exists before firing off a new one. Both initrd files can actually use nova.init (used for the many other nova-* daemons) nova-consoleauth also has this issue, we add a check in start to see if the process in PIDFILE exists and exits if it does. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-24OpenStack: add SPICE console supportAmy Fong
Package spice-html5 Modify python-nova to add infrastructure for nova-spicehtml5proxy support. Note: spice is the default Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-24nova-compute: enable to use cephVu Tran
Enable nova-compute to: * use cinder volume stored in a ceph pool as a block device * store glance image into a ceph pool. Also port 2 patches from https://github.com/openstack/nova branch master into Havana branch. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-03-17OpenStack: Add to missing functionality in sysvinit scriptsAmy Fong
Add status/reload to sysvinit scripts Modify tgtd to make start/stop work better (borrowed from Debian's implementation) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-01-30nova: add migrate.cfg to the manifestBruce Ashfield
To properly sync the nova database during boot, the migrate.cfg must be present in the rootfs. This wasn't currently being packaged, so we add it to the manifest. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-12-19nova: create /var/run/nova in initscriptsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-11-28python-nova: run services as nova user instead of rootBruce Ashfield
With this change we now run both the nova controller services and compute node agents as the dedicated "nova" user. Changes to configuration were made to relocated locks and logs to nova writeable directories. Wherever possible configuration files and directories have been changed to nova instead of root (with the notable exception of rootwrap configuration). nova has also been granted sudo privileges to run rootwrap commands. And finally, a libvirt system group has been created and nova added to that group. This allows the compute agent to communicate with libvirtd via the "libvirt" group while keeping permissions tight. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-11-25nova: generate per-service initscriptsBruce Ashfield
Rather than use the catch-all "nova-all" initscript, we switch to one initscript per-service. The old nova-all is still installed, but not linked as an initscript, so it can be used as a fallback. In addition to per-service initscripts, we switch to generating those initscripts from a common template script. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-11-25nova: add ceilometer configurationBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-11-25nova: rename quantum configuration references to neutronBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova: add novnc console proxy supportBruce Ashfield
With this commit the appropriate daemons are started on a control node boot to support horizon console access via the novnc proxy. Additionally, the proper nova configuration is set for boh the control and compute nodes for out of the box console connectivity between the compute, control and horizone interface. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03nova.conf: use explicit IPs, less localhost and disable the firewallBruce Ashfield
To allow both a controller and compute node to use the same nova.conf, we can switch in more use of %CONTROLLER_IP% and less use of localhost. We also disable the firewall configuration by default, it can be re-enabled by subsequent layers. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28nova: split into explicit compute and controller recipesBruce Ashfield
To allow unique configuration of nova for compute and controller nodes, the nova class is split into two, but packaged largely the same way. The compute and controller classes are introduced to hold configuration values and operations that are used by the common packaging routines to customize and deploy. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28python-nova: Add quantum settingsMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28keystone, nova: Moved environment variables to novaMihai Prica
The keystone package is only installed on a controller node. This way the credentials can be loaded on both types of nodes. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: Configure postgresql credentialsMihai Prica
The user and password for postgresql are defined in the identity class and are loaded by the recipes from this class. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: Load credentials from the identity classMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: Minor modificationsMihai Prica
- Removed old comments. - Added glance_host option. This should be used on a compute node. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: Updated db usernameMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: Changed MQ backend to RabbitMQMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: Updated config file for postgresqlMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: Added initscriptsMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: Updated configuration filesMihai Prica
- Added support for RabbitMQ in the nova.conf file. - The api-paste.ini file contains the nova credentials. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28python-nova: added 2013.1Mihai Prica
The configuration files are populated with default options. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>