Bug 706953 - repo schedule start time can not be updated without updating --interval
Summary: repo schedule start time can not be updated without updating --interval
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: Sprint 25
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-23 15:07 UTC by Preethi Thomas
Modified: 2014-03-31 01:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:14:51 UTC


Attachments (Terms of Use)

Description Preethi Thomas 2011-05-23 15:07:25 UTC
Description of problem:


Looks like start time in repo schedule can not be updated  without giving --interval as well. It doesn't error out. In fact it say successfully updated but if you do repo list you can see that it hasn't changed.

[root@preethi ~]# pulp-admin repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+

                

                   



Id                 	fedora-15                
Name               	fedora-15                
Feed URL           	http://download.devel.redhat.com/released/F-15/Beta/Fedora/x86_64/os/
Feed Type          	remote                   
Feed Certs         	CA:No   Cert:No   Key:No
Consumer Certs     	CA:No   Cert:No   Key:No
Architecture       	noarch                   
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}                       



[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# pulp-admin repo update --id=fedora-15   --start=2011-05-23T10:00:00-05:00
Successfully updated repository [ fedora-15 ]

[root@preethi ~]# pulp-admin repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+
              

Id                 	fedora-15                
Name               	fedora-15                
Feed URL           	http://download.devel.redhat.com/released/F-15/Beta/Fedora/x86_64/os/
Feed Type          	remote                   
Feed Certs         	CA:No   Cert:No   Key:No
Consumer Certs     	CA:No   Cert:No   Key:No
Architecture       	noarch                   
Sync Schedule      	None                     
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}                       



[root@preethi ~]# pulp-admin repo update --id=fedora-15  --interval PT1H --start=2011-05-23T10:00:00-05:00
Successfully updated repository [ fedora-15 ]

[root@preethi ~]# pulp-admin repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+



Id                 	fedora-15                
Name               	fedora-15                
Feed URL           	http://download.devel.redhat.com/released/F-15/Beta/Fedora/x86_64/os/
Feed Type          	remote                   
Feed Certs         	CA:No   Cert:No   Key:No
Consumer Certs     	CA:No   Cert:No   Key:No
Architecture       	noarch                   
Sync Schedule      	2011-05-23T11:00:00-04:00/PT1H
Packages           	0                        
Files              	0                        
Distributions      	None                     
Publish            	True                     
Clones             	[]                       
Groups             	None                     
Filters            	[]                       
Notes              	{}

Comment 1 Jason Connor 2011-06-21 01:43:23 UTC
fix pushed in ba548daf4c622f293f4490282b38e421c0cdc282

Comment 2 Jeff Ortel 2011-06-22 21:12:21 UTC
build: 0.196

Comment 3 Preethi Thomas 2011-08-17 19:50:27 UTC
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.224-1.fc14.noarch

[root@preethi ~]# pulp-admin repo update --id=f14   --start=2011-08-20T09:10:00-04:00 
Interval required if start specified
[root@preethi ~]#

Comment 4 Preethi Thomas 2012-02-24 20:14:51 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 5 Preethi Thomas 2012-02-24 20:19:42 UTC
Pulp v1.0 is released.


Note You need to log in before you can comment on or make changes to this bug.