mesosphere / universe

The Mesosphere Universe package repository.
http://mesosphere.github.io/universe
Apache License 2.0
305 stars 425 forks source link

There is no "repo" in http service container #538

Closed subodhp closed 6 years ago

subodhp commented 8 years ago

HI,

I am trying to onboard local-universe on DCOS 1.7. The http container service starts correctly on the port 8082. The URL http://master.mesos:8082 works fine. http://master.mesos:8082/repo doesn't.

It turns out that there is no content named repo in the local-universe container at /usr/share/nginx/html/repo (inside container)

I am not able to install Spark due to this as Repository service is not present.

Please advise.

Thanks, Subodh Pachghare

mnp commented 7 years ago

The /repo endpoint is intercepted by the nginx config file and mapped to one of the JSON or ZIP files in /usr/share/nginx/html. Note that both User-Agent: and Accept: tags are examined by nginx to make this mapping:

An example Curl if you're going by hand is:

curl -H 'Accept: application/vnd.dcos.universe.repo+json;charset=utf-8;version=v3' -A 'dcos/1.8' http://dev-universe.marathon.mesos:8085/repo