Ask Your Question
1

Bare-metal instance goes directly to Error state after launching

asked 2016-12-13 02:41:32 -0500

rbnbadri gravatar image

I have installed Openstack on a single VM using the packstack utility. . . Once Keystone, neutron, glance and other services were installed, I installed openstack-ironic service on top of it. . . I configured the ironic service for bare metal provisioning through this document. . . https://access.redhat.com/webassets/avalon/d/Red_Hat_Enterprise_Linux_OpenStack_Platform-7-Bare_Metal_Provisioning-en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform-7-Bare_Metal_Provisioning-en-US.pdf (https://access.redhat.com/webassets/a...)

I created a bare metal node using the pxe_drac driver. . . I then tried to launch the node using nova boot command. . . Initially, it failed with the error, no valid hosts were found. . . I resolved the error from this question. . . https://ask.openstack.org/en/question/86212/ironic-no-valid-host-was-found-there-are-not-enough-hosts-available/ (https://ask.openstack.org/en/question...) Now, when I launch the node again, the launch instance goes directly to error state. . . I am not able to find any error logs. . . Most of the files in the /var/log folder contain only INFO/WARNING messages. . . NO errors. . .

+------------------------+--------------------------------------------------------------------------+ | Property | Value | +------------------------+--------------------------------------------------------------------------+ | chassis_uuid | | | clean_step | {} | | console_enabled | False | | created_at | 2016-12-12T06:32:59+00:00 | | driver | pxe_drac | | driver_info | {u'deploy_kernel': u'6993f4d9-60c3-43c1-b70b-b7f93368e5e1', | | | u'drac_password': u'**', u'drac_username': u'root', | | | u'deploy_ramdisk': u'424e36ea-4b7c-47e7-95eb-6e8a7bfe62f9', | | | u'drac_host': u'100.97.37.29'} | | driver_internal_info | {} | | extra | {} | | inspection_finished_at | None | | inspection_started_at | None | | instance_info | {u'ramdisk': u'424e36ea-4b7c-47e7-95eb-6e8a7bfe62f9', u'kernel': | | | u'6993f4d9-60c3-43c1-b70b-b7f93368e5e1', u'root_gb': 2, u'image_source': | | | u'29e79c45-69ad-4541-b26a-9b6acd33b863'} | | instance_uuid | None | | last_error | None | | maintenance | False | | maintenance_reason | None | | name | ir-test1 | | power_state | power on | | properties | {u'memory_mb': 4096, u'cpu_arch': u'x86_64', u'local_gb': 40, u'cpus': | | | 4, u'capabilities': u'boot_option:local'} | | provision_state | available | | provision_updated_at | None | | raid_config | | | reservation | None | | target_power_state | None | | target_provision_state | None | | target_raid_config | | | updated_at | 2016-12-12T11:53:08+00:00 | | uuid | e09eee70-db31-4204-9bca-18c7a0b9aa56 | +------------------------+--------------------------------------------------------------------------+

Node was added manually. . . However, node-validate showed expected outputs. . .

This is the flavor I used to launch the nova instance. . .

+----------------------------+--------------------------------------------------------------------------------------------------------+ | Property | Value | +----------------------------+--------------------------------------------------------------------------------------------------------+ | OS-FLV-DISABLED:disabled | False | | OS-FLV-EXT-DATA:ephemeral | 0 | | disk | 40 | | extra_specs | {"capabilities:boot_option": "local", "cpu_arch": "x86_64", "vcpus": "4", "hypervisor_type": "ironic"} | | id | 5d6d9a59-4c7e-4860-913f-c6e8e9c67fb9 | | name | ir-fl2 | | os-flavor-access:is_public | True | | ram | 4096 | | rxtx_factor | 1.0 | | swap | | | vcpus | 16 | +----------------------------+--------------------------------------------------------------------------------------------------------+

When I run the "nova boot" command after ensuring that the properties match between flavor and ironic node, it does not add any log entries into the nova-conductor.log. . . The ironic-conductor.log also does not have any error entries. . . I see that the openstack logs into the server through WSMAN once. . . However, I am now not able to figure out what is the error, since I cannot find any log ERRORs.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-13 05:48:14 -0500

hkominos gravatar image

It has been a while since i worked with ironic. There are some logs about the remote machine var/log/ironic/remote (something like that) Is there anything you can find in those?

edit flag offensive delete link more

Comments

Hi, Thanks for your comment. . . There is no file named remote under /var/log/ironic. . . There are only two files. . . ironic-api.log & ironic-conductor.log. . . Neither of them contain any error logs when I try to discover a system. . . THere were some old AMQP logs which are not seen anymore. .

rbnbadri gravatar imagerbnbadri ( 2016-12-13 23:11:26 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-12-13 02:41:32 -0500

Seen: 152 times

Last updated: Dec 13 '16