Commit Graph

36 Commits

Author SHA1 Message Date
Kevin Fenzi
97dab9dcaf iscsi_client: readd role, apply to power10 host and switch guests to use it
This re-adds a iscsi_client role we had in iad2 back in in rdu3.
When then apply it to bvmhost-p10-01 to login and use a iscsi lun from
the rdu3 netapp. We then move the buildvm-ppc64le vm's to use this iscsi
volume instead of local storage.

As we reinstall those builders they will use the iscsi volume.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-16 15:19:56 -07:00
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
Ryan Lerch
47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
Ryan Lerch
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
Ryan Lerch
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Kevin Fenzi
77a3276003 iscsi / multipathd: drop netapp specific section
This causes:
Aug 05 23:04:40 bvmhost-x86-06.iad2.fedoraproject.org multipathd[3266]:
uevent trigger error
Aug 05 23:04:40 bvmhost-x86-06.iad2.fedoraproject.org multipathd[3266]:
parse error in feature string "no_path_retry queue"
So, just drop it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-05 16:16:07 -07:00
Stephen Smoogen
43140ff50f multipathd argument 1 queue_if_no_path is deprecated and no longer effective with netapps. updated to preferred option 2020-06-17 13:15:29 -04:00
Stephen Smoogen
4548189c63 add an interface for commands to run on 2020-06-01 12:43:47 -04:00
Stephen Smoogen
99bd267ed8 put in changes for iscsi in iad2 2020-06-01 12:11:43 -04:00
Kevin Fenzi
3e39d559a2 iscsi_client: drop this blacklist line in multipathd.conf.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:18 +02:00
Karsten Hopp
c9ed62ac32 update ansible_distribution_major_version conditionals
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
b146286ce2 iscsi_client: dnf -> package, with_item changes 2019-06-11 14:55:11 +00:00
Patrick Uiterwijk
adcbf72f03 Packageize this, packageize that, packageize the world
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
Kevin Fenzi
8a6e51a9a6 change state=running to start=started as the old one is going away in ansible 2.7 2017-04-13 01:37:21 +00:00
Kevin Fenzi
04a52b8667 Death to all trailing whitespace. 2016-08-08 19:36:31 +00:00
Patrick Uiterwijk
ebdf2ac8a5 roles: iscsi: mark WD drives as not multipath
The new harddrive in buildvmhost-11 is not only 600GB (twice the
size of its other drive), but is also from another vendor, meaning
that it doesn't match the existing multipath blacklist.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-04-21 10:08:35 +00:00
Michael Scherer
cd0fb31bd9 Move netapp_* vars to the iscsi role
Since that's the only role where they are used, it make sense
to keep it close and not "pollute" the global namespace
2016-04-09 20:23:55 +00:00
Patrick Uiterwijk
a6803c9ef3 polling_interval is only valid in defaults
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-02-24 08:56:41 +00:00
Tim Flink
c4cc210a8b adding dnf to iscsi_client 2015-11-09 19:17:18 +00:00
Kevin Fenzi
24dd18cd40 And comment this special case for now, not needed. 2015-02-07 15:27:19 +00:00
Praveen Kumar
4b1e5162d7 Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
Kevin Fenzi
787621021c Fix dell vmhosts to not use multipath for local disk. 2014-04-22 21:38:48 +00:00
Kevin Fenzi
7ca9dcb3af Tweak role 2014-01-02 02:16:51 +00:00
Kevin Fenzi
f7d56ff2b1 Fix old variable usage. Patch from janeznemanic. Thanks! 2014-01-01 19:15:11 +00:00
Kevin Fenzi
15d4338a74 Right, try this 2013-10-31 17:32:36 +00:00
Kevin Fenzi
d3ed2cdf29 Are we having fun yet? 2013-10-31 17:28:08 +00:00
Kevin Fenzi
db4bf82053 Further adventures 2013-10-31 17:26:06 +00:00
Kevin Fenzi
864048c600 More fun 2013-10-31 17:23:14 +00:00
Kevin Fenzi
664dbb7f79 Ok, lets try this one instead 2013-10-31 17:14:37 +00:00
Kevin Fenzi
6401b15958 Double quotes? 2013-10-31 17:07:59 +00:00
Kevin Fenzi
1320997020 Try this conditional 2013-10-31 17:04:36 +00:00
Kevin Fenzi
88141db150 Add other netapp iscsi for buildvmhosts only. 2013-10-31 16:52:29 +00:00
Kevin Fenzi
5fe0dc0037 Add a iscsi_client role, add to virthosts 2013-10-01 16:50:55 +00:00