Wednesday, 2016-10-19

*** Kevin_Zheng has joined #openstack-nimble01:31
*** yuntongjin has joined #openstack-nimble01:51
shaohe_fengzhenguo: RuiChen: can not start swift02:28
shaohe_fengzhenguo: RuiChen: I use virtrual evn02:29
zhenguoshaohe_feng: manually or with our devstack?02:29
shaohe_fengzhenguo: devstack02:29
zhenguoshaohe_feng: I tested on ubuntu 14.04, it works well02:29
shaohe_fengzhenguo: one of python package can not install.02:30
zhenguoshaohe_feng: python-nss?02:31
shaohe_fengzhenguo: I google it. and most of people has the same problem02:31
shaohe_fengzhenguo: not python-nss02:31
shaohe_fengzhenguo: They suggest install this package by manually.02:31
shaohe_fengzhenguo: download the source code and build install02:31
zhenguoshaohe_feng: which one?02:32
shaohe_fengzhenguo: But still problem with this package for me.02:32
shaohe_fengzhenguo: /opt/stack/swift/bin/swift-account-server /etc/swift/account-server/1.conf -v                                               │··········································02:32
shaohe_fengliberasurecode[8792]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: N│··········································02:32
shaohe_fengo such file or directory  Y02:32
shaohe_fengzhenguo: this package02:33
zhenguoshaohe_feng: do you use ubuntu 14.04 or others?02:33
shaohe_feng/opt/stack/swift/bin/swift-container-server /etc/swift/container-server/1.conf -v                                           │··········································02:33
shaohe_fengTraceback (most recent call last):                                                                                          │··········································  File "/opt/stack/swift/bin/swift-container-server", line 19, in <module>02:33
shaohe_feng│··········································02:33
shaohe_feng    from swift.common.wsgi import run_wsgi                                                                                  │··········································02:33
shaohe_feng  File "/opt/stack/swift/swift/common/wsgi.py", line 41, in <module>                                                        │··········································02:33
shaohe_feng    from swift.common.storage_policy import BindPortsCache                                                                  │··········································  File "/opt/stack/swift/swift/common/storage_policy.py", line 25, in <module>02:33
shaohe_feng│··········································02:33
shaohe_feng    from pyeclib.ec_iface import ECDriver, ECDriverError, VALID_EC_TYPES                                                    │··········································02:33
shaohe_feng  File "/usr/local/lib/python2.7/dist-packages/pyeclib/ec_iface.py", line 29, in <module>                                   │··········································02:33
shaohe_feng    from pyeclib_c import check_backend_available                                                                           │··········································02:33
shaohe_fengImportError: /usr/local/lib/python2.7/dist-packages/pyeclib_c.so: undefined symbol: liberasurecode_backend_available        │··········································02:33
shaohe_fengs-container failed to start02:33
zhenguols02:33
shaohe_fengzhenguo: $ cat /etc/lsb-release02:34
shaohe_fengDISTRIB_ID=Ubuntu02:34
shaohe_fengDISTRIB_RELEASE=14.0402:34
shaohe_fengDISTRIB_CODENAME=trusty02:34
shaohe_fengDISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"02:34
shaohe_fengzhenguo: $ uname -r02:34
shaohe_feng4.3.0-rc6-vgt+02:34
shaohe_fengzhenguo: Oh, the kernel, I build by my self. But base on Ubuntu 14.04.4 LTS02:35
zhenguoshaohe_feng: maybe that's the  reason,02:36
shaohe_fengzhenguo: For I need to test most new kernel feature, I must build the kernel by myself.02:36
shaohe_fengzhenguo: the kernel of org Ubuntu is too low,  missing many new feature.02:38
zhenguoshaohe_feng: so you can keep the current evn for kernel testing and maybe use one Intel box for just nimble :)02:38
zhenguoshaohe_feng: as you may successfully build the env, and when you build the kernel next time, it goes iffy again :(02:39
shaohe_fengzhenguo: Yes. I need a office Ubuntu instead of customized by myself.02:39
shaohe_fengzhenguo: That's why I have many box. On Box for for new kernel feature. :)02:40
zhenguoshahe_feng: lol02:40
zhenguoshaohe_feng: you are a rich man, haha02:42
openstackgerritLei Zhang proposed openstack/nimble: Add instance related api ref  https://review.openstack.org/38788803:29
RuiChenshaohe_feng: agree with zhenguo , using the official ubuntu make it easier for you to isolute problem in nimble and kernel03:40
shaohe_fengRuiChen: yes, I'm trying to build a new enviroment for nimble.05:18
shaohe_fengzhenguo: what's your kernel version?05:26
shaohe_fengzhenguo: There are  3.18.1 and 3.16.3 verson05:27
zhenguoshaohe_feng: 3.1306:10
*** yuntongjin has quit IRC07:09
*** yuntongjin has joined #openstack-nimble07:43
shaohe_fengzhenguo: where can I paste the long information?08:09
zhenguoshaohe_feng: maybe you can use paste.openstack.org08:33
shaohe_fengzhenguo: still the same error.08:50
shaohe_fengzhenguo: but there is mail about this bug: http://lists.openstack.org/pipermail/openstack/2015-September/013941.html08:50
shaohe_fengzhenguo: wang hao from huawei encounter this bug.08:51
zhenguoshaohe_feng: does that way fix your error?08:52
zhenguoshahao_feng: wanghao has migrated to Japan and leaved huawei :(08:53
shaohe_fengzhenguo: I'm trying it.08:54
shaohe_fengzhenguo: liberasurecode_backend_open: dynamic linking error libshss.so.109:39
shaohe_fengzhenguo: http://paste.openstack.org/show/586338/09:40
zhenguoshaohe_feng: still not solved?09:40
shaohe_fengzhenguo: I have git clone https://github.com/openstack/liberasurecode.git09:40
shaohe_fengzhenguo: find libshss is just a plugin for liberasurecode09:41
shaohe_fengzhenguo: and the ubuntu stander liberasurecode does not include this plugin.09:41
shaohe_fengzhenguo: I need to build rebuild the liberasurecode09:41
shaohe_fengzhenguo: and install this plugin09:42
zhenguoshaohe_feng: but why we don't encounter that problem?09:42
shaohe_fengzhenguo: why do you not need libshss.so.1?09:42
shaohe_fengzhenguo:  can you ls /usr/lib/x86_64-linux-gnu/libshss.so.1 ?09:42
zhenguoshaohe_feng: let me try09:43
zhenguoshaohe_feng: no09:43
shaohe_fengzhenguo: locate libshss.so.109:44
shaohe_fengzhenguo: why do you not need libshss.so.1?09:44
shaohe_fengzhenguo: why my swift need libshss.so.1?09:44
zhenguoshaohe_feng: not sure, can't locate it, it doesn't exist09:44
zhenguoshaohe_feng: maybe your devstack config file?09:45
shaohe_fengzhenguo: I use the latest devstack09:47
zhenguoshaohe_feng: I'm confuesd as well, maybe the latest devstack introduced that bug...09:49
shaohe_fengzhenguo: stragely.09:50
zhenguoshaohe_feng: have you solved the problem by rebuilding?09:51
shaohe_fengzhenguo: I'm try rebuilding09:51
zhenguoshaohe_feng: ok, hope that can work09:51
*** yuntongjin has quit IRC09:59
shaohe_fengzhenguo: now swift can run.11:38
zhenguoshaohe_feng: congrats!11:38
shaohe_fengzhenguo:  http://paste.openstack.org/show/586349/11:38
shaohe_fengzhenguo: anyone encounter this problem can follow this link.11:38
shaohe_fengzhenguo: I find the reason.11:39
zhenguoshaohe_feng: seems like this link can be expired, I believe they will clean paste periodically11:41
shaohe_fengzhenguo: in Openstack  requirements: upper-constraints.txt:pyeclib===1.3.111:41
shaohe_fengzhenguo: This pyeclib require liberasurecode package.11:41
shaohe_fengzhenguo: the liberasurecode is install by apt-get11:42
shaohe_fengzhenguo: but there are not match.11:42
shaohe_fengzhenguo: I find someone suggests to rebuild pyeclib.  REF: https://ask.openstack.org/en/question/93267/unable-to-start-swift-proxy-liberasurecode-missing-libshssso/11:43
shaohe_fengzhenguo: This pyeclib require libshss. we can not get libshss by stander ubuntu package.11:44
zhenguoshaohe_feng: on my env, pyclib === 1.3.1 as well,11:45
shaohe_fengzhenguo: So I rebuild liberasurecode instead of pyeclib.11:45
shaohe_fengzhenguo: now I use pyclib === 1.3.1 , but use the rebuild liberasurecode11:45
shaohe_fengzhenguo: I did not know why they are not match.11:45
zhenguoshaohe_feng: anyway, it's ok now.11:46
shaohe_fengzhenguo: anyway, the reason is that they are not match. We can rebuild any of the two packages to make them match11:47
zhenguoshaohe_feng: yes, will record the reason, and maybe needed when build a new env in the future.11:48
shaohe_fengzhenguo: write chinese blog: http://www.cnblogs.com/shaohef/p/5978527.html12:00
zhenguoshaohe_feng: thanks12:01
shaohe_fengzhenguo: I also find why Tan0's ironic environment can not dbsync upgrade12:10
shaohe_fengzhenguo: It is also not a pure ironic environment12:11
zhenguoshaohe_feng: he modified the db?12:11
shaohe_fengzhenguo: Yes.12:11
zhenguoshaohe_feng: you should ping him first, haha12:11
shaohe_fengzhenguo: He modified the db.12:11
shaohe_fengzhenguo: He has change the reversion. So the ironic-dbsync can not find this version.12:12
shaohe_fengzhenguo: haha, we can developer, we can debug it. But it really take time to debug it.12:13
shaohe_fengs/we can developer/we are developer12:13
zhenguoshaohe_feng: hah12:13
zhenguoshaohe_feng: after summit, maybe I can go Intel to build the enviroment with real hardware together :P12:14
shaohe_fengzhenguo: Sure. You are welcome/12:15
shaohe_fengzhenguo: 1 + 1 > 212:15
zhenguoshaohe_feng: haha12:15
shaohe_fengzhenguo: I need to go to home. see you later.12:16
zhenguoshaohe_feng: see you12:16
zhenguoshaohe_feng: not 'see' you, talk to you later, lol12:18
*** Kevin_Zheng has quit IRC14:39
*** Kevin_Zheng has joined #openstack-nimble14:41
*** RuiChen has quit IRC15:07
*** RuiChen has joined #openstack-nimble15:07
*** shaohe_feng has quit IRC18:10
*** shaohe_feng has joined #openstack-nimble18:11

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!