aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nova/templates
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake19-457/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-11-15Merge "Deprecate scheduler_max_attempts option in nova"Jenkins1-2/+3
2016-11-15Deprecate scheduler_max_attempts option in novaZhongShengping1-2/+3
Option "scheduler_max_attempts" from group "DEFAULT" is deprecated. Use option "max_attempts" from group "scheduler". Change-Id: I7b25291b61200cf2402f19a187cc4fe2fe6b0e11 Closes-Bug: #1641840
2016-11-14Ansible-ize OpenStack DesignateRoss Krumbeck1-2/+3
Implement containers for main designate components. Add designate enable options and port configuration. Add designate groups to ansible inventory. Add designate configuration to haproxy. Add designate port checks. Add designate passwords to passwords.yml. Enable Designate and Neutron integration. Enable Designate and Nova integration. Fix designate-pool-manager container name for consistency. Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Change-Id: I34d8126e0cd8d71d5ced9b62f3776cc354fbb549 Implements: blueprint ansible-designate
2016-10-19Merge "Allow operators to change hw_disk_discard in Nova"Jenkins1-1/+3
2016-10-19Fix api_paste_config optionZhongShengping1-1/+3
Option "api_paste_config" from group "DEFAULT" is deprecated in Nova. Use option "api_paste_config" from group "wsgi". Change-Id: I7727aa67da71fefe20b2aaefb1337dba4f9008b1 Closes-Bug: #1632066
2016-10-19Merge "Add missing debugging paramters to nova config"Jenkins1-0/+6
2016-10-17Fix nova upgrade permission issueMichal (inc0) Jastrzebski8-0/+61
Change-Id: I61738f2d8ef89d6a8c5fb1187f18c5bb154bbe04 Partial-Bug: #1631503
2016-10-15Cinder endpoint wrong fixKevin Fox1-1/+1
kolla genconfig is pointing at cinder v1, not v2. nova pointing at v1 is now broken. At least when cinder is backed by ceph and the release is >= mitaka. Closes-Bug: #1633758 Change-Id: Idf4a26b37587f1dabe2de0c1ffbddb8c08ee3bdb
2016-10-13Add missing debugging paramters to nova configChristian Berendt1-0/+6
Debugging for glance and guestfs has to be enabled by using separate parameters. TrivialFix Change-Id: I41c62ffed3a64f3a652393acd064e004ebe39c60
2016-10-11Allow operators to change hw_disk_discard in NovaPaul Bourke1-1/+3
Some base image distros don't ship new enough versions of libvirt/qemu to support hw_disk_discard in Nova (libvirt (1, 0, 6) or later and qemu (1, 6, 0) or later). When deploying Nova with Ceph enabled this config item is automatically turned on, we should give operators a chance to disable it. Change-Id: I0b2615c64a9569c09567bf456815f93254d90ade Closes-Bug: #1632348
2016-10-06Remove unneeded blank linesMauricio Lima1-1/+0
TrivialFix Change-Id: I778d0a55adf1302c7a6f0702fec3a381d851f3df
2016-10-03Fix ironic failedJeffrey Zhang1-0/+1
* Mount system folder in ironic-conductor * Add package need in ironic-conductor * Fix the log path issue * Add ironic sudoer in ironic-base * Fix credential issue * Do not start nova-compute when enable ironic Closes-Bug: #1629334 Change-Id: If9d478c6513de37465403d458a88cf0da7ebd8a6
2016-09-20Deprecate old auth parameters of ironic in nova.confZhongShengping1-4/+6
The auth parameters `admin_username`, `admin_password`, `admin_tenant_name` and `admin_url` of the [ironic] config option group are now deprecated and will be removed in a future release. Using these parameters will log a warning. Please use `username`, `password`, `project_name `and `auth_url` instead. Change-Id: I9e383788e35b83888b3b5cf927f67b0f3b4ef54b Closes-Bug: 1619266
2016-09-12Adding required check for Orchestration KubernetesSerguei Bezverkhi3-19/+28
Thgis PS add missing check for Kubernetes orchestration engine, without these changes, running kolla-ansible genconfig fails for Kubernetes environment. TrivialFix Change-Id: I25eeb7ae3ddba7c924f6d48aa24afdbe74227170
2016-09-05Merge "Updating ironic configurations in nova.conf"Jenkins1-3/+3
2016-09-01Updating ironic configurations in nova.confNarasimha SV1-3/+3
Irnoic configurations in nova compute node have been changed with respect to the master code of ironic and nova. admin_url configuration is with v3 version but other details are with respect to v2.0 version of keystone authentication. Updated scheduler_host_manager, compute_driver and admin_url values in the nova.conf template to support ironic master branch code. Change-Id: I78bee3fdf082bcd526507b479be3afaee80ba899 Closes-Bug: #1619211
2016-08-25Move to transport_url for rabbitmq configurationJeffrey Zhang1-6/+2
rabbit_hosts, rabbit_userid and rabbit_password are deprecated for removal.[0] rpc_backend is deprecated for removal.[1] rabbit_ha_queues is deprecated. it is useless when using RabbitMQ >= 3.0 [2] [0] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L112,#L134 [1] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/transport.py#L46 [2] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L163,L174 Closes-Bug: #1614082 Change-Id: I05d318ba6c11c5dbfa9fbf67d088a43ab465be30
2016-08-03Merge "External Ceph - Implementation Nova"Jenkins3-13/+11
2016-07-27External Ceph - Implementation NovaMathias Ewald3-13/+11
Introduced nova backend selection flag for Ceph and priority if multiple backends are configured Add mechanism to deploy arbitrary ceph.conf and keyring files into nova-compute and nova-libvirt containers Added documentation Change-Id: Id010ca9cc2d914e5358ef79edeb600a28220dd4b Implements: blueprint external-ceph
2016-07-18Remove notification_driver optionZhongShengping1-1/+0
The Ceilometer integration for Nova uses notification_driver parameter at the moment. According to the logs this is deprecated: Option "notification_driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messaging_notifications". Change-Id: Ifb60a7a5945838bb8d12092d811956f84775df27 Closes-Bug: 1602667
2016-07-18Merge "Set the privsep_osbrick.helper_command in nova and cinder"Jenkins1-0/+3
2016-07-12Remove [neutron]/auth_strategy option in nova.confZhongShengping1-1/+0
The [neutron]/auth_strategy has been removed, read the information[1] to learn more. [1] http://git.openstack.org/cgit/openstack/nova/tree/releasenotes/notes/remove-deprecated-neutron-options-5f3a782aa9082fb5.yaml Closes-Bug: 1602171 Change-Id: Ide7ff9f36e89b8a091e5be3fb24ef210f9037e86
2016-06-25Set the privsep_osbrick.helper_command in nova and cinderJeffrey Zhang1-0/+3
os-brick starts using privsep, it will need to know how to invoke its privileged half. This follow the how the devstack fixed in nova[1] and cinder[2]. [1] https://review.openstack.org/#/c/277696/ [2] https://review.openstack.org/#/c/280031/ TrivialFix Change-Id: I3761a5bde9766297127ad2011453ae4221ff5c2b
2016-06-18Merge "Implement ceilometer ansible role"Jenkins1-0/+12
2016-06-16Implement ceilometer ansible roleHui Kang1-0/+12
Change-Id: I13c50a78b2dc7c98b720a4b2e7161104213bd295 Implements: bp ansible-ceilometer
2016-06-16Remove EC2 API related configurations and tasksChristian Berendt1-3/+0
The Nova EC2 API is disabled by default, the default value of the enabled_apis parameter in nova.conf is "osapi_compute, metadata" The EC2 API is marked as deprecated and will be removed from Nova in the future. Change-Id: I6b9d66017e066cde5749be45b367194d2192ead3 Closes-bug: #1586605
2016-05-02Remove unecessary blank linesMauricio Lima1-1/+0
TrivialFix Change-Id: I1f03d428c380dfdbde5ef33e7ea43cbf5e9154ce
2016-04-21Fix failure to deploy with qemu.confSteven Dake1-0/+1
Closes-Bug: #1572819 Change-Id: I1f2edb482af1e85708159a0dba44a79427dc5af3
2016-04-15Use proper protocol scheme with novaSteven Dake1-1/+1
Change-Id: I699d3fa4db897a25c31384b7dacf1c465aa4ea86 Closes-Bug: #1571129
2016-04-14Merge "Set db connection retry to infinity"Jenkins1-0/+2
2016-04-14Use proper CentOS repositories for ceph and qemuSteven Dake2-0/+6
CentOS has a virtualization sig and storage sig which produces udpated ceph and qemu images. These images are then reused within the rest of Red Hat packaging. Install these repositories for CentOS and make use of them. This should work for OracleLinux as well. Still testing centos. Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com> Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Iea21fc4f33bbfdb973cf354d492c372bd3360acb Closes-Bug: #1566588
2016-04-11Set db connection retry to infinityRyan Hallisey1-0/+2
Make sure that all the sevices will attempt to connect to the database an infinite about of times. If the database ever disappears for some reason we want the services to try and reconnect more than just 10 times. Closes-bug: #1505636 Change-Id: I77abbf72ce5bfd68faa451bb9a72bd2544963f4b
2016-04-08Increase max pool size so conductor doesn't implodeSteven Dake1-0/+2
When horizon is used to launch 2000 VMs, nova-conductor is very busy making database connections. All 55 database connections are in use, resulting in an inability to garbage collect database connections. Instead raise the max pool to 50 which will allow 50 concurrent database connections and the max overflow to 1000 which permits the database connections to finish the job at large nodecount scales. Closes-Bug: #1565105 Change-Id: I26dc2f7fda8760197888a1d61fbc45dfada2dd06
2016-04-06Increase max scheduling attempts to 10Steven Dake1-0/+2
At high scale, such as 64 nodes with 13TB ram and 2600 cores, nova seems to struggle when scheduling 100+ VMs at the same time. The issue is unrelated to the database, as the error printed indicates the max_scheduling_attempts have been reached. Increase that value to something more fitting of a 100 node cluster. Change-Id: I8982d77c7c66db8f7c95b9fd73f58ceb66dbd723 Closes-Bug: #1563664
2016-04-03Implement nova-ssh containerJeffrey Zhang5-0/+40
Add a nova-ssh container to handle the `nova migrate` and `nova resize` case, in which the nova will use ssh to copy files between machines. Change-Id: Ie6675943f3aeabfbba8589d308d55b9c89d732db Closes-Bug: #1562141
2016-03-22Make heka collect libvirtd.log in nova_libvirt containerVikram Hosakote1-1/+1
Test results of this patch set are at: http://paste.openstack.org/show/491382/ Change-Id: I1bc8bdb3180f30dc69af28a35fa057ac801bde0f Closes-Bug: #1560298
2016-03-21Enabled spiceSamYaple1-0/+1
spice used to default to enabled, it does not anymore Closes-Bug: #1560205 Change-Id: I788f89587997f0d293ec57e0153592b0ed7b7aab
2016-03-21Merge "Change deprecated options throughout Kolla"Jenkins1-8/+2
2016-03-21Merge "Add memcached_servers to keystone_auth section"Jenkins1-4/+11
2016-03-19Change deprecated options throughout KollaSamYaple1-8/+2
These options have all be deprecated/removed. This switches all options to thier proper mitaka values. TrivialFix Change-Id: Ica8d5ea0d48da01ee11672a32890431acd6a306d
2016-03-19Add memcached_servers to keystone_auth sectionSamYaple1-4/+11
The in-process cache for keystone tokens has been deprecated due to "incosistent results and high memory usage" with the expectation we switch to memcached_servers if we want to stay performant. Add memcache_servers [cache] section to the appropriate servers as the [DEFAULT]\memcache_servers options was deprecated. TrivialFix Related-Id: Ied2b88c8cefe5655a88d0c2f334de04e588fa75a Change-Id: Ic971bdddc0be3338b15924f7cc0f97d4a3ad2440
2016-03-19Fix linuxbridge driverSamYaple1-1/+1
We were specifying the wrong driver in our nova.conf Change-Id: I37a3d366f2895b9d1281815ef85209feaa37b92d Closes-Bug: #1559494
2016-03-08Fix the deprecated security_group_api and network_api_classAllen Gao1-2/+1
The security_group_api option is deprecated since https://review.openstack.org/#/c/288602 , the security_group_api will be detected through use_neutron. TrivialFix Change-Id: I4e4dd9397b67243ed7268529d9ed0d9b86c846dd
2016-03-03Add TLS protection on external API endpointsDave McCowan1-0/+4
TLS can be used to encrypt and authenticate the connection with OpenStack endpoints. This patch provides the necessary parameters and changes the resulting service configurations to enable TLS for the Kolla deployed OpenStack cloud. The new input parameters are: kolla_enable_tls_external: "yes" or "no" (default is "no") kolla_external_fqdn_cert: "/etc/kolla/certificates/haproxy.pem" kolla_external_fqdn_cacert: "/etc/kolla/certificates/haproxy-ca.crt" Implements: blueprint kolla-ssl Change-Id: I48ef8a781c3035d58817f9bf6f36d59a488bab41
2016-03-03Fix Keystone v3 and HorizonSamYaple1-1/+1
After our switch to keystone-manage bootstrap Horizon is not happy due to v3 not being setup correctly. This patch fixes that This also includes removal of unused variables (transforms them into endpoint url variables) TrivialFix Change-Id: I1e04db8c24049f80e974c063f03068a2ab32a563
2016-03-01Merge "Move ironic-discoverd to ironic-inspector"Jenkins1-1/+0
2016-02-29Move shared variables to group_vars/all.ymlSamYaple1-2/+2
This follows the structure we have for Ironic and Nova Closes-Bug: #1551316 Change-Id: I609e3dda40c65b73bb5e1208f702740416a042ed
2016-02-29Move ironic-discoverd to ironic-inspectorAllen Gao1-1/+0
Closes-Bug: #1551052 Change-Id: Ic226287bbf1f1e8d5cc2e1d80ce2975448b1f95c
2016-02-26Change kolla_internal_address variableSamYaple1-8/+8
Due to poor planning on our variable names we have a situation where we have "internal_address" which must be a VIP, but "external_address" which should be a DNS name. Now with two vips "external_vip_address" is a new variable. This corrects that issue by deprecating kolla_internal_address and replacing it with 4 nicely named variables. kolla_internal_vip_address kolla_internal_fqdn kolla_external_vip_address kolla_external_fqdn The default behaviour will remain the same, and the way the variable inheritance is setup the kolla_internal_address variable can still be set in globals.yml and propogate out to these 4 new variables like it normally would, but all reference to kolla_internal_address has been completely removed. Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5 Partially-Implements: blueprint ssl-kolla