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

k8s rebase - 4a65fa1f35e98ae96785836d99bf4ec7712ab682 #6320

Merged
merged 64 commits into from
Jan 27, 2016

Conversation

soltysh
Copy link
Contributor

@soltysh soltysh commented Dec 15, 2015

Fixes #5684

Rebase checklist:

  • build
  • generate
    • Readd UPSTREAM: <carry>: tweak generator to handle conversions in other packages
    • Readd Info field in swagger upstream commit
    • Generate k8s conversions/deep-copies
    • Generate origin conversions/deep-copies
    • swagger spec
  • TEST_KUBE=1 hack/test-go.sh
  • hack/test-cmd.sh
  • hack/test-integration-docker.sh
  • hack/test-end-to-end-docker.sh
  • Sweep upstream commits since last rebase, ensure merged or re-picked
  • Check open ports
  • Sweep bumps
    • ensure all kube dependencies are bumped
    • ensure any upstreams patches on bumps get reapplied
    • ensure we don't downgrade any shared deps
    • squash transitive godep bumps
  • Figure out default generator for oc run (changed from run-pod/v1 to job/v1beta1)
  • sweep controllermanager init for changes
  • pick up config bits from controllermanager config (a la https://github.com/openshift/origin/pull/6772/files#diff-62e1d6e1ea7f763bd41c44733aa2fba2R198)
    /origin/commit/b36aeb4edcbd9e929cf9492254c4e3773bc51b1a
  • split origin commit into smaller interesting/mechanical commits (do this last after we're sure we won't have any big rebases on master)
  • review making sure latest.* call replacements match
  • diff v1beta3 and scc packages against origin/master to make sure all carries got merged cleanly
  • Extended test inspection

Boring changes:

  • Sweep for len() checks on ErrorList, rather than != nil checks
  • Sweep usage of sets.StringKeySet... something changed that panics when given a struct value
  • Sweep for invalid JSON upper-case attributes (previous parser allowed "Kind" or "kind", etc)

Interesting changes:

  • Adjust namespace/job/hpa controllers to trigger off resource/group enablement (EnableExp is gone)
  • Check for v1 and extension enablement correctly in kubernetes master
  • Get version negotiation working
  • restored previous defaulting behavior for an empty masterIP (PublicAddress in k8s)
  • restored previous resolv.conf behavior when using clusterDNS
  • revert default generator for oc run, add test for oc run --generator=job/v1beta1

Follow-ups:

Announcements:

  • JSON parser got more strict... keys are case-sensitive now

@soltysh soltysh force-pushed the rebase branch 2 times, most recently from 4eae94e to 70901da Compare December 17, 2015 09:19
@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 17, 2015
@soltysh soltysh force-pushed the rebase branch 4 times, most recently from cc3c089 to 3487422 Compare December 21, 2015 11:27
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 21, 2015
@soltysh
Copy link
Contributor Author

soltysh commented Dec 21, 2015

I'll be squashing certain commits together (@Kargakis I'll take your remark into account), I'm also thinking about squashing certain carry patches (eg. v1beta3) for ease of next rebase, wdyt? @deads2k @liggitt ?

@0xmichalis
Copy link
Contributor

You should squash into the main v1beta3 commit at least soltysh@bc6b69f and soltysh@daec40b

Also note that soltysh@0511646 is not just about v1beta3. You may want to split the commit into two separate, squash relevant changes in the main v1beta3 commit and the rest probably in the kube bump?

@0xmichalis
Copy link
Contributor

Also note that soltysh/origin@0511646 is not just about v1beta3. You may want to split the commit into two separate, squash relevant changes in the main v1beta3 commit and the rest probably in the kube bump?

The non-v1beta3 changes remove the dead experimental directory added in soltysh@a75ae91. So you probably have to squash there.

@deads2k
Copy link
Contributor

deads2k commented Dec 21, 2015

I think that all the v1beta3 work should be in its own, singular commit.

I know that package-by-package changes are easy to deal with during compilation, but can you reorganize into boring and different kinds of interesting changes for review?

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 22, 2015
@0xmichalis
Copy link
Contributor

603c7d3 adds ValidateScale and ValidateScaleUpdate but upstream only the first got in. ValidateScaleUpdate is redundant, when you come across it in the deploymentConfig registry, just replace it with ValidateScale (and remove the second field).

@0xmichalis
Copy link
Contributor

