Page MenuHomePhabricator

Wikitech 'manage instances' displays "PHP Fatal error: Call to a member function getImageName() on a non-object"
Closed, ResolvedPublic

Description

This happens if a labs instance refers to a deleted image type. An unusual situation, but it would be nice to catch the error.

Event Timeline

Andrew claimed this task.
Andrew raised the priority of this task from to Needs Triage.
Andrew updated the task description. (Show Details)
Andrew added a project: Cloud-Services.
Andrew subscribed.
Andrew set Security to None.

Change 194358 had a related patch set uploaded (by Legoktm):
Don't bomb out if a VM uses an image that glance doesn't know about.

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

Change 194358 merged by jenkins-bot:
Don't bomb out if a VM uses an image that glance doesn't know about.

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

Patch is merged -- now instances that refer to a missing image display the image name as (missing).