Skip to content

Update sample app README to use login and project commands#1553

Merged
openshift-bot merged 1 commit intoopenshift:masterfrom
fabianofranz:sample_app_readme_with_login
Apr 2, 2015
Merged

Update sample app README to use login and project commands#1553
openshift-bot merged 1 commit intoopenshift:masterfrom
fabianofranz:sample_app_readme_with_login

Conversation

@fabianofranz
Copy link
Member

No description provided.

@fabianofranz fabianofranz force-pushed the sample_app_readme_with_login branch from a495d20 to 4580b1f Compare April 1, 2015 18:55
@fabianofranz
Copy link
Member Author

[merge]

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@smarterclayton
Copy link
Contributor

[merge]

@fabianofranz fabianofranz force-pushed the sample_app_readme_with_login branch 4 times, most recently from 8c59cf6 to 6871738 Compare April 2, 2015 15:02
@fabianofranz fabianofranz force-pushed the sample_app_readme_with_login branch from 6871738 to b84150d Compare April 2, 2015 15:03
@openshift-bot
Copy link
Contributor

Evaluated for origin up to b84150d

@openshift-bot
Copy link
Contributor

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

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_openshift3/1677/) (Image: devenv-fedora_1189)

openshift-bot pushed a commit that referenced this pull request Apr 2, 2015
@openshift-bot openshift-bot merged commit 50d547f into openshift:master Apr 2, 2015
@soltysh
Copy link
Contributor

soltysh commented Apr 3, 2015

This is very unfortunate PR, since osc build-logs won't work with this change, see:

[vagrant@openshiftdev origin]$ osc build-logs ruby-sample-build-1
{
  "kind": "Status",
  "creationTimestamp": null,
  "apiVersion": "v1beta1",
  "status": "Failure",
  "message": "\"/osapi/v1beta1/proxy/buildLogs/ruby-sample-build-1?namespace=test\" is forbidden because test-admin cannot proxy on buildLogs with name \"ruby-sample-build-1\" in test",
  "reason": "Forbidden",
  "details": {},
  "code": 403
}

@fabianofranz
Copy link
Member Author

@soltysh Seems you are testing with Vagrant, correct? The complete process worked fine with a simple build from source, so let me check it it's related to Vagrant only.

@soltysh
Copy link
Contributor

soltysh commented Apr 6, 2015

Correct, it was on vagrant. For the discussion around the problems with
build logs after logging in you can have a look at my PR #1549.

On 5:03pm, Mon, Apr 6, 2015 Fabiano Franz notifications@github.com wrote:

@soltysh https://github.com/soltysh Seems you are testing with Vagrant,
correct? The complete process worked fine with a simple build from source,
so let me check it it's related to Vagrant only.


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

@fabianofranz
Copy link
Member Author

@soltysh Confirmed the issue (outside vagrant).

@smarterclayton @bparees The use of osc login breaks the osc build-logs part of sample app's flow in README because now only cluster admins are allowed to proxy (related discussion in #1549). Should we revert the use of login here for now, or leave it as is until build logs get moved?

@bparees
Copy link
Contributor

bparees commented Apr 6, 2015

@fabianofranz yes we should definitely revert this and in the future if we're adding commands to the readme, they should be added to the e2e steps at the same time (which would have caught this issue)

@soltysh
Copy link
Contributor

soltysh commented Apr 6, 2015

+1

On 9:53pm, Mon, Apr 6, 2015 Ben Parees notifications@github.com wrote:

@fabianofranz https://github.com/fabianofranz yes we should definitely
revert this and in the future if we're adding commands to the readme, they
should be added to the e2e steps at the same time (which would have caught
this issue)


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

@fabianofranz
Copy link
Member Author

@bparees This was on e2e already, but was part of a separate PR merged before docs. I'll make sure it's in the same PR in future.

Actually instead of reverting everything in README we can just run the build-logs command as cluster admin, and keep everything else as is. It's in fact what e2e is doing since 16df0e8. I'll open a PR with the change.

