Daisy automated deploy script has some harded coded values

Bug #1705140 reported by Farida Mishra
6
This bug affects 1 person
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_struct['hosts']:
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_server_info in deploy.py

  def _get_daisy_server_info(self):
python-beautifulsoup4.noarch has installed │ #address = self.deploy_struct.get('daisy_ip', '10.20.11.2')
python2-setuptools.noarch has installed │ #gateway = self.deploy_struct.get('daisy_gateway', '10.20.11.1')

Changed in daisycloud-core:
importance: Undecided → Medium
assignee: nobody → zhouya (zhou-ya)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.