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

support ipv6 #1630

Closed
wants to merge 44 commits into from
Closed

support ipv6 #1630

wants to merge 44 commits into from

Conversation

zmlcc
Copy link
Contributor

@zmlcc zmlcc commented Apr 9, 2018

join host and port using net.JoinHostPort

Also add some changes include:
rename NetworkInfo.NetworkInfoIPv4 to NetworkInfo.NetworkInfo
rename NetworkInfo.ClusterAddrIPv4 to NetworkInfo.ClusterAddr
rename command flag public-ipv4 to public-ip
rename command flag private-ipv4 to private-ip
rename ROOK_PUBLIC_IPV4 to ROOK_PUBLIC_IP
rename ROOK_PRIVATE_IPV4 to ROOK_PRIVATE_IP

Description of your changes:

Which issue is resolved by this Pull Request:
Resolves #1629

@jbw976
Copy link
Member

jbw976 commented Apr 10, 2018

@zmlcc could you change this PR so that it would be merged into master instead of the 0.7 release branch? I think we'd only want this in master instead of putting it into an older release. Thanks!

AArch64 platform doesn't support the `build.all` command due to the
`hypriot/qemu-register` issue, so we disable this kind of 'cross' build
on AArch64 platform.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
@galexrt
Copy link
Member

galexrt commented May 10, 2018

@zmlcc As @jbw976 wrote, can you please change the target of the PR to master.
If there is no response till Saturday, I'm going to pick up this PR to get this feature in.

@zmlcc zmlcc changed the base branch from release-0.7 to master May 11, 2018 09:08
@zmlcc
Copy link
Contributor Author

zmlcc commented May 11, 2018

Sorry for late response
I changed target to master and patch the code
Hope it works

@zmlcc
Copy link
Contributor Author

zmlcc commented May 11, 2018

Integration Tests Failed Because K8s 1.6.x DO NOT support CRD !!!

@travisn
Copy link
Member

travisn commented May 11, 2018

@zmicc support for 1.6 has actually been removed as of a couple days ago. If you fetch and rebase you should not see 1.6 in the builds anymore.

@jbw976
Copy link
Member

jbw976 commented May 11, 2018

@zmlcc that's correct, support for k8s 1.6 was removed in master recently. What's odd here is that you have that commit in your branch, which also removes k8s 1.6 from the integration tests, so the latest run of the integration tests should NOT have run on 1.6! I wonder if Jenkins did some caching or something and it doesn't support when the Jenkinsfile changes in the middle of a PR. I'm going to try to run it again and see what happens.

@jbw976
Copy link
Member

jbw976 commented May 11, 2018

Hmm, I started a new build (as opposed to replaying one) and it's still trying to include k8s 1.6 in the pipeline: https://jenkins.rook.io/blue/organizations/jenkins/rook%2Frook/detail/PR-1630/3/pipeline

The branch has the removal of 1.6 from the jenkinsfile, this must be some weird Jenkins caching:
https://github.com/ucloudlab/rook/commits/ipv6-support
https://github.com/ucloudlab/rook/commit/656d2233d744df898f4bad3feb2ad33a91aca293#diff-58231b16fdee45a03a4ee3cf94a9f2c3

travisn and others added 2 commits May 11, 2018 14:02
Signed-off-by: travisn <tnielsen@redhat.com>
rename NetworkInfo.PublicAddrIPv4 to NetworkInfo.PublicAddr
rename NetworkInfo.ClusterAddrIPv4 to NetworkInfo.ClusterAddr
rename command flag public-ipv4 to public-ip
rename command flag private-ipv4 to private-ip
rename ROOK_PUBLIC_IPV4 to ROOK_PUBLIC_IP
rename ROOK_PRIVATE_IPV4 to ROOK_PRIVATE_IP

Signed-off-by: Zhang Miaolei <zmlcc@outlook.com>
@zmlcc
Copy link
Contributor Author

zmlcc commented May 14, 2018

@jbw976 I add one blank line in Jenkinsfile and it worked

travisn and others added 6 commits May 14, 2018 14:39
Base flex driver name on the namespace
Signed-off-by: Troll Berserker <berserker.troll@yandex.com>
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
Fix link to kubeadm install page
Copy link
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

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

