Comment 0 for bug 1638617

Revision history for this message
Denis Klepikov (dklepikov) wrote :

LDAP plugin blocks Fuel upgrade 9.0->9.1

 fuel2 update --env 2 install
Settings configuration for environment with id=2 downloaded to /root/settings_2.yaml
Fail to install updates for environment 2
Traceback (most recent call last):
File "/root/python-cudet/cudet/updates.py", line 138, in take_action
settings_action.upload(parsed_args)
File "/usr/lib/python2.7/site-packages/fuelclient/cli/actions/settings.py", line 54, in upload
env.set_settings_data(settings_data, params.force)
File "/usr/lib/python2.7/site-packages/fuelclient/objects/environment.py", line 276, in set_settings_data
self.settings_url, data)
File "/usr/lib/python2.7/site-packages/fuelclient/client.py", line 185, in put_request
self._raise_for_status_with_info(resp)
File "/usr/lib/python2.7/site-packages/fuelclient/client.py", line 240, in _raise_for_status_with_info
raise error.HTTPError(error.get_full_error_message(e))
HTTPError: 400 Client Error: Bad Request for url: http://10.176.132.16:8000/api/v1/clusters/2/attributes (Cannot enable plugin with legacy tasks unless propagate_task_deploy attribute is set. Ensure tasks.yaml is empty and all tasks has version >= 2.0.0.)
[root@fuel ~]#

# fuel plugins list
id | name | version | package_version | releases
---+-----------------------------+---------+-----------------+----------------------------------------------
1 | ldap | 3.0.0 | 3.0.0 | ubuntu (mitaka-9.0)
2 | elasticsearch_kibana | 0.10.2 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0)
3 | influxdb_grafana | 0.10.2 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0)
5 | lma_collector | 0.10.2 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0)
4 | lma_infrastructure_alerting | 0.10.2 | 4.0.0 | ubuntu (liberty-8.0, liberty-9.0, mitaka-9.0)

deployment_tasks.yaml for this plugin does not contain tasks version

- id: ldap_plugin
  type: puppet
  groups: [primary-controller, controller]
  required_for : [deploy_end]
  requires: [keystone-db, keystone, horizon]
  parameters:
    puppet_manifest: "puppet/manifests/controller_site.pp"
    puppet_modules: "puppet/modules/:/etc/puppet/modules/"
    timeout: 3600

MOS 9.0