Project

Profile

Help

Issue #1566

closed

Crane returns 404 on /v1/_ping

Added by rbarlow over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Crane:
master
Platform Release:
Target Release - Crane:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

I noticed today that Crane returns a 404 response on /v1/_ping:

(pulp)[vagrant@dev pulp]$ curl -I http://localhost:5000/v1/_ping
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
Docker-Distribution-Api-Version: registry/2.0
X-Content-Type-Options: nosniff
Date: Thu, 21 Jan 2016 21:28:16 GMT
Content-Length: 19

I thought it was strange that it has the Docker v2 headers in the response, which might be a clue in fixing it. Here are the logs during that request:

172.17.0.1 - - [21/Jan/2016:21:28:16 +0000] "HEAD /v1/_ping HTTP/1.1" 404 19 "" "curl/7.43.0"

Also available in: Atom PDF