Skip to content

oc delete all --all didn't #17411

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

Closed
smarterclayton opened this issue Nov 21, 2017 · 8 comments
Closed

oc delete all --all didn't #17411

smarterclayton opened this issue Nov 21, 2017 · 8 comments

Comments

@smarterclayton
Copy link
Contributor

Tried to run oc delete all --all, it used to delete services, no longer does. On 3.7 GA, cleared cache and tried again, got this list:

I1121 12:01:01.121968   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/oapi/v1/namespaces/openshift-devops-monitor/buildconfigs?includeUninitialized=true 200 OK in 108 milliseconds
I1121 12:01:01.152870   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/oapi/v1/namespaces/openshift-devops-monitor/builds?includeUninitialized=true 200 OK in 30 milliseconds
I1121 12:01:01.187394   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/oapi/v1/namespaces/openshift-devops-monitor/imagestreams?includeUninitialized=true 200 OK in 34 milliseconds
I1121 12:01:01.221588   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/oapi/v1/namespaces/openshift-devops-monitor/deploymentconfigs?includeUninitialized=true 200 OK in 33 milliseconds
I1121 12:01:01.251014   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/oapi/v1/namespaces/openshift-devops-monitor/routes?includeUninitialized=true 200 OK in 29 milliseconds
I1121 12:01:01.282229   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/extensions/v1beta1/namespaces/openshift-devops-monitor/deployments?includeUninitialized=true 200 OK in 31 milliseconds
I1121 12:01:01.311499   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/extensions/v1beta1/namespaces/openshift-devops-monitor/replicasets?includeUninitialized=true 200 OK in 29 milliseconds
I1121 12:01:01.343239   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/apps/v1beta1/namespaces/openshift-devops-monitor/deployments?includeUninitialized=true 200 OK in 31 milliseconds
I1121 12:01:01.374212   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/apps/v1beta1/namespaces/openshift-devops-monitor/statefulsets?includeUninitialized=true 200 OK in 30 milliseconds
I1121 12:01:01.482545   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/autoscaling/v1/namespaces/openshift-devops-monitor/horizontalpodautoscalers?includeUninitialized=true 200 OK in 108 milliseconds
I1121 12:01:01.517479   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/batch/v1/namespaces/openshift-devops-monitor/jobs?includeUninitialized=true 200 OK in 34 milliseconds
I1121 12:01:01.547597   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/batch/v2alpha1/namespaces/openshift-devops-monitor/cronjobs?includeUninitialized=true 200 OK in 29 milliseconds
I1121 12:01:01.578669   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/batch/v2alpha1/namespaces/openshift-devops-monitor/scheduledjobs?includeUninitialized=true 200 OK in 30 milliseconds
I1121 12:01:01.608176   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/apps.openshift.io/v1/namespaces/openshift-devops-monitor/deploymentconfigs?includeUninitialized=true 200 OK in 29 milliseconds
I1121 12:01:01.647689   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/build.openshift.io/v1/namespaces/openshift-devops-monitor/buildconfigs?includeUninitialized=true 200 OK in 39 milliseconds
I1121 12:01:03.171952   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/build.openshift.io/v1/namespaces/openshift-devops-monitor/builds?includeUninitialized=true 200 OK in 1524 milliseconds
I1121 12:01:03.920046   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/image.openshift.io/v1/namespaces/openshift-devops-monitor/imagestreams?includeUninitialized=true 200 OK in 747 milliseconds
I1121 12:01:03.996908   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/apis/route.openshift.io/v1/namespaces/openshift-devops-monitor/routes?includeUninitialized=true 200 OK in 76 milliseconds
I1121 12:01:04.028279   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/api/v1/namespaces/openshift-devops-monitor/pods?includeUninitialized=true 200 OK in 31 milliseconds
I1121 12:01:04.065654   27066 round_trippers.go:436] GET https://api.starter-us-east-1.openshift.com:443/api/v1/namespaces/openshift-devops-monitor/replicationcontrollers?includeUninitialized=true 200 OK in 37 milliseconds

At minimum it's missing services.

@smarterclayton
Copy link
Contributor Author

This is master oc against 3.7 server, not sure if it's broken in GA oc. @fabianofranz

@fabianofranz
Copy link
Member

I confirmed it fails with master oc and not in 3.7 oc.

@smarterclayton
Copy link
Contributor Author

Dropping priority, although it's would still obviously be must fix for 3.8

@fabianofranz
Copy link
Member

@mfojtik
Copy link
Contributor

mfojtik commented Nov 23, 2017

@fabianofranz are you going to fix this in master as well?

@fabianofranz
Copy link
Member

@fabianofranz are you going to fix this in master as well?

@mfojtik Master doesn't need it since this is already in the latest rebase. I opened it for release-3.7 in origin: #17454.

@fabianofranz
Copy link
Member

So

https://github.com/openshift/ose/pull/931 OSE fix
#17454 origin fix

Feel free to close if we're maintaining a release in only one instead of both repos.

openshift-merge-robot added a commit that referenced this issue Nov 27, 2017
Automatic merge from submit-queue.

[3.7] UPSTREAM: 49128: add svc and netpol to discovery

Fixes #17411 and https://bugzilla.redhat.com/show_bug.cgi?id=1515878

Add svc and netpol to discovery, picking kubernetes/kubernetes@8232778 into the **enterprise-3.7** branch.

PTAL @deads2k @smarterclayton
@fabianofranz
Copy link
Member

Fixed in Origin and OSE by the 2 PR's linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants