deployer LOG_DIR Initialization

Bug #1609334 reported by caowei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
New
Undecided
caowei

Bug Description

2016-08-03 03:17:37.125 4919 DEBUG solum.deployer.handlers.heat [-] Deploying app java_app deploy /opt/stack/solum/solum/deployer/handlers/heat.py:458
2016-08-03 03:17:37.145 4919 DEBUG keystoneclient.auth.identity.v2 [-] Making authentication request to http://192.168.132.152/identity/v2.0/tokens get_auth_ref /usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py:87
2016-08-03 03:17:37.230 4919 DEBUG solum.uploaders.tenant_logger [-] User log upload strategy: local __init__ /opt/stack/solum/solum/uploaders/tenant_logger.py:35
2016-08-03 03:17:37.230 4919 DEBUG solum.uploaders.tenant_logger [-] Deployer logs stored at /var/log/solum/deployer/deploy-d7880c3c-f32e-4339-abac-cc3529ab3bd0.log __init__ /opt/stack/solum/solum/uploaders/tenant_logger.py:46
2016-08-03 03:17:37.232 4919 ERROR solum.uploaders.tenant_logger [-] [Errno 2] No such file or directory: u'/var/log/solum/deployer/deploy-d7880c3c-f32e-4339-abac-cc3529ab3bd0.log'
2016-08-03 03:17:37.232 4919 DEBUG solum.deployer.handlers.heat [-] Image loc:cde2b2d8-349a-4e67-943f-fedcba315992, image_name:f292af3e6b30498fa876f5bcf290a060-java_app-20160803t031134295731557-1713a757d34ca340211473f322e0fc2406d3f65d deploy /opt/stack/solum/solum/deployer/handlers/heat.py:485
2016-08-03 03:17:37.232 4919 DEBUG solum.deployer.handlers.heat [-] {'name': 'afaa9ed4-cb21-4466-b462-7b20939d1623', 'key_name': 'mykey', 'image': 'coreos', 'location': u'cde2b2d8-349a-4e67-943f-fedcba315992', 'publish_ports': '-p 80:80', 'flavor': 'm1.small', 'du': u'f292af3e6b30498fa876f5bcf290a060-java_app-20160803t031134295731557-1713a757d34ca340211473f322e0fc2406d3f65d'} deploy /opt/stack/solum/solum/deployer/handlers/heat.py:490
2016-08-03 03:17:37.232 4919 DEBUG solum.deployer.handlers.heat [-] image_storage glance not supported with image_format vm _get_template /opt/stack/solum/solum/deployer/handlers/heat.py:602
2016-08-03 03:17:37.307 4919 ERROR solum.uploaders.tenant_logger [-] [Errno 2] No such file or directory: u'/var/log/solum/deployer/deploy-d7880c3c-f32e-4339-abac-cc3529ab3bd0.log'
2016-08-03 03:17:37.307 4919 DEBUG solum.uploaders.local [-] Log already stored locally at /var/log/solum/deployer/deploy-d7880c3c-f32e-4339-abac-cc3529ab3bd0.log. upload_log /opt/stack/solum/solum/uploaders/local.py:26

caowei (caowei-e)
Changed in solum:
assignee: nobody → caowei (caowei-e)
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

@caowei: Any updates on this bug?

One way to address this bug is to figure out why the log file is not getting created occasionally.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.