Commit Graph

143 Commits

Author SHA1 Message Date
Lance Albertson baa1464918 Updates for rocky
- Replace git.openstack.org with opendev.org
- Update some documentation
- Move README.md to README.rst for better rendering
- Drop obsolete bootstrap.sh script

Change-Id: I0fd381bceadcd43a258e04b2cbea8a1a3785dd1b
2019-12-06 11:14:20 -08:00
Samuel Cassiba 6ac9b3b655 Rename openstack-chef-repo references to openstack-chef
Change-Id: I2a835de2c2131474ea24378cccb32b1ba743d621
2018-08-06 21:49:24 -07:00
Jan Klare 2434b03f7d
remove all ceph related attributes,recipes,specs and the cookbook dependency
Change-Id: I24f9976ed57a90cb7062ed990e758fd9707d04b4
2018-04-05 16:38:31 +02:00
sunjia 32c60ffe6d Replace http with https for doc links in cookbook-openstack-compute
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I498646c65f25e9f205f1ba58426174a961caeb55
2017-09-07 00:27:41 -07:00
Jan Klare ca7788bfa0 add new Chef OpenStack Team Logo to README
Change-Id: Ie7d95d4b1513e277a27832206aa73c79b9aa4c76
2017-05-29 10:54:53 +02:00
Jens Rosenboom ced5be5512 Remove docker-setup receipe
The docker-setup receive has been unmaintained and untested for some
time now. The nova-docker project is also being removed from
OpenStack [1] and people are advised to look at deploying Zun as
a replacement.

This also avoids having to rewrite this receipe in order to remove the
use of the deprecated python cookbook.

[1] https://review.openstack.org/430232

Change-Id: Ia8c9db272c6a0353130fc93d446b385fd72ac250
Partial-Bug: 1558538
2017-02-09 15:06:49 +01:00
Flavio Percoco 725bbcb9ff Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/8c21f6de8a732ce5e14795a761a928a6

Change-Id: I3797d3f9251a0b6d89ffe1c882a7ac7c1378042a
2016-11-26 12:00:38 +01:00
Christoph Albers e0441b5322 use_cookbook-openstackclient/identity_v3
- Now use cookbook-openstackclient to create endpoints role service and
  user
- added domain creation and access granting
- added values to work with identity_v3
- rewrote specs to work again
- added needed keystone_authtoken attributes + neutron
- updated readme

Change-Id: I84f850f32f25a318c3ed3c7337a0dfa6f641a5fe
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
Depends-On: I2d404a424bd79a6e9b282304e21591fa33a48981
Depends-On: If7b4d6e563081a0be9957353d73ef61a9688df56
2016-09-30 11:37:41 +02:00
Samuel Cassiba c6c3537242 Style and lint fixes to support newer ChefDK
Change-Id: If87a38d33de73da45648fabf127e3b127fa46045
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
Depends-On: I0a3872cd3a21c31b5e3a7b6190f911280e9ed909
Depends-On: I34e4c7b29ff7c36c91245d90fb0b6897847cd22f
Depends-On: Ie45076f0ee36e880c9a6080f2b330982e40c282c
2016-07-06 12:55:03 -07:00
Jan Klare 97497a1d00 update the README after refactoring and align it with other cookbooks
* also removed the empty default recipe

Change-Id: Id6e3750f9ae78178ecf4e4370ac6b6b3dbc599c6
2016-04-28 15:01:33 -05:00
Samuel Cassiba 749f4ccfd3 Remove api-ec2 recipe
api-ec2 is being replaced by the `openstack-ec2` cookbook.

Change-Id: I5b4bc088bbf9a5061ed311d164dc381a3caca2d5
Depends-On: I2dbbafaf8641ece00d4181d1ea4ba93f00eed6ed
2016-03-18 08:04:29 -07:00
JJ Asghar 9ce1d8ef27 Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

Attributes changes
- Changed some comments for liberty

rubocop updates
remove db2 refs

Change-Id: Ic318239294fa32173634c68710fb93e1b09d3e42
2015-08-31 12:02:01 -05:00
Elizabeth K. Joseph 964f74ace2 Replace deprecated github link in README
The github project that used to be at mattray/chef-openstack-repo
has moved to mattray/openstack-chef-repo, update README to reflect.

Change-Id: I965193fea29c25425b88bff2ad0ff1286217ce62
2015-07-19 08:18:24 -07:00
Zhe Jiang 139dfc8375 Add recipe for serial console proxy
This recipe is used to setup nova-serialproxy service.

