openshift-labs / starter-guides

Getting Started with OpenShift for Developers workshop
https://openshift-labs.github.io/starter-guides-html/
Apache License 2.0
136 stars 147 forks source link

Remove (potential) previously declared snapshots Groovy script for Nexus FAILED #158

Closed makuhama closed 3 years ago

makuhama commented 4 years ago

Trying to deploy stuff from branch ocp-4.2 on a OCP 4.3 cluster as described delivers

TASK [ocp4-workload-homeroomlab-starter-guides : Remove (potential) previously declared snapshots Groovy script for Nexus] ******************
Thursday 26 March 2020  11:17:47 +0000 (0:00:00.031)       0:02:20.983 ******** 
fatal: [localhost]: FAILED! => {
  "changed": false,
  "connection": "close",
  "content": "",
  "date": "Thu, 26 Mar 2020 11:17:47 GMT",
  "elapsed": 0,
  "msg": "Status code was 401 and not [204, 404]: HTTP Error 401: Unauthorized",
  "redirected": false,
  "server": "Nexus/3.21.2-03 (OSS)",
  "set_cookie": "9fc5b03fb642738ed4f7e29b3ec79e4c=7c39e898f10084491ba5527fa6e8c924; path=/; HttpOnly",
  "status": 401,
  "url": "http://nexus-lab.apps.REDACTED/service/rest/v1/script/snapshots",
  "www_authenticate": "BASIC realm=\"Sonatype Nexus Repository Manager\"",
  "x_content_type_options": "nosniff"
}
blues-man commented 3 years ago

Closing due new version available