Ask Your Question
0

instance creation stuck on 'BUILD' state

asked 2019-02-16 04:50:55 -0500

binooetomo gravatar image

I have an all in one openstack box.

Try to create instance, it's 'created' but state stucked at 'BUILD'.

[root@ceph-node4 ~]# date
Sab Peb 16 17:29:16 WIB 2019
[root@ceph-node4 ~]# openstack server show 90c793bf-937d-43f0-858f-a44cd2a93773 -f json
{
  "OS-EXT-STS:task_state": "scheduling", 
  "addresses": "", 
  "image": "cirros (a84594f4-c281-48fd-a21a-acf25e4fb9ae)", 
  "OS-EXT-STS:vm_state": "building", 
  "OS-EXT-SRV-ATTR:instance_name": "instance-00000025", 
  "OS-SRV-USG:launched_at": null, 
  "flavor": "cilikan (d3fc4063-f239-4ede-975c-24e92ab18eaf)", 
  "id": "90c793bf-937d-43f0-858f-a44cd2a93773", 
  "volumes_attached": "", 
  "user_id": "2fe8b8d1cf68434eaace73007cc8b5cb", 
  "OS-DCF:diskConfig": "AUTO", 
  "accessIPv4": "", 
  "accessIPv6": "", 
  "progress": 0, 
  "OS-EXT-STS:power_state": "NOSTATE", 
  "OS-EXT-AZ:availability_zone": "nova", 
  "config_drive": "", 
  "status": "BUILD", 
  "updated": "2019-02-16T10:29:23Z", 
  "hostId": "", 
  "OS-EXT-SRV-ATTR:host": null, 
  "OS-SRV-USG:terminated_at": null, 
  "key_name": "mb00g", 
  "properties": "", 
  "project_id": "d4daffb2e58d4cc198d097a753c2511f", 
  "OS-EXT-SRV-ATTR:hypervisor_hostname": null, 
  "name": "gombal-01", 
  "created": "2019-02-16T10:14:15Z"
}

I'm tailing : ++ all /var/log/neutron/ ++ all /var/log/nova/

And could not find any error.

I try to list /var/log/libvirt/qemu/ just to check if there is any about my instance ... but there is not.

Kindly please tell me what to look at to trouble shoot this problem.

Sincerely

-bino-

Just for reference,

Last 200 lines of nova-scheduler log

[root@ceph-node4 ~]# tail -n 200 /var/log/nova/nova-scheduler.log 
2019-02-16 17:38:19.574 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] scheduler.placement_aggregate_required_for_tenants = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.574 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] scheduler.query_placement_for_availability_zone = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.575 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] scheduler.workers              = 4 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.576 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.auth_section            = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.577 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.auth_type               = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.577 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.cafile                  = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.578 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.catalog_info            = volumev3:cinderv3:publicURL log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.579 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.certfile                = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.579 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.collect_timing          = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.580 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.cross_az_attach         = True log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.581 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.endpoint_template       = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.582 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.http_retries            = 3 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.582 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.insecure                = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:3032
2019-02-16 17:38:19.583 70793 DEBUG oslo_service.service [req-d850efa6-0a3f-4f7c-b3ac-c7c7feee7639 - - - - -] cinder.keyfile                 = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py ...
(more)
edit retag flag offensive close merge delete

Comments

What about nova-conductor.log? Are all nova and neutron services up and running?

eblock gravatar imageeblock ( 2019-02-18 02:04:22 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-02-19 11:52:09 -0500

raj1801 gravatar image

check nova-conductor & api logs also

edit flag offensive delete link more

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: 2019-02-16 04:50:55 -0500

Seen: 114 times

Last updated: Feb 19