I’m going through the delivery tutorial for a second time (from scratch), and this time through I am stuck on running delivery init
to push the deliver-customers-rhel project to the server for the first time.
Here’s what I am getting. I have checked that admin@test has a valid ssh key for the git server.
Chef Delivery
Loading configuration from /home/christine/delivery2/Development/deliver-customers-rhel
Is /home/christine/delivery2/Development/deliver-customers-rhel a git repo? yes
adding remote delivery: ssh://admin@test@33.33.33.11:8989/test/Development/deliver-customers-rhel
Remote 'delivery' added to git config!
Creating project: deliver-customers-rhel
Checking for content on the git remote delivery: got error DeliveryError { kind: GitFailed, detail: Some("STDOUT: \nSTDERR: DELIVERY: ERROR: Unauthorized action\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n\n") }
No upstream content; pushing local content to server.
Creating master pipeline for project: deliver-customers-rhel ... 401 Unauthorized {"error":"token_denied"}
Generating build cookbook skeleton
Cached copy of build cookbook generator exists; skipping git clone.
PCB generate: "chef" "generate" "cookbook" ".delivery/build-cookbook" "-g" "/home/christine/.delivery/cache/generator-cookbooks/pcb"
Git add and commit of build-cookbook
Writing configuration to /home/christine/delivery2/Development/deliver-customers-rhel/.delivery/config.json
New delivery configuration
--------------------------
{
"version": "2",
"build_cookbook": {
"name": "build-cookbook",
"path": ".delivery/build-cookbook"
},
"skip_phases": [],
"build_nodes": {}
}Chef Delivery
Loading configuration from /home/christine/delivery2/Development/deliver-customers-rhel
Review for change add-delivery-config targeted for pipeline master
Git command failed!
STDOUT:
STDERR: Pushing to ssh://admin@test@33.33.33.11:8989/test/Development/deliver-customers-rhel
DELIVERY: ERROR: Unauthorized action
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.