[Fuel Plugins] Change deprecation warning on 6.0 Fuel Plugins into a more user-friendly and clear
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Medium
|
Fuel Python (Deprecated) | ||
6.1.x |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) | ||
7.0.x |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) |
Bug Description
Currently, you can install 6.0 plugins at 6.1 Fuel (like in the output below).
To improve UX, we should:
- prevent users from installing 6.0 plugins at 6.1
- prevent users from installing 6.1 plugins at 7.0
- provide clear message that would point to fuel infra community catalog of fuel plugins
Sample message could look like:
DEPRECATION WARNING: The plugin has old format and is incompatible with 6.1. Please, look for a newer version in Fuel Plugins Community Catalog <https:/
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
openstack_
api: "1.0"
build_number: "525"
build_id: "2015-06-
LBaaS plugin for 6.0
[root@fuel lbaas-1.0.0]# cat metadata.yaml | grep fuel_version
fuel_version: ['6.0']
[root@fuel tmp]# fuel plugins --install ./lbaas-1.0.0.fp
DEPRECATION WARNING: /etc/fuel/
DEPRECATION WARNING: The plugin has old 1.0 package format, this format does not support many features, such as plugins updates, find plugin in new format or migrate and rebuild this one.
Plugin ./lbaas-1.0.0.fp was successfully installed.
[root@fuel tmp]# fuel plugins
DEPRECATION WARNING: /etc/fuel/
id | name | version | package_version
---|---
1 | lbaas | 1.0.0 | 1.0.0
It is not recognized because of version incompatibility.
Shouldn't we prevent it to be installed at all then?
Changed in fuel-plugins: | |
importance: | Undecided → High |
Changed in fuel: | |
milestone: | none → 7.0 |
tags: | added: feature-plugins |
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
status: | New → Confirmed |
tags: | removed: tech-debt |
Changed in fuel: | |
milestone: | 7.0-updates → 8.0 |
no longer affects: | fuel/8.0.x |
tags: | added: area-python |
If i correctly understand, we do such thing in case of upgrade. In 6.1 env we can support 6.0 and 6.1 environments.
You suggest to prevent installation if no supported releases was found in env, for example it is clean 6.1 installation?