This repository was archived by the owner on Jul 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Fix script with according to latest openshift doc #120
Merged
LalatenduMohanty
merged 1 commit into
projectatomic:master
from
praveenkumar:provision_fix
May 18, 2016
Merged
Fix script with according to latest openshift doc #120
LalatenduMohanty
merged 1 commit into
projectatomic:master
from
praveenkumar:provision_fix
May 18, 2016
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Author
|
@hferentschik @kadel Please review. |
Contributor
|
Looking good by just looking at it. I still need to test it as part of openshift-vagrant. Any chance you ran the server-spec tests or whatever is in adb-tests? |
| --credentials=${OPENSHIFT_DIR}/openshift-router.kubeconfig \ | ||
| --service-account=router | ||
| oadm policy add-scc-to-user privileged system:serviceaccount:default:router || exit 1 | ||
| oadm router --service-account=router --expose-metrics=true || exit 1 |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for adding || exit 1. Let's try to make these scripts behave better in error cases.
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
Contributor
Author
|
@hferentschik Tried smote test and below is result which looks as expected because provider is libvirt and it doesn't have eth0 IP as 10.0.2.15. |
fcb9664 to
78af61d
Compare
Contributor
|
LGTM. Merging this |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Latest openshift have deprecated --credentials options for
oadmand start using--service-account.https://docs.openshift.org/latest/install_config/install/deploy_router.html
Note: This patch tested with OSE3.2 and origin-v1.1.6 and able to provision as expected.