Closes-bug: #1472152

Change-Id: I044bb6d65dad849fdc0612e197c5e33b26ddddd0
2015-07-16 11:18:01 +08:00
XiaoPei Liu 01678f7513 Allow keymgr attributes to be configured.
The keymgr section attributes 'api_class' 'fixed_key' should be configured to be used for encryption.

Change-Id: I9e6c91bb67243b839bc10f7d906f8a3bf73ed791
Closes-Bug: 1468171
2015-06-25 16:58:11 +08:00
Mark Vanderwiel 51886f084a Allow oslo rabbit heartbeat configuration
In order to allow components to better handle and respond to mq failures,
oslo has some heartbeat options that are useful.

Change-Id: Ib69e69e1ace08448d789f3eb28749d0d228ae00d
Partial-Bug: #1462438
2015-06-10 14:32:01 -05:00
wenchma 3b6b4a9de0 Add "scheduler_use_baremetal_filters" option in nova conf for ironic
This attribute decides whether to use baremetal_scheduler_default_filters or not.
Set the ironic default attributes for True case.

Change-Id: I2c58707140a1e54fb8fdd7627d23aa23f1a236ea
Closes-Bug: #1444860
2015-06-04 14:07:07 +00:00
Mark Vanderwiel a01d815521 Only have one path of support for api-metadata
The current cookbook allows the enabled_apis nova.conf key
to include the metadata value.  This causes the nove compute
service to try to auto start the api-metadata service.  But we
also have the api-metadata recipe in the run list by default which
also tries to start the api-metadata service. This can cause timing
issues with the starting service.

This patch will remove the metadata value from the enabled_apis
attribute, and put out a warning if it's included.  The api-metadata
receipe should be used to control this service.  By default the
api-metadata recipe is included in the os-compute-api role which
is included in the os-compute-single-controller role. So, in most cases
it's already included in the run list.

Change-Id: Ief1a98cf2ab072a8aa892c65c5fc07d12a02722c
Closes-Bug: #1415220
2015-05-28 10:30:42 -05:00
wenchma e8ccaa22b4 Configure "reserved_host_memory_mb" attribute to support bare metal
The "reserved_host_memory_mb" attribute is default to 512MB when not
setting, it will make flavor match failed, so for bare metal service,
we need to set it to "0", no need to reserve host memory.

Change-Id: Idce5e5c223fdcbd59ae9304819ae04b1de8c1c3c
Closes-bug: #1446035
2015-04-20 11:57:45 +08:00
Jenkins 26347683e4 Merge "osapi_compute_link_prefix should not be set by default" 2015-04-16 22:31:02 +00:00
lqslan 54de5f9f8b Enable config_drive_format parameter for nova
After this patch https://review.openstack.org/#/c/133919/ has been
merged, we can do live-migration with the vfat config drive now.

This patch enable config_drive_format parameter for this purpose.

Change-Id: I3bb25d48bb8882ad898304b61d52fa2a75c2101b
2015-04-09 17:13:35 +08:00
Mark Vanderwiel 0d57f7097f osapi_compute_link_prefix should not be set by default
Correctly default osapi_compute_link_prefix to nil.
Added osapi_glance_link_prefix for completeness.
Created attributes for these for flexibility.
Updated specs to cover these and other misc keys.

Change-Id: Ic2fd79fc74dedb649b08c451ded678ac1d1ed310
Closes-Bug: #1418583
2015-04-08 13:31:39 -05:00
root ea55695436 Introducing docker changes to openstack-compute
This includes cookbook-openstack-compute changes required to enable
nova-docker driver as a compute driver and allow user to configure a
compute as docker compute

Implements: blueprint docker-driver-configuration

Change-Id: I6fa7e93a4050419fb0531e17b56da4c32205bce3
2015-04-02 13:45:01 +00:00
Elliott Davis 557afe0989 Add dependency on upstream ceph cookbook for better key management
The upstream ceph cookbook already hooks into chef for environment information.
This patch utilizes the client LWRP to create or add ceph keys for RBD support.
This patch also changes some default attribute names for more sane organization

Partial-Bug: #1409943

