6 Commits

Author SHA1 Message Date
Yue Tao
4a709349a9 meta_data.yaml: add sha256sum checksum
Test Plan:
Pass: Verify sha256sum checksum via "download -s"

Story: 2008846
Task: 44578

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Change-Id: I78d9dff2af0afb18c6db4e8d2d39ef79b5cf5864
2022-03-03 14:30:40 +08:00
Yue Tao
999fcb6e59 Add debian package for python-docker
Porting 0001-Update-client-close-socket.patch from CentOS

Ignore 0002-Add-auth_config-to-api.image.inspect_distribution.patch
which is already in debian version

Story: 2009221
Task: 43358
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: Ib4e58ce2de0219d964e2bde78e171acb030c7ff2
2021-10-18 10:59:07 +08:00
Thiago Brito
efb459cf14 Applying patch with -p1 for docker-py
Leftover from review 799708.

Partial-Bug: #1934397

Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: Ibff2750390d1b5585b35632e9dea97c727f5131e
2021-07-12 13:26:37 -04:00
Thiago Brito
3c49987fba Add auth_config to api.image.inspect_distribution
This is an excerpt from docker-py 4.4.4 needed to check if a given image
exists in an authenticated registry.

Test scenario:

- Generated a new build with this change
- Installed the platform without errors
- Installed stx-openstack without errors
- Changed the docker-registry url and called a sm-restart for
sysinv-conductor to force the upgrade-static-images.yml to run
- Log: http://paste.openstack.org/show/807236/

Partial-Bug: #1934397
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: I35325ea579c53abbfaa96ed8de5417d32aba0578
2021-07-07 15:39:05 +00:00
Dongqi Chen
af359d4938 Add auto-versioning to starlingx/integ packages
This update makes use of the PKG_GITREVCOUNT variable
to auto-version the packages in this repo.

Story: 2007750
Task: 39951
Change-Id: I854419c922b9db4edbbf6f1e987a982ec2ec7b59
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
2020-06-24 09:48:28 +08:00
John Kung
3f4a439109 Fix socket growth on system application operations
There is an issue whereby docker exec_run commands do not close the TCP socket.
Thus on each kube application operation, such as application-apply, the docker
exec_run consumes 4 TCP sockets per iteration.  Thus, when it hits limit
of 1024 sockets, system can no longer perform application operations.

This updates the python-docker package. The source code was already in the
cengn mirror; and this update adds a patch to finally close socket in
docker client.

Tests performed:
Install AIO, Storage labs.
system application-upload stx-openstack, apply, remove
system application apply stress test of over 300 iterations
and verify no growth in sockets held by sysinv-conductor.

Change-Id: I21b9e486af1e3bb3b82fd79c3e3662c97b53b732
Closes-Bug: 1838088
Depends-On: https://review.opendev.org/#/c/675686/
Signed-off-by: John Kung <john.kung@windriver.com>
2019-08-09 15:45:35 -04:00