deleting a device_type fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Scheduler (deprecated) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Looks like it's still referenced. I'm trying to simply change the name of snowball-sd to snowball_sd but when I tried to do that it created a new device_type instead. When trying to delete it, I get an error:
[Tue Oct 18 15:00:08 2011] [error] [client 75.27.138.6] IntegrityError: update or delete on table "lava_scheduler
[Tue Oct 18 15:00:08 2011] [error] [client 75.27.138.6] DETAIL: Key (name)=
Changed in lava-scheduler: | |
importance: | Undecided → Medium |
Changed in lava-scheduler: | |
status: | New → Won't Fix |
I noticed some wonkyness yesterday around the admin interface too (deleting devices fails too in similar ways).
Updating the name of a device type is going to be a bit tricky because it's the primary key of the table -- but I thought Django handled that.
You can always fix in with psql I guess :-)