Issues
RC port to AArch64 Investigation
Description
Details
Assignee
Alexandru AntoneAlexandru AntoneReporter
Alexandru AntoneAlexandru AntonePriority
MediumParent
Details
Details
Assignee
Reporter
Priority
Parent
Activity
Alexandru AntoneJanuary 22, 2020 at 8:45 AMEdited
Based on information from https://wiki.akraino.org/display /AK/Starting+the+Regional+Controller the api-server is the current Regional Controller repo:
There is one shell script, start_arc.sh, that may be downloaded and run to start the RC. This script takes no command line parameters; some internal values may be changed by setting and exporting certain environment variables.
To start the Regional Controller, clone the scripts from gerrit, and then run this script as follows
Alexandru AntoneJanuary 20, 2020 at 2:23 PMEdited
OBSOLETE:
Alexandru AntoneJanuary 20, 2020 at 12:53 PMEdited
To me it seems there is some overlap/similarity between the following 2 scripts in their respective repositories:
- -regional_controller > start_akraino_portal.sh:
-Database container (postgres based), LDAP container (apacheds), Portal Container, Workflow container > systemdservice (camunda), tempset, ONAP, sample vnf, airshipinabottle, redfish (obsolete)
- regional_controller/api-server -> scripts/start_arc.sh:
Database container (mariadb:10.4), LDAP container (osixia/openldap:1.2.4), API server container, Airflow containers (redis, postgres, airflow components), nginx.
To investigate:
1. What is the relationship between the 2 projects: regional_controller and regional_controller/api-server ?
2. Does api-server supersede regional_controller (looking at commit history api-server is more recent)?
3. Where do portal_user_interface and portal_user_interface/portal-onapsdk fit in with respect to the Regional Controller (hosted on RC as container?) and among themselves.
Regional controller repositories:
Repository Name
Repository Description
Codebase
Component Type
Name
regional_controller
Scripts to set up the Regional Controller
bash
shell scripts
start_akraino_portal.sh
regional_controller/api-server
The Version 2 Regional Controller
java
component
included in portal container
postgres_db_schema
The Postgres DB for the Portal and workflow engine
bash, sql
docker
akraino-postgres
camunda_workflow
Akraino workflow engine code
java
docker
akraino-workflow
portal
Akraino Portal
docker
akraino-portal
portal_user_interface
The GUI portion of the Akraino Portal
java webapp
docker
akraino-portal
portal_user_interface
The GUI portion of the Akraino Portal
java webapp
war file
portal_user_interface.war
portal_user_interface/portal-onapsdk
java webapp
docker
test_automation
Test automation scripts for Akraino (tempest)
yaml, templates
archive
test_automation.tgz
yaml_builds
Scripts and YAML files/templates used to boot an Akraino cluster
bash, yaml, jinja2
archive
yaml_builds.tgz
addon-onap
Scripts to add ONAP on top of a running Akraino cluster
bash, python, yaml, json
archive
addon-onap.tgz
sample_vnf
A sample VNF (Virtual Network Function) for Akraino
bash, yaml
archive
sample_vnf.tgz
airshipinabottle_deploy
bash
archive
airshipinabottle_deploy.tgz
redfish
Akraino support for Redfish imaging/booting of nodes
bash, json
archive
redfish.tgz
External components:
Repository Name
Repository Description
Codebase
Component Type
Name
openmicroscopy/apacheds:latest
ApacheDS LDAP server
docker
akraino-ldap
Regional controller is based on Debian based distro.
Some Dockerfile base image tags:
Dockerfile
Base image
api-server/docker/airflow/Dockerfile
puckel/docker-airflow:1.10.2
api-server/docker/api/Dockerfile
tomcat:8.5.50
portal_user_interface/Dockerfile
tomcat:8.5.37
camunda_workflow/Dockerfile
java:8
postgres_db_schema/Dockerfile
postgres:9.6.9
addon-onap/src/onap_vm_scripts/oom_no_proxy/kubernetes/portal/docker/init/mariadb-client/Dockerfile
ubuntu:16.04
addon-onap/src/onap_vm_scripts/oom_no_proxy/kubernetes/portal/docker/init/ubuntu/Dockerfile
ubuntu:16.04
addon-onap/src/onap_vm_scripts/oom_no_proxy/kubernetes/dcae/pgaas/Dockerfile
ubuntu:16.04
addon-onap/src/onap_vm_scripts/oom_no_proxy/kubernetes/dcae/cdap/docker/Dockerfile
ubuntu:16.04
addon-onap/src/onap_vm_scripts/oom_no_proxy/kubernetes/dcae/cdap/docker/fs/Dockerfile
ubuntu:16.04
addon-onap/src/onap_vm_scripts/oom_proxy/kubernetes/portal/docker/init/mariadb-client/Dockerfile
ubuntu:16.04
addon-onap/src/onap_vm_scripts/oom_proxy/kubernetes/portal/docker/init/ubuntu/Dockerfile
ubuntu:16.04
addon-onap/src/onap_vm_scripts/oom_proxy/kubernetes/dcae/pgaas/Dockerfile
ubuntu:16.04
addon-onap/src/onap_vm_scripts/oom_proxy/kubernetes/dcae/cdap/docker/Dockerfile
ubuntu:16.04
addon-onap/src/onap_vm_scripts/oom_proxy/kubernetes/dcae/cdap/docker/fs/Dockerfile
ubuntu:16.04
Other base image tags:
File
Base image
api-server/scripts/start_arc.sh
DB_IMAGE = mariadb:10.4
api-server/scripts/start_arc.sh
LDAP_IMAGE = osixia/openldap:1.2.4
api-server/scripts/start_arc.sh
nginx:1.14.2
api-server/scripts/start_arc.sh
redis:3.2.7
api-server/scripts/start_arc.sh
postgres:9.6
regional_controller/start_akraino_portal.sh
LD_IMAGE = openmicroscopy/apacheds *
portal-onapsdk/ONAP-SDK-APP/docker-scripts/arcportal/deploy.sh
akraino/portal-onapsdk:arcportal-latest
portal-onapsdk/ONAP-SDK-APP/docker-scripts/mariadb/deploy.sh
akraino/portal-onapsdk:mariadb-latest
portal-onapsdk/ONAP-SDK-APP/docker-scripts/mariadb/deploy_with_existing_persistent_storage.sh
akraino/portal-onapsdk:mariadb-latest
sample_vnf/ats-demo/run_openstack_cli.sh
docker.io/openstackhelm/heat:newton
test_automation/openstack_tempest/run_openstack_cli.sh
docker.io/openstackhelm/heat:newton
airshipinabottle_deploy/version.properties
docker.io/openstackhelm/heat:ocata
yaml_builds/tools/run_openstack_cli.sh
docker.io/openstackhelm/heat:ocata
yaml_builds/tools/pegleg.sh
quay.io/airshipit/pegleg:09d85465827f1468d3469e5bbcf6b48f25338e7c
redfish/install_server_os.sh
httpd:alpine
redfish/install_server_os.sh
networkboot/dhcpd
regional_controller seems to be obsolete. The current one is the V2 in regional_controller/api-server git repo.
Hardcoded arch amd64:
Hardcoded arch x86:
.