@fabianofranz
Copy link
Member Author

@bparees @soltysh #1617

@bparees
Copy link
Contributor

bparees commented Apr 6, 2015

Sounds good. Thanks! 

Ben Parees | OpenShift

From: Fabiano Franz notifications@github.com
Sent: Apr 6, 2015 4:57 PM
To: openshift/origin
Cc: Ben Parees
Subject: Re: [origin] Update sample app README to use login and project commands (#1553)

@bparees This was on e2e already, but was part of a separate PR merged before docs. I'll make sure it's in the same PR in future.

Actually instead of reverting everything in README we can just run the build-logs command as cluster admin, and keep everything else as is. It's in fact what e2e is doing since 16df0e8. I'll open a PR with the change.


Reply to this email directly or view it on GitHub:
#1553 (comment)

@soltysh
Copy link
Contributor

soltysh commented Apr 7, 2015

@fabianofranz that's even better, thx for doing this 👍

jpeeler pushed a commit to jpeeler/origin that referenced this pull request Nov 19, 2017
…service-catalog/' changes from 3064247d05..d969acde90

d969acde90 Add additional service to ups-broker to fix e2e (openshift#1583)
1bcd53b684 origin build: add origin tooling
bb3e4a1 Chart changes for 0.1.3 (openshift#1573)
1d463c3 less etcd logs during integration test (openshift#1572)
dcdb82d Fixing coverage tool. It had double 'contrib' on script path. (openshift#1568)
b636203 make binding poll function clone binding (openshift#1550)
e8e5baa Do not block instance spec changes unless there is an on-going operation (openshift#1536)
4f47ce8 Embed etcd in the integration tests directly. (openshift#1570)
d02ac34 Make logging in admission controllers consistent with controller-manager (openshift#1519)
31ae521 Check if file permissions allow go install (openshift#1566)
52e64db Clear out plan ref when plan changed using k8s names (openshift#1553)
4b49594 Allow deprovision after change to non-existent plan (openshift#1557)
c6e446e Consolidating logic for creating in-progress properties. (openshift#1511)
fd3a6d7 Adding UnbindStatus to ServiceBindings (openshift#1544)
b471bd3 Add tracer bullet integration test that shows dynamic response from fake broker. (openshift#1538)
c8d5610 update comments on NewStorage (openshift#1548)
35082df Update resources in walkthrough (openshift#1510)
f86b8aa Fix manual hack of glide.lock file from openshift#1517. (openshift#1543)
02a5ff6 Add an additional plan to ups-broker (openshift#1537)
4309a0e add alpha asynchronous binding operation support (openshift#1512)
617c823 Grant controller abilit to update service/plan status (openshift#1532)
281ca9c Moving a duplicated block of code to an independent function. (openshift#1509)
da5e9fa Use Event Builder to help construct expected error messages for controller_instance_test. (openshift#1507)
48c522d Updating helm install documentation (openshift#1525)
b89d59e Adding an independent test for originating_identity (openshift#1498)
6eb8a16 Apply Event Message Builder controller_broker unit tests (openshift#1497)
411831c Fixing missing pretty logging on controller_binding. (openshift#1520)
REVERT: 3064247d05 origin build: add origin tooling

git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog
git-subtree-split: d969acde904f95538892ccd570c8c4ca447280bd
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Nov 20, 2017
…service-catalog/' changes from 3064247d05..d969acde90

d969acde90 Add additional service to ups-broker to fix e2e (openshift#1583)
1bcd53b684 origin build: add origin tooling
bb3e4a1 Chart changes for 0.1.3 (openshift#1573)
1d463c3 less etcd logs during integration test (openshift#1572)
dcdb82d Fixing coverage tool. It had double 'contrib' on script path. (openshift#1568)
b636203 make binding poll function clone binding (openshift#1550)
e8e5baa Do not block instance spec changes unless there is an on-going operation (openshift#1536)
4f47ce8 Embed etcd in the integration tests directly. (openshift#1570)
d02ac34 Make logging in admission controllers consistent with controller-manager (openshift#1519)
31ae521 Check if file permissions allow go install (openshift#1566)
52e64db Clear out plan ref when plan changed using k8s names (openshift#1553)
4b49594 Allow deprovision after change to non-existent plan (openshift#1557)
c6e446e Consolidating logic for creating in-progress properties. (openshift#1511)
fd3a6d7 Adding UnbindStatus to ServiceBindings (openshift#1544)
b471bd3 Add tracer bullet integration test that shows dynamic response from fake broker. (openshift#1538)
c8d5610 update comments on NewStorage (openshift#1548)
35082df Update resources in walkthrough (openshift#1510)
f86b8aa Fix manual hack of glide.lock file from openshift#1517. (openshift#1543)
02a5ff6 Add an additional plan to ups-broker (openshift#1537)
4309a0e add alpha asynchronous binding operation support (openshift#1512)
617c823 Grant controller abilit to update service/plan status (openshift#1532)
281ca9c Moving a duplicated block of code to an independent function. (openshift#1509)
da5e9fa Use Event Builder to help construct expected error messages for controller_instance_test. (openshift#1507)
48c522d Updating helm install documentation (openshift#1525)
b89d59e Adding an independent test for originating_identity (openshift#1498)
6eb8a16 Apply Event Message Builder controller_broker unit tests (openshift#1497)
411831c Fixing missing pretty logging on controller_binding. (openshift#1520)
REVERT: 3064247d05 origin build: add origin tooling

git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog
git-subtree-split: d969acde904f95538892ccd570c8c4ca447280bd
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Dec 15, 2017
…service-catalog/' changes from 3064247d05..d969acde90

d969acde90 Add additional service to ups-broker to fix e2e (openshift#1583)
1bcd53b684 origin build: add origin tooling
bb3e4a1 Chart changes for 0.1.3 (openshift#1573)
1d463c3 less etcd logs during integration test (openshift#1572)
dcdb82d Fixing coverage tool. It had double 'contrib' on script path. (openshift#1568)
b636203 make binding poll function clone binding (openshift#1550)
e8e5baa Do not block instance spec changes unless there is an on-going operation (openshift#1536)
4f47ce8 Embed etcd in the integration tests directly. (openshift#1570)
d02ac34 Make logging in admission controllers consistent with controller-manager (openshift#1519)
31ae521 Check if file permissions allow go install (openshift#1566)
52e64db Clear out plan ref when plan changed using k8s names (openshift#1553)
4b49594 Allow deprovision after change to non-existent plan (openshift#1557)
c6e446e Consolidating logic for creating in-progress properties. (openshift#1511)
fd3a6d7 Adding UnbindStatus to ServiceBindings (openshift#1544)
b471bd3 Add tracer bullet integration test that shows dynamic response from fake broker. (openshift#1538)
c8d5610 update comments on NewStorage (openshift#1548)
35082df Update resources in walkthrough (openshift#1510)
f86b8aa Fix manual hack of glide.lock file from openshift#1517. (openshift#1543)
02a5ff6 Add an additional plan to ups-broker (openshift#1537)
4309a0e add alpha asynchronous binding operation support (openshift#1512)
617c823 Grant controller abilit to update service/plan status (openshift#1532)
281ca9c Moving a duplicated block of code to an independent function. (openshift#1509)
da5e9fa Use Event Builder to help construct expected error messages for controller_instance_test. (openshift#1507)
48c522d Updating helm install documentation (openshift#1525)
b89d59e Adding an independent test for originating_identity (openshift#1498)
6eb8a16 Apply Event Message Builder controller_broker unit tests (openshift#1497)
411831c Fixing missing pretty logging on controller_binding. (openshift#1520)
REVERT: 3064247d05 origin build: add origin tooling

git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog
git-subtree-split: d969acde904f95538892ccd570c8c4ca447280bd
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Feb 1, 2018
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.

5 participants