Commit Graph

42 Commits

Author SHA1 Message Date
Ghanshyam Mann e06f50cb06 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: I73df79a8698625815ea4e3099904da448a49887e
2024-02-24 11:42:30 -08:00
Takashi Kajinami e1fd19eaa5 Manila: Remove implementation for VMAX share driver support
... because the support has been removed.

Depends-on: https://review.opendev.org/854503
Change-Id: I98be49707843e9fab65518fbe07f852833ef4b2a
2022-11-22 08:57:46 +00:00
Takashi Kajinami 9765e20fb1 Remove file ACL settings for ceph keyring
... because these resources are no longer used since all services were
containerized.

We already removed the same logic for Gnocchi only by [1].

[1] 6aa4681137

Change-Id: I2a32a067e3586e14c461948bd677b75365272cff
2022-05-24 20:58:12 +09:00
katarimanoj 470086b16e Manila: Replace hiera by lookup
The hiera function is deprecated and does not work with the latest
hieradata version 5. It should be replaced by the new lookup
function[1].

[1] https://puppet.com/docs/puppet/7/hiera_automatic.html

With the lookup function, we can define value type and merge behavior,
but these are kept default at this moment to limit scope of this change
to just simple replacement. Adding value type might be useful to make
sure the value is in expected type (especially when a boolean value is
expected), but we will revisit that later.

example:
lookup(<NAME>, [<VALUE TYPE>], [<MERGE BEHAVIOR>], [<DEFAULT VALUE>])

Change-Id: I2614b8f42c45ba9f5143d51401c1d48d469a4ef8
2022-04-22 11:38:10 +00:00
katarimanoj 0d4c161669 Manila: Remove unnecessary 'undef'
The third argument of the hiera function determines the hierarchy level
to insert at the top of the hierarchy[1].
 [1] https://puppet.com/docs/puppet/7/function.html#hiera

This is currently used for dellemc_unity::emc_share_backend only and is
not used in the other places. In addition passing undef has no effect
so it is just redundant.

This change removes the unnecessary undef parameter, to make usage of
the hiera function consistent across all manifests.

Change-Id: Ia59a79fbd293775afdacd9f8a517ff256720a7c0
2022-04-21 10:16:09 +09:00
David Hill 69aa1e27f1 Add powermax support
Add powermax support

Depends-on: https://review.opendev.org/c/openstack/puppet-manila/+/818108
Change-Id: I09358592c9af03c9ffc0c7d734e7ed5ad72dbc7b
Partial-bug: #1951131
2021-11-18 20:19:09 -05:00
silvacarloss 65e7e338f4 Add support for share backend availability zones
Add the ability to override the "backend_availability_zone" parameter
in every manila share backend.

Depends-On: Ie7af8408fe8cec9349593fd9b4cb5bc7deb565cd
Change-Id: Ic71545d786b851e7d3f3ce8502e913b81fc70059
2021-09-24 17:00:44 -03:00
Zuul a46c8abbb6 Merge "Manila: Remove usage of deprecated driver_handles_share_servers" 2021-09-21 19:32:13 +00:00
Zuul 851a45753f Merge "Manila: Use manila::backend::ganesha to set up ganesha options" 2021-09-10 23:53:24 +00:00
Takashi Kajinami 89bd8abe7d Manila: Remove usage of deprecated driver_handles_share_servers
Depends-on: https://review.opendev.org/793542
Depends-on: https://review.opendev.org/807226
Change-Id: Ib595c5879d2b6069b14776d42b8784fb37715013
2021-09-03 11:46:54 +09:00
Simon Dodsley c039e2125a Add Pure Storage FlashBlade Manila backend
Depends-On: I08c52c42916909e6689564d20bc778dfaf0f23ff
Change-Id: If204a13609ace655e03808a7eb5db0fcf1202360
2021-07-20 22:41:27 +09:00
Takashi Kajinami 504c35c2f6 Manila: Remove usage of cephfs_enable_snapshots
The parameter was deprecated and has no effect in puppet-manila since
Victoria[1]

