2018-11-08 AAI Developers Meeting

2018-11-08 AAI Developers Meeting

Attachments (including meeting recording)

  File Modified
No files shared here yet.

Agenda Items

START RECORDING

Title

Responsible

Status

Last discussed

Notes

Title

Responsible

Status

Last discussed

Notes

Schema Service

@Manisha Aggarwal

In Progress



8th Nov 2018

Discuss about the Schema Microservice

AAI Schema Service

11th Oct: Suggested Use Case Proposals for Dynamic AAI Schema Changes based on CCVPN usecase experience

1st Nov: @William Reehil @Robby Maharajh @Venkata Harish Kajur will review requirement updates and research the open questions so that a final draft can be prepared for implementation

8th Nov: Added AAI Schema Service Use Case Proposals for discussion and planning

Spring profiles

@Former user (Deleted)

Open



Do we need the “production” profile?

AAI HAProxy and 2-way-TLS

@Former user (Deleted)

Open



Technical solution to either decommission the proxy or make design changes to AAF to enable client side certificates.

OOM Artifacts

@Former user (Deleted)

Open



Some of our top level OOM deployment artifacts are not unique (i.e. don’t take namespace into account as all other deployables), is that intentional?

Return codes and messages for WS

@Former user (Deleted)

Open



Is there a guide for the description of the error message and the error codes? How are new error states (message + code) added?

Copyright license header restricted to 1 company

@Former user (Deleted)

Open



In the copyright

/**

 * ============LICENSE_START=======================================================

 * org.onap.aai

 * ================================================================================

 * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.



If there is a company other than AT&T the build fails saying the license header is wrong

AAI Traversal queries

@Former user (Deleted)

Open



The AAI Traversal API is fairly complex, are there examples and descriptions of what the inputs and outputs of the rest api are, or alternative way to gain know-how? Code is quite difficult to read.

AAI test data bootstrap

@Keong Lim

Open



Looking at AAI usage in OOF - HPA guide for integration testing by @Dileep Ranganathan, wondering whether there is a better way to bootstrap AAI test data?

Note: Required only if the Multicloud has no real cloud-regions and HPA discovery cannot happen.

If Multicloud team has data for creating the Cloud-region and doesn't have the HPA, then please update the existing data with the flavors with HPA.

  1. Import the postman collection CASABLANCA_AAI_postman.json

  2. To add/remove HPA Capabilities edit the flavors section in the body of PUT Cloud-Region{x}

  3. Once all the necessary Use postman to add the complex and cloud regions in the order specified below
    (snip screenshot of specific sequence)

  4. Use the GET requests to verify the data.
    (snip screenshot of specific sequence)

Potential issues:

  • fragility of static import data file w.r.t. schema changes and version upgrades for each ONAP release?

  • how "common" is this knowledge, i.e. what to load, where to get it, who else should be using it, etc?

  • should it be automated/scripted, rather than manual steps to bootstrap?

  • should it be a simulator program or test harness, rather than a static data file?

  • should it reside within AAI CI/CD jobs for maintenance and upgrade of schema versions?

  • who maintains the data itself? Is there a "data repository" which can be delegated to other teams, e.g. like documentation repository links in git?

  • how many other teams have similar private stashes of AAI bootstrap data?

Modeling team R4 discussion

@Keong Lim

Open



Modelling team having Service Instance thoughts by @Chesla Wechsler, which will affect AAI schema.



aai-cassandra performance issues

@Keong Lim

Open



@Michael O'Brien has documented performance issues in aai-cassandra:

hector has discovered that the stress test jar (liveness probe?) in aai-cassandra is hammering the cpu/ram/hd on the vm that aai is on - this breaks the etcd cluster (not the latency/network issues we suspected that may cause pod rescheduling)

Is there something that should be tweaked in AAI config? Or documentation on the recommended setup to run the VM?

HAproxy in OOM

@Former user (Deleted)

In Progress



1st Nov 2018

Why is the pod for HAproxy not named (hard to figure out that there is a proxy), unsure how it is logging and where

@James Forsyth creates JIRA tasks to 1. to have the pod named 2. add logging to the proxy

https://lf-onap.atlassian.net/browse/AAI-1807https://lf-onap.atlassian.net/browse/AAI-1810

Jackson Replacement

Team

@Keong Lim

@Tian Lee

On Hold

 

1st Nov 2018

Security subcommittee has recommended teams move away from jackson, and will be presenting alternatives and asking for an assessment from each project. Our team will need to do an analysis - this would not be trivial, especially given how many of our repos are impacted. As of now, this would be a very high LOE for the team, we need to understand what the recommendation from the SECCOM is before we can provide better details on what the LOE would be.

Updated: Using Google gson vs FasterXML Jackson

10th Oct: Present to Seccom meeting

15th Oct: Present to PTL meeting

31st Oct: Debatable whether the cost of swapping Cassandra and changing code is worth the benefit of removing Jackson from the vulnerabilities list.

On-Hold until @James Forsyth consults with other PTLs: PTL 2018-11-05

AAI too slow for Holmes

@Keong Lim

@CT Paterson

In Progress



1st Nov 2018

@Guangrong Fu mentioned AAI in Baseline Measurements based on Testing Results:

  1. Cache the AAI data and refresh them periodically so that Holmes won't have to make an HTTP call to AAI every time it tries to correlate one alarm to another.



The problem for caching is how to know when to update the cached data. Even though the access time may be fast for Holmes, the risk is using out-of-date data, so the correlations will be wrong anyway. Also, duplicating the AAI data outside of AAI is probably a bad architectural decision. Making AAI faster for these use cases would be better.

Has there been a performance analysis of where the time is spent? Could it help to use ElasticSearch (e.g. as in sparky)? Should Holmes have a batch interface to get more AAI data in fewer calls? Or a better correlation API that results in fewer calls?

31st Oct: https://lists.onap.org/g/onap-discuss/topic/27805753

1st Nov:

  • @Guangrong Fu will try custom queries for queries that took to long to return

  • The hardware (mainly storage) influences the query speed - need to find out what hardware was the speed test conducted on (@Guangrong Fu will provide HW specs)

2 Types of logging in A&AI WS

@Former user (Deleted)

On Hold



1st Nov 2018

There are 2 types of logging in the services

  • one read from EELFManager

  • the other Logger log = Logger.getLogger( ...

Is that correct? Shouldn't there be just 1 type?

1st Nov:

After Casablanca release investigate logging guidelines and figure out what library to use in order to unify logging within A&AI

Disable unused web services

@Former user (Deleted)

In Progress



1st Nov 2018

Could we disable unused (i.e. not integrated) A&AI web services, so that the deployment is faster and the resource footprint is smaller? e.g. Champ (any other ws?)

Motivation: Decrease the resource footprint for A&AI (ONAP) deployments

Idea: we could support 2 different deployments 1. full (normal) deployment and 2. barebones deployment. The point of the "barebone" deployment would be to deploy only the essential services necessary for proper functioning of A&AI (leaving out services like cacher, sparky, graphadmin, having 1 cassandra node instead of 3 or 5 etc).

In order to reduce hardware/cloud costs (mainly the memory footprint) it could be beneficial to support a minimalistic A&AI deployment.

1st Nov:

@Venkata Harish Kajur @Former user (Deleted) - investigate how to disable/enable charts in A&AI so we can create a core group of pods which handle the use-cases and than extended group will all the services. Consider a group of unused/unintegrated services (like Champ). Consider other possible groups (like GUI?)

AAI Champ

@Former user (Deleted)

In Progress



1st Nov 2018

  1. Who is responsible for the project?

  2. What is the roadmap for the project?

  3. Who will do the integration?

Rocket.Chat support

@Former user (Deleted)

Done

1st Nov 2018

In order to use rocket chat with native client (and have notifications for example) it needs a TLS cert. Support for integration team?

@Former user (Deleted) will create a rocket chat channel AAI

@James Forsyth created private group aai-dev in the integration rocketchat server - if you need access (@Keong Lim, @William Reehil, @William LaMont, @Manisha Aggarwal, @Tian Lee, @Steve Blimkie, @Arul Nambi, @Francis Paquette, @CT Paterson, @Giulio Graziani , @Mark Leonard, @Edward Dening, @Bo Lv anybody else?) please contact Jimmy and I'll add your rocketchat ID.

Rocketchat server: http://onap-integration.eastus.cloudapp.azure.com:3000

Dublin 5G Use Case

@Benjamin Cheung

In Progress



25th Oct 2018

Dublin AAI changes in support of 5g use cases.

Link for presentation: 5G - PNF Plug and Play (Casablanca carry-over items)

  1. NF A&AI: S/W Image Repository Info

  2. NF A&AI: Cloud Home Info

  3. NF A&AI: External Manager IP Address

  4. NF A&AI: S/W Version Object Association