Support tags for nodes in Ironic
Ironic will support "tags" field stored in metadata for every node. The same tags will be stored in extra metadata for Nova flavor, so that every flavor can be bound to some group of nodes. To achieve this:
* Ironic API should allow listing nodes by tag
* Scheduler should allow deploying on nodes with tag, fetched from flavor (XXX does it belong in Ironic Nova driver or in Nova scheduler itself?)
Blueprint information
- Status:
- Started
- Approver:
- aeva black
- Priority:
- Medium
- Drafter:
- Zhenguo Niu
- Direction:
- Approved
- Assignee:
- Zhenguo Niu
- Definition:
- Approved
- Series goal:
- Accepted for mitaka
- Implementation:
- Needs Code Review
- Milestone target:
- None
- Started by
- Zhenguo Niu
- Completed by
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add nodes tagging support
Gerrit topic: https:/
Addressed by: https:/
Add db migration script for creating tags table
Addressed by: https:/
Add db migration for tags table
Addressed by: https:/
Add db api layer for CRUD operations on node tags
Addressed by: https:/
Add Tag, TagList objects and a new tags field to Node
Addressed by: https:/
Added node tags in ironic-api
Addressed by: https:/
Joined 'tags' column while getting node
We're moving from using blueprints to track features to RFE bugs. vdrok filed one for your change (see above). Please track further work there using Closes-Bug, Partial-Bug or Related-Bug in commit messages and use this newly created RFE bug.
//rloo 2015-12-15