move all nfsv4 mounts to 4.0
This commit is contained in:
parent
caf750851a
commit
efd7efccd5
26 changed files with 29 additions and 29 deletions
|
@ -203,7 +203,7 @@ env: production
|
||||||
env_suffix:
|
env_suffix:
|
||||||
|
|
||||||
# nfs mount options, override at the group/host level
|
# nfs mount options, override at the group/host level
|
||||||
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4"
|
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4.0"
|
||||||
|
|
||||||
# by default set become to false here We can override it as needed.
|
# by default set become to false here We can override it as needed.
|
||||||
# Note that if become is true, you need to unset requiretty for
|
# Note that if become is true, you need to unset requiretty for
|
||||||
|
|
|
@ -21,7 +21,7 @@ host_group: autosign
|
||||||
fedmsg_error_recipients:
|
fedmsg_error_recipients:
|
||||||
- puiterwijk@fedoraproject.org
|
- puiterwijk@fedoraproject.org
|
||||||
|
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
# For the MOTD
|
# For the MOTD
|
||||||
csi_security_category: High
|
csi_security_category: High
|
||||||
|
|
|
@ -12,7 +12,7 @@ fas_client_groups: sysadmin-ask,sysadmin-build,sysadmin-cvs,sysadmin-main,sysadm
|
||||||
|
|
||||||
ansible_base: /srv/web/infra
|
ansible_base: /srv/web/infra
|
||||||
freezes: false
|
freezes: false
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
fedmsg_certs:
|
fedmsg_certs:
|
||||||
- service: shell
|
- service: shell
|
||||||
|
|
|
@ -42,7 +42,7 @@ fedmsg_error_recipients:
|
||||||
# happens instead at the inventory/host_vars/ level since bodhi-backend03 and
|
# happens instead at the inventory/host_vars/ level since bodhi-backend03 and
|
||||||
# bodhi-backend02 have different roles and responsibilities.
|
# bodhi-backend02 have different roles and responsibilities.
|
||||||
|
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
fas_client_groups: sysadmin-releng,sysadmin-bodhi
|
fas_client_groups: sysadmin-releng,sysadmin-bodhi
|
||||||
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
||||||
|
|
|
@ -17,7 +17,7 @@ host_group: kojibuilder
|
||||||
fas_client_groups: sysadmin-releng
|
fas_client_groups: sysadmin-releng
|
||||||
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
||||||
datacenter: staging
|
datacenter: staging
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
koji_hub_nfs: "fedora_koji"
|
koji_hub_nfs: "fedora_koji"
|
||||||
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
||||||
|
|
|
@ -17,7 +17,7 @@ host_group: kojibuilder
|
||||||
fas_client_groups: sysadmin-releng
|
fas_client_groups: sysadmin-releng
|
||||||
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
||||||
datacenter: staging
|
datacenter: staging
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
koji_hub_nfs: "fedora_koji"
|
koji_hub_nfs: "fedora_koji"
|
||||||
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
||||||
|
|
|
@ -17,7 +17,7 @@ host_group: kojibuilder
|
||||||
fas_client_groups: sysadmin-releng
|
fas_client_groups: sysadmin-releng
|
||||||
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
||||||
datacenter: staging
|
datacenter: staging
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
koji_hub_nfs: "fedora_koji"
|
koji_hub_nfs: "fedora_koji"
|
||||||
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
||||||
|
|
|
@ -17,7 +17,7 @@ host_group: kojibuilder
|
||||||
fas_client_groups: sysadmin-releng
|
fas_client_groups: sysadmin-releng
|
||||||
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
||||||
datacenter: staging
|
datacenter: staging
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
koji_hub_nfs: "fedora_koji"
|
koji_hub_nfs: "fedora_koji"
|
||||||
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
||||||
|
|
|
@ -17,7 +17,7 @@ host_group: kojibuilder
|
||||||
fas_client_groups: sysadmin-releng
|
fas_client_groups: sysadmin-releng
|
||||||
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
||||||
datacenter: staging
|
datacenter: staging
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
koji_hub_nfs: "fedora_koji"
|
koji_hub_nfs: "fedora_koji"
|
||||||
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
||||||
|
|
|
@ -41,7 +41,7 @@ fedmsg_certs:
|
||||||
- buildsys.task.state.change
|
- buildsys.task.state.change
|
||||||
- buildsys.untag
|
- buildsys.untag
|
||||||
|
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
virt_install_command: "{{ virt_install_command_two_nic }}"
|
virt_install_command: "{{ virt_install_command_two_nic }}"
|
||||||
|
|
||||||
osbs_url: "osbs.fedoraproject.org"
|
osbs_url: "osbs.fedoraproject.org"
|
||||||
|
|
|
@ -35,7 +35,7 @@ fedmsg_certs:
|
||||||
- buildsys.untag
|
- buildsys.untag
|
||||||
|
|
||||||
# NOTE -- staging mounts read-only
|
# NOTE -- staging mounts read-only
|
||||||
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4"
|
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4.0"
|
||||||
# This is for mizdebsk only in stg. Put here by threebean. Cleared with nirik.
|
# This is for mizdebsk only in stg. Put here by threebean. Cleared with nirik.
|
||||||
sudoers: "{{ private }}/files/sudo/koji01.stg.phx2.fedoraproject.org-sudoers"
|
sudoers: "{{ private }}/files/sudo/koji01.stg.phx2.fedoraproject.org-sudoers"
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ fas_client_groups: sysadmin-releng
|
||||||
freezes: true
|
freezes: true
|
||||||
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
||||||
|
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
# For the mock config
|
# For the mock config
|
||||||
kojipkgs_url: kojipkgs.fedoraproject.org
|
kojipkgs_url: kojipkgs.fedoraproject.org
|
||||||
|
|
|
@ -11,7 +11,7 @@ dns: 10.5.126.21
|
||||||
nrpe_procs_warn: 900
|
nrpe_procs_warn: 900
|
||||||
nrpe_procs_crit: 1000
|
nrpe_procs_crit: 1000
|
||||||
|
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
fas_client_groups: sysadmin-releng,sysadmin-secondary,sysadmin-noc,sysadmin-veteran
|
fas_client_groups: sysadmin-releng,sysadmin-secondary,sysadmin-noc,sysadmin-veteran
|
||||||
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
||||||
|
|
|
@ -3,7 +3,7 @@ koji_server_url: "https://koji.stg.fedoraproject.org/kojihub"
|
||||||
koji_weburl: "https://koji.stg.fedoraproject.org/koji"
|
koji_weburl: "https://koji.stg.fedoraproject.org/koji"
|
||||||
koji_topurl: "https://kojipkgs.fedoraproject.org/"
|
koji_topurl: "https://kojipkgs.fedoraproject.org/"
|
||||||
|
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
mem_size: 8192
|
mem_size: 8192
|
||||||
num_cpus: 4
|
num_cpus: 4
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
# We need to mount koji storage rw here so run_root can work.
|
# We need to mount koji storage rw here so run_root can work.
|
||||||
# The rest of the group can be ro, it's only builders in the
|
# The rest of the group can be ro, it's only builders in the
|
||||||
# compose channel that need a rw mount
|
# compose channel that need a rw mount
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
|
@ -31,7 +31,7 @@ fedmsg_certs:
|
||||||
- wiki.article.edit
|
- wiki.article.edit
|
||||||
- wiki.upload.complete
|
- wiki.upload.complete
|
||||||
|
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
csi_security_category: Moderate
|
csi_security_category: Moderate
|
||||||
csi_primary_contact: "#fedora-admin"
|
csi_primary_contact: "#fedora-admin"
|
||||||
|
|
|
@ -29,4 +29,4 @@ fedmsg_certs:
|
||||||
- wiki.article.edit
|
- wiki.article.edit
|
||||||
- wiki.upload.complete
|
- wiki.upload.complete
|
||||||
|
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
|
@ -13,7 +13,7 @@ vmhost: virthost03.phx2.fedoraproject.org
|
||||||
datacenter: phx2
|
datacenter: phx2
|
||||||
|
|
||||||
# nfs mount options, overrides the all/default
|
# nfs mount options, overrides the all/default
|
||||||
nfs_mount_opts: "ro,hard,bg,intr,nodev,nosuid,nfsvers=4"
|
nfs_mount_opts: "ro,hard,bg,intr,nodev,nosuid,nfsvers=4.0"
|
||||||
|
|
||||||
# We define this here to override the global one because we need eth1
|
# We define this here to override the global one because we need eth1
|
||||||
virt_install_command: "{{ virt_install_command_two_nic }}"
|
virt_install_command: "{{ virt_install_command_two_nic }}"
|
||||||
|
|
|
@ -14,7 +14,7 @@ vmhost: virthost16.phx2.fedoraproject.org
|
||||||
datacenter: phx2
|
datacenter: phx2
|
||||||
|
|
||||||
# nfs mount options, overrides the all/default
|
# nfs mount options, overrides the all/default
|
||||||
nfs_mount_opts: "ro,hard,bg,intr,nodev,nosuid,nfsvers=4"
|
nfs_mount_opts: "ro,hard,bg,intr,nodev,nosuid,nfsvers=4.0"
|
||||||
|
|
||||||
# We define this here to override the global one because we need eth1
|
# We define this here to override the global one because we need eth1
|
||||||
virt_install_command: "{{ virt_install_command_two_nic }}"
|
virt_install_command: "{{ virt_install_command_two_nic }}"
|
||||||
|
|
|
@ -17,7 +17,7 @@ num_cpus: 8
|
||||||
virt_install_command: "{{ virt_install_command_two_nic }}"
|
virt_install_command: "{{ virt_install_command_two_nic }}"
|
||||||
|
|
||||||
host_backup_targets: ['/srv']
|
host_backup_targets: ['/srv']
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
|
|
||||||
ssh_hostnames:
|
ssh_hostnames:
|
||||||
- pkgs.fedoraproject.org
|
- pkgs.fedoraproject.org
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- { role: nfs/client,
|
- { role: nfs/client,
|
||||||
mnt_dir: '/fedora_backups',
|
mnt_dir: '/fedora_backups',
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4",
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0",
|
||||||
nfs_src_dir: 'fedora_backups' }
|
nfs_src_dir: 'fedora_backups' }
|
||||||
- openvpn/client
|
- openvpn/client
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
- gnome_backups
|
- gnome_backups
|
||||||
- { role: nfs/client,
|
- { role: nfs/client,
|
||||||
mnt_dir: '/gnome_backups',
|
mnt_dir: '/gnome_backups',
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4",
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0",
|
||||||
nfs_src_dir: 'gnome_backups' }
|
nfs_src_dir: 'gnome_backups' }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
- cloudstats
|
- cloudstats
|
||||||
- role: nfs/client
|
- role: nfs/client
|
||||||
mnt_dir: '/mnt/fedora_stats'
|
mnt_dir: '/mnt/fedora_stats'
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
nfs_src_dir: 'fedora_stats'
|
nfs_src_dir: 'fedora_stats'
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -32,11 +32,11 @@
|
||||||
- { role: nfs/client,
|
- { role: nfs/client,
|
||||||
when: env != "staging",
|
when: env != "staging",
|
||||||
mnt_dir: '/srv/cache/lookaside',
|
mnt_dir: '/srv/cache/lookaside',
|
||||||
nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4' }
|
nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0' }
|
||||||
- { role: nfs/client,
|
- { role: nfs/client,
|
||||||
when: env == "staging" and inventory_hostname.startswith('pkgs02'),
|
when: env == "staging" and inventory_hostname.startswith('pkgs02'),
|
||||||
mnt_dir: '/srv/cache/lookaside_prod',
|
mnt_dir: '/srv/cache/lookaside_prod',
|
||||||
nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='ro,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4' }
|
nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='ro,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0' }
|
||||||
- role: distgit/pagure
|
- role: distgit/pagure
|
||||||
- role: distgit
|
- role: distgit
|
||||||
tags: distgit
|
tags: distgit
|
||||||
|
|
|
@ -49,9 +49,9 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_dev', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4,sec=sys', when: deployment_type == 'dev' }
|
- { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_dev', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4.0,sec=sys', when: deployment_type == 'dev' }
|
||||||
- { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_stg', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4,sec=sys', when: deployment_type == 'stg' }
|
- { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_stg', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4.0,sec=sys', when: deployment_type == 'stg' }
|
||||||
- { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_prod', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4,sec=sys', when: deployment_type == 'prod' }
|
- { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_prod', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4.0,sec=sys', when: deployment_type == 'prod' }
|
||||||
- { role: taskotron/grokmirror, tags: ['grokmirror'] }
|
- { role: taskotron/grokmirror, tags: ['grokmirror'] }
|
||||||
# - { role: taskotron/cgit, tags: ['cgit'] }
|
# - { role: taskotron/cgit, tags: ['cgit'] }
|
||||||
- { role: taskotron/buildmaster, tags: ['buildmaster'] }
|
- { role: taskotron/buildmaster, tags: ['buildmaster'] }
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
roles:
|
roles:
|
||||||
- role: nfs/client
|
- role: nfs/client
|
||||||
mnt_dir: '/mnt/fedora_stats'
|
mnt_dir: '/mnt/fedora_stats'
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4.0"
|
||||||
nfs_src_dir: 'fedora_stats'
|
nfs_src_dir: 'fedora_stats'
|
||||||
- geoip
|
- geoip
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue