Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Additional validations needed #83

Open
sh8121att opened this issue Feb 15, 2018 · 2 comments
Open

Additional validations needed #83

sh8121att opened this issue Feb 15, 2018 · 2 comments

Comments

@sh8121att
Copy link
Member

  • A rendered baremetal node has an assigned IP address on the oob network for ipmi
  • oob network is defined in the site definition
@alanmeadows
Copy link
Contributor

drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 20:49:14,817 - ERROR - driver.py:execute_task - Uncaught exception in subtask 3da8def6-b983-4255-8959-01534c3564b0
drydock-api-5fd8cdbdfb-vkkxb:drydock-api Traceback (most recent call last):
drydock-api-5fd8cdbdfb-vkkxb:drydock-api   File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
drydock-api-5fd8cdbdfb-vkkxb:drydock-api     result = self.fn(*self.args, **self.kwargs)
drydock-api-5fd8cdbdfb-vkkxb:drydock-api   File "./drydock_provisioner/drivers/oob/pyghmi_driver/actions/oob.py", line 157, in start
drydock-api-5fd8cdbdfb-vkkxb:drydock-api     self.exec_ipmi_command(n, Command.set_bootdev, 'pxe')
drydock-api-5fd8cdbdfb-vkkxb:drydock-api   File "./drydock_provisioner/drivers/oob/pyghmi_driver/actions/oob.py", line 95, in exec_ipmi_command
drydock-api-5fd8cdbdfb-vkkxb:drydock-api     raise errors.DriverError("IPMI command failed.")
drydock-api-5fd8cdbdfb-vkkxb:drydock-api drydock_provisioner.error.DriverError: IPMI command failed.

Why did it fail? Any feedback the user can use to help solve the problem?

@alanmeadows
Copy link
Contributor

alanmeadows commented Feb 15, 2018

Unhandled traceback on vlan.mtu = l.mtu, presumably at least not uncaught in PS400158 (https://review.gerrithub.io/#/c/400158/)

clcp-demo-1:~/build$ ktail -n ucp -l application=drydock | grep -C 10 Traceba
==> Detected running container [drydock-api-5fd8cdbdfb-vkkxb:drydock-api]
==> Detected running container [drydock-api-5fd8cdbdfb-x6j7h:drydock-api]
^[[1;5Adrydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:40,964 - INFO - subnet.py:add_address_range - Address range from 10.24.33.1 to 10.24.33.9 already exists, skipping.
drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:41,132 - INFO - node.py:start - Subnet 7 found for network cab24-overlay, updated attributes
drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:41,251 - DEBUG - node.py:start - VLAN 5017 found for network cab24-overlay, updated attributes
drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:41,422 - INFO - subnet.py:add_address_range - Address range from 10.24.34.1 to 10.24.34.9 already exists, skipping.
drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:41,578 - INFO - node.py:start - Subnet 5 found for network cab24-calico, updated attributes
drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:41,701 - DEBUG - node.py:start - VLAN 5015 found for network cab24-calico, updated attributes
drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:41,876 - INFO - subnet.py:add_address_range - Address range from 10.24.32.1 to 10.24.32.9 already exists, skipping.
drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:42,188 - DEBUG - node.py:start - Updating native VLAN MTU = 1500 on network link cab24-pxe
drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:49,299 - DEBUG - orchestrator.py:watch_for_tasks - Task execution complete, looking for the next task.
drydock-api-5fd8cdbdfb-vkkxb:drydock-api 2018-02-15 21:01:49,299 - ERROR - orchestrator.py:watch_for_tasks - Error in starting orchestrator action.
drydock-api-5fd8cdbdfb-vkkxb:drydock-api Traceback (most recent call last):
drydock-api-5fd8cdbdfb-vkkxb:drydock-api   File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
drydock-api-5fd8cdbdfb-vkkxb:drydock-api     result = self.fn(*self.args, **self.kwargs)
drydock-api-5fd8cdbdfb-vkkxb:drydock-api   File "./drydock_provisioner/orchestrator/actions/orchestrator.py", line 306, in start
drydock-api-5fd8cdbdfb-vkkxb:drydock-api     self.step_networktemplate(driver)
drydock-api-5fd8cdbdfb-vkkxb:drydock-api   File "./drydock_provisioner/orchestrator/actions/orchestrator.py", line 328, in step_networktemplate
drydock-api-5fd8cdbdfb-vkkxb:drydock-api     driver.execute_task(site_network_task.get_id())
drydock-api-5fd8cdbdfb-vkkxb:drydock-api   File "./drydock_provisioner/drivers/node/maasdriver/driver.py", line 203, in execute_task
drydock-api-5fd8cdbdfb-vkkxb:drydock-api     action.start()
drydock-api-5fd8cdbdfb-vkkxb:drydock-api   File "./drydock_provisioner/drivers/node/maasdriver/actions/node.py", line 305, in start
drydock-api-5fd8cdbdfb-vkkxb:drydock-api     vlan.mtu = l.mtu

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants