Commit Graph

159 Commits

Author SHA1 Message Date
Kevin Fenzi
2b21bc41e4 nfs / client: add some logging to the role to show what mount/dir it's called with
This is useful for places like releng-compose that mount a ton of things
and it's hard to tell which one is failing.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-08 12:17:31 -07:00
Michal Konecny
be2e3a6d35 [nfs] Fix the nfs related errors
* intr parameter is now deprecated and it's no longer effective in
newer kernels

* nfs-server needs to run as well on Fedora otherwise the mount request
is rejected
2025-07-04 10:38:17 +02: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
James Antill
fe1631ae8a Copy NFS exports from iad2 to rdu3, changing 3 to 16.
Signed-off-by: James Antill <james@and.org>
2025-06-26 11:41:57 -04:00
James Antill
aa89838764 Add rdu3 NFS mount tasks, and conditionalise both iad2/rdu3 tasks.
Signed-off-by: James Antill <james@and.org>
2025-06-26 11:18:32 -04:00
James Antill
336699099b Use full name for ntap-rdu3.
Signed-off-by: James Antill <james@and.org>
2025-06-25 23:46:31 -04:00
Kevin Fenzi
f9c8e842b7 download / rdu3: add rdu3 download servers
This will allow us to test ro mounts from the rdu3 netapp.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-16 14:02:36 -07: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
Kevin Fenzi
2e9a9a084d nfs/client: rpc-idmap is a static service that will restart when needed, so no need to try and restart it anymore
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-10 13:55:39 -08: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
3e0989ae7e nfs/client / buildvm: do not show this as changed for check runs ever
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-05 09:14:20 -07:00
Kevin Fenzi
b9ec7574ad nfs/client: fix copypasta
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-02 12:02:16 -07:00
Kevin Fenzi
592f0c8f3c nfs/client: add a nmcli c up eth0 for buildvms / clean old stuff
buildvm's when reinstalled have systemd-resolved with no info in it,
doing a nmcli c up eth0 will cause NM to refresh systemd-resolved.
We need this for mounting nfs volumes so it can resolve the netapp.

Also, drop phx2 route stuff thats no longer needed.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-02 11:49:34 -07:00
Pavel Raiskup
86a787200b storinator: drop copr-dist-git* volumes, enlarge copr-be 2022-11-11 14:16:29 +01:00
Kevin Fenzi
f15eb8753a nfs_server: on rhel9, we don't need nfs-lock
Older rhel versions need to start this service, but rhel9 doesn't have
it as a seperate service.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-10 14:52:10 -08:00
Kevin Fenzi
9f13154898 releng-compose: also include staging datacenter
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-09 16:46:28 -08:00
Kevin Fenzi
ef8456c46d storinator01: drop all the old communishift volumes.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-09 07:10:53 -07:00
Kevin Fenzi
9b81171d17 storinator01: move the old config for exports to the new hostname
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-09 07:10:53 -07:00
Kevin Fenzi
a00f92a9d0 koji01.stg: exports is space delimited
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-05 14:13:27 -07:00
Kevin Fenzi
58234964d5 koji01.stg: export to 10.3.166 ro too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-05 14:12:35 -07:00
Kevin Fenzi
95da94f986 net/client: re-add check for route, we need it for rdu
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 14:31:52 -08:00
Kevin Fenzi
47419b1bc8 nfs/client: clean up old phx2 stuff
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 14:22:15 -08:00
Kevin Fenzi
78ddc037dd nfs / client: fix ip for koji01.stg to be the iad2 one and not the phx2 one
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-04 12:35:32 -07:00
Kevin Fenzi
96b2ed3f56 nfs / server / koji01.stg: adjust nfs exports for iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-04 10:53:17 -07:00
Kevin Fenzi
005af159b6 nfs/client: Correct netapp name for staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-26 15:53:44 -07:00
Kevin Fenzi
2af0042d5c koji01.stg: rename some files to the current domain name.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-26 15:46:55 -07:00
Kevin Fenzi
f41b4c0b72 iad2: add a koji02 exports for nfs and remove nfs-idmap, which is no longer used
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-02 14:14:38 -07:00
Kevin Fenzi
d052079cf1 iad2: adjust koji so it's a sort of staging setup.
This should allow us to test scratch builds at least.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-02 14:00:28 -07:00
Kevin Fenzi
248b798813 nfs/client and batcave: adjust nfs/client playbook to work hopefully in iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 12:16:08 -07:00
Pierre-Yves Chibon
a0303f2557 nfs/client: looks like nfs-lock is not present in RHEL8
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-20 11:35:27 +02:00
Kevin Fenzi
2c9b262b39 storinator: Make sure to export the volumes you create.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:27 +02:00
Stephen Smoogen
080f5206bf add copr-be ips 2020-04-24 21:34:21 +02:00
Kevin Fenzi
7e89da26a6 nfs_client: try and reload nm config after the route file is added, not after all roles.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
562de337af nfs_client: reload NM after adding new storage route
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Mikolaj Izdebski
800afab801 Revert "nfs/client: Don't set up NetApp route for odcs-backend in staging"
This reverts commit dbb50cd67c604cfd96a1e61401e0b398b0db4d73.
2020-04-24 21:34:13 +02:00
Mikolaj Izdebski
e8174a0df7 nfs/client: Don't set up NetApp route for odcs-backend in staging 2020-04-24 21:34:13 +02:00
Kevin Fenzi
81fb4582e7 ansible: change when conditions to use == instead of is when checking strings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +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
Kevin Fenzi
7df0e6e9a3 storinator: also export the 1g volumes.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:09 +02:00
Rick Elrod
3336075a90 nfs/client: Add missing conditional in file copy logic
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:08 +02:00
Kevin Fenzi
c326c2d38d storinator: we need openshift volumes rw.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:06 +02:00
Kevin Fenzi
08975d1546 storinator01: Add 2 100GB volumes to storinator for openshift registry.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-07-24 04:45:19 +00:00
Kevin Fenzi
9a0dbc365a storinator01: switch communishift exports to external ips as it has no internal ones.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-18 00:31:42 +00:00
Stephen Smoogen
41e1be9da3 [storinator] try to get exports to work 2019-06-17 18:36:34 +00:00
Stephen Smoogen
bbd8461dbc [nfs-server] Fix ip addresses to the copr-dist-git and not the copr-be 2019-06-12 08:28:39 +00:00
Stephen Smoogen
a53b9e7a53 [nfs/server] fix the exports. this needs to be a template 2019-06-11 20:18:38 +00:00
Stephen Smoogen
de103e41b9 [nfs/server] make it so that we export to a tree 2019-06-11 20:01:11 +00:00