SM:R3.0.3.x build 1: Upload contrail package may fail if there are old repo files there
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Won't Fix
|
Medium
|
Dheeraj Gautam | |||
R3.0.3.x |
Won't Fix
|
Medium
|
Dheeraj Gautam | |||
R3.1 |
Fix Committed
|
Medium
|
Dheeraj Gautam | |||
R3.2 |
Fix Committed
|
Medium
|
Dheeraj Gautam | |||
Trunk |
Fix Committed
|
Medium
|
Dheeraj Gautam |
Bug Description
SM:R3.0.3.x build 1: upload contrail package times out wth Error: (28, 'Operation timed out after 120000 milliseconds with 0 bytes received')
1) Install R3.0.3.x build Kilo SM
2) Upload ubuntu-14-04 image, uplaod happens succesfully
3) Upload the contrail package, it fails to get uploaded in to SM database
oot@nodej5:~# server-manager show all
{
"cluster": [],
"image": [
{
"id": "ubuntu-14-04"
}
],
"server": [],
"tag": {}
}
COmamnd USed:
Error :
Error: (28, 'Operation timed out after 120000 milliseconds with 0 bytes received')
Error Trace:
2016-10-16 23:02:00,
"2016-10-16 23:02:00,
"2016-10-16 23:04:26,
"2016-10-16 23:04:26,
"2016-10-16 23:04:26,
"
"2016-10-16 23:04:26,
image_id, image_type, image_version, dest)
"
"2016-10-16 23:04:26,
raise(e)
"
"2016-10-16 23:04:26,
"
"2016-10-16 23:04:26,
"
NOte :
1) SM Box has 24G space
root@nodej5:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 24G 4.0K 24G 1% /dev
tmpfs 4.8G 1.2M 4.8G 1% /run
/dev/dm-0 778G 397G 342G 54% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 24G 0 24G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sdb1 236M 39M 185M 18% /boot
10.204.
10.204.
tags: | added: server-manager |
tags: | added: blocker |
tags: | removed: blocker |
summary: |
- SM:R3.0.3.x build 1: upload contrail package times out wth Error: (28, - 'Operation timed out after 120000 milliseconds with 0 bytes received') + SM:R3.0.3.x build 1: Upload contrail package may fail if there are old + repo files there |
Tried add image
it fails with following error
root@nodej5: ~/sm_files# server-manager add image centos/ redhat/ esxi5.1/ esxi5.5/ contrail- ubuntu- package/ contrail- centos- package/ contrail- storage- ubuntu- package) : contrail- ubuntu- package files/contrail- install- packages_ 3.0.3.1- 1~kilo_ all.deb html/contrail/ repo/ubuntu14ki lo1/*.deb\ ""
id:ubuntu14kilo1
version (Specify version for this image) : 1
category (image/package) : package
type (ubuntu/
path (complete path where image file is located on server) : /root/sm_
kickstart (kickstart file for base image) :
kickseed (kickseed file for base image) :
More image(s) to input? (y/N)n
{
"return_code": 8,
"return_data": null,
"return_msg": "create_deb_repo: error 254 when executing\"reprepro includedeb contrail /var/www/
}
Trace
"2016-10-17 02:30:03, 367-DEBUG- server_ mgr_main. py:1264- get_image( ): get_image" 368-DEBUG- server_ mgr_main. py:1047- validate_ smgr_request( ): validate_ smgr_request" 369-DEBUG- server_ mgr_main. py:699- validate_ smgr_get( ): match key returned: {'id': ['ubuntu14kilo1']}" 370-DEBUG- server_ mgr_main. py:701- validate_ smgr_get( ): select keys: None" 370-DEBUG- server_ mgr_main. py:1072- validate_ smgr_request( ): ret_val_data returned: {'status': 0, 'match_key': 'id', 'match_value': 'ubuntu14kilo1', 'select': None, 'detail': True}" 371-DEBUG- server_ mgr_main. py:1296- get_image( ): None" 279-DEBUG- server_ mgr_main. py:1358- put_image( ): add_image" 281-DEBUG- server_ mgr_main. py:1047- validate_ smgr_request( ): validate_ smgr_request" 281-INFO- server_ mgr_main. py:230- merge_dict( ): category already present in dict d1,Retaining value package against " 282-INFO- server_ mgr_main. py:234- merge_dict( ): adding kickstart:None" 283-INFO- server_ mgr_main. py:234- merge_dict( ): adding kickseed:None" 284-INFO- server_ mgr_main. py:230- merge_dict( ): version already present in dict d1,Retaining value 1 against " 285-INFO- server_ mgr_main. py:230- merge_dict( ): path already present in dict d1,Retaining value /root/sm_ files/contrail- install- packages_ 3.0.3.1- 1~kilo_ all.deb against " 285-INFO- server_ mgr_main. py:230- merge_dict( ): type already present in dict d1,Retaining value contrail- ubuntu- package against " 286-INFO- server_ mgr_main. py:230- merge_dict( ): id already present in dict d1,Retaining value ubuntu14kilo1 against " 287-DEBUG- server_ mgr_main. py:1072- validate_ smgr_request( ): ret_val_data returned: {'status': 1}" 669-ERROR- server_ mgr_main. py:2160- _create_ deb_repo( ): create_deb_repo: error 254 when executing"reprepro includedeb contrail /var/www/ html/contrail/ repo/ubuntu14ki lo1/*.deb" "
"2016-10-17 02:30:03,
"2016-10-17 02:30:03,
"2016-10-17 02:30:03,
"2016-10-17 02:30:03,
"2016-10-17 02:30:03,
"2016-10-17 02:30:30,
"2016-10-17 02:30:30,
"2016-10-17 02:30:30,
"2016-10-17 02:30:30,
"2016-10-17 02:30:30,
"2016-10-17 02:30:30,
"2016-10-17 02:30:30,
"2016-10-17 02:30:30,
"2016-10-17 02:30:30,
"2016-10-17 02:30:30,
"2016-10-17 02:31:28,