[1] 2388d7510d600e358c76becf13d08581b489f2a7

Depends-on: https://review.opendev.org/799099
Change-Id: Ifdeb92cf0fcdc563fc37b6e3c97e89a8300ce122
2021-07-10 22:20:56 +09:00
Takashi Kajinami 9fa3836f18 Manila: Use defaults defined in puppet-manila
Currently we override default values for backend manifests by undef
but because of this we already need to define each parameters otherwise
puppet-manila raises validation failure or set empty values.
This change removes that redundant overrides and make puppet-tripleo
rely on defaults in puppet-manila (and most of them are
$::os_service_default which result in defaults in manila itself)

Change-Id: Ia269acfc4b64701a968e186a522fe073a08616f3
2021-07-05 11:38:29 +09:00
Giulio Fidente df456427e1 Clear last dependency on puppet-ceph from Manila manifest
This is now addressed in ansible and by removing it we should be
able to get rid of the last dependency we had on puppet-ceph

Change-Id: I10d1fb8efea5ccb79f32260fe98dcfdf59eff254
Depends-On: I86b1b75c9d807356e9a1f1901bc7e8856f0c0961
2021-06-14 17:38:21 +02:00
Takashi Kajinami 634cc26677 Manila: Use manila::backend::ganesha to set up ganesha options
Depends-on: https://review.opendev.org/790317
Change-Id: I1a789a7f2fdcad88e019b9a761678985dc43ba7f
2021-05-08 15:07:58 +09:00
Francesco Pantano 09c5ff76f3 Remove /etc/ceph dependency on puppet services
In tripleo-heat-templates a new 'CephConfigPath' parameter
is introduced with the purpose of customizing the path where the
Ceph config and keyring files are created on the host.
This change makes sure that puppet-tripleo is able to consume
a custom location for the Ceph config and keyring files.

Closes-Bug: #1708302
Co-Authored-By: Giulio Fidente <gfidente@redhat.com>
Change-Id: Iaabb66cd26f0246defe391a4e34f4eab3c3c5fee
2020-12-04 15:52:16 +01:00
Zuul 84e10253e5 Merge "Allow not setting hiera cephfs_enable_snapshots" 2020-08-18 02:29:01 +00:00
Goutham Pacha Ravi bc27846c44 Allow not setting hiera cephfs_enable_snapshots
This option isn't mandatory, and is being
deprecated.

Change-Id: Iedee7838587f9ff12118602663ad55ede1be2902
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-08-12 12:05:46 -07:00
Goutham Pacha Ravi 6f98d5eaca Cleanup manila netapp deprecated option usage
"netapp_root_volume_name" is deprecated in
favor of "netapp_root_volume" and manila will
no longer accept the older option name [1]

[1] https://review.opendev.org/745206/
Depends-On: I3891e8278c5b4a08d1baf435adede425498c3652
Change-Id: I3413897992a6f4ad577735cb0adbb8d1d8989e38
2020-08-12 00:52:31 +00:00
Tobias Urdin 1523a4b804 Convert all class usage to relative names
Change-Id: Ib2ed745b682cf12f9469a5a64451adcabec400af
2019-12-08 23:23:25 +01:00
Giulio Fidente e3b39a8d67 Allow for customization of the Manila CephFS pool name
Manila needs to know the CephFS pool name, which the deployer
might want to customize when the Ceph cluster is externally managed.

Change-Id: I3adaa442b8c53ff902761d1dba283a79494c8ae6
Partial-Bug: 1837099
2019-07-30 10:55:39 +00:00
Goutham Pacha Ravi 914cf1f124 Allow enabling custom backends with manila
It is possible to provide the config settings
to add an arbitrary and unmanaged backend to Manila
at deployment time via Heat environment files. However,
puppet-tripleo doesn't support extending the
list of enabled backends. Add this capability.

