正在卸载以前的和OpenKeystone客户端还原版本

2024-04-29 12:42:41 发布

您现在位置:Python中文网/ 问答频道 /正文

我在Juno中安装了python openstackclient,它执行了以下操作:

> Installing collected packages:
> keystoneauth1, python-keystoneclient,
> python-glanceclient,
> python-openstackclient                
> Found existing installation:
> python-keystoneclient 0.11.1          
> 
>     Uninstalling python-keystoneclient-0.11.1:         
> 
>       Successfully uninstalled python-keystoneclient-0.11.1          
> Found existing installation:
> python-glanceclient 0.15.0            
> 
>     Uninstalling python-glanceclient-0.15.0:           
> 
>       Successfully uninstalled python-glanceclient-0.15.0            
> Successfully installed
> keystoneauth1-2.16.0
> python-glanceclient-2.5.0
> python-keystoneclient-3.8.0
> python-openstackclient-3.4.1

现在,我需要完全卸载python openstackclient并恢复keystone和glance的先前版本(和行为)。在

在我的“生产”系统中,juno没有openstackclient和所有包的旧版本(keystone v2、glance等,来自EPEL repository Centos 7),而在“test”系统中,我有juno并安装了openstackclient和更新版本的包(pip repository)。所以在不久的将来我必须升级(在安全模式下!)从juno到mitaka的生产系统我需要在测试系统上测试它。这是因为我需要在测试和生产系统上有“相同的安装”。在


更新: 为了避免使用apiv3和回滚到apiv2,我在控制器节点中卸载了所有openstack python包,并按照以下过程重新安装了它们http://docs.openstack.org/juno/install-guide/install/yum/content/ch_overview.html。在

我通过以下方式卸载了数据包:

^{pr2}$

但是,当我启动glance image-show ID-image时,出现了以下错误:

raise AttributeError(k)
AttributeError: id
id

我看不出原因/api.日志出现INFO keystonemiddleware.auth_token [-] Auth Token confirmed use of v3.0 apis,尽管默认的Juno安装使用api v2。我想这些问题是相互关联的。你怎么认为?在


Tags: 系统keystoneinstallationkeystoneclientexistingglanceclientfoundjuno