Page MenuHomePhabricator

Blank page when trying to configure instance with wrong group
Closed, ResolvedPublic

Description

Go to an url like:
https://wikitech.wikimedia.org/w/index.php?title=Special:NovaInstance&action=configure&instanceid=51f3a377-90b5-4f46-8590-5624c50c5dbf&project=webtools&region=pmtpa

Note: instance 51f3a377-90b5-4f46-8590-5624c50c5dbf belongs to the tools project, not to webtools.

Expected:
An error message.

Obtained:
Blank page.


Version: unspecified
Severity: normal

Details

Reference
bz45649

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:14 AM
bzimport set Reference to bz45649.

I get "Your account is not in the project requested." there, but if I change project to 'openstack' then I get HTTP 500...

The original url is still failing for me. Strange that it gives different results for different users.

(In reply to comment #1)

I get "Your account is not in the project requested." there, but if I change
project to 'openstack' then I get HTTP 500...

Ditto actually

Call to a member function getInstanceId() on a non-object in /srv/org/wikimedia/controller/wikis/slot0/extensions/OpenStackManager/special/SpecialNovaInstance.php on line 276

Gerrit change 53464 should fix that exception... Also made it use the instance's project, not the project given by the user.