[openstack-dev] [kolla] How to get rpm locally during kolla build

hu.zhijiang at zte.com.cn hu.zhijiang at zte.com.cn
Wed Apr 20 06:12:38 UTC 2016


Hi,

I have network problem, it is unstable. Then `kolla-build --registry 
127.0.0.1:4000 --push ` always fail when building openstack-base  image 
like this:


INFO:kolla.cmd.build:openstack-base:================================================================================
INFO:kolla.cmd.build:openstack-base:Install  132 Packages (+8 Dependent 
packages)
INFO:kolla.cmd.build:openstack-base:Total download size: 25 M
INFO:kolla.cmd.build:openstack-base:Installed size: 112 M
INFO:kolla.cmd.build:openstack-base:Downloading packages:
INFO:kolla.cmd.build:openstack-base:
http://trunk.rdoproject.org/centos7/ec/48/ec4848b9f0db227fdd03afd7e711d4c50d4af1fd_6112694a/python-manilaclient-1.7.1-0.20160303212256.eb1fde5.el7.centos.noarch.rpm: 
[Errno 14] curl#56 - "Recv failure: Connection reset by peer"
INFO:kolla.cmd.build:openstack-base:Trying other mirror.
INFO:kolla.cmd.build:openstack-base:
INFO:kolla.cmd.build:openstack-base:
http://trunk.rdoproject.org/centos7/ec/48/ec4848b9f0db227fdd03afd7e711d4c50d4af1fd_6112694a/python-glanceclient-1.2.1-0.20160229192748.22a03fd.el7.centos.noarch.rpm: 
[Errno 12] Timeout on 
http://trunk.rdoproject.org/centos7/ec/48/ec4848b9f0db227fdd03afd7e711d4c50d4af1fd_6112694a/python-glanceclient-1.2.1-0.20160229192748.22a03fd.el7.centos.noarch.rpm: 
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 
seconds')
INFO:kolla.cmd.build:openstack-base:Trying other mirror.
INFO:kolla.cmd.build:openstack-base:
INFO:kolla.cmd.build:openstack-base:
http://trunk.rdoproject.org/centos7/ec/48/ec4848b9f0db227fdd03afd7e711d4c50d4af1fd_6112694a/python-novaclient-3.3.1-0.20160303082753.d63800d.el7.centos.noarch.rpm: 
[Errno 14] curl#56 - "Recv failure: Connection reset by peer"
INFO:kolla.cmd.build:openstack-base:Trying other mirror.



I wonder if there is any way to put those rpms into local directory then 
the network problem can be work around.

Thanks!

B.R.,

Zhijiang.

--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160420/397c2872/attachment.html>


More information about the OpenStack-dev mailing list