Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3109 Overhaul the deployment and testing modules
  3. BIGTOP-3126

[Puppet] Failed to deploy QFS due to Permission denied error at initailization

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • deployment
    • None

    Description

      Use Vagrant Provisioner to deploy QFS, the error log:

      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.611 INFO - /etc/qfs/MetaServer.prp
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: loading key metaServer.clientPort with value 20000
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: loading key metaServer.chunkServerPort with value 30000
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: loading key metaServer.logDir with value /data/1/qfs/metaserver/transaction_logs
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: loading key metaServer.cpDir with value /data/1/qfs/metaserver/checkpoint
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: loading key metaServer.recoveryInterval with value 30
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: loading key metaServer.clusterKey with value ae17655a6c7407f1422107c59b7de5e831380881
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: loading key metaServer.msgLogWriter.logLevel with value INFO
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: loading key  with value ===============================================================================
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: loading key chunkServer.msgLogWriter.logLevel with value NOTICE
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns:
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:459) md5sum /proc/self/exe: 4c8578767962aeb3c24703d7aaa64132
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (nofilelimit.cc:82) max # of open files: 4096
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:675) meta server client listener:  20000
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:694) meta server chunk server listener:  30000
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:702) path->fid cache disabled
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:562) min chunk servers that should connect: 1
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:570) min. # of replicas per file: 1
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:739) hard limits: open files: 4096 chunk servers: 480 clients: 3360
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (NetDispatch.cc:1434) socket limits: clients: 3150 log: receiver: 105 transmitter: 105
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (LayoutManager.cc:2643) max. response size: 268435456 minIoBufferBytesToProcessRequest: 278921216
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (LayoutManager.cc:3192) setting properties for 0 chunk servers: chunkServer.msgLogWriter.logLevel=NOTICE;
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:761) creating empty file system
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:921) creating new empty file system
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:962) updating space utilization
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 INFO - (metaserver_main.cc:966) replaying logs
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 ERROR - (MetaVrSM.cc:1040) vrstate: Permission denied 13
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: 01-04-2019 09:12:35.625 FATAL - (metaserver_main.cc:1024) transaction log writer initialization failure: Permission denied 13
      ==> bigtop1: Notice: /Stage[main]/Qfs::Metaserver/Service[qfs-metaserver]: Dependency Exec[mkfs] has failures: true
      ==> bigtop1: Notice: /Stage[main]/Qfs::Chunkserver/File[/data/1/qfs/chunkserver]/ensure: created
      ==> bigtop1: Notice: /Stage[main]/Qfs::Chunkserver/File[/data/2/qfs/chunkserver]/ensure: created
      ==> bigtop1: Notice: /Stage[main]/Qfs::Chunkserver/File[/data/2/qfs/chunkserver/chunks]/ensure: created
      ==> bigtop1: Notice: /Stage[main]/Qfs::Chunkserver/File[/data/1/qfs/chunkserver/chunks]/ensure: created
      ==> bigtop1: Error: /usr/bin/metaserver -c /etc/qfs/MetaServer.prp returned 1 instead of one of [0]
      ==> bigtop1: Error: /Stage[main]/Qfs::Metaserver/Exec[mkfs]/returns: change from notrun to 0 failed: /usr/bin/metaserver -c /etc/qfs/MetaServer.prp returned 1 instead of one of [0]
      ==> bigtop1: Warning: /Stage[main]/Qfs::Metaserver/Service[qfs-metaserver]: Skipping because of failed dependencies
      ==> bigtop1: Notice: /Stage[main]/Qfs::Chunkserver/Service[qfs-chunkserver]/ensure: ensure changed 'stopped' to 'running'
      ==> bigtop1: Notice: Finished catalog run in 216.23 seconds
      
      

      Attachments

        Issue Links

          Activity

            People

              evans_ye Evans Ye
              evans_ye Evans Ye
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: