Daisy automated deploy script has some harded coded values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
daisycloud-core |
New
|
Medium
|
zhouya |
Bug Description
The deploy.sh script for deploying OPNFV there are many pieces of code which has hard coded values specific to zte environment . For eg in function reboot_nodes in environment.py
def reboot_nodes(self, boot_dev=None):
Error: Unable to establish IPMI v2 / RMCP+ session │ # TODO: add ipmi info into deploy.yml, or read from PDF
Error: Unable to establish IPMI v2 / RMCP+ session │ address = 106
Error: Unable to establish IPMI v2 / RMCP+ session │ for node in self.deploy_
Error: Unable to establish IPMI v2 / RMCP+ session │ node['ipmiIp'] = '192.168.1.' + str(address)
Error: Unable to establish IPMI v2 / RMCP+ session │ address += 1
Error: Unable to establish IPMI v2 / RMCP+ session │ if address > 111:
Error: Unable to establish IPMI v2 / RMCP+ session │ err_exit('the ipmi address exceeds the range 106~110')
Error: Unable to establish IPMI v2 / RMCP+ session │ node['ipmiUser'] = 'zteroot'
Error: Unable to establish IPMI v2 / RMCP+ session │ node['ipmiPass'] = 'superuser'
Also get_daisy_
def _get_daisy_
python-
python2-
Changed in daisycloud-core: | |
importance: | Undecided → Medium |
assignee: | nobody → zhouya (zhou-ya) |