Skip to content

Instantly share code, notes, and snippets.

@smalleni
Last active March 9, 2017 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smalleni/81884e80f499fd5417bb2a45c71ff96b to your computer and use it in GitHub Desktop.
Save smalleni/81884e80f499fd5417bb2a45c71ff96b to your computer and use it in GitHub Desktop.
Deploy attempt 1:
[root@c02-h10-r620 stack]# grep -nr ERROR /var/log/ironic/ironic-conductor.log
295421:2017-03-08 14:14:15.397 16143 DEBUG oslo_service.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2622
295900:2017-03-08 14:14:16.945 16143 DEBUG oslo_db.sqlalchemy.engines [req-0bad9467-11f1-4313-9af1-8bffad47dc04 - - - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py:261
355436:2017-03-08 16:13:17.765 44367 DEBUG oslo_service.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2622
355916:2017-03-08 16:13:19.160 44367 DEBUG oslo_db.sqlalchemy.engines [req-8d46e376-682e-4ad0-8945-19fbc1d4d881 - - - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py:261
355962:2017-03-08 16:13:21.266 44393 DEBUG oslo_service.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2622
356442:2017-03-08 16:13:22.981 44393 DEBUG oslo_db.sqlalchemy.engines [req-6bd61d98-8ad0-4e57-b3a0-ae1252f108b8 - - - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py:261
359911:2017-03-08 16:20:21.436 45906 DEBUG oslo_service.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2622
360391:2017-03-08 16:20:23.147 45906 DEBUG oslo_db.sqlalchemy.engines [req-cbffa8e3-eae7-47a9-942e-25c5541a5a41 - - - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py:261
375208:2017-03-08 16:46:17.322 2550 DEBUG oslo_service.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2622
375688:2017-03-08 16:46:18.674 2550 DEBUG oslo_db.sqlalchemy.engines [req-332a9cfe-1704-4b8c-b14b-3d681b3d06fb - - - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py:261
477802:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor [req-d3e0f4ea-df94-4ada-bdc7-1172c1c08aa7 - - - - -] Asynchronous exception for node 9c404557-e361-4a04-a5ed-0633278535a2: Node failed to get image for deploy. Exception: Failed to deploy instance: Failed to start the iSCSI target to deploy the node 9c404557-e361-4a04-a5ed-0633278535a2. Error: {u'message': u"Error finding the disk or partition device to deploy the image onto: No suitable device was found for deployment using these hints {u'wwn': u'0x5000c500917b3e82'}", u'code': 404, u'type': u'DeviceNotFound', u'details': u"No suitable device was found for deployment using these hints {u'wwn': u'0x5000c500917b3e82'}"}
477803:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor Traceback (most recent call last):
477804:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/agent_base_vendor.py", line 482, in heartbeat
477805:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor self.continue_deploy(task)
477806:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic_lib/metrics.py", line 61, in wrapped
477807:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor result = f(*args, **kwargs)
477808:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/conductor/task_manager.py", line 138, in wrapper
477809:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor return f(*args, **kwargs)
477810:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", line 381, in continue_deploy
477811:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor uuid_dict_returned = do_agent_iscsi_deploy(task, self._client)
477812:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic_lib/metrics.py", line 61, in wrapped
477813:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor result = f(*args, **kwargs)
477814:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", line 308, in do_agent_iscsi_deploy
477815:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor raise exception.InstanceDeployFailure(reason=msg)
477816:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor InstanceDeployFailure: Failed to deploy instance: Failed to start the iSCSI target to deploy the node 9c404557-e361-4a04-a5ed-0633278535a2. Error: {u'message': u"Error finding the disk or partition device to deploy the image onto: No suitable device was found for deployment using these hints {u'wwn': u'0x5000c500917b3e82'}", u'code': 404, u'type': u'DeviceNotFound', u'details': u"No suitable device was found for deployment using these hints {u'wwn': u'0x5000c500917b3e82'}"}
477817:2017-03-08 19:32:02.986 2550 ERROR ironic.drivers.modules.agent_base_vendor
Deploy attempt 2
Same node goes into active
[stack@c02-h10-r620 6018r]$ ironic node-list | grep 9c404557-e361-4a04-a5ed-0633278535a2
| 9c404557-e361-4a04-a5ed-0633278535a2 | None | ec76c777-7e21-4908-aa2d-3aa3dea341f8 | power on | active | False |
[stack@c02-h10-r620 6018r]$ nova list | grep ec76c777-7e21-4908-aa2d-3aa3dea341f8
| ec76c777-7e21-4908-aa2d-3aa3dea341f8 | overcloud-compute-55 | ACTIVE | - | Running | ctlplane=192.0.2.122 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment