Support tag instance when boot

Registered by Zhenyu Zheng

Currently, we can only create tags for existing instances, that is, we can only use PUT /servers/<server_id>/tags/<tag> to add tag(s) for instances that we have already built, and do not have the ability to add tags for instances when we boot the instance(containing "tags" in the boot request body). This is somehow not good enough, as user would like
to add tags when they boot the instance rather than boot instances, list the instances and add tags to them one by one.

We should add support to tag instances when we boot them.

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
Low
Drafter:
Zhenyu Zheng
Direction:
Approved
Assignee:
Zhenyu Zheng
Definition:
Approved
Series goal:
Accepted for pike
Implementation:
Implemented
Milestone target:
milestone icon pike-3
Started by
Matt Riedemann
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/support-tag-instance-when-boot,n,z

Addressed by: https://review.openstack.org/366469
    Add support for tag instances when boot (spec)

Addressed by: https://review.openstack.org/394321
    [WIP] Support tag instances when boot

We're now past the feature freeze for Ocata so I've deferred this to Pike. -- mriedem 20170128

Addressed by: https://review.openstack.org/415315
    Repropose tag-instance-when-boot

This blueprint is re-approved for Pike. -- mriedem 20170316

Gerrit topic: https://review.openstack.org/#q,topic:bp/additional-notification-fields-for-searchlight,n,z

Addressed by: https://review.openstack.org/459493
    Add tags to instance.create Notification

Addressed by: https://review.openstack.org/459523
    Support tag instances when boot(1)

Addressed by: https://review.openstack.org/459569
    Support tag instances when boot(2)

Addressed by: https://review.openstack.org/459593
    Support tag instances when boot(3)

Addressed by: https://review.openstack.org/469800
    Support tag instances when boot(4/4)

Addressed by: https://review.openstack.org/484170
    Optimize creating servers with tags

Gerrit topic: https://review.opendev.org/#/q/topic:bp/support-tag-instance-when-boot

Addressed by: https://review.opendev.org/484170
    WIP: Optimize creating servers with tags

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.