Re: [INSTALL HLFS Q2]关于INTEGRATE_HLFS_INTO_OPENSTACK Wiki

5 views
Skip to first unread message

harryxiyou

unread,
May 11, 2013, 10:32:01 PM5/11/13
to Zhen Ren, clo...@googlegroups.com
On Sun, May 12, 2013 at 10:14 AM, Zhen Ren <renzh...@gmail.com> wrote:
> "---------------------------
> 2.启动stack.sh,其过程会下载openstack
>
> ./stack.sh (需要等待一段时间,完成后执行./unstack)
>
> "----------------------------
>
> 问题:
> 1. “./stack.sh”执行完成后,为什么要执行./unstack?

./unstack.sh 是卸载。 从你问的问题不能得出原因,你给的信息太少了。
也许下来要打我们的补丁,从新编译openstack。

> 2. 依Wiki,执行"./unstack"后,得到这样的结果:
> “----------------------------
> zhen@darwin-ThinkPad-Edge:~/devstack$ ./unstack.sh
> * Stopping web server apache2
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.1.1 for ServerName
> ... waiting .
> [ OK ]
> tgtadm: can't send the request to the tgt daemon, Transport endpoint is not
> connected
> tgtd seems to be in a bad state, restarting...
> stop: Unknown instance:
> tgt start/running, process 8629
> tgt stop/waiting
> "--------------------------------
> 是否正常?
>

能正常使用就正常了。



--
Thanks
Harry Wei

harryxiyou

unread,
May 11, 2013, 10:39:13 PM5/11/13
to Zhen Ren, clo...@googlegroups.com
On Sun, May 12, 2013 at 10:35 AM, Zhen Ren <renzh...@gmail.com> wrote:
> Wiki链接:
> https://code.google.com/p/cloudxy/wiki/INTEGRATE_HLFS_INTO_OPENSTACK?ts=1368325657&updated=INTEGRATE_HLFS_INTO_OPENSTACK
>
> “----------------------------------------
>
> 3.给openstack的源码部分打patch
>
> cd /opt/stack/nova
>
> wget
> http://cloudxy.googlecode.com/svn/branches/hlfs/features/multi-file/patches/hlfs_driver_for_openstack_nova.patch
>
> git apply hlfs_driver_for_openstack_nova.patch
> cd /opt/stack/cinder
>
> wget
> http://cloudxy.googlecode.com/svn/branches/hlfs/features/multi-file/patches/hlfs_driver_for_openstack_cinder.patch
>
> git apply hlfs_driver_for_openstack_cinder.patch
>
> 4.一键安装所有hlfs相关的包(java,hlfs,hadoop,qemu,libvirt等)
>
> sudo apt-get install subversion
> svn checkout
> http://cloudxy.googlecode.com/svn/branches/hlfs/features/multi-file/patches/scripts
> scripts;
>
> cd scripts;./hlfs.sh
>
> ”----------------------------------------
>
> 问题:
> 第三步最后在目录/opt/stack/cinder中执行的,第四步执行路径不变吗?
>

最好在一个测试目录下,当然不改变目录也可以。一键安装可能还不是很完善,
安装过程中可能需要人工干预,你可以想办法修复。

--
Thanks
Harry Wei

harryxiyou

unread,
May 11, 2013, 10:54:40 PM5/11/13
to Zhen Ren, clo...@googlegroups.com
On Sun, May 12, 2013 at 10:46 AM, Zhen Ren <renzh...@gmail.com> wrote:
>
>
> On 12 May 2013 10:32, harryxiyou <harry...@gmail.com> wrote:
>>
>> On Sun, May 12, 2013 at 10:14 AM, Zhen Ren <renzh...@gmail.com> wrote:
>> > "---------------------------
>> > 2.启动stack.sh,其过程会下载openstack
>> >
>> > ./stack.sh (需要等待一段时间,完成后执行./unstack)
>> >
>> > "----------------------------
>> >
>> > 问题:
>> > 1. “./stack.sh”执行完成后,为什么要执行./unstack?
>>
>> ./unstack.sh 是卸载。 从你问的问题不能得出原因,你给的信息太少了。
>> 也许下来要打我们的补丁,从新编译openstack。
>
> 为什么安装上,就要执行卸载? 我是按着Wiki一步步做的。

这个卸载只是stop services. 并没有把下载的packages删除。重新打上
cloudxy补丁需要重新编译和安装。

--
Thanks
Harry Wei

harryxiyou

unread,
May 11, 2013, 10:57:43 PM5/11/13
to clo...@googlegroups.com

harryxiyou

unread,
May 11, 2013, 10:59:23 PM5/11/13
to Zhen Ren, clo...@googlegroups.com
2013/5/12 harryxiyou <harry...@gmail.com>:
最好在邮件列表中讨论,大家集思广益,也可帮助后来者。

--
Thanks
Harry Wei

harryxiyou

unread,
May 11, 2013, 11:14:08 PM5/11/13
to Zhen Ren, clo...@googlegroups.com
2013/5/12 Zhen Ren <renzh...@gmail.com>:
>
>
>
> 2013/5/12 harryxiyou <harry...@gmail.com>
>>
>> On Sun, May 12, 2013 at 10:35 AM, Zhen Ren <renzh...@gmail.com> wrote:
>> > Wiki链接:
>> >
>> > https://code.google.com/p/cloudxy/wiki/INTEGRATE_HLFS_INTO_OPENSTACK?ts=1368325657&updated=INTEGRATE_HLFS_INTO_OPENSTACK
>> >
>> > “----------------------------------------
>> >
>> > 3.给openstack的源码部分打patch
>> >
>> > cd /opt/stack/nova
>> >
>> > wget
>> >
>> > http://cloudxy.googlecode.com/svn/branches/hlfs/features/multi-file/patches/hlfs_driver_for_openstack_nova.patch
>> >
>> > git apply hlfs_driver_for_openstack_nova.patch
>> > cd /opt/stack/cinder
>> >
>> > wget
>> >
>> > http://cloudxy.googlecode.com/svn/branches/hlfs/features/multi-file/patches/hlfs_driver_for_openstack_cinder.patch
>> >
>> > git apply hlfs_driver_for_openstack_cinder.patch
>> >
>> > 4.一键安装所有hlfs相关的包(java,hlfs,hadoop,qemu,libvirt等)
>> >
>> > sudo apt-get install subversion
>> > svn checkout
>> >
>> > http://cloudxy.googlecode.com/svn/branches/hlfs/features/multi-file/patches/scripts
>> > scripts;
>> > cd scripts;./hlfs.sh
>
> 麻烦了,昨天替换前缀的时候,把这个脚本的前缀也替换了。现在链接出错了。
> 找下一个正常的链接,发给我,我更正下。

http://cloudxy.googlecode.com/svn/branches/hlfs/person/zhangdianbo/scripts/



--
Thanks
Harry Wei
Reply all
Reply to author
Forward
0 new messages