Age | Commit message (Collapse) | Author | Files | Lines |
|
Fix docker image tags to conform to ONAP standards
Change-Id: Id85ab45a3b5a99f215f42177640ed03ab39004bc
Issue-ID: SDNC-645
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Former-commit-id: 5eadcba086124f49b7cdcc53db4b4622dc2ebd93
|
|
Project "CIA" scope is to provide smaller and multi architecture docker
images.
This proposition aims to do that for sdnc-ansible-server.
The current size of this proposal is 139mb compared to the 618Mb image
proposed before (and before actual ansible installation).
Principles used are the following:
1. a "basic" `docker build .` should provide a working image;
2. use the smallest (and multi arch) base image possibe;
3. install necessary stuff only;
4. leverage python best practices for installation;
5. remove installation stuff occuring at run level and move them to
build level.
* Dockerfile is now at the root part;
* ansible configuration file `ansible.cfg` is created and put in
`configuration` folder;
* ansible configuration file `ansible.cfg` is pushed during the
build part with a reproductible process;
* `python` files are on `ansible-server" folder so copying during build
works out of the box;
* yml files are put directly on `ansible-server/Playbooks` so copying
during build works out the box;
* Dockerfile base image is now alpine:3.8;
* `timeout` executable being now from busybox, change in the
command-line call has been made (`--signal` is now `-s` and `-t` is
set before setting the timeout value).
* Only install python and python-pip as alpine package and remove build
dependencies package after use.
* put all python requirements in `requirements.txt` package and launch
pip installation command with this file.
* call directly python main script (`RestServer.py`) as entrypoint and
do the python installation stuff at build time.
- [x] change pom.xml so building parts works
- [ ] consider changing destination folder (`/opt/ansible-server/`) to
the ancient one (`/opt/onap/ccsdk/`) if this is problematic
Change-Id: I6295d7c2d1ed631e1842350581234686d704c1bf
Issue-ID: INT-816
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Former-commit-id: 4fe3b43a0d30a15ceed58c695d2a72c5382fded6
|
|
Updated to create Fluorine-based artifacts
Change-Id: Ib450be62cc016c1b5e6da2ebfb4fa3d9851e9a41
Issue-ID: SDNC-552
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Former-commit-id: 95f86710cfec2e6267bc97280ab6cfad4cf44866
|
|
Roll to initial Dublin snapshot
Change-Id: Id36b1e41ae75a7c282a5db85b30abe3a7688aeb9
Issue-ID: SDNC-480
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Fix CCSDK docker version
Update CCSDK docker versions used to build SDNC docker containers.
Change-Id: I9497c788cc48b401f24aeb9018060c6c0d5b4a0b
Issue-ID: SDNC-486
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Former-commit-id: c261e3f719abcbea0762162dc9244f951296c6a1
|
|
Former-commit-id: 5d17812a5c83c55b628cf3b089b9a4c289606af9
|
|
Prepare sdnc/oam for release build by removing -STAGING tag
and using released version of parent poms.
Change-Id: I3de986702da21a91a6613a386c5491481bdb21b6
Issue-ID: SDNC-480
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Former-commit-id: a8eac265ec597473bc63894b2485decd11e49d4c
|
|
Change-Id: Ia593cfa706b0088306ea3d8d18117c3d9b2343c9
Issue-ID: CCSDK-464
Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com>
Former-commit-id: 2e7ccff033ddf54574ab3f740bf274b1472b2347
|
|
Roll to next snapshot version to 1.4.1-SNAPSHOT
Change-Id: I4f5b1513a36894efd26b93f3f0954fafc112cc3f
Issue-ID: SDNC-471
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Former-commit-id: db13f4ddbd4a66ab9d66b1820279514137543eff
|
|
Former-commit-id: 5f89860d63f4dd79d5f2b97c6581358c03679aaa
|
|
Roll to next snapshot version
Change-Id: If6bd5bc61225f7695b28b73dcb7f2ff4ecba5552
Issue-ID: SDNC-471
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Former-commit-id: 55b6a8402cafb11c7320b88185f580991c8e2c89
|
|
Update sdnc/oam to prepare for release build
Change-Id: I63597b9c9e02a677acbefe07d87f66e74ec3735a
Issue-ID: SDNC-471
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 5b960a3d90ead9a4731ae8125738d54fec5314ed
|
|
Ansible playbook for Traffic Distribution LCM action for
modified vFW use case. Modified use case requires heat
template that creates two instances of vFW and two vSinks
Change-Id: I99353c786b820ba842e6323b6473188a2c9f29d1
Issue-ID: CCSDK-449
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Former-commit-id: b0b29f8b3f9773e5532296ceb52ab55d3eaad768
|
|
create and push ansible playbooks for 5G PNF software pre-check,upgrade and post-check
Change-Id: Ie7cb18047dc4587ecc0999e890bf85daab73b97b
Issue-ID: CCSDK-464
Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
Former-commit-id: 8dd603f5bb2ab82a2332afe5d4a24a8de76a8e34
|
|
Change ansible inventory path to have ccsdk instead of sdnc in path
Change-Id: I15134d807168b75182eed6883f50a79594001e45
Issue-ID: CCSDK-586
Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
Former-commit-id: 0c8d5179fe1a8957d5c6d9a0ba36d1324f0923ae
|
|
Former-commit-id: 3120b463d1e6bc9a1672e74c01a228c66af7a34b
|
|
Ansible server path to startup script was wrong, preventing
ansible server docker from starting.
Change-Id: Iabfa884dffc59ddd791430b45901af4072b17a46
Issue-ID: SDNC-455
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 93edb0fec0b36fbcd15d6efb1ddb55a1b37cbbdf
|
|
LCM Playbooks for TrafficManagement
Change-Id: I90bae6929ce279a113636b3a075f76bd6ba44188
Issue-ID: SDNC-425
Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
Former-commit-id: 2e3233e42ba9d352a88453617ec75a7cdeb7d60c
|
|
Update SDNC to use CCSDK ansible server as base for its instance of
ansible server
Change-Id: Idaf1c83cf50ee526f17b97a3b2e376f6ad3a696b
Issue-ID: CCSDK-442
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 01809240263c1d5ddad9e1e990a9610bdceaa83a
|
|
Roll version to 1.4.0-SNAPSHOT for Casablanca development
Change-Id: I5d52858a86eee40136cf8ad5d2cac1d0a44885da
Issue-ID: SDNC-333
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 110b9d3f108e8f81f705ec4eeb2102f98f220d39
|
|
Update to use CCSDK version 0.2.4 (parent version 1.0.4)
Change-Id: Iee1448ffc04098675a62617d7e2a5a91bcd01bde
Issue-ID: CCSDK-291
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 552963ec2781609868587e7e743b2a7aa229044a
|
|
Update to next snapshot version
Change-Id: Ie678c0555e453719582bff2ee9c87a302db32084
Issue-ID: CCSDK-290
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: d94f58745798e827f049043c597ec4f308545344
|
|
Update parent version to remove -SNAPSHOT (1.0.3)
Change-Id: I8ecaa886dffc62116e068f4cbeb0ed078175d958
Issue-ID: CCSDK-290
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
Former-commit-id: abdfa5a380a9c345d1e768c4bca9238fbf653290
|
|
LCM DGs were using incoming request id to retrieve status from
ansible server instead of id returned by ansible server in initial
request.
Also, ansible should be configured to ignore host key checking to
avoid certificate issues.
Change-Id: I0cf3d053de652985c4611f8c7d2b5dbee22e0791
Issue-ID: SDNC-313
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 4559d6203ab3f5706b6a2c1a898aa1df37407522
|
|
Former-commit-id: f3452038810a64a48018f648843429a9011a4d54
|
|
Fixed ansible startup script to (1) fix first line to use /bin/bash
and (2) write to both stdout and to /var/log/ansible-server.log
so that docker-compose logs can be used to see messages on
failure
Change-Id: I3895329aa3ca2b805aebb8c00d5876f337fd7944
Issue-ID: SDNC-295
Signed-off-by: Timoney, Daniel (dt5972) <dt5972@att.com>
Former-commit-id: 5af9a1719e7dfd69dd298fa4efeb63b2560554e8
|
|
Roll version for next release candidate
Change-Id: Ib64f000296a5cc3c58cc623cd5697a7a775f8304
Issue-ID: SDNC-294
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 650c908cb02f828ab7c69a2141fffe36e1cb62d0
|
|
Re-add DNS config accidentally removed from sdnc container
in docker-compose.yml and fix typos in ansible start script
Change-Id: I808d559f68e7348acb5bbddfc089b96168f0f7bf
Issue-ID: SDNC-288
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: f2929453c961b3d6e9a5320b06cd86146a4c636f
|
|
Added ansible server to docker-compose.yml and made a few config changes:
- redirect of output in final exec causes exec to fail. Instead, need
to redirect output in standalone exec line. Redirected to
/var/log/ansible-server.log
- Updated LCM config to use ansiblehost alias to reach ansible
(was incorrectly using 0.0.0.0)
Change-Id: I4b1b6bbc5f3df6f480333d53adda4c8e6e0d6510
Issue-ID: SDNC-288
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 50c65c2c7cd92db6d14215114d098b33da5f618d
|
|
Set execute permission on shell script
Change-Id: I5b2d94067f8a77fbfb1d2310368f1b1d78a2b834
Issue-ID: SDNC-288
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: d83d0cdc37715ce9547b8896cc31915f1c5c6da5
|
|
add-apt-repository is failing in Jenkins, so move it to ansible server
startup script instead.
Change-Id: Iae058003678748c9a4bed9b5e279ebcce4c4695a
Issue-ID: SDNC-288
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 352342232f7578dc31597291947457f800e6619e
|
|
When run from command line, add-apt-repository waits for user prompt
to continue. Redirecting stdin to /dev/null allows installation to
proceed without prompt.
Change-Id: Ia646e775a3fcfba6100ffea05c48d6d6bc2f498d
Issue-ID: SDNC-288
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 52a359f2a7710eb2a4373b277485c2c7f34af69a
|
|
Pip install seems to fail in Dockerfile. Instead, move pip installs to
a startup script so that they can be done on initial container startup.
Change-Id: I3125307d5f9bfc980d8f9ed0bba108a5536548fd
Issue-ID: SDNC-288
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: 3c48ffbeda720569fbfb8fac3e5db1cd0551474b
|
|
Add CM Ansible Server Docker Container
Change-Id: I673cfd6dce5d2e96954fc6700a12a849f46dae5a
Issue-ID: SDNC-288
Signed-off-by: Ruchira Agarwal <ra1926@att.com>
Former-commit-id: c051fe64ed0ddd6aeb26f8b2af9adfe7011a4dc0
|