I've thought about this a little more and I think there is a backwards compatibility implication from this change. If there are pods out there that are using the old flags and env vars then after upgrading to this change the pods will crash with an error about unknown flags.

  • --public-ipv4 flag
  • --private-ipv4 flag
  • ROOK_PUBLIC_IPV4 env var
  • ROOK_PRIVATE_IP env var

I think we need some code in here that allows the old flags/env vars to still be used, but just copies their value over to the new locations.

We'd probably also want to add a note about this to the Deprecations list in the pending release notes: https://github.com/rook/rook/blob/master/PendingReleaseNotes.md

Does that make sense?

jbw976 and others added 11 commits May 15, 2018 13:47
Add two common issues to the docs
Signed-off-by: travisn <tnielsen@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
Support 1.10 in the integration tests
Multiple file system support is still considered experimental in Ceph.
Disabling that as default in rook until such time it is production
ready.
A small code cleanup in filesystem file
Resolves #1720

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Ceph MDS: Control multi file system creation
Signed-off-by: Jared Watts <jbw976@gmail.com>
…pha1

Signed-off-by: Jared Watts <jbw976@gmail.com>
Signed-off-by: Jared Watts <jbw976@gmail.com>
Signed-off-by: travisn <tnielsen@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
jbw976 and others added 12 commits May 22, 2018 12:31
…e guide tweaks

Signed-off-by: Jared Watts <jbw976@gmail.com>
Refactor Rook source tree to support multiple storage providers and types
Instead of adding Ceph packages to Rook's base image, use
ceph-container's base image, which has Ceph packages preinstalled. Rook
now benefits from the testing the ceph-container project does, and the
scope of the Rook project no longer has to maintain builds of base
images containing Ceph packages.

The only ARM builds of ceph-container are CentOS, and as switching to
CentOS was already a thought, that is easily done at the same time as
this change.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
options collide with jekyll markup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This patch attempts to fix PV delete issues after an operator service
restart.

Resolves: #1721

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Fix PV delete failure over operator restarts
…ge type support

Signed-off-by: Jared Watts <jbw976@gmail.com>
Recent change to support multiple backends changed the docker image name
but missed the change in the test script. This patch addresses that
issue.

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Rook test script fix for missed name changes from multiple storage type support
Fixes for minor issues found in further testing of new multiple storage type support
@travisn
Copy link
Member

travisn commented May 25, 2018

@zmlcc thanks for working on this, it will be great to get in. Any questions about the changes @jbw976 requested? This will help us ensure upgrades are compatible.

Bence Szikora and others added 9 commits May 26, 2018 07:13
Signed-off-by: Bence Szikora <szikora0531@yahoo.de>
Fix udevadm providing incomplete info by mounting /run/udev
Match the namespace and cluster in the new CRDs

Signed-off-by: Ricardo Correa <r.correa.r@gmail.com>
monitoring: update namespace and cluster
Signed-off-by: travisn <tnielsen@redhat.com>
Upgrade should be tested and documented if necessary
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
Design document for adding NFS as storage backend
rename NetworkInfo.PublicAddrIPv4 to NetworkInfo.PublicAddr
rename NetworkInfo.ClusterAddrIPv4 to NetworkInfo.ClusterAddr
rename command flag public-ipv4 to public-ip
rename command flag private-ipv4 to private-ip
rename ROOK_PUBLIC_IPV4 to ROOK_PUBLIC_IP
rename ROOK_PRIVATE_IPV4 to ROOK_PRIVATE_IP

Signed-off-by: Zhang Miaolei <zmlcc@outlook.com>
@zmlcc zmlcc closed this Jun 5, 2018
@zmlcc zmlcc deleted the ipv6-support branch June 5, 2018 07:03
@zmlcc zmlcc restored the ipv6-support branch June 5, 2018 07:03
@zmlcc zmlcc deleted the ipv6-support branch June 5, 2018 07:05
@zmlcc zmlcc restored the ipv6-support branch June 5, 2018 07:08
@zmlcc
Copy link
Contributor Author

zmlcc commented Jun 5, 2018

Delete origin branch by accident

@zmlcc zmlcc mentioned this pull request Jun 5, 2018
@zmlcc
Copy link
Contributor Author

zmlcc commented Jun 5, 2018

I open new PR #1769 , let's continue to talk there

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.

support ipv6
10 participants