'fuel_ccp.config._yaml.AttrDict object' has no attribute 'tls'

Bug #1670348 reported by Sergey Galkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fuel-ccp
New
Undecided
Unassigned

Bug Description

Step to reproduce
1. Follow to steps from http://fuel-ccp.readthedocs.io/en/latest/quickstart.html

the step 'ccp -v deploy' failed with error
'fuel_ccp.config._yaml.AttrDict object' has no attribute 'tls'

root@node4:~/ccp-repos/fuel-ccp-cinder# ccp --version
ccp 0.1.1, dsl version 0.7.0

fuel-ccp-cinder# git log -2
commit ec31b94d6c441d36006c6d89facb7174c366f735
Merge: dfd987f f686ba5
Author: Jenkins <email address hidden>
Date: Fri Mar 3 13:54:52 2017 +0000

    Merge "Adjust to per-service configuration"

commit dfd987fa4a565a26eb72bd3652ce8cbf72432857
Merge: 174a58f 0ef69b3
Author: Jenkins <email address hidden>
Date: Wed Mar 1 08:01:47 2017 +0000

    Merge "Add check SSL for backup"

=============== FULL LOG ==============================
2017-03-06 12:49:44,812 DEBUG fuel_ccp.cli Loaded config from file /root/.ccp.yaml
2017-03-06 12:49:44,813 INFO fuel_ccp.fetch Cloning repositories into /root/ccp-repos/
2017-03-06 12:49:44,814 DEBUG fuel_ccp.fetch fuel-ccp-ceph: Repository is already cloned, skipping
2017-03-06 12:49:44,815 DEBUG fuel_ccp.fetch fuel-ccp-cinder: Repository is already cloned, skipping
2017-03-06 12:49:44,815 DEBUG fuel_ccp.fetch fuel-ccp-debian-base: Repository is already cloned, skipping
2017-03-06 12:49:44,816 DEBUG fuel_ccp.fetch fuel-ccp-entrypoint: Repository is already cloned, skipping
2017-03-06 12:49:44,817 DEBUG fuel_ccp.fetch fuel-ccp-etcd: Repository is already cloned, skipping
2017-03-06 12:49:44,817 DEBUG fuel_ccp.fetch fuel-ccp-glance: Repository is already cloned, skipping
2017-03-06 12:49:44,818 DEBUG fuel_ccp.fetch fuel-ccp-heat: Repository is already cloned, skipping
2017-03-06 12:49:44,819 DEBUG fuel_ccp.fetch fuel-ccp-horizon: Repository is already cloned, skipping
2017-03-06 12:49:44,821 DEBUG fuel_ccp.fetch fuel-ccp-keystone: Repository is already cloned, skipping
2017-03-06 12:49:44,822 DEBUG fuel_ccp.fetch fuel-ccp-mariadb: Repository is already cloned, skipping
2017-03-06 12:49:44,822 DEBUG fuel_ccp.fetch fuel-ccp-memcached: Repository is already cloned, skipping
2017-03-06 12:49:44,823 DEBUG fuel_ccp.fetch fuel-ccp-neutron: Repository is already cloned, skipping
2017-03-06 12:49:44,824 DEBUG fuel_ccp.fetch fuel-ccp-nova: Repository is already cloned, skipping
2017-03-06 12:49:44,824 DEBUG fuel_ccp.fetch fuel-ccp-openstack-base: Repository is already cloned, skipping
2017-03-06 12:49:44,826 DEBUG fuel_ccp.fetch fuel-ccp-rabbitmq: Repository is already cloned, skipping
2017-03-06 12:49:44,829 INFO fuel_ccp.fetch ##################################################
2017-03-06 12:49:44,829 INFO fuel_ccp.fetch Summary:
2017-03-06 12:49:44,829 INFO fuel_ccp.fetch 15 repository(s) is(are) already cloned: fuel-ccp-ceph, fuel-ccp-cinder, fuel-ccp-debian-base, fuel-ccp-entrypoint, fuel-ccp-etcd, fuel-ccp-glance, fuel-ccp-heat, fuel-ccp-horizon, fuel-ccp-keystone, fuel-ccp-mariadb, fuel-ccp-memcached, fuel-ccp-neutron, fuel-ccp-nova, fuel-ccp-openstack-base, fuel-ccp-rabbitmq
2017-03-06 12:49:44,830 INFO fuel_ccp.fetch ##################################################
2017-03-06 12:49:44,831 DEBUG fuel_ccp.config Adding parameters from "/usr/local/lib/python2.7/dist-packages/fuel_ccp/resources/defaults.yaml"
2017-03-06 12:49:44,842 DEBUG fuel_ccp.config "/usr/local/lib/python2.7/dist-packages/fuel_ccp/resources/globals.yaml" not found, skipping
2017-03-06 12:49:44,842 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-ceph/service/files/defaults.yaml"
2017-03-06 12:49:44,845 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-cinder/service/files/defaults.yaml"
2017-03-06 12:49:44,850 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-debian-base/service/files/defaults.yaml"
2017-03-06 12:49:44,851 DEBUG fuel_ccp.config "/root/ccp-repos/fuel-ccp-entrypoint/service/files/defaults.yaml" not found, skipping
2017-03-06 12:49:44,851 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-etcd/service/files/defaults.yaml"
2017-03-06 12:49:44,853 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-glance/service/files/defaults.yaml"
2017-03-06 12:49:44,860 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-heat/service/files/defaults.yaml"
2017-03-06 12:49:44,864 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-horizon/service/files/defaults.yaml"
2017-03-06 12:49:44,868 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-keystone/service/files/defaults.yaml"
2017-03-06 12:49:44,874 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-mariadb/service/files/defaults.yaml"
2017-03-06 12:49:44,876 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-memcached/service/files/defaults.yaml"
2017-03-06 12:49:44,877 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-neutron/service/files/defaults.yaml"
2017-03-06 12:49:44,895 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-nova/service/files/defaults.yaml"
2017-03-06 12:49:44,916 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-openstack-base/service/files/defaults.yaml"
2017-03-06 12:49:44,918 DEBUG fuel_ccp.config Adding parameters from "/root/ccp-repos/fuel-ccp-rabbitmq/service/files/defaults.yaml"
2017-03-06 12:49:44,926 DEBUG fuel_ccp.common.utils Rendering service definition: radosgw.yaml
2017-03-06 12:49:44,932 DEBUG fuel_ccp.common.utils Parse service definition: radosgw.yaml
2017-03-06 12:49:44,940 DEBUG fuel_ccp.common.utils Loading upgrade definition: default.yaml
2017-03-06 12:49:44,947 DEBUG fuel_ccp.common.utils Rendering service definition: cinder-volume.yaml
2017-03-06 12:49:44,949 DEBUG fuel_ccp.common.utils Parse service definition: cinder-volume.yaml
2017-03-06 12:49:44,953 DEBUG fuel_ccp.common.utils Rendering service definition: cinder-scheduler.yaml
2017-03-06 12:49:44,954 DEBUG fuel_ccp.common.utils Parse service definition: cinder-scheduler.yaml
2017-03-06 12:49:44,957 DEBUG fuel_ccp.common.utils Rendering service definition: cinder-backup.yaml
2017-03-06 12:49:44,958 DEBUG fuel_ccp.common.utils Parse service definition: cinder-backup.yaml
2017-03-06 12:49:44,962 DEBUG fuel_ccp.common.utils Rendering service definition: cinder-api.yaml
2017-03-06 12:49:44,977 ERROR ccp 'fuel_ccp.config._yaml.AttrDict object' has no attribute 'tls'

Tags: scale
Revision history for this message
Sergey Galkin (sgalkin) wrote :

workaround is adding
  db:
    tls:
       enabled: false
into the .ccp.yaml

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.