Description of problem: getting error: operation failed: Exception: update keyword "schedule_start", not-supported when trying to update repo with schedules Version-Release number of selected component (if applicable): [root@preethi ~]# rpm -q pulp pulp-0.0.177-1.fc14.noarch How reproducible: Steps to Reproduce: [root@preethi ~]# pulp-admin repo update --id=repos-pulp-pulp-testing-fedora-14-i386 --interval P1D --start=2011-05-17T11:30:00-0:6:00 error: operation failed: Exception: update keyword "schedule_start", not-supported [root@preethi ~]# Actual results: Expected results: Additional info:
client.log 2011-05-18 13:01:34,657 [ERROR][MainThread] main() @ base.py:216 - error: (500, 'Exception: update keyword "schedule_start", not-supported', 'Traceback (most recent call last):\n File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/base.py", line 53, in report_error\n return method(self, *args, **kwargs)\n File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/base.py", line 132, in _auth_decorator\n value = method(self, *args, **kwargs)\n File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/repositories.py", line 300, in PUT\n repo = api.update(id, delta)\n File "/usr/lib/python2.7/site-packages/pulp/server/auditing.py", line 199, in _audit\n result = method(*args, **kwargs)\n File "/usr/lib/python2.7/site-packages/pulp/server/api/repo.py", line 704, in update\n \'update keyword "%s", not-supported\' % key') pulp.log 2011-05-18 13:02:52,147 [ERROR][Dummy-2] report_error() @ base.py:57 - Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/base.py", line 53, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/base.py", line 132, in _auth_decorator value = method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/repositories.py", line 300, in PUT repo = api.update(id, delta) File "/usr/lib/python2.7/site-packages/pulp/server/auditing.py", line 199, in _audit result = method(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/api/repo.py", line 704, in update 'update keyword "%s", not-supported' % key Exception: update keyword "schedule_start", not-supported
added checks to NOT pass unused scheduling variables in the update delta fix pushed in 822343f..69813f0
build: 0.179
verified [root@preethi ~]# rpm -q pulp pulp-0.0.179-1.fc14.noarch [root@preethi ~]# pulp-admin repo update --id=repos-pulp-pulp-testing-fedora-14-x86_64 --feed= --interval PT1H --start=2011-05-23T09:00-05:00Successfully updated repository [ repos-pulp-pulp-testing-fedora-14-x86_64 ] [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id repos-pulp-pulp-testing-fedora-14-i386 Name repos-pulp-pulp-testing-fedora-14-i386 Feed URL http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-14/i386 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 ['pulp'] Filters [] Notes {} Id repos-pulp-pulp-testing-fedora-14-x86_64 Name repos-pulp-pulp-testing-fedora-14-x86_64 Feed URL http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-14/x86_64 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-23T10:00:00-04:00/PT1H Packages 11 Files 0 Distributions None Publish True Clones [] Groups ['pulp'] Filters [] Notes {}
Closing with Community Release 15 pulp-0.0.223-4.