Bug 1253111 - 'push' XMLRPC method for updating inventory should not automatically create new arches
Summary: 'push' XMLRPC method for updating inventory should not automatically create n...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 21.1
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-13 02:27 UTC by Dan Callaghan
Modified: 2015-10-21 03:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-21 03:25:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2015-08-13 02:27:44 UTC
If a buggy version of beaker-system-scan starts reporting a wrong arch (for example, x86-64 instead of x86_64) the 'push' XMLRPC method will happily create the new architecture and then it will exist in Beaker forever, including being offered on the system page for system owners to pick for their system (and setting install options, etc).

This is quite painful to recover from, so it would be better if the 'push' method just rejected the unknown arch.

New arches come along very rarely, and we add them to beaker-init as needed. Admins can also create new arches in db directly if that is ever necessary. (We should probably have an admin interface for creating them but that is a separate issue.)

Comment 2 Dan Callaghan 2015-08-13 02:40:13 UTC
http://gerrit.beaker-project.org/4342

Comment 5 Dan Callaghan 2015-10-21 03:25:07 UTC
Beaker 21.1 has been released.


Note You need to log in before you can comment on or make changes to this bug.