fuel2 update failed with "AttributeError: 'Namespace' object has no attribute 'split'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Alex Ermolov |
Bug Description
Detailed bug description:
[root@nailgun ~]# fuel2 update install --env 1 --restart-mysql --restart-rabbit
Fail to install updates for environment 1
Traceback (most recent call last):
File "/usr/lib/
deployment_
File "/usr/lib/
self.
AttributeError: 'Namespace' object has no attribute 'split'
Repo-id : mirror.
Repo-name : added from: http://
Repo-revision: 1474084413
Repo-updated : Sat Sep 17 03:53:37 2016
Repo-pkgs : 138
Repo-size : 68 M
Repo-baseurl : http://
Repo-expire : 21,600 second(s) (last: Sun Sep 18 18:39:11 2016)
Repo-filename: /etc/yum.
[root@nailgun ~]# rpm -q python-cudet
python-
[root@nailgun ~]# repoquery -i python-cudet
Name : python-cudet
Version : 0.1.5
Release : 2.el7~mos1
Architecture: noarch
Size : 371632
Packager : None
Group : Unspecified
URL : https:/
Repository : mirror.
Summary : A data collection tool for Mirantis OpenStack
Source : python-
Description :
Python-based tool for Mirantis OpenStack, which provides the following
info about environments and Fuel server:
Steps to reproduce:
1) Deploy any 9.0 env
2) add latest snapshot of mos/centos repo http://
3) install python-cudet package
4) add latest proposed mos ubuntu repo for cluster http://
5) deploy new repo to cluster
6) run "update-prepare prepare master, update-prepare prepare env env_id, update-prepare update master"
7) run "fuel2 updates --env env_id --repos proposed --restart-rabbit --restart-mysql install
Expected results:
cluster was updated
Actual result:
fuel2 update command failed with AttributeError: 'Namespace' object has no attribute 'split'
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: area-python |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Vitaly Sedelnik (vsedelnik) |
Changed in fuel: | |
status: | Confirmed → In Progress |
assignee: | Vitaly Sedelnik (vsedelnik) → Alex Ermolov (aermolov) |
tags: | added: on-verification |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
tags: | removed: on-verification |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
verified on centos snapshot from 19.09
[root@nailgun ~]# fuel2 update install --env 1 --restart-rabbit --restart-mysql python2. 7/site- packages/ cudet/updates. py", line 128, in take_action action. download( parsed_ args) python2. 7/site- packages/ fuelclient/ cli/actions/ fact.py" , line 114, in download action_ name, nodes=params.node, split=params.split
Fail to install updates for environment 1
Traceback (most recent call last):
File "/usr/lib/
deployment_
File "/usr/lib/
self.
AttributeError: 'Namespace' object has no attribute 'split'
So at this moment feature "upgrade cluster from 9.0 to 9.1" completely broken