Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master cherry picks for 3.6.1 #4814

Merged
merged 11 commits into from
Aug 9, 2017
Merged

master cherry picks for 3.6.1 #4814

merged 11 commits into from
Aug 9, 2017

Conversation

sosiouxme
Copy link
Member

@sosiouxme sosiouxme commented Jul 20, 2017

@rhcarvalho
Copy link
Contributor

@sosiouxme thanks for keeping track of this!

juanvallejo and others added 11 commits July 27, 2017 11:26
And document that one needs to install dependencies before running playbooks.
We do not need the builder functionality from playbook2image and the
resulting image was overly complicated, so this simply builds on
Centos/RHEL.
This patch verifies that logs sent from logging pods can be queried on
the Elasticsearch pod within a reasonable amount of time.
Move task_vars into instance variable so we don't have to pass it
around everywhere. Also store tmp. Make sure both are filled in on
execute_module.

In the process, is_active became an instance method, and task_vars is
basically never used directly outside of test code.
Clean up openshift-checks playbooks

- The referenced issue was closed, seems like a wontfix. Just use the
old syntax and make no noise about it.
- Remove inconsistent use of tags: if tags are passed in the command
line, there is no point in evaluating groups if the checks won't be run
anyway.
- Remove temporal comment, easy to get out of sync.

Make LoggingCheck.run return the correct type

The run method is expected to return a dict. Even though we should not
run LoggingCheck by itself, it is still possible to do it and without
this change we get an unhandled exception.

Clean up unnecessary quotes

Normalize list of checks passed to action plugin

This allows users to pass either a string with comma-separated check
names or a proper list of strings, whatever is more convenient in the
context.

For consistency, the same normalization is applied to the
'openshift_disable_check' variable.
Addresses issue #4967

For now, any version >= 3.6 is handled as if it were 3.6. We may want to
keep that or fine-tune it later.

Also, the ovs_version check is not updated. This is a post-install
health check (does not block install/upgrade) with an update already in
progress so will be addressed there.
The oc client was left out with the move away from playbook2image.
However it is needed in the image for the `oc cluster up` use case for
installing logging or metrics.

This change adds oc via the latest signed and released client RPM,
which requires adding the centos-openshift-origin repo to the image.
@sdodson
Copy link
Member

sdodson commented Aug 8, 2017

aos-ci-test

@sdodson
Copy link
Member

sdodson commented Aug 8, 2017

[test]

@openshift-bot
Copy link

Evaluated for openshift ansible test up to c1f6dc8

@openshift-bot
Copy link

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_openshift_ansible/416/) (Base Commit: 24f37aa) (PR Branch Commit: c1f6dc8)

@openshift-bot
Copy link

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

@openshift-bot
Copy link

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

@sosiouxme
Copy link
Member Author

tests passed except for the fedora/25/atomic test blocking.

@sdodson @rhcarvalho shall we go ahead and get this merged? Needs an approval.

@sdodson
Copy link
Member

sdodson commented Aug 8, 2017

fedora/25/atomic should no longer be blocking but I'm fine with merging it for you for expediency since the tests have all passed minus the ordering dependency between the two

@sosiouxme
Copy link
Member Author

@sdodson cool, if you don't want to waste merge queue time on this it's fine with me. Or I can merge it the official way with an approval.

@sdodson
Copy link
Member

sdodson commented Aug 8, 2017

[merge]

@openshift-bot
Copy link

Evaluated for openshift ansible merge up to c1f6dc8

@openshift-bot
Copy link

continuous-integration/openshift-jenkins/merge FAILURE (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/816/) (Base Commit: 59a3eac) (PR Branch Commit: c1f6dc8)

@sosiouxme
Copy link
Member Author

https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/816/

+ approve.sh openshift-ansible release-3.6 none
[ERROR] No approval criteria are configured for 'release-3.6' branch of 'openshift-ansible' repo.

@sdodson @stevekuznetsov errr... what?

@stevekuznetsov
Copy link
Contributor

@jupierce ^^

@sdodson sdodson merged commit 6ea975c into openshift:release-3.6 Aug 9, 2017
@jupierce
Copy link
Contributor

jupierce commented Aug 9, 2017

I've now set an approver for this branch.

@sosiouxme sosiouxme deleted the 20170720-release-3.6-cherrypicks branch August 9, 2017 12:14
@sosiouxme
Copy link
Member Author

@smunilla note 6ff80ce coming over from master will affect the downstream ose-ansible build. Content has moved around a bit.

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.

7 participants