Commit Graph

26 Commits

Author SHA1 Message Date
Ghanshyam Mann 7372103182 Retire openstack-chef: remove repo content
OpenStack-chef project is retiring
- https://review.opendev.org/c/openstack/governance/+/905279

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/909134
Change-Id: I4561c6eefef05c672a4f6cb9d15b1a5a29e81110
2024-02-18 05:01:47 +00:00
Samuel Cassiba 859fc5df20 compute refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket access
- parameterize run directory for apache2

Implements blueprint modern-chef

Change-Id: I6cf4cd67a96c7d353c4871db02be42ebdc9c1528
2017-12-10 20:02:43 -08:00
Christoph Albers 799029519b refactoring final step
* added endpoint attributes (moved from common)
* removed qpid as a messaging option (can be incuded in a wrapper)
* removed os-bare-metal dependencies
* deleted default attributes from nova.conf.rb originated in
  openstack-common
* removed fedora and suse as supported platform
* adapted optimized endpoint logic
* removed rubocop exceptions in recipes and regenerated the
  .rubocop_todo.yaml containing all remaining exceptions
* added versionbumb for refactored os-identity and common
* moved version up to 13.0.0 for mitaka release
* adapted the specs (unit tests) to work again
* refactored spec_helper.rb method "expect_creates_api_paste"
* added new logic into templates/default/nova.conf.erb
* refactored attributes throughout all recipes that were connected to
  the attributes used for the nova.conf.erb template to adapt the new
  template attribute syntax
* moved all attributes from attributes/default.rb that were used in
  nova_conf.erb to attributes/nova_conf.rb
* refactored attributes to fit upcomming template logic
* refactored recipes/nova_common.rb to fit upcomming template logic
* removed all attributes from default.rb and nova.conf.erb which are set
  as default in attributes, openstack doc and used to render the template
* removed nova-network as a supported config option

Depends-On: I9cc1b5cc069987ac83e064322c2291772505ff5f
Depends-On: Ifa5a7f4e1df47a3961976e64f654224864c3dcb4
Depends-On: I3262b2e6f792f37c32a446e6567790b82bdd4613
Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Implements: blueprint cookbook-refactoring
Change-Id: I9ac9eeb29ab27f31394830e4b6f999d5870cc0e4
2016-02-08 12:05:12 +01:00
Samuel Cassiba a7ce50ea7a Changed tenant_id to project_id
Liberty expects project_id instead of tenant_id

Change-Id: Iba07db9b4de2e23d807b4f5cb3f9c3a268089909
2015-10-29 20:54:35 -07:00
Darren Birkett af2c7621ea edit contents of cookbook_file nova-compute.conf to be more explanatory
as to why it's there

Fixes: bug #1268974

This edits the cookbook_file so that it's more obvious why it's being
dropped in there

Change-Id: Ic34151878ceedc1bc25337a9faa4350df0bd3823
2014-01-14 15:05:19 +00:00
salmanbaset 4b2ec7198a Adding neutron support in openstack-compute
Adding neutron support. It is a search and replace of
quantum with neutron in all the files. Also, set 8.0.0
as the version in metadata.rb. The version was not bumped
when stable/grizzly was branched. Also, updated the
dependency cookbook versions in metadata.rb.

Change-Id: Ia53ffcb0a6fbf322784fb6409adc5386b3e7dd40
Implemented: blueprint neutron-support
2013-12-11 20:47:12 +08:00
Alan Meadows aa42f5c09a Bugfix public network creation
Altered the command to check for the public network to guard
against a failed command due to network errors or timeouts. Now
we will only examine the list of networks returned if we successfully
retrieved a list of networks to begin with.  We don't worry about
false positives because this is normally run when an installation is
first instantiated so there should be few if any other networks.

Change-Id: I55cc3e569afebcf6b06a5cd0d3c962da35474579
2013-10-02 16:39:57 -07:00
Jay Pipes 2dd5a554de Fixes duplicate subnet addition in add_floaters.py
While there was a check to make sure that the public network
was already created, there was no such check to ensure that
the subnet for floating IP addresses had not already been
created...

Change-Id: Ib494f9796f89932fd1b87d2d4fa548bd94f29d7b
2013-09-07 16:01:42 -04:00
Alan Meadows 09f7cb1777 Bug fix add_floaters subcommand processing errors
* AttributeError for args.interface Certain argument
parameters are not set depending on whether you are entering
via the neutron or nova subcommands. If we simply set
self._args, we can access the expected arguments within
the appropriate subcommand and not try to blindly
set several of them on FloatingAddress class init.

* Subcommands do not show up as arguments, so we need to
set the subcommand name to a subparser_name argument
we can check to see which subcommand was called

* If the quantum api is down for any reason, the add
add floaters script will fail raising a chef error.  We
need only raise an error if there was an error adding
the IPs, not querying the quantum api.

Change-Id: Iac2cdae03bc3e2af39781994707b5139c401427f
2013-08-07 14:54:02 +00:00
Alan Meadows f256a391ea Add quantum/neutron support to openstack-compute
This commit introduces a new node attribute which will
turn off nova-networking and enable quantum/neutron
style networking and install the appropriate dependant
packages.

Change-Id: Ia9dadf736e6e916f4b25c202cb88cb8a030d54c0
2013-08-02 09:10:41 -07:00
John Dewey ba1daa9b49 Removed local patches
These patches make assumptions that are a bit too liberal.
As these cookbooks are more widely used, these should be
moved into a wrapper cookbook.

Change-Id: I015ea209822ba81f0639b24f5df6957c89a6e7b2
2013-05-16 14:33:34 -07:00
John Dewey b0df8170c2 Patched novnc code to handle port 443 and 80
We were able to run novnc if it were on a port other than 443/80,
otherwise it would hang with "loading" text.  This bug was corrected
upstream, a few days ago.  We are likely not to see this fix get
into opentstack repos for quite some time (if ever in folsom).

https://github.com/kanaka/noVNC/pull/245
2013-04-29 10:28:44 -07:00
John Dewey c2780ed3d8 Added VNC files to patch
Currently the novnc package has a bug, which doesn't load the websockets
code when running on port 443 or 80.  Committing the troublesome code, and
will patch in a separate commit.

This is a temporary fix, and future openstack builds, should pull in
a more recent novnc package.
2013-04-29 10:28:44 -07:00
John Dewey 30515039f4 found a couple bugs 2013-02-15 14:01:51 -08:00
John Dewey 39b3019279 Forgot to add the file before calling it 2013-02-08 21:15:11 -08:00
John Dewey f6cf5904cc Added --pool and --interface pass throughs 2013-02-08 20:48:11 -08:00
John Dewey 96d75adf5d Initial add of floater script 2013-02-08 20:26:55 -08:00
John Tran a9e5e3b142 added ceilometer recipes 2013-01-10 01:26:40 +00:00
mattray 5e127eecec sync with rcbops 9/17 c3aa4f1feffc6794302cae54cef4c9aaa5b5e1b3 2012-09-19 11:00:29 -05:00
galstrom21 c7d76e9a2b Ensuring copyright banner exists 2012-07-23 21:34:14 -05:00
galstrom21 e7e8ac2bec Adding global NAME variable, fixes #108 2012-07-12 10:17:41 -05:00
galstrom21 85792c8220 fixing variables 2012-06-19 16:05:47 -05:00
galstrom21 4a948f1c44 somehow uploaded file with hardcoded values in novaclient line 2012-06-19 15:31:21 -05:00
galstrom21 c0d5a3d54f somehow uploaded file with hardcoded values in novaclient line 2012-06-19 15:28:34 -05:00
galstrom21 dd97b95b1d Adding blank /etc/nova/nova-compute.conf 2012-06-18 13:46:00 -05:00
galstrom21 65da155830 adding nova_plugin for collectd 2012-06-11 14:13:48 -05:00