2013-03-25 64 views
1

應用修訂需要應用此修復程序:https://review.openstack.org/#/c/22305/我如何在OpenStack的

我複製粘貼下面一行到終端。

[email protected]:/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 

還有其它的任何步驟來完成這個修復或者這一切?

[email protected]:/home/username/openstackgeek# glance-cache-manage list-cached 
Cache management middleware not enabled on host 0.0.0.0 

我希望你們幫我這樣的:因爲我得到下面的錯誤,我仍然得到它我這樣做修復。

回答

0

如果您要從源代碼部署到openstack的標籤發行版而不是打包版本。

嘗試這樣:

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