Bug #13799
erreur de déprovisionning de rôle
Start date:
29 October 2016
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
Description
Message hobo_notify avec u'objects': {u'data': [{u'uuid': u'c31dbe98bfe34ab6b574eb8eacdf693f'}],
(cf #13798 pour l'intégrale), mais w.c.s. attend d'autres attributs (malgré un check_valid_role qui contient des "or" et non des "and" comme dans hobo).
File "/usr/sbin/wcsctl", line 8, in <module> ctl.run(sys.argv[1:]) File "/usr/lib/python2.7/dist-packages/wcs/qommon/ctl.py", line 159, in run return cmd.run(args, options) File "/usr/lib/python2.7/dist-packages/wcs/qommon/ctl.py", line 69, in run return self.execute(base_options, sub_options, args) File "/usr/lib/python2.7/dist-packages/wcs/ctl/hobo_notify.py", line 54, in execute self.process_notification(notification, pub) File "/usr/lib/python2.7/dist-packages/wcs/ctl/hobo_notify.py", line 93, in process_notification full=full) File "/usr/lib/python2.7/dist-packages/wcs/ctl/hobo_notify.py", line 110, in provision_role slug = o['slug'].encode(publisher.site_charset) KeyError: 'slug'
Files
Associated revisions
History
Updated by Frédéric Péters almost 8 years ago
- File 0001-hobo-don-t-require-all-role-attributes-when-deprovis.patch 0001-hobo-don-t-require-all-role-attributes-when-deprovis.patch added
- Status changed from Nouveau to En cours
- Patch proposed changed from No to Yes
Aussi, ça n'autorise pas un message de déprovisionning avec full à True, et ça étend un peu les tests.
Updated by Frédéric Péters almost 8 years ago
- Status changed from En cours to Résolu (à déployer)
commit 6cc90e31a990e677f653e0fc94e7fa4a68f71e75 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Sat Oct 29 22:14:41 2016 +0200 hobo: don't require all role attributes when deprovisionning (#13799)
hobo: don't require all role attributes when deprovisionning (#13799)