Hipchat Data Center: CentOS NFS Mount Failure

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

 

 

問題

Mounting the NFS v4 to the Hipchat Data Center node fails with the following error in the kern.log.

/var/log/hipchat/kern.log
2017-10-16T07:21:33.679317+00:00 hipchat kernel: [ 331.367484] IN= OUT=eth0 SRC=192.168.10.199 DST=192.168.10.198 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=11180 DF PROTO=TCP SPT=792 DPT=2049 WINDOW=29200 RES=0x00 SYN URGP=0 
2017-10-16T07:21:33.679317+00:00 hipchat kernel: [ 331.372815] RPC: AUTH_GSS upcall failed. Please check user daemon is running.

診断

環境

  • Hipchat Data Center 3.0.1

Diagnostic Steps

  • Check through the /etc/exports file and the structure should look like this for example

    /exports/data *(rw,no_subtree_check,no_root_squash)

原因

It is a known issue when user mount the NFS volume using NFS4 when the /etc/exports should include the parent directory of your NFS folder.

This issue was discussed in the Since Upgrading NFS and Ubuntu to 14.04, All NFS Mounts Are Failing article.

回避策

There are 2 workarounds that you can apply, either on the node(s) hosting Hipchat Data Center or the instance hosting the NFS:

Workaround #1 (Data Center node)

  1. Obtain the root access to the node

    sudo dont-blame-hipchat
  2. Edit the /etc/modprobe.d/blacklist.conf file using the editor of your choice. For example:

    nano /etc/modprobe.d/blacklist.conf


  3. Include the following line in the file:

    blacklist rpcsec_gss_krb5


  4. Once done, reboot the server and mount the NFS again

Workaround #2 (NFS server)

  1.  Edit the /etc/exports file on the NFS instance

    nano /etc/exports
  2. With reference to the Setup NFSv4 on CentOS page, include the root parent directory of your NFS folder with a read-only permisison. For example:

    /exports      *(ro,no_subtree_check,fsid=0,crossmnt)
    /exports/data *(rw,no_subtree_check,no_root_squash)


  3. Once done, mount the NFS again and verify that it works


最終更新日: 2018 年 1 月 19 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.