Fuel 6.1 duplicate sources.list entry after plugin update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Evgeniy L | ||
6.1.x |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) | ||
7.0.x |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) | ||
Mitaka |
Fix Committed
|
High
|
Alexey Shtokolov | ||
Newton |
Fix Released
|
High
|
Evgeniy L |
Bug Description
Hello,
I'm not sure this is the right place to ask this question. If it is not please point me to the right one.
I've faced following minor issue. It is only warning message during apt actions, but we're building better world and it would be nice to have no warnings :)
First of all what we're doing - we're unlocking Fuel environment(nailgun patch) and updating fuel-library and plugin (only minor version changed i.e. 1.3.211 -> 1.3.213). with command
fuel plugins --update plugin_
As result we have files updated in plugins directory, and rpm post
action executed(so that we can modify for example some task as this is MOS 6.1).
Then while executing deploy on any node during astute task
upload_core_repos
on each node new repo.list is created so we have
/etc/apt/
/etc/apt/
but inside each of them has the same url
deb http://
and it is correct seems we didn't create new plugin and new directory for it ans so on.
But for example if we execute apt-get update we get following warning
W: Duplicate sources.list entry http://
If we changed following function in nailgun and replace
'name': plugin.full_name
wth
'name': plugin.path_name,
which returns only major version instead of a full version we could avoid this, cause for each major version file with name
/etc/apt/
would exist
def get_ubuntu_
return {
'type': 'deb',
'name': plugin.path_name,
'uri': plugin.
So I would like to ask if it is right approach and if then this should be done for a long term
tags: | added: area-plugins area-python |
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
tags: | removed: area-plugins |
Changed in fuel: | |
status: | Incomplete → Confirmed |
importance: | Undecided → Medium |
tags: | added: feature-plugins |
Changed in fuel: | |
importance: | Medium → High |
Changed in fuel: | |
milestone: | 10.0 → 11.0 |
tags: | added: on-verification |
Please, provide diagnostic snapshot from environment where issue is reproduced