| Summary: | repo schedule start time can not be updated without updating --interval | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | mmccune, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 25 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 20:14:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
fix pushed in ba548daf4c622f293f4490282b38e421c0cdc282 build: 0.196 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 ~]# Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |
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 {}