603c7d3 adds ValidateScale and ValidateScaleUpdate but upstream only the first got in. ValidateScaleUpdate is redundant, when you come across it in the deploymentConfig registry, just replace it with ValidateScale (and remove the second field).

FWIW, I am already handling this in #6233 and it will probably get faster in than the rebase. I just wanted to let you know what should happen in that part of code.

@soltysh
Copy link
Contributor Author

soltysh commented Jan 4, 2016

I've merged v1beta3 into single commit (I've put the names of the old commits in the description).

@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 4, 2016
@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 5, 2016
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 5, 2016
@soltysh soltysh force-pushed the rebase branch 2 times, most recently from eca6006 to f07b1d1 Compare January 7, 2016 17:13
@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 7, 2016
@liggitt
Copy link
Contributor

liggitt commented Jan 27, 2016

squashed, rebased, fixed unit test compile error. I left API Group version changes as it's own commit, moving above the validation commit to squash with boring changes would have been a merge nightmare

@deads2k
Copy link
Contributor

deads2k commented Jan 27, 2016

lgtm [@danmcp is awesome! merge] or whatever our super secret string is :)

@pweil-
Copy link
Contributor

pweil- commented Jan 27, 2016

lgtm [@danmcp is awesome! merge] or whatever our super secret string is :)

rofl!

@deads2k
Copy link
Contributor

deads2k commented Jan 27, 2016

[vipmerge]!

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/4757/) (Image: devenv-rhel7_3257)

@openshift-bot
Copy link
Contributor

Evaluated for origin vipmerge up to 785de6d

@liggitt
Copy link
Contributor

liggitt commented Jan 27, 2016

one test-cmd.sh run passed, one flaked with:

FAILURE after 30.388s: hack/../test/cmd/images.sh:96: executing 'oc import-image mysql --from=mysql --all --confirm' expecting success and text 'sha256:': the command returned the wrong error code; the output content test failed
There was no output from the command.
Standard error from the command:
Error from server: Timeout: request did not complete within allowed duration

@liggitt
Copy link
Contributor

liggitt commented Jan 27, 2016

second test failed with

++ Retrying until success or timeout: oc get rc/failing-dc-1
Error from server: Timeout: timed out waiting for deployment test/failing-dc-1 to start after 10s
!!! Error in hack/../hack/../test/end-to-end/core.sh:178
    'oc logs -f dc/failing-dc' exited with status 1
Call stack:
    1: hack/../hack/../test/end-to-end/core.sh:178 main(...)

@liggitt
Copy link
Contributor

liggitt commented Jan 27, 2016

[test]

@deads2k
Copy link
Contributor

deads2k commented Jan 27, 2016

re[test]

@liggitt
Copy link
Contributor

liggitt commented Jan 27, 2016

where's @deadliggitt when we need him?

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 785de6d

@deadliggitt
Copy link

yes?

@pweil-
Copy link
Contributor

pweil- commented Jan 27, 2016

yes?

I spit out my drink...thanks

@0xmichalis
Copy link
Contributor

lmao

@soltysh
Copy link
Contributor Author

soltysh commented Jan 27, 2016

OMG the rebase destroyed my psychic I see two in one...
On Jan 27, 2016 5:28 PM, "Michail Kargakis" [email protected]
wrote:

lmao


Reply to this email directly or view it on GitHub
#6320 (comment).

openshift-bot pushed a commit that referenced this pull request Jan 27, 2016
Merged by openshift-bot
@openshift-bot openshift-bot merged commit 2b11c00 into openshift:master Jan 27, 2016
@dgoodwin
Copy link
Contributor

68747470733a2f2f702e67722d6173736574732e636f6d2f353430783534302f6669742f686f73746564696d616765732f313338313231333736302f343534333039342e676966

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/497/)

@jayunit100
Copy link
Contributor

does this mean that the 3.2 release is going to be based off of this commit ?

@liggitt
Copy link
Contributor

liggitt commented Feb 4, 2016

No, there is another rebase in progress now

@jayunit100
Copy link
Contributor

yup, as i understand its happening at https://github.com/deads2k/origin/tree/rebase ....

@0xmichalis
Copy link
Contributor

@jayunit100 #6947

@soltysh soltysh deleted the rebase branch September 12, 2016 09:21
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 785de6d on soltysh:rebase into ** on openshift:master**.

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.

Rebase checklist