Commit Graph

30 Commits

Author SHA1 Message Date
Andreas Jaeger cde3ba7d9f Retire repository
Fuel repositories are all retired in openstack namespace, retire
remaining fuel repos in x namespace since they are unused now.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011675.html

A related change is: https://review.opendev.org/699752 .

Change-Id: I71416586b629186f5887eb234c8f814a7e959821
2019-12-18 19:44:29 +01:00
Patrick East 7e4404adb4 Get checks passing
First changes: Make the puppet-lint tool happy

We skip a handful of checks, but at least now should catch some of the more simple stuff. This also formats the files a little more consistently.

Second change: Update the docs makefile so we can actually build the pdf with the expected commands

Change-Id: Ia8e9224cad38baf5e4602f9be7af828dcffe6bbb
2016-11-15 17:57:31 -08:00
Simon Dodsley 2098adf0ed Update multipath conf file
Default for muultipath find_multipaths option in default
has changed from 'no' to 'yes', so we need to set this back
to 'no'

Change-Id: I0ee1a0b80e8597c5393d7f6a961bd9398dee06e8
2016-07-09 00:33:36 -04:00
Simon Dodsley 34f976506e Cleanup unneccessary files
Change-Id: I154e9401a53bf3499e4f496622d01a0c218f2932
2016-07-08 14:50:24 -04:00
Simon Dodsley 922547e57c Remove multibackend option from plugin
As Cinder is deprecating the use of the DEFAULT stanza for
driver definitions and moving every driver to its own stanza
we are going to force multibacked to be true and therefore
removing the option from the GUI and all other references
to it.

Change-Id: I70bf4ad5c428ec0e0de3322f4da8680b54924d65
2016-07-07 23:19:09 -04:00
Simon Dodsley 26dd95d2c4 Final fix for idempotent code
Hard code cinder internal tenant and user IDs

Change-Id: I7ab7afb4f4d38dc8e35bf7b6c6db419fd92fdff6
2016-07-04 21:32:14 -04:00
Simon Dodsley 0d10449e1f Delete unnecessary function
Change-Id: I7dd71064eeee7886781abc3ad290bb12ac89a5c0
2016-07-04 16:50:03 -04:00
Simon Dodsley 97d19b64ca Make glance image cache IDs idempotent
There is no easy way to get a keystone user or tenant ID through
puppet, so in the interim we will use a random string for each
of these.

hey are arbitrary values anyway and don't need to link to a true
user or tenant.

Change-Id: I005436ba206753a0ab7a627fb10d66d194eba1f1
2016-06-24 14:13:56 -04:00
Simon Dodsley dd4f169c59 Make Glance Image Cahe code idempotent
Instead of creating random 32 character user and project IDs
for cinder internal user and tenant, use keystone to create
them and then obtain the IDs using an exec call as there is
no keystone call to get this information.

Add custom facts to get keystone data for internal tenant
and user.

Add volume type for Pure volumes and set default volume type
to be Pure if multibackend.

Change-Id: I24906fafe5216b7153ef67c0c529663bb66db6aa
2016-06-08 22:10:14 -04:00
Simon Dodsley 2056e74df9 Use join() to concatrenate strings and ensure variables match
Change-Id: I2711c7d61a9c727c156d096a3412b49423df1323
2016-05-17 15:51:20 -04:00
Simon Dodsley e6a06b9c03 Update Plugin to support Mitaka
Update Fuel version numbers where needed.
Update Fuel plugin version number where needed.
Add new image in docs to aid with pre-configure of array.
Move hiera parameters to puppet manifests and
parameterize corresponding classes.
Fix regex for replication retention parameters

Change-Id: I265b33ef85315cc5a909221bfe2116ff2e85bc7e
2016-03-29 16:22:33 -04:00
Simon Dodsley be7dcd61b7 Implement Consistency Groups Option
Add GUI radio button to allow selection of consistency groups.
Default is false, but if true then provide a modified policy.json
file with CG parameters configured correctly.

Change-Id: I73b2dd592c4d66945943470269d52245f05d67e8
2016-03-11 16:46:19 -05:00
Simon Dodsley 72a57df537 Interim fix for Mirantis bug (https://bugs.launchpad.net/fuel/+bug/1547048)
Run 3 sepeerate commands in an exec() call instead of the
usual pip provider call to make pip respond correctly
and not crash

Change-Id: Ic9449395d1aa0fcf02442adcd495e058383197fc
2016-03-11 09:12:04 -05:00
Simon Dodsley eb2a678908 Remove comma from enabled_backends
As there is no way to correctly pick up existing
enabled_backends from Fuel we have no need to add
the backends parameters with a comma to the
enabled_backends that is being set.

If you have 2 Cinder plugins enabled then the last one
to run overwrite enabled_backends anyway. This needs
to be investigated by Mirantis

Change-Id: Ifeb72c2bad5285ef11d524c078dc62cebbb758f8
2016-03-02 17:56:48 -05:00
Simon Dodsley 6d08960104 Only add Glance Image Cache info if needed
Only add the parameters for the Glance Image Cache is
this has been selected to be enabled in the Fuel GUI

Also make sure the Cinder tenant and user IDs are
32 characters long.
Change-Id: I2f11ceda93fb13bf94db4774b79dd02c20cf0613
2016-03-02 13:43:33 -05:00
Simon Dodsley b30de2e8a0 Code fixes
Change-Id: I3b55bc97ff7f157d2dcc4b250b66169af2e6b93f
2016-02-18 09:58:44 -05:00
Simon Dodsley 58fb27f4ee Fix typing for erandom function
Change-Id: I5a24ce487ac2b40e5ef1c2d3bae32637b890d207
2016-02-16 16:57:36 -05:00
Simon Dodsley 0d24222b7f Relocate common function
Change-Id: Ie25ae0c8dce8e05b7f0f058449709309c88ff1a4
2016-02-16 14:46:06 -05:00
Simon Dodsley 822a852d8d Add UNMAP support for Nova Instances
Add hw_disk_discard = unmap to allow TRIM/UNMAP support for
images that support it.

Change-Id: Ie02d17fb1d0b93a02630702fc5b0cc670534e486
2016-02-04 12:36:44 -05:00
sdodsley afbe409075 Implement custom function to generate keystone-like ID
Generate a random 32 charaqcter hex string to use as
a keystone-like ID.

This is required for the glance image-cache for cinder
tenant and user IDs to be entered into cinder.conf

Change-Id: I5e12eef26b6f9e2dba28be870bee38dbd6ebf2c9
2016-01-28 13:38:27 -05:00
sdodsley 956a257465 New FCZM code and MPIO file and doc updates
Added FC backend code and updated GUI yaml layout
Reformat yaml and text, remove principal_switch_wwn as
deprecated and fix fc-zone-manager stanza build section
Reorder options
Add in option to use manual or automatic FCZM - change
YAML conditions for this and add in code check for this
condition

Add multipath.conf file with Pure defaults

Update docs to include API and VIP instructions and multipath
notes and known issues

Change-Id: Ia3a524f0a48689a502c73f3bde93c189c4e74751
2016-01-22 14:40:50 -05:00
sdodsley deb7ef5d8a Update code to start looking at glance image cache params
Change-Id: Icdcb6a7745ddfb8dbe870ddac990a415018431d0
2015-11-24 11:03:32 -05:00
sdodsley f11baa8dbd Fix typo
Change-Id: I0cdb082c4080d18b144ff6dbd9546ac138b47bf6
2015-11-05 19:29:11 -05:00
sdodsley 90398b6a99 Update with Glance Image Cache parameters
WIP - needs to have tenant and user IDs added
Fix typo
Change-Id: Id1261b4dcdee1b0ca8b3db1ac384c1db82f5851c
2015-10-29 11:21:00 -04:00
sdodsley 0f8327acc6 Replay Mirantis comments from Stable/Kilo
Change-Id: I781d35e069f6185812f285dc2189931498d4fe83
2015-10-27 02:26:15 -04:00
sdodsley 2a94ed5eaa Amend code after Mirantis Feedback
Remove centos release - no supported in 7.0
Remove commented out lines in common.pp manifst
Move controller references to cinder as no actual controller node deployment is
required - just on a node with the cinder service
Updated Fuel PRM after code change

Add new RPM with latest changes caused by
Change-Id: Ia355da360853b4db4a197d9bba525e9786edd8ce
2015-10-22 09:55:06 -04:00
sdodsley 27d3d4df86 Update for Liberty Release of Fuel Plugin
Change-Id: I0853e5361084b660c229c16aad956d63550f73b8

Rollup stable/kilo changes to Liberty version

Only deploy on cinder nodes - no need to specify controller node as nothing is done
to the controller node

Change-Id: I0014b8e572d15f19b1daf551f3a5fe712dd8c894
2015-10-22 09:46:51 -04:00
sdodsley e33ca88539 Final modifications to FUEL plugin
Add protocol code ready to future-proof code for FC capable FUEL, and
ensure backend pure class is correctly defined

Change-Id: I727185251493ee24d592e97e590c7418fd9010dd
2015-10-14 18:21:46 -04:00
sdodsley 200d8420f6 Update puppet files with corrected syntax
Fixing bugs in the code to allow other people to access
the latest codebase of this plugin

Change-Id: I866447618da4b0aa3c89745e9832278d4ee7a569
2015-10-11 10:08:40 -04:00
sdodsley feb15100e6 Fuel Plugin for Pure Storage
The Pure Storage Cinder Fuel plugin provides an automated
method to insert the necessary lines into the cinder.conf file.

The plugin extends the Fuel GUI to provide the necessary entry
locations for the information for the configuration file.

Change-Id: Ia620669da1564f75b9572b721f484c2d572bfce1
2015-10-05 11:47:49 -04:00