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

PodMetrics is not a deletable resource and needs to handled properly by odo dev #6475

Closed
valaparthvi opened this issue Jan 6, 2023 · 0 comments · Fixed by #6659
Closed
Assignees
Labels
area/dev Issues or PRs related to `odo dev` kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@valaparthvi
Copy link
Contributor

PodMetrics does not allow the DELETE method, this has been handled already but for some reason it still fails, it needs some investigation.

Expected
      <string>:   __
       /  \__     Developing using the "xpczcj" Devfile
       \__/  \    Namespace: cmd-logs-test189tbj
       /  \__/    odo version: v3.5.0
       \__/
      
      ↪ Deploying to the cluster in developer mode
       •  Waiting for Kubernetes resources  ...
       •  Creating resource Pod/myapp-inner  ...
      
 ✓  Creating resource Pod/myapp-inner 
       âš   Pod is Pending
       ✓  Pod is Running
       •  Deleting resources not present in the Devfile: PodMetrics/myapp-inner  ...
      
 ✓  Deleting resources not present in the Devfile: PodMetrics/myapp-inner [1s]
      Error occurred on Push - watch command was unable to push component: unable to delete remote resources: unable to delete resource: PodMetrics/myapp-inner: the server does not allow this method on the requested resource
      
       •  Deleting resources not present in the Devfile: PodMetrics/myapp-inner  ...
      
 ✓  Deleting resources not present in the Devfile: PodMetrics/myapp-inner [1s]
      Error occurred on Push - watch command was unable to push component: unable to delete remote resources: unable to delete resource: PodMetrics/myapp-inner: the server does not allow this method on the requested resource

Originally posted by @valaparthvi in #6470 (comment)

/assign valaparthvi

@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Jan 6, 2023
@rm3l rm3l added this to odo Project Jan 6, 2023
@kadel kadel added the kind/bug Categorizes issue or PR as related to a bug. label Jan 6, 2023
@rm3l rm3l added this to the v3.9.0 🚀 milestone Mar 15, 2023
@rm3l rm3l moved this to In Review 👀 in odo Project Mar 15, 2023
@rm3l rm3l self-assigned this Mar 16, 2023
@rm3l rm3l removed the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Mar 16, 2023
@github-project-automation github-project-automation bot moved this from In Review 👀 to Done ✅ in odo Project Mar 16, 2023
@rm3l rm3l added the area/dev Issues or PRs related to `odo dev` label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dev Issues or PRs related to `odo dev` kind/bug Categorizes issue or PR as related to a bug.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants