Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.

Issue #674

closed

pulp-admin says sync schedule deleted succesfully for non-existing schedule id

Added by dkliban@redhat.com over 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.6 Beta
Platform Release:
2.6.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. pulp-admin rpm repo sync schedules delete --schedule-id 54bff6f0421aa9725f7e0ab1 --repo-id zoo
2. pulp-admin rpm repo sync schedules delete --schedule-id 54bff6f0421aa9725f7e0ab1 --repo-id zoo
3. "Schedule successfully deleted" is displayed both times the command is executed with the same schedule-id.

Actual results:

Expected results:

Additional info:

+ This bug was cloned from Bugzilla Bug #1185011 +

Actions #1

Updated by bmbouter over 9 years ago

The schedule id is used in the URL so it should return a 404. I think raising a MissingResource would cause this to be represented better (no ugly traceback) and give it a 404 response code.

+ This comment was cloned from Bugzilla #1185011 comment 1 +

Actions #3

Updated by ipanova@redhat.com over 9 years ago

Actions #4

Updated by cduryee over 9 years ago

2.6.0-0.7.beta

+ This comment was cloned from Bugzilla #1185011 comment 4 +

Actions #5

Updated by igulina@redhat.com over 9 years ago

rpm -qa pulp-server

pulp-server-2.6.0-0.7.beta.el6.noarch

pulp-admin rpm repo sync schedules create --repo-id gena --schedule=2015-02-13T10:35:00Z/PT1M

Schedule successfully created

pulp-admin rpm repo sync schedules list --repo-id gena

--------------------------------------------------------------------
Schedules
--------------------------------------------------------------------

Schedule: 2015-02-13T10:35:00Z/PT1M
Id: 54de1bb5422f0704c03b99fe
Enabled: True
Next Run: 2015-02-13T15:45:00Z

pulp-admin rpm repo sync schedules delete --schedule-id 54de1bb5422f0704c03b99fe --repo-id gena

Schedule successfully deleted

pulp-admin rpm repo sync schedules delete --schedule-id 54de1bb5422f0704c03b99fe --repo-id gena

The following resource(s) could not be found:

54de1bb5422f0704c03b99fe (schedule_id)

pulp-admin rpm repo sync schedules list --repo-id gena+----------------------------------------------------------------------+

Schedules
--------------------------------------------------------------------

There are no schedules defined for this operation

+ This comment was cloned from Bugzilla #1185011 comment 5 +

Actions #6

Updated by bmbouter over 9 years ago

  • Severity changed from Medium to 2. Medium
Actions #7

Updated by rbarlow over 9 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF