Spinnaker deployment and Backup via Halyard Fails


#1
Halyard version : 1.12.0-20181024113436
Spinnakker : 1.9.5 & 1.10.5 (Tried both)

Instructions Followed : https://www.spinnaker.io/setup/install/

Cloud Provider : Kubernetes V2
Persistent Storage: S3

hal deploy apply
    + Get current deployment
      Success
    + Prep deployment
      Success
    + Preparation complete... deploying Spinnaker
    + Get current deployment
      Success
    - Apply deployment
      Failure
    Problems in Global:
    ! ERROR Failed to backup user file: /root/.kube/config

    - Failed to deploy Spinnaker.
   

 hal backup create
    - Create backup
      Failure
    Problems in Global:
    ! ERROR Failed to backup user file: /root/.kube/config

    - Failed to create a backup.

#2

It looks like halyard doesn’t have permission to your kubeconfig file; can you check that the file exists, and has permissions such that the user running halyard can read it?


#3

I tried providing full permission(777) to the file and i am executing the commands as root @ezimanyi


#4

I had to run chmod 777 /root/ to fix it