1

我需要应用此修复程序:https ://review.openstack.org/#/c/22305/

我将以下行复制粘贴到终端中。

  root@grid1:/home/username/openstackgeek# git fetch https://review.openstack.org/openstack/glance refs/changes/05/22305/1 && git checkout 

答案是:

FETCH_HEAD
    warning: no common commits
    remote: Counting objects: 15564, done
    remote: Finding sources: 100% (15564/15564)
    remote: Total 15564 (delta 9487), reused 13155 (delta 9487)
    Receiving objects: 100% (15564/15564), 6.10 MiB | 126 KiB/s, done.
    Resolving deltas: 100% (9487/9487), done.
    From https://review.openstack.org/openstack/glance
     * branch            refs/changes/05/22305/1 -> FETCH_HEAD
    Note: checking out 'FETCH_HEAD'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

      git checkout -b new_branch_name

    HEAD is now at 12d28c3... Swallow UserWarning from glance-cache-manage

是否还有其他步骤可以完成此修复或仅此而已?我正在做这个修复,因为我得到了下面的错误,我仍然得到它:

root@grid1:/home/username/openstackgeek# glance-cache-manage  list-cached
Cache management middleware not enabled on host 0.0.0.0

我希望你们能帮我解决这个问题。

4

1 回答 1

0

如果您从源代码部署到 openstack 的标记版本而不是打包版本。

尝试这样的事情:

mkvirtualenv glance
pip install -r tools/pip-requires
python setup.py build
easy_install dist/glance-xxxxxxx.egg  
于 2013-03-25T21:13:47.940 回答