Change-Id: I82f62df0a95f03afbda1b6a4ddaa67ef908030a9
Closes-Bug: #1831938
2019-06-19 14:42:21 -07:00
Giulio Fidente dabfc9e1e3 Add support for external Ganesha service in Manila Share profile
We might want to connect Manila Share to an external Ganesha service
and in that case need to provide additional configs so that we can
connect to the remote node via SSH.

Change-Id: I1741721ede9f9f469e2554b409ec6e0e6c7c22a2
Implements: blueprint manila-external-ganesha
Depends-On: I31fff6a1b6fede860b8aaee0079183924e8b31d6
2019-05-30 13:05:45 +02:00
Tom Barron 32827b39c1 Support cephfs_volume_mode parameter
manila now [1] supports configuring an octal value for the
rwx permissions mode of the cephfs volumes and snapshots
and groups of these that back manila shares, snapshots,
and groups.

Expose this parameter in the backend manifests for manila
with cephfs.

[1] https://review.openstack.org/#/c/614332

Depends-On: https://review.openstack.org/#/c/638770/
Change-Id: Id8cbdfeff8299ff08a84c1c5902fb909353d4678
2019-02-23 07:36:18 -05:00
Zuul 42aa17f606 Merge "Remove support for manila::backend::cephfsnative class" 2018-08-21 06:37:00 +00:00
Zuul 7572d41795 Merge "Update DellEMC Manila Unity driver" 2018-06-28 06:16:00 +00:00
Zuul 0d3ad6d699 Merge "Update DellEMC Manila VNX driver" 2018-06-28 06:15:59 +00:00
rajinir 0d337fa5d5 Update DellEMC Manila Unity driver
This patch adds following 3 options:
* network_plugin_ipv6_enabled
* emc_ssl_cert_verify
* emc_ssl_cert_path

Closes Bug: #1778124

Change-Id: I6330862def3ffce0aa187239829eda285dd16ab1
2018-06-21 14:39:04 -05:00
rajinir 43218af47e Update DellEMC Manila VNX driver
This patch adds following 3 options:
* network_plugin_ipv6_enabled
* emc_ssl_cert_verify
* emc_ssl_cert_path

Closes Bug: #1778123

Change-Id: I99c2d9a27502af76e98e4c0b161bb3a31828520c
2018-06-21 14:27:04 -05:00
Goutham Pacha Ravi 696e107eab Remove support for manila::backend::cephfsnative class
This class was replaced by manila::backend::cephfs
in openstack/puppet-manila in the Pike release.

See corresponding change in openstack/puppet-manila [1]

[1] Ib13dfc6ffa77e96f5738c2ca3f9646a80aded659

Change-Id: I6757cd2368021b55775ad54931aa0b78c8383a68
2018-06-18 14:04:08 -07:00
Giulio Fidente 2a59f98d78 Ensure appropriate ACL mask is set on CephX keyrings
Changing group permissions alters the ACL mask, causing the "read"
permission we set explicitly for the openstack users to be ignored.

This change ensures "read" is set for the ACLs mask.

Change-Id: I4f94a3f7ab2c55a8c45363b8354be99d52980a7b
Closes-Bug: 1775549
2018-06-13 19:09:18 +02:00
Zuul 8ad12b209a Merge "Remove share_backend_name from Dell-EMC manila backends" 2018-06-05 02:24:44 +00:00
Giulio Fidente c796ed32f7 Remove support for puppet-ceph
Deployment of a managed Ceph cluster using puppet-ceph
is not supported from the Pike release. From Queens it
is not supported use of puppet-ceph when using an
external Ceph cluster either.

This change removes the old manifests necessary to
support deployment of Ceph via puppet-ceph.

Templates removed by I17b94e8023873f3129a55e69efd751be0674dfcb

Depends-On: I8b22917e7436084028ef4fbe7604d28d6a68bee0
Implements: blueprint remove-puppet-ceph
Change-Id: I052af1f755b40a5fefa1f8d37e62b6b36c931271
2018-05-25 15:32:53 +02:00
Goutham Pacha Ravi 3d04512851 Remove share_backend_name from Dell-EMC manila backends
This parameter has a default value from puppet-manila
ex: [1], and doesn't need to be specified here.

