sync with oslo-incubator

- py3 compatibility fixes
- drop uuidutils and rpc/securemessage
- lockutils fix
- config generator fix

synched with commit-id: 0d2546b228f13a42355bc54e82256bf17a2eb478

Change-Id: I2c2b69da1b7d834b42c185bb8e2667ce748df33a
Merge "sync with oslo-incubator"