report exist trait exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cyborg (OpenStack) |
Fix Released
|
Undecided
|
Wenping Song |
Bug Description
as the placement only accept the traits that with "CUSTOM_" prefix, when we report the "OWNER_" prefix trait, the cyborg-conductor will raise excetpion below:
Failed to add device DriverDevice(
2GB]',std_
"title": "Bad Request", "detail": "The server could not comply with the request since it is either malformed or otherwise incorrect.\n\n The trait is invalid. A valid trait must be no longer than 255 characters, start with the prefix \"CUSTOM_\" and use following characters: \"A\"-\"Z\"
, \"0\"-\"9\" and \"_\" ", "request_id": "req-0cf3985a-
Changed in openstack-cyborg: | |
status: | Incomplete → In Progress |
filter the existed trait when put the trait to placement.