[1] https://git.openstack.org/cgit/openstack/puppet-manila/tree/manifests/backend/dellemc_unity.pp

Change-Id: I7fa8ffd9af459f138bc182fd6bd307471c87f75d
Closes-Bug: #1771656
2018-05-16 12:44:09 -07:00
Keith Schincke 65d226a925 Correct typo in manila/share.pp resource chaining
A typo error resulted in an attempted resource chaining of
Ceph::Key[client.manila] to Exec[exec-setfacl-manila-manila]. The
actual exec resource is Exec[exec-setfacl-manila]

Change-Id: I78eec6022211b0e82c06599dea300961a2309f0c
2017-12-17 09:43:18 -05:00
Keith Schincke 48c417519f Update cephx keys with ACLs for openstack services.
This patch will set file system ACLs on the ceph client keyring.
This will help resolve (1) for OSP Ocata and before

Change-Id: I0c1bc3d2362c6500b1a515d99f641f8c1468754a
Partial-Bug: #1720787
1: https://bugzilla.redhat.com/show_bug.cgi?id=1462657
2017-12-05 15:45:33 -05:00
Jan Provaznik 7b35ac05b3 Add support for cephfs+ganesha backend in manila
Change-Id: I1262faef895df0023a225ab10dfe66dfb3d3efba
Partially-Implements: bluprint nfs-ganesha
2017-11-22 09:58:30 +01:00
Jan Provaznik 7327cc8824 Move manila backend configuration from pacemaker to base
There is no reason to keep backend configuration in pacemaker-specific
manifest. This configuration is used no matter whether pacemaker is
used or not.

Change-Id: I63b53d230372a323db1d35a3774283ad2e29fbb1
Closes-Bug: #1714310
2017-09-01 11:37:20 +02:00
Steve Baker 94f13e6608 Ensure hiera step value is an integer
The step is typically set with the hieradata setting an integer value:

  {"step": 1}

However it would be useful for the value to be a string so that
substitutions are possible, for example:

  {"step": "%{::step}"}

This change ensures the step parameter defaults to an integer by
calling Integer(hiera('step'))

This change was made by manually removing the undef defaults from
fluentd.pp, uchiwa.pp, and sensu.pp then bulk updating with:

    find ./ -type f -print0 |xargs -0 sed -i "s/= hiera('step')/= Integer(hiera('step'))/"

Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3
2017-06-14 14:31:52 +12:00
Giulio Fidente 783929074b Move inclusion of ::manila::db::mysql in manila/api profile
In puppet-manila it is the api service performing db sync, not
scheduler. This change moves ::manila::db::mysql (which creates
the empty database and users) in the tripleo manila/api profile.

Also moves rabbit config into a general manila base profile as
that would be needed by the scheduler service as well.

Change-Id: I2b537f735b8d1be8f39e8c274be3872b193c1014
2016-09-23 16:14:16 +02:00
Carlos Camacho 689d80e971 Fix parameters and headers inconsistency in the puppet manifests.
As we are staring to manually check overcloud services
the first step is to check that the puppet profiles
are all aligned.

Changes applied:

  No logic added or removed in this submission.

  Removed unused parameters.

  Align header comments structure.

  All profiles parameters sorted following:
  "Mandatory params first sorted alphabetically
  then optional params sorted alphabetically."

Note: Following submissions will check pacemaker,
cinder, mistral and redis services in the base profiles
as some of them has the $pacemaker_master parameter
defaulted to true.

Change-Id: I2f91c3f6baa33f74b5625789eec83233179a9655
2016-08-08 22:44:01 +02:00
marios 2a80c93594 Adds the puppet-tripleo manifests for manila
The tripleo-heat-templates side that uses this is at
https://review.openstack.org/#/c/188137/

Change-Id: I444916d60a67bf730bf4089323dba1c1429e2e71
Implements: blueprint refactor-puppet-manifests
2016-06-02 14:33:25 +03:00