Sync oslo lockutils to nova
Sync oslo lockutils to nova

There is some update for lockutils in oslo, sync from oslo

The commit to be merged:
edd73c9 Merge "Improve help strings"
e446fe5 Merge "Fixed several typos"
fe3389e Improve help strings
f3f14c9 Fixed several typos
0f495ee Emit a log statement when releasing internal lock
f0dd798 Remove rendundant parentheses of cfg help strings
006d9a2 Allow external locks to work with threads
9b73c19 Re-enable file-based locking behavior
edce46c Use Posix IPC in lockutils
ac84a40 Update log translation domains
ee4df7f Merge "Add remove external lock files API in lockutils"
fcf517d Update oslo log messages with translation domains
37a1de8 Move the released file lock to the successful path
3c125e6 Merge "Use threading.ThreadError instead of reraising IOError"
de826f2 Merge "Have the interprocess lock follow lock conventions"
b0d0c33 Add remove external lock files API in lockutils
e71cd1a Merge "Trivial: Make vertical white space after license header consistent"
4f6190a Use threading.ThreadError instead of reraising IOError
195f0b1 Have the interprocess lock follow lock conventions
15cca4b lockutils: move directory creation in lock class
81fe39e lockutils: remove lock_path parameter
14d3669 lockutils: expand add_prefix
dc06d55 lockutils: do not grab the lock in creators
a0948cb lockutils: remove local usage
df8e051 lockutils: split code handling internal/external lock
8b2b0b7 Use hacking import_exceptions for gettextutils._
6d0a6c3 Correct invalid docstrings
6fa29ae Trivial: Make vertical white space after license header consistent
12bcdb7 Remove vim header
79e6bc6 fix lockutils.lock() to make it thread-safe
ace5120 Add main() to lockutils that creates temp dir for locks

Related-bug: #1256306

Change-Id: Iced751f059bd9a893ccefb5f98d63df29f40c622

vmturbo/nova,Metaswitch/calico-nova,zaina/nova,affo/nova,thomasem/nova,devendermishrajio/nova,Stavitsky/nova,rahulunair/nova,tangfeixiong/nova,devendermishrajio/nova_test_latest,virtualopensystems/nova,rajalokan/nova,barnsnake351/nova,JioCloud/nova,Yusuke1987/openstack_template,eonpatapon/nova,hanlind/nova,mgagne/nova,tudorvio/nova,iuliat/nova,mikalstill/nova,zhimin711/nova,saleemjaveds/https-github.com-openstack-nova,LoHChina/nova,LoHChina/nova,jeffrey4l/nova,BeyondTheClouds/nova,alvarolopez/nova,Francis-Liu/animated-broccoli,whitepages/nova,yosshy/nova,cernops/nova,varunarya10/nova_test_latest,rajalokan/nova,cyx1231st/nova,viggates/nova,Juniper/nova,akash1808/nova,alaski/nova,Tehsmash/nova,mandeepdhami/nova,angdraug/nova,alvarolopez/nova,affo/nova,angdraug/nova,JianyuWang/nova,rahulunair/nova,noironetworks/nova,klmitch/nova,rahulunair/nova,CEG-FYP-OpenStack/scheduler,cloudbase/nova,jeffrey4l/nova,tudorvio/nova,mandeepdhami/nova,tianweizhang/nova,cloudbase/nova-virtualbox,akash1808/nova_test_latest,j-carpentier/nova,eonpatapon/nova,scripnichenko/nova,shail2810/nova,orbitfp7/nova,adelina-t/nova,klmitch/nova,jianghuaw/nova,openstack/nova,TwinkleChawla/nova,nikesh-mahalka/nova,watonyweng/nova,phenoxim/nova,iuliat/nova,takeshineshiro/nova,CEG-FYP-OpenStack/scheduler,ruslanloman/nova,cernops/nova,hanlind/nova,silenceli/nova,Juniper/nova,jianghuaw/nova,thomasem/nova,jianghuaw/nova,openstack/nova,alexandrucoman/vbox-nova-driver,gooddata/openstack-nova,redhat-openstack/nova,zzicewind/nova,ted-gould/nova,devendermishrajio/nova_test_latest,hanlind/nova,noironetworks/nova,raildo/nova,zhimin711/nova,silenceli/nova,maelnor/nova,gooddata/openstack-nova,tealover/nova,badock/nova,projectcalico/calico-nova,dawnpower/nova,vmturbo/nova,dims/nova,klmitch/nova,MountainWei/nova,akash1808/nova_test_latest,TwinkleChawla/nova,scripnichenko/nova,akash1808/nova,Yusuke1987/openstack_template,petrutlucian94/nova,JioCloud/nova_test_latest,viggates/nova,petrutlucian94/nova,NeCTAR-RC/nova,adelina-t/nova,bgxavier/nova,ruslanloman/nova,BeyondTheClouds/nova,bgxavier/nova,apporc/nova,CCI-MOC/nova,NeCTAR-RC/nova,vladikr/nova_drafts,cernops/nova,sebrandon1/nova,isyippee/nova,mikalstill/nova,berrange/nova,gooddata/openstack-nova,barnsnake351/nova,tangfeixiong/nova,mmnelemane/nova,openstack/nova,alexandrucoman/vbox-nova-driver,blueboxgroup/nova,joker946/nova,sebrandon1/nova,whitepages/nova,JioCloud/nova_test_latest,vladikr/nova_drafts,takeshineshiro/nova,cloudbase/nova,shail2810/nova,j-carpentier/nova,Metaswitch/calico-nova,CloudServer/nova,tealover/nova,double12gzh/nova,tianweizhang/nova,fnordahl/nova,Juniper/nova,dims/nova,eayunstack/nova,sebrandon1/nova,vmturbo/nova,zzicewind/nova,mgagne/nova,kimjaejoong/nova,JioCloud/nova,varunarya10/nova_test_latest,saleemjaveds/https-github.com-openstack-nova,Francis-Liu/animated-broccoli,orbitfp7/nova,yosshy/nova,devendermishrajio/nova,JianyuWang/nova,Tehsmash/nova,badock/nova,mahak/nova,phenoxim/nova,jianghuaw/nova,mmnelemane/nova,virtualopensystems/nova,cloudbase/nova,berrange/nova,edulramirez/nova,belmiromoreira/nova,bigswitch/nova,apporc/nova,projectcalico/calico-nova,maelnor/nova,blueboxgroup/nova,eayunstack/nova,Stavitsky/nova,rajalokan/nova,CCI-MOC/nova,CloudServer/nova,fnordahl/nova,mahak/nova,kimjaejoong/nova,ted-gould/nova,felixma/nova,joker946/nova,zaina/nova,klmitch/nova,nikesh-mahalka/nova,isyippee/nova,watonyweng/nova,cyx1231st/nova,gooddata/openstack-nova,raildo/nova,cloudbase/nova-virtualbox,edulramirez/nova,vmturbo/nova,MountainWei/nova,yatinkumbhare/openstack-nova,yatinkumbhare/openstack-nova,dawnpower/nova,alaski/nova,Juniper/nova,BeyondTheClouds/nova,mikalstill/nova,bigswitch/nova,belmiromoreira/nova,double12gzh/nova,mahak/nova,rajalokan/nova,redhat-openstack/nova,felixma/nova