Skip to content

Allow GCS object storage to be configured - #5120

Merged
sdodson merged 1 commit into
openshift:masterfrom
smarterclayton:allow_gcs_registry
Aug 23, 2017
Merged

sdodson merged 1 commit into
openshift:masterfrom
smarterclayton:allow_gcs_registry

Conversation

@smarterclayton

Copy link
Copy Markdown
Contributor

Previously, setting the GCS registry object storage settings resulted in
an invalid configuration. This generates a registry-config secret that
has the correct file if the GCS config is set.

config.yml: {{ registry_config }}
{% if openshift_hosted_registry_storage_gcs_keyfile is defined -%}
gcs.json: "{{ load('file', openshift_hosted_registry_storage_gcs_keyfile) | to_nice_json }}"
{% endif -%} No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure this is an orphaned file. I can see nothing that includes it. Lets get rid of it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

bucket: {{ openshift_hosted_registry_storage_gcs_bucket }}
{% if openshift_hosted_registry_storage_gcs_keyfile is defined %}
keyfile: {{ openshift_hosted_registry_storage_gcs_keyfile }}
keyfile: /etc/registry/gcs.json

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be /tmp/gcs.json to align with the secret path?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind, i see it now.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is unfortunate that this can't be relative to the config file.

@sdodson

sdodson commented Aug 17, 2017

Copy link
Copy Markdown
Member

aos-ci-test

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.6_NOT_containerized, aos-ci-jenkins/OS_3.6_NOT_containerized_e2e_tests" for 67f1839 (logs)

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.6_containerized, aos-ci-jenkins/OS_3.6_containerized_e2e_tests" for 67f1839 (logs)

Previously, setting the GCS registry object storage settings resulted in
an invalid configuration. This generates a registry-config secret that
has the correct file if the GCS config is set.
@smarterclayton

Copy link
Copy Markdown
Contributor Author

aos-ci-test

@smarterclayton

Copy link
Copy Markdown
Contributor Author

[test]

@openshift-bot

Copy link
Copy Markdown

Evaluated for openshift ansible test up to fb0adaa

@openshift-bot

Copy link
Copy Markdown

continuous-integration/openshift-jenkins/test NOT_FOUND (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_openshift_ansible/467/) (Base Commit: eedee44) (PR Branch Commit: fb0adaa)

@smarterclayton

Copy link
Copy Markdown
Contributor Author

aos-ci-test

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.6_NOT_containerized, aos-ci-jenkins/OS_3.6_NOT_containerized_e2e_tests" for fb0adaa (logs)

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.6_containerized, aos-ci-jenkins/OS_3.6_containerized_e2e_tests" for fb0adaa (logs)

@sdodson

sdodson commented Aug 18, 2017

Copy link
Copy Markdown
Member

[merge]

@smarterclayton

smarterclayton commented Aug 18, 2017 •

Copy link
Copy Markdown
Contributor Author
•! Panic in Spec Setup (BeforeEach) [6.356 seconds]
[Conformance][networking][router] openshift router metrics
/go/src/github.com/openshift/origin/test/extended/router/metrics.go:186
  The HAProxy router [BeforeEach]
  /go/src/github.com/openshift/origin/test/extended/router/metrics.go:185
    should expose a health check on the metrics port
    /go/src/github.com/openshift/origin/test/extended/router/metrics.go:78

    Test Panicked
    runtime error: index out of range
    /usr/local/go/src/runtime/panic.go:489

    Full Stack Trace
    	/usr/local/go/src/runtime/panic.go:489 +0x2cf
    github.com/openshift/origin/test/extended/router.glob..func2.1()
    	/go/src/github.com/openshift/origin/test/extended/router/metrics.go:62 +0x6ae
    github.com/openshift/origin/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc4214cdbc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    	/go/src/github.com/openshift/origin/test/extended/util/test.go:120 +0x3d4
    github.com/openshift/origin/test/extended.TestExtended(0xc4208d2750)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/test/extended/extended_test.go:35 +0x40
    testing.tRunner(0xc4208d2750, 0x3618d40)
    	/usr/local/go/src/testing/testing.go:657 +0x96
    created by testing.(*T).Run
    	/usr/local/go/src/testing/testing.go:697 +0x2ca

unrelated i think [merge]

was openshift/origin#13975

@smarterclayton

Copy link
Copy Markdown
Contributor Author

[merge]

@smarterclayton

Copy link
Copy Markdown
Contributor Author

Flake on prometheus metrics test [merge]

@openshift-bot

Copy link
Copy Markdown

Evaluated for openshift ansible merge up to fb0adaa

@openshift-bot

Copy link
Copy Markdown

continuous-integration/openshift-jenkins/merge FAILURE (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/896/) (Base Commit: b107f67) (PR Branch Commit: fb0adaa)

@sdodson

sdodson commented Aug 23, 2017

Copy link
Copy Markdown
Member

Passed everything but the system containers test. I've asked Jan to look into that one. Merging manually and bracing for the fallout.

@sdodson
sdodson merged commit a563848 into openshift:master Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants