Page MenuHomePhabricator
Paste P9034

(An Untitled Masterwork)
ActivePublic

Authored by Marostegui on Sep 3 2019, 1:02 PM.
root@cumin1001:~# dbctl --scope eqiad section wikitech ro "Maintenance on wikitech T229657 " && dbctl config commit -m "Set wikitech as read-only for maintenance T229657"
--- eqiad/readOnlyBySection live
+++ eqiad/readOnlyBySection generated
@@ -1 +1,3 @@
-{}
+{
+ "wikitech": "Maintenance on wikitech T229657 "
+}
Enter y to confirm: y
Execution FAILED
Reported errors:
Previous configuration saved. To restore it run: dbctl config restore /var/cache/conftool/dbconfig/20190903-130113-marostegui.json
Object dbconfig failed to validate:
Additional properties are not allowed ('wikitech' was unexpected)
The actual value was: {'groupLoadsBySection': {'s6': defaultdict(<class 'collections.OrderedDict'>, {'vslow': OrderedDict([('db1113:3316', 1)]), 'contributions': OrderedDict([('db1096:3316', 1), ('db1098:3316', 1)]), 'api': OrderedDict([('db1093', 1), ('db1085', 10)]), 'recentchangeslinked': OrderedDict([('db1096:3316', 1), ('db1098:3316', 1)]), 'dump': OrderedDict([('db1113:3316', 1)]), 'logpager': OrderedDict([('db1096:3316', 1), ('db1098:3316', 1)]), 'watchlist': OrderedDict([('db1096:3316', 1), ('db1098:3316', 1)]), 'recentchanges': OrderedDict([('db1096:3316', 1), ('db1098:3316', 1)])}), 's7': defaultdict(<class 'collections.OrderedDict'>, {'vslow': OrderedDict([('db1090:3317', 1)]), 'contributions': OrderedDict([('db1101:3317', 1), ('db1098:3317', 1)]), 'api': OrderedDict([('db1086', 1), ('db1079', 3)]), 'recentchangeslinked': OrderedDict([('db1101:3317', 1), ('db1098:3317', 1)]), 'dump': OrderedDict([('db1090:3317', 1)]), 'recentchanges': OrderedDict([('db1101:3317', 1), ('db1098:3317', 1)]), 'watchlist': OrderedDict([('db1101:3317', 1), ('db1098:3317', 1)]), 'logpager': OrderedDict([('db1101:3317', 1), ('db1098:3317', 1)])}), 's1': defaultdict(<class 'collections.OrderedDict'>, {'vslow': OrderedDict([('db1106', 1)]), 'contributions': OrderedDict([('db1099:3311', 1), ('db1105:3311', 1)]), 'api': OrderedDict([('db1119', 1), ('db1134', 1), ('db1080', 1)]), 'recentchangeslinked': OrderedDict([('db1099:3311', 1), ('db1105:3311', 1)]), 'dump': OrderedDict([('db1106', 1)]), 'logpager': OrderedDict([('db1099:3311', 1), ('db1105:3311', 1)]), 'watchlist': OrderedDict([('db1099:3311', 1), ('db1105:3311', 1)]), 'recentchanges': OrderedDict([('db1099:3311', 1), ('db1105:3311', 1)])}), 'DEFAULT': defaultdict(<class 'collections.OrderedDict'>, {'vslow': OrderedDict([('db1123', 1)]), 'contributions': OrderedDict([('db1112', 1)]), 'recentchangeslinked': OrderedDict([('db1112', 1)]), 'dump': OrderedDict([('db1123', 1)]), 'logpager': OrderedDict([('db1112', 1)]), 'watchlist': OrderedDict([('db1112', 1)]), 'recentchanges': OrderedDict([('db1112', 1)])}), 's8': defaultdict(<class 'collections.OrderedDict'>, {'vslow': OrderedDict([('db1087', 1)]), 'contributions': OrderedDict([('db1101:3318', 1), ('db1099:3318', 1)]), 'api': OrderedDict([('db1092', 3), ('db1109', 2)]), 'recentchangeslinked': OrderedDict([('db1101:3318', 1), ('db1099:3318', 1)]), 'dump': OrderedDict([('db1087', 1)]), 'recentchanges': OrderedDict([('db1101:3318', 1), ('db1099:3318', 1)]), 'watchlist': OrderedDict([('db1101:3318', 1), ('db1099:3318', 1)]), 'logpager': OrderedDict([('db1101:3318', 1), ('db1099:3318', 1)])}), 's4': defaultdict(<class 'collections.OrderedDict'>, {'vslow': OrderedDict([('db1121', 1)]), 'contributions': OrderedDict([('db1097:3314', 1), ('db1103:3314', 1)]), 'api': OrderedDict([('db1138', 1), ('db1084', 3)]), 'recentchangeslinked': OrderedDict([('db1097:3314', 1), ('db1103:3314', 1)]), 'dump': OrderedDict([('db1121', 1)]), 'logpager': OrderedDict([('db1097:3314', 1), ('db1103:3314', 1)]), 'watchlist': OrderedDict([('db1097:3314', 1), ('db1103:3314', 1)]), 'recentchanges': OrderedDict([('db1097:3314', 1), ('db1103:3314', 1)])}), 's5': defaultdict(<class 'collections.OrderedDict'>, {'vslow': OrderedDict([('db1113:3315', 1)]), 'contributions': OrderedDict([('db1097:3315', 1), ('db1096:3315', 1)]), 'api': OrderedDict([('db1082', 1), ('db1100', 3)]), 'recentchangeslinked': OrderedDict([('db1097:3315', 1), ('db1096:3315', 1)]), 'dump': OrderedDict([('db1113:3315', 1)]), 'recentchanges': OrderedDict([('db1097:3315', 1), ('db1096:3315', 1)]), 'watchlist': OrderedDict([('db1097:3315', 1), ('db1096:3315', 1)]), 'logpager': OrderedDict([('db1097:3315', 1), ('db1096:3315', 1)])}), 's2': defaultdict(<class 'collections.OrderedDict'>, {'vslow': OrderedDict([('db1090:3312', 1)]), 'contributions': OrderedDict([('db1105:3312', 1), ('db1103:3312', 1)]), 'api': OrderedDict([('db1076', 1), ('db1122', 1), ('db1129', 1)]), 'recentchangeslinked': OrderedDict([('db1105:3312', 1), ('db1103:3312', 1)]), 'dump': OrderedDict([('db1090:3312', 1)]), 'logpager': OrderedDict([('db1105:3312', 1), ('db1103:3312', 1)]), 'watchlist': OrderedDict([('db1105:3312', 1), ('db1103:3312', 1)]), 'recentchanges': OrderedDict([('db1105:3312', 1), ('db1103:3312', 1)])})}, 'readOnlyBySection': {'wikitech': 'Maintenance on wikitech T229657 '}, 'sectionLoads': defaultdict(<function DbConfig.compute_config.<locals>.<lambda> at 0x7efd34a15400>, {'s6': [{'db1061': 0}, {'db1113:3316': 1, 'db1085': 300, 'db1088': 500, 'db1098:3316': 1, 'db1093': 300, 'db1096:3316': 1, 'db1131': 300}], 's7': [{'db1062': 0}, {'db1101:3317': 150, 'db1090:3317': 1, 'db1094': 500, 'db1098:3317': 150, 'db1086': 200, 'db1136': 300, 'db1079': 300}], 'wikitech': [{'db1073': 1}, {'db1133': 0}], 's1': [{'db1067': 0}, {'db1099:3311': 50, 'db1118': 500, 'db1105:3311': 50, 'db1106': 50, 'db1119': 200, 'db1080': 200, 'db1134': 200, 'db1089': 500, 'db1083': 500}], 'DEFAULT': [{'db1075': 0}, {'db1123': 300, 'db1112': 400, 'db1078': 500}], 's8': [{'db1104': 0}, {'db1126': 500, 'db1109': 300, 'db1099:3318': 100, 'db1092': 200, 'db1101:3318': 100, 'db1087': 1}], 's4': [{'db1081': 0}, {'db1097:3314': 150, 'db1084': 100, 'db1091': 500, 'db1138': 300, 'db1103:3314': 150, 'db1121': 1}], 's5': [{'db1070': 0}, {'db1113:3315': 1, 'db1130': 500, 'db1100': 100, 'db1110': 500, 'db1096:3315': 100, 'db1082': 200, 'db1097:3315': 100}], 's2': [{'db1066': 0}, {'db1129': 500, 'db1076': 500, 'db1122': 500, 'db1105:3312': 150, 'db1103:3312': 150, 'db1090:3312': 1}]})}
WARNING:conftool.announce:dbctl commit (dc=all): 'Set wikitech as read-only for maintenance T229657', diff saved to https://phabricator.wikimedia.org/P9033 and previous config saved to /var/cache/conftool/dbconfig/20190903-130113-marostegui.json

Event Timeline

Marostegui created this paste.Sep 3 2019, 1:02 PM