Page MenuHomePhabricator

Can request an instance be resized but not confirm/revert it in Horizon
Open, Needs TriagePublic

Description

Found in T247206: Commons-Corruption-Checker instance size increase request - we should either be able to do the whole journey or not begin it in the first place.a

Event Timeline

Change 579606 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] Horizon policy.json for nova: disable resizing

https://gerrit.wikimedia.org/r/579606

Change 579632 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] Horizon: update nova_policy to conform with the current API policy.json

https://gerrit.wikimedia.org/r/579632

Change 579606 abandoned by Andrew Bogott:
Horizon policy.json for nova: disable resizing

https://gerrit.wikimedia.org/r/579606

Change 579632 abandoned by Andrew Bogott:
Horizon: update nova_policy to conform with the current API policy.json

https://gerrit.wikimedia.org/r/579632

Change 579634 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] nova policy.json: remove all obsolete v2 policy rules

https://gerrit.wikimedia.org/r/579634

Change 579635 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] nova policy.json: replace 'admin_or_member' with 'admin_or_owner'

https://gerrit.wikimedia.org/r/579635

Change 579636 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] nova policy.json: sort all policy rules

https://gerrit.wikimedia.org/r/579636

Change 579637 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] nova policy.json: Remove all redundant policies

https://gerrit.wikimedia.org/r/579637

Change 579638 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] nova policy.json: only permit admin user to resize VMs

https://gerrit.wikimedia.org/r/579638

Change 579640 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] Horizon: update nova_policy to conform with the current API policy.json

https://gerrit.wikimedia.org/r/579640

Change 579634 merged by Andrew Bogott:
[operations/puppet@production] nova policy.json: remove all obsolete v2 policy rules

https://gerrit.wikimedia.org/r/579634

Change 579635 merged by Andrew Bogott:
[operations/puppet@production] nova policy.json: replace 'admin_or_member' with 'admin_or_owner'

https://gerrit.wikimedia.org/r/579635

Change 579636 merged by Andrew Bogott:
[operations/puppet@production] nova policy.json: sort all policy rules

https://gerrit.wikimedia.org/r/579636

Change 579637 merged by Andrew Bogott:
[operations/puppet@production] nova policy.json: Remove all redundant policies

https://gerrit.wikimedia.org/r/579637

Change 579638 merged by Andrew Bogott:
[operations/puppet@production] nova policy.json: only permit admin user to resize VMs

https://gerrit.wikimedia.org/r/579638

Change 579640 merged by Andrew Bogott:
[operations/puppet@production] Horizon: update nova_policy to conform with the current API policy.json

https://gerrit.wikimedia.org/r/579640

Change 580122 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] nova policy: use context_is_admin instead of admin_api

https://gerrit.wikimedia.org/r/580122

Change 580122 merged by Andrew Bogott:
[operations/puppet@production] nova policy: use context_is_admin instead of admin_api

https://gerrit.wikimedia.org/r/580122

in case someone looks at this task in several years time and think WTF:

Mar 13 19:31:33 <Krenair> andrewbogott, hey, is there a reason we disable instance resizing?
Mar 13 19:31:52 <andrewbogott> because it mostly doesn't work
Mar 13 19:32:16 <andrewbogott> a resize is sort of a 'move' on the backend so it's pretty ugly without ceph. In theory it'll work properly once we have a shared storage backend