Adapt to file injection deprecation in nova

Registered by Fan Zhang on 2018-03-28

Trove currently uses `--personality` to inject files while booting an instance
via Nova api. Unfortunately, this parameter is deprecated from Queens release,
nova microversion 2.57. As bp `Deprecate file injection` [1]_ mentioned,
the code to support it would remain, but having a microversion boundary
 would give Nova the ability to eventually remove the code in the future. In
this spec, we try to adapt to file injection deprecation and implement another
 way to inject files into instance.

Blueprint information

Status:
Not started
Approver:
Zhao Chao
Priority:
Medium
Drafter:
Fan Zhang
Direction:
Approved
Assignee:
Fan Zhang
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Doing research about using --user-data parameter to inject files into instance. DONE
Drafting spec. See https://review.openstack.org/#/c/557583/ DONE
Wait for discussion. DONE
Coding. IN PROGRESS

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.