[{'group': 'compute', 'name': 'nova_libvirt'},
{u'KOLLA_BASE_DISTRO': u'centos',
u'KOLLA_CONFIG_STRATEGY': u'COPY_ALWAYS',
u'KOLLA_INSTALL_METATYPE': u'mixed',
u'KOLLA_INSTALL_TYPE': u'source',
u'PATH': u'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
u'changed': False,
'invocation': {'module_args': '',
'module_complex_args': {'action': 'get_container_env',
'name': u'nova_libvirt'},
'module_name': u'kolla_docker'},
'item': {'group': 'compute', 'name': 'nova_libvirt'}},
{u'changed': False,
u'cmd': [u'docker',
u'exec',
u'nova_libvirt',
u'/usr/local/bin/kolla_set_configs',
u'--check'],
u'delta': u'0:00:00.256591',
u'end': u'2016-03-30 04:49:59.609202',
'failed': False,
'failed_when_result': False,
'invocation': {'module_args': u'docker exec nova_libvirt /usr/local/bin/kolla_set_configs --check',
'module_complex_args': {},
'module_name': u'command'},
'item': {'group': 'compute', 'name': 'nova_libvirt'},
u'rc': 1,
u'start': u'2016-03-30 04:49:59.352611',
u'stderr': u'INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json\nINFO:__main__:Validating config file\nTraceback (most recent call last):\n File "/usr/local/bin/kolla_set_configs", line 332, in <module>\n sys.exit(main())\n File "/usr/local/bin/kolla_set_configs", line 325, in main\n execute_config_check()\n File "/usr/local/bin/kolla_set_configs", line 295, in execute_config_check\n with open(source) as fp1, open(dest) as fp2:\nIOError: [Errno 21] Is a directory: u\'/var/lib/kolla/config_files/secrets\'',
u'stdout': u'',
'stdout_lines': [],
u'warnings': []}]
Reviewed: https:/ /review. openstack. org/371669 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=97e17becce5 dc7c2261c5e54cf db18c02ecdcf96
Committed: https:/
Submitter: Jenkins
Branch: master
commit 97e17becce5dc7c 2261c5e54cfdb18 c02ecdcf96
Author: Jeffrey Zhang <email address hidden>
Date: Mon Aug 29 15:35:26 2016 +0800
Fix the set config error
* fix wrong handle for directory
* refactor the code
Closes-Bug: #1563741 4f1c5b49a67e57a efef623a8b0
Change-Id: I83869e074cb292