add explicite sec=sys to nfsvers=4 mounts so writes work consistently.
This commit is contained in:
parent
002c50711f
commit
4b66a02723
23 changed files with 25 additions and 25 deletions
|
@ -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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
# 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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
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"
|
||||||
|
|
|
@ -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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
# 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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
|
@ -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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
|
@ -5,7 +5,7 @@ freezes: false
|
||||||
# this box mounts a large share from the netapp to store combined http
|
# this box mounts a large share from the netapp to store combined http
|
||||||
# logs from the proxies.
|
# logs from the proxies.
|
||||||
|
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
# general configs
|
# general configs
|
||||||
nrpe_procs_warn: 900
|
nrpe_procs_warn: 900
|
||||||
|
|
|
@ -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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
|
|
||||||
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,nfsvers=4",
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4",
|
||||||
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,nfsvers=4",
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4",
|
||||||
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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
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,nfsvers=4' }
|
nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4' }
|
||||||
- { 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,nfsvers=4' }
|
nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='ro,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4' }
|
||||||
- role: distgit/pagure
|
- role: distgit/pagure
|
||||||
- role: distgit
|
- role: distgit
|
||||||
tags: distgit
|
tags: distgit
|
||||||
|
|
|
@ -25,11 +25,11 @@
|
||||||
nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub/archive' }
|
nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub/archive' }
|
||||||
- { role: nfs/client,
|
- { role: nfs/client,
|
||||||
mnt_dir: '/srv/pub/alt',
|
mnt_dir: '/srv/pub/alt',
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4",
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4",
|
||||||
nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub/alt' }
|
nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub/alt' }
|
||||||
- { role: nfs/client,
|
- { role: nfs/client,
|
||||||
mnt_dir: '/srv/pub/fedora-secondary',
|
mnt_dir: '/srv/pub/fedora-secondary',
|
||||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4",
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4",
|
||||||
nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub/fedora-secondary' }
|
nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub/fedora-secondary' }
|
||||||
|
|
||||||
- role: apache
|
- role: apache
|
||||||
|
|
|
@ -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,nfsvers=4"
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=4"
|
||||||
nfs_src_dir: 'fedora_stats'
|
nfs_src_dir: 'fedora_stats'
|
||||||
- geoip
|
- geoip
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue