When update openstack to ocata and run test in functest, the following
error happends:
ERROR: Missing required credential: roles ['heat_stack_owner']
It need to add role heat_stack_owner to parser user
JIRA: PARSER-156
Change-Id: Ie0417c53c7dbd28efe8d9c4eb3fda23de8e1f841
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
} || {
openstack ${debug} role add ${PARSER_ROLE} --user ${PARSER_USER} \
--project ${PARSER_PROJECT}
- echo " Grant user ${PARSER_USER} the role ${PARSER_ROLE} in project ${PARSER_PROJECT} successful."
+ openstack ${debug} role add heat_stack_owner --user ${PARSER_USER} \
+ --project ${PARSER_PROJECT}
+ echo " Grant user ${PARSER_USER} the role ${PARSER_ROLE} and heat_stack_owner in project ${PARSER_PROJECT} successful."
}
}