如何在openstack中应用修复程序

时间:2013-03-25 15:21:36

标签: openstack openstack-nova

我需要应用此修复程序: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

我希望你们帮助我。

1 个答案:

答案 0 :(得分:0)

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

尝试这样的事情:

mkvirtualenv glance
pip install -r tools/pip-requires
python setup.py build
easy_install dist/glance-xxxxxxx.egg