{"id":6973,"date":"2017-09-06T12:31:08","date_gmt":"2017-09-06T04:31:08","guid":{"rendered":"http:\/\/rmohan.com\/?p=6973"},"modified":"2017-09-06T12:31:08","modified_gmt":"2017-09-06T04:31:08","slug":"openstack-log-files","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6973","title":{"rendered":"Openstack log files"},"content":{"rendered":"<p>OpenStack log files contains different structures and distributed across multiple folders which make a real challenge to provide real proactive insights on your deployment. Loom Cloud Intelligence can simply save your time and make sense of your Openstack deployment on going issues.<br \/>\nMost services use the convention of writing their log files to subdirectories of the \/var\/log directory, as listed in the following list.<\/p>\n<p>Compute nova-*<br \/>\n\/var\/log\/nova <\/p>\n<p>Image Service glance-*<br \/>\n\/var\/log\/glance <\/p>\n<p>Block Storage cinder-*<br \/>\n\/var\/log\/cinder <\/p>\n<p>Identity service keystone-*<br \/>\n\/var\/log\/keystone <\/p>\n<p>Networking  neutron-*<br \/>\n\/var\/log\/neutron <\/p>\n<p>Dashboard horizon<br \/>\n\/var\/log\/apache2 or \/var\/log\/httpd <\/p>\n<p>Orchestration service heat<br \/>\n\/var\/log\/heat <\/p>\n<p>Telemetry service ceilometer<br \/>\n\/var\/log\/ceilometer <\/p>\n<p>All nodes misc (swift, dnsmasq)<br \/>\n\/var\/log\/syslog <\/p>\n<p>Compute nodes libvirt<br \/>\n\/var\/log\/libvirt\/libvirtd.log <\/p>\n<p>Compute nodes Console (boot upmessages) for VM instances: \/var\/lib\/nova\/instances\/instance-\/console.log <\/p>\n<p>Block Storage nodes cinder-volume<br \/>\n\/var\/log\/cinder\/cinder-volume.log <\/p>\n<p>How to confiugre logging in Openstack enviroment?<\/p>\n<p>Separately configure the Compute service (nova), the Identity service (keystone), the Image service (glance), and, if you are using it, the Block Storage service (cinder) to send log messages to syslog. Open these configuration files:<\/p>\n<p>\/etc\/nova\/nova.conf<br \/>\n\/etc\/keystone\/keystone.conf<br \/>\n\/etc\/glance\/glance-api.conf<br \/>\n\/etc\/glance\/glance-registry.conf<br \/>\n\/etc\/cinder\/cinder.conf<br \/>\nIn each configuration file, add these lines:<\/p>\n<p>debug = False<\/p>\n<p>use_syslog = True<\/p>\n<p>syslog_log_facility = LOG_LOCAL0<\/p>\n<p>In addition to enabling syslog, these settings also turn off debugging output from the log.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenStack log files contains different structures and distributed across multiple folders which make a real challenge to provide real proactive insights on your deployment. Loom Cloud Intelligence can simply save your time and make sense of your Openstack deployment on going issues. Most services use the convention of writing their log files to subdirectories of [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6973"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6973"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6973\/revisions"}],"predecessor-version":[{"id":6974,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6973\/revisions\/6974"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}