Change-Id: Ia87e123ae2d88e3122b8d66d8ff144a804e6d8c4
2015-02-02 11:16:16 -06:00
Xiao Xia b872103a53 Add setting for compatible with older rpc API
Set [upgrade_levels] in nova.conf to compatible
with order rpc API, such as add compute=juno to
enable kilo rpc API compatible with juno compute,
for kilo controller can manage the juno compute node.
According to
https://review.openstack.org/#/c/53944/
http://docs.openstack.org/openstack-ops/content/ops_upgrades_upgrade_levels.html
https://github.com/openstack/nova/search?p=1&q=upgrade_levels&utf8=%E2%9C%93

Change-Id: I42c88ba06d2f1ea4f09dc4925e61cca74625337f
2015-01-20 11:07:18 +08:00
Mark Vanderwiel 5de0025c53 Make compute dbsync command timeout to be an optional parameter
The default dbsync command timeout value 3600 seconds may be too small
when there are large data in compute database.
Make timeout to be optional to fix this problem.

Change-Id: I1ca4c594da34134aa3807fca753b955ed0b239bd
Related-Bug: #1389111
2015-01-13 13:02:31 -06:00
jun xie 6b19226653 Provide nova the option to choose cinder version
The default version in nova is
v2(volumev2:cinderv2:publicURL).

Change-Id: I550c8f30f6479890bbb961ffdd47219b256c5f79
Closes-Bug: #1391780
2014-11-12 17:29:11 +08:00
Chen Zhiwei 398e359bcc Add more attributes for nova.conf DEFAULT section
Since there are some default options that did not set in nova.conf.erb
file, so add them to ensure users can custom them.

Change-Id: I70c110b0e4d67b25155bb02e96bb8f02b455b3bd
2014-10-30 16:54:13 +08:00
jun xie c2a262ab4f Add [ssl] and 2 cinder attributes to nova.conf
This commit adds [ssl] section to nova.conf, which is used
to communicate with Glance when using https. It also adds
cinder_ca_certificates_file and cinder_api_insecure which are
needed for communicating with Cinder.

Change-Id: Id07f163dc7481ec26d0a5f8f1afb50e327318517
Closes-Bug: #1384118
2014-10-23 23:18:02 +08:00
jun xie 89f6118f38 Add several insecure-related attributes
This change adds some attributes into the cookbook so
that they are configurable. They are mainly to configure
for glance_api_insecure and neutron_api_insecure in nova.conf.
It also makes neutron_url and neutron_admin_auth_url to be
prefixed with scheme(http or https).

Change-Id: If6d50a6963b47ee0983ecc71087414ab7c366623
Closes-Bug: #1381599
2014-10-17 00:20:30 +08:00
Mark Vanderwiel 949d1d1ef7 Cleanup cookbook contact info
* Consistent email across cookbooks
* Add Contributor.md to help out new folks
* Fix file modes
* Fix broken link in Testing.md
* Readme tweaks

Change-Id: I5305591b22d650855aa9fbbf999a41c6d7b691a0
Partial-Bug: #1342735
2014-10-14 09:45:11 -05:00
Mark Vanderwiel a80dc09214 Separate endpoints for vncserver_listen and vncserver_proxyclient_address
* A patch for Common added a new endpoint for vnc proxy
* Use the new vnc proxy endpoint for the nova.conf

Change-Id: I9909e3dd500d9fcc31133b81c93420b629ed4e37
Closes-Bug: #1367807
2014-10-09 12:48:54 -05:00
Mark Vanderwiel c8c7a6e561 Add attributes for ssl_only, cert and key
Add some basic attributes for vnc support.

Change-Id: I7ddb7854e0ce2ea1890d82958d4575407be06c01
Closes-bug: #1370592
2014-09-29 10:30:07 -05:00
jun xie c7dfdd5b81 Add some authtoken related attributes
This change adds some attributes into the cookbook so
that they are configurable. It mainly includes:
cafile, memcached_servers, memcache_security_strategy,
memcache_secret_key, insecure and hash_algorithms.

Change-Id: I97877cf5ce48bd70b9cb2ff12b1fdffbd5a7a69d
Closes-Bug: #1371438
2014-09-22 23:31:48 +08:00
Jan Klare f099dbed05 rng_dev_path in nova.conf template configurable in node attribute
added attribute to make rng_dev_path in nova.conf configurable with the
node attribute default['openstack']['compute']['libvirt']['rng_dev_path']. Default is set to nil to let this parameter stay an optional one.

Change-Id: I1bcf67eec0b8918a3ba644d76cafb20ab89ce704
2014-09-18 18:48:41 +02:00
Mark Vanderwiel c7ecebdb1f Allow scheduler_available_filters and compute_manager overrides
Change-Id: I0bfddec245a0f0be21372a1353effd17567be572
Closes-Bug: #1334754
2014-07-21 09:15:38 -05:00
Ionuț Arțăriși 2369a3ea5c use new python_packages attributes from -common
*_python_packages attributes are being moved to -common in order to
remove the duplication from all the cookbooks which are using them

Change-Id: I952372ec06cc6560b9a942bfc100d12622152ab2
Implements: blueprint move-python-db-client-attrs-to-common
2014-06-27 11:29:43 +02:00
Mark Vanderwiel a5bc9a48de Allow flat_injected and use_ipv6 overrides
These are useful when trying to use config_drive

Change-Id: Ib7a554327a68c5a967c021835156d92d33c3b7fd
Closes-Bug: #1329035
2014-06-26 09:32:25 -05:00
Mark Vanderwiel 3cbc281f77 Allow live migration attributes
Change-Id: I435200916b006af9146b8b2790fd167ad4d50fee
Closes-Bug: #1286582
2014-06-25 10:53:50 -05:00
gengjh 2c7ccf22a7 Allow inject_partition to have attribute overrides
* Add new libvirt_inject_partition attribute
* Add new testcases.

Closes-Bug: #1328959
Change-Id: I836ed057449583523b8bc21c001f979669b6cef8
2014-06-19 12:58:53 +08:00
terryyao 1bae624eae Add resize_confirm_window configuration option
Add resize_confirm_window configuration option to nova.conf.erb

Closes-Bug: #1328522
Change-Id: I9839c7629bb58489468fd98032abcb76a87725f7
2014-06-16 11:24:41 +08:00
Jenkins f66d4601a2 Merge "Added missing cookbook dependency in README.md" 2014-06-11 10:45:22 +00:00
Antoine Rouyer 3d8f781818 Added missing cookbook dependency in README.md
Just add openstack-network as cookbook dependency in `Requirements`
section.

Change-Id: I718c7ec1e8cf1648ac416b61f4ecf8f98457d82b
2014-06-10 18:07:30 +02:00
ericzhou 7e31583989 Allow dnsmasq_config_file to have attribute overrides
Change-Id: Ide8d1015d1a4455cea680b8a5b5dbb7552c69e34
Closes-Bug: 1327031
2014-06-06 11:58:38 +08:00
gengjh f6e28bb5c9 Allow unix_sock_rw_perms to have attribute overrides
Closes-Bug: #1324821
Change-Id: I468d4e278ff580c69704a37e75af7fe7289e7853
2014-05-30 17:09:50 +08:00
Mark Vanderwiel d8fa8316be Fix to allow nova workers to be overrideable attributes
Current code has workers hardcoded. Nova already defaults workers
to number of available cpus.  No way for administrator to customize
number of workers.

Change-Id: If31e1eb9c743646ff471a6fcd6fe15b03f289cc3
Closes-Bug: #1317247
2014-05-21 09:32:53 -05:00
Mark Vanderwiel 9bbd4d879b Fix to allow compute driver attributes
Add the following compute driver attributes
- default_ephemeral_format
- preallocate_images
- use_cow_images
- vif_plugging_is_fatal
- vif_plugging_timeout

Change-Id: Icd014c1c88ab2d4c6773a4cbe14b638c2332fd4a
Closes-Bug: #1317564
2014-05-14 09:52:26 -05:00
Ionuț Arțăriși 2b81e9c051 improve documentation for miscellaneous config values
Change-Id: I10441aa78a6a11c59e5d7a50ea50740c27196980
2014-05-13 11:39:41 +02:00
gengjh 613a57eb80 Get the vCenter password from databag for compute
1. Add new attribute openstack_vmware_secret_name to indicate the
databag secret key
2. Get the password from databag if dev mode is false
3. Update the test cases

Implements: blueprint vmware-password-databag

Change-Id: I342e26aee713216f2aecc39113a67ada25ec1fb5
2014-05-09 22:22:07 +08:00
Mark Vanderwiel 3b65e68d77 Remove openrc
openrc has been moved to Common.
include openrc recipe where needed.

Change-Id: I088fa1064d0125ea983af7ab144fa87c299d18a6
Implements: blueprint moveopenrc
2014-05-01 11:20:03 -05:00