Re: [onap-discuss] [onap-tsc] CII Badging Attention PTL

2018-01-24 Thread Stephen Terrill
Hi Zhao,

The CII badging program allows us as ONAP to decide on the scope of a project 
to be badged.  We have discussed this in the security sub-committee and 
ultimately it’s the PTLs that know the projects so the PTLs have the ultimate 
decision.  It is perfectly fine to apply for one badge for an ONAP project that 
has multiple repositories.  Then when answering you have to consider the status 
of your working, tools etc for all your projects.  I think that will oftern be 
the most pragmatic and sufficient approach.  If a PTL decides, however, that 
the way of working for a particular set of projects is drastically different 
then it could go ahead and decide to do a seeprate badging process for each 
repo;  While acceptable, I think you have to have a good reason for the extra 
overhead.  Typically I expect it per ONAP project.  The projects that sit under 
the projects shouldn’t be bundled, it should be per project.

BTW, let me use this email to also send a video on how to get started that 
David Wheeler put together for us: https://youtu.be/dhLYLpsvvc0

BR,

Steve

From: zhao.huab...@zte.com.cn [mailto:zhao.huab...@zte.com.cn]
Sent: 25 January 2018 08:16
To: Stephen Terrill 
Cc: arul.na...@amdocs.com; onap-discuss@lists.onap.org; 
onap-...@lists.onap.org; onap-sec...@lists.onap.org; rajee...@amdocs.com
Subject: Re: [onap-tsc] CII Badging Attention PTL


Hi Arul and Seve,



It's a common situation that an ONAP project has multiple repos. Is it possible 
to submit the rpos as a whole as one project when applying for CII Badging? Or 
I have to submit one by one?



[cid:image001.png@01D395B6.5C0F9D30]



Thanks,

Huabing
Original Mail
Sender:  >;
To:  >; 
>; 
>; 
>;
CC:  >;
Date: 2018/01/25 00:27
Subject: Re: [onap-tsc] CII Badging Attention PTL
___
ONAP-TSC mailing list
onap-...@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-tsc


Hi,

Thanks to Arul and team for putting this together.

We had one clarification today in the security subcommittee due to that it is 
discussed whether to do the badging at the project level of the program level.

  *   In general it is fine (expected) to do this at the project level.
  *   However, a project may decide for different reasons to perform the 
badging per repo or set of repos; if this made sense.
  *   This would imply from a S3P tracking perspective

 *   A project has passed if it and it its dependencies has passed.
 *   Note: sub-projects are responsible for doing their own badging process.
 *   For %complete the least complete value is the %complete of the project
BR,

Steve

From: Arul Nambi [mailto:arul.na...@amdocs.com]
Sent: 19 January 2018 20:23
To: onap-discuss@lists.onap.org; 
onap-...@lists.onap.org; 
onap-sec...@lists.onap.org
Cc: Stephen Terrill 
>; HANSEN, 
TONY L >; Rajeev Mehta 
>
Subject: CII Badging Attention PTL

Hi Everyone,
If you have seen an email with almost the same subject ignore that, I had some 
issues posting the first email so I am re-sending it again. Both emails have 
the same content
For getting ONAP carrier ready one of the requirements is that 70% of its 
projects needs to undergo a process called CII badging.
CII badging is a simple process(and takes less than a week normally) of 
answering some questions about the project. And it is better if you start it 
sooner than later.
And the security subcommittee has come up with a wiki page with

  1.  More information about the CII
  2.  Sample tools
  3.  Sample answers to all the questions that you will need to answer to get 
your app badged.
The current ask is that 70% of the project should be in passing level, if you 
want to go higher than that you can find the sample answers for the Silver and 
gold level as well, they are not complete yet but if you find  answers then add 
them to the page.
Link: https://wiki.onap.org/display/DW/CII+Badging+Program
Let us know if you have any more questions or suggestions.
Regards
Arul

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer


___
onap-discuss mailing list
onap-discuss@lists.onap.org

Re: [onap-discuss] [onap-tsc] CII Badging Attention PTL

2018-01-24 Thread zhao.huabing
Hi Arul and Seve,






It's a common situation that an ONAP project has multiple repos. Is it possible 
to submit the rpos as a whole as one project when applying for CII Badging? Or 
I have to submit one by one?














Thanks,


Huabing



Original Mail



Sender:  ;
To:  ; ; 
; ;
CC:  ;
Date: 2018/01/25 00:27
Subject: Re: [onap-tsc] CII Badging Attention PTL


___
ONAP-TSC mailing list
onap-...@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-tsc

  

Hi,


 


Thanks to Arul and team for putting this together.


 


We had one clarification today in the security subcommittee due to that it is 
discussed whether to do the badging at the project level of the program level.

In general it is fine (expected) to do this at the project level.

However, a project may decide for different reasons to perform the badging per 
repo or set of repos; if this made sense.

This would imply from a S3P tracking perspective

A project has passed if it and it its dependencies has passed.

Note: sub-projects are responsible for doing their own badging process.

For %complete the least complete value is the %complete of the project


BR,


 


Steve


 



From: Arul Nambi [mailto:arul.na...@amdocs.com] 
 Sent: 19 January 2018 20:23
 To: onap-discuss@lists.onap.org; onap-...@lists.onap.org; 
onap-sec...@lists.onap.org
 Cc: Stephen Terrill ; HANSEN, TONY L 
; Rajeev Mehta 
 Subject: CII Badging Attention PTL




 


Hi Everyone,


If you have seen an email with almost the same subject ignore that, I had some 
issues posting the first email so I am re-sending it again. Both emails have 
the same content


For getting ONAP carrier ready one of the requirements is that 70% of its 
projects needs to undergo a process called CII badging.


CII badging is a simple process(and takes less than a week normally) of 
answering some questions about the project. And it is better if you start it 
sooner than later.


And the security subcommittee has come up with a wiki page with

More information about the CII

Sample tools

Sample answers to all the questions that you will need to answer to get your 
app badged.


The current ask is that 70% of the project should be in passing level, if you 
want to go higher than that you can find the sample answers for the Silver and 
gold level as well, they are not complete yet but if you find  answers then add 
them to the page.


Link: https://wiki.onap.org/display/DW/CII+Badging+Program


Let us know if you have any more questions or suggestions.


Regards


Arul


 


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,


you may review at https://www.amdocs.com/about/email-disclaimer___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [OpenLab] DNS Designate zone for simpledemo.onap.org

2018-01-24 Thread Yang, Bin
Hi Alexis,

You’d better prefix it with a random string similar to what DCAE does: 
w6VA.dcaeg2.onap.org.
Which avoid zone name conflicting from different tenants on the same Designate 
backend.

Here are the scripts for your to manage the DNS zones. Please list all ZONEs 
from all tenants to find the one named 
“simpledemo.onap.org.”, and delete it . Otherwise 
you have to use some other zone name which will not conflict with this one.



### maintain designate zone

export KEYSTONE_EP=http://10.12.25.5:5000

export TOKEN=$(curl -i -X POST $KEYSTONE_EP/v3/auth/tokens -H "Content-Type: 
application/json" -H "Accept: application/json" -H "User-Agent: simpletool" -d  
'{"auth": {"identity": {"methods": ["password"],"password": {"user": {"name": 
"","domain": {"name": "Default"}, "password": ""}}},"scope":{"project":{"domain":{"name":"Default"},"name": "" } }}}'  2>&1 | grep X-Subject-Token | sed "s/^.*: //")

export DNS_EP=http://10.12.25.5:9001

curl -v -s  -H "Content-Type: application/json" -H "X-Auth-Token: $TOKEN" -X 
GET $DNS_EP/v2/zones |json_pp

{
   "zones" : [
  {
 "email" : "l...@research.att.com",
 "attributes" : {},
 "created_at" : "2018-01-24T14:41:29.00",
 "type" : "PRIMARY",
 "transferred_at" : null,
 "description" : null,
 "links" : {
"self" : 
"http://127.0.0.1:9001/v2/zones/93f4c9db-49e0-4662-8d32-4f1e8f9e2688;
 },
 "masters" : [],
 "pool_id" : "794ccc2c-d751-44fe-b57f-8894c9f5c842",
 "name" : "w6VA.dcaeg2.onap.org.",
 "action" : "NONE",
 "project_id" : "8b8ef50b050c47269fd4375aa2c7f7cd",
 "updated_at" : "2018-01-24T16:46:04.00",
 "id" : "93f4c9db-49e0-4662-8d32-4f1e8f9e2688",
 "serial" : 1516812347,
 "ttl" : 3600,
 "status" : "ACTIVE",
 "version" : 46
  }
   ],
   "metadata" : {
  "total_count" : 1
   },
   "links" : {
  "self" : "http://127.0.0.1:9001/v2/zones;
   }
}

curl -v -s  -H "Content-Type: application/json" -H "X-Auth-Token: $TOKEN" -X 
GET $DNS_EP/v2/zones/93f4c9db-49e0-4662-8d32-4f1e8f9e2688

curl -v -s  -H "Content-Type: application/json" -H "X-Auth-Token: $TOKEN" -X 
DELETE $DNS_EP/v2/zones/93f4c9db-49e0-4662-8d32-4f1e8f9e2688



Best Regards,
Bin Yang,Solution Readiness Team,Wind River
Direct +86,10,84777126Mobile +86,13811391682Fax +86,10,64398189
Skype: yangbincs993

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Alexis de Talhouët
Sent: Thursday, January 25, 2018 12:19 AM
To: onap-discuss
Subject: [onap-discuss] [OpenLab] DNS Designate zone for simpledemo.onap.org

Greetings,

I’m trying to add a DNS zone in the DNS Designate of OpenLab, but I’m getting 
the following failure:

openstack zone create --email=o...@onap.org 
'--description=DNS zone bridging DCAE and OOM' --type=PRIMARY 
simpledemo.onap.org.
Unable to create zone because another tenant owns a subzone of the zone

Can I get assistance with this?

Thanks,
Alexis
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] Platform Maturity Requirements

2018-01-24 Thread Jason Hunt
Christopher,

Thanks for the inquiry.  Let me do my best to try and address your 
questions based on the motivation behind the platform maturity 
requirements.

First paragraph:  As you know, the requirements are being measured by 
project.  Now within a project, there may be runtime and design-time 
components.  In those cases, the sub-components should be measured on the 
appropriate requirements for that component.

Second paragraph: sorry if I missed a question on the wiki, but there will 
likely not be an external validation of the resiliency requirements.  As a 
project you will report whether you support the level 2 requirements.  The 
Benchmark team will hopefully be able to suggest tests that you can run to 
self-validate.

Third paragraph:  Appreciate your input here.  We actually tried to remove 
any implementation specification from the requirement.  The key is the 
spirit of the requirement that resiliency be handled in an automated 
fashion and not require manual intervention.

- Are clients that call APIs on ONAP components that claim 
to be level 2 required to implement retry logic upon failure? 
- There is no requirement for Beijing for clients of ONAP 
components to retry (though this is a typical best practice).  MSB is 
doing some work with sidecars which often implement retry logic 
automatically.  However, if your "automatic detection and rerouting" logic 
is not provided on the server-side, the expectation is that you would 
provide a client SDK that implements retry and rerouting.

- How quickly must a component recover to achieve level 2 
status? 
- There is no requirement for recovery time for resiliency 
level 2.

- What are the requirements for in-process transactions on 
a failed component? 
- For resiliency level 2, there is no requirement to 
recover in-process transactions on a failed component.  For level 3, there 
should be a plan for reducing the # of lost transactions when there is a 
failure (this could be done by reducing detection time

- Is detection of a failure the responsibility of the 
individual components, or will something outside the component detect the 
failure and initiate a response.  (The purpose of DCAE as a platform is to 
do just that, by the way.) 
- Ideally, we'd like to see a common capability for 
failure detection and rerouting across all of ONAP, though projects still 
have the independence to implement their own approach.  Many projects are 
leveraging what OOM provides via Kubernetes.

- For the baseline measures of failed requests and data 
loss, what are the load conditions under which that will be tested?
- As discussed above, this is up to the project.

I hope this helps.


Regards,
Jason Hunt 
Executive Software Architect, IBM 

Phone: 314-749-7422
Email: djh...@us.ibm.com
Twitter: @DJHunt
 



From:   "RATH, CHRISTOPHER A (CHRISTOPHER A)" 
To: "djh...@us.ibm.com" 
Cc: "onap-...@lists.onap.org" , 
"onap-discuss@lists.onap.org" 
Date:   01/24/2018 08:01 AM
Subject:Platform Maturity Requirements



Jason,
 
My team contributed the majority of the DCAEGEN2 project code.  I have a 
few questions about meeting the platform maturity requirements, 
specifically for the resiliency and scaling portions.
 
First, DCAE is a platform, not a component.  It consists of many different 
components, some of them developed by us, others are open source projects. 
 When asked to commit to one of the platform maturity levels, we attempted 
to propose a middle ground between level 1 and level 2 for most of the 
areas, because some of the components can probably meet the level 2 
requirements in the given timeframe, but others will not.  This was not 
deemed acceptable, so I am trying to determine how complex components like 
DCAE are going to be tested as a whole for meeting these requirements.  Is 
each sub-component evaluated separately?  If not, what constitutes a 
failure for DCAEGEN2 as a whole?
 
Second, assuming that the tests will be done on individual subcomponents 
of DCAE, the resiliency and scalability requirements do not give me enough 
information for my team to try and meet them.  I had posted a question on 
the wiki page asking for a description of the test environment under which 
these platform maturity level claims were to be tested, but haven’t seen a 
response yet.  This includes a description of what tests will be run and 
what the expected outcome of those tests are based on the claimed level of 
maturity by the component.  For example, one way to achieve resiliency 
would be to have three copies of every DCAE component.  However, given the 
backlash against the size of DCAE today, I doubt that will be an 
acceptable solution, but there are no requirements on which to 

[onap-discuss] [OpenLab] OOM deployment results

2018-01-24 Thread Gary Wu
OOM deployment results from today:

Besides a minor issue that I worked around for now 
(https://gerrit.onap.org/r/#/c/29071/), I was able to start up DCAE via OOM on 
both Wind River lab and my own OpenStack with Designate (no proxy).  On both 
environments, only DCAE and UUI failed health checks as follows:


--
Basic DCAE Health Check   | FAIL |
[  | cdap |  |  |  |  | 1c1c99c96bca47cfacd950932f89409b_cdap_app_cdap_app_tca 
| cdap_broker | config_binding_service | deployment_handler | inventory | 
platform_dockerhost |  | component_dockerhost | 
7911cc59914340d5b4c549ac599c5408_dcae-analytics-holmes-engine-management | 
cb08cc6e229e4c49b2b73f170b62685c_dcaegen2-collectors-ves | 
dd04a13962834b18ada0575c0e62b81b_dcae-analytics-holmes-rule-management |  | 
cloudify_manager ] does not contain match for pattern 'service-change-handler'.
--

usecaseui-gui API Health Check| FAIL |

502 != 200

--

DCAE health check failed even though all DCAE VMs started.  UUI consistently 
fails health checks when deployed by OOM, even though it usually succeeds when 
deployed by heat.  At this point I suspect both of these failures to be some 
sort of race conditions during startup, but we can get the project teams 
involved once we retry the deployments a few more times to observe the behavior.

The above was deployed using the OOM amsterdam branch as of today.

Thanks,
Gary

From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com]
Sent: Wednesday, January 24, 2018 8:48 AM
To: onap-discuss ; Gary Wu 
Subject: Re: [OpenLab] DNS Designate zone for simpledemo.onap.org

Gary, all,

Actually, digging and thinking about this, the solution that has been 
implemented in OOM to support DCAE will not work with a shared DNS Designate 
backend, e.g. if multiple ONAP instances are deployed, each one of them need 
its own DNS Designate. The reason for that is, to accommodate DCAE VM 
resolution of .simpledemo.onap.org hosts (aai, msb, 
sdc, policy), OOM creates a simpledemo.onap.org. 
zone in which it will create the A record and a bunch of CNAME, as it was done 
in the DNS VM.
The thing is, that simpledemo.onap.org zone will 
have records pointing to a given instance of ONAP, and you cannot have multiple 
zones sharing the same zone. Which means, we need 
https://gerrit.onap.org/r/#/c/28347/ for Amsterdam ASAP so OOM can be used in 
the OpenLab. That patch basically instantiate a small OpenStack in OOM with 
only the support for keystone and designate. This way, no need to rely on 
infrastructure dns designate support.

Alexis


On Jan 24, 2018, at 11:19 AM, Alexis de Talhouët 
> wrote:

Greetings,

I’m trying to add a DNS zone in the DNS Designate of OpenLab, but I’m getting 
the following failure:

openstack zone create --email=o...@onap.org 
'--description=DNS zone bridging DCAE and OOM' --type=PRIMARY 
simpledemo.onap.org.
Unable to create zone because another tenant owns a subzone of the zone

Can I get assistance with this?

Thanks,
Alexis

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] OOM Helm upgrade from 2.3 to 2.7 as of 20180124:0800 EST (GMT-5) master branch - required

2018-01-24 Thread Michael O'Brien
Team,
   Changes that require the tpl template 
function
 - have been merged to master as of 8AM GMT-5 this morning.
   In master you will receive a helm error bringing up components such as appc 
for example if your helm server running on top of your kubernetes install is 
still below 2.5 (the recommended version yesterday was 2.3.0).  As of this 
morning the recommended helm version is 2.6+ - we have tested 2.7.2 so far and 
will validate 2.8 and update you at the end of testing.

Upgrade procedure Helm 2.3.0 to 2.7.2
https://wiki.onap.org/display/DW/ONAP+on+Kubernetes#ONAPonKubernetes-InstallHelm

ubuntu@ip-172-31-13-94:~$ wget 
http://storage.googleapis.com/kubernetes-helm/helm-v2.7.2-linux-amd64.tar.gz

ubuntu@ip-172-31-13-94:~$ tar -zxvf helm-v2.7.2-linux-amd64.tar.gz

ubuntu@ip-172-31-13-94:~$ sudo mv linux-amd64/helm /usr/local/bin/helm

ubuntu@ip-172-31-13-94:~$ helm version

Client: {SemVer:"v2.7.2", 
GitCommit:"8478fb4fc723885b155c924d1c8c410b7a9444e6", GitTreeState:"clean"}

Server: {SemVer:"v2.3.0", 
GitCommit:"d83c245fc324117885ed83afc90ac74afed271b4", GitTreeState:"clean"}

ubuntu@ip-172-31-13-94:~$ helm init --upgrade

ubuntu@ip-172-31-13-94:~$ helm version

Client: {SemVer:"v2.7.2", 
GitCommit:"8478fb4fc723885b155c924d1c8c410b7a9444e6", GitTreeState:"clean"}

Server: {SemVer:"v2.7.2", 
GitCommit:"8478fb4fc723885b155c924d1c8c410b7a9444e6", GitTreeState:"clean"}



22:43:35 12 pending > 0 at the 29th 15 sec interval

22:43:54 onap-portal   vnc-portal-2225722441-cx25j   
0/1   Init:2/4  0  12m

22:46:49 3 pending > 0 at the 39th 15 sec interval

22:47:07 onap-aaf  aaf-1993711932-pcwk6  
0/1   Running0  14m

22:47:07 onap-vfc  vfc-ztevnfmdriver-726786078-2f0cv 
0/1   ImagePullBackOff   0  14m


The rancher version will also likely go from v1.6.10 to 1.6.12/13 - after 
we test it - track this in

https://jira.onap.org/browse/OOM-530

https://jira.onap.org/browse/OOM-486

Kubernetes version remains the same at 1.8.6
Docker version is 1.12 for now until we retest Rancher 1.6.11+

The helm upgrade procedure is adjusted in the wiki
Instructions below
In the near future - this week we will post the recommended Rancher version 
- so the helm upgrade will not be required.

First commit to require helm 2.6+
https://gerrit.onap.org/r/28291
Expected failure without the helm upgrade - your pod will fail to come up

The CD system sort of picked this up - via the APPC healthcheck failure - 
but missed the fact that the entire pod failed to orchestrate 
http://jenkins.onap.info/job/oom-cd/1413/console
13:07:21 Creating deployments and services **
13:07:22 Error: parse error in "appc/templates/appc-log-configmap.yaml": 
template: appc/templates/appc-log-configmap.yaml:8: function "tpl" not defined
13:07:22 The command helm returned with error code 1


Thank you
OOM Team
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [AAI] Unable to add "getQueryList" namedquery

2018-01-24 Thread bharath thiruveedula
Hi James,


I can see "inmemory" in target/* properties files.I changed it to cassandra. It 
worked!


Thanks a lot!


Best Regards

Bharath T


From: FORSYTH, JAMES 
Sent: Thursday, January 25, 2018 1:27 AM
To: bharath thiruveedula; onap-discuss@lists.onap.org; KAJUR, HARISH V
Subject: Re: [AAI] Unable to add "getQueryList" namedquery


Hi, Bharath,



Is your traversal service connected to the same instance of the graph?  I would 
expect that named-query to work based on what you have below, so it could be 
that your traversal service is pointing at a different or inmemory graph or you 
need to set the Real-Time header on the named-query POST.



Thanks,

jimmy



From: bharath thiruveedula 
Date: Wednesday, January 24, 2018 at 2:45 PM
To: "FORSYTH, JAMES" , "onap-discuss@lists.onap.org" 
, HARISH V KAJUR 
Subject: Re: [AAI] Unable to add "getQueryList" namedquery



Hi James



Yes I am using Cassandra locally



Best Regards

Bharath T



Get Outlook for 
iOS



From: FORSYTH, JAMES 
Sent: Thursday, January 25, 2018 1:13:56 AM
To: bharath thiruveedula; onap-discuss@lists.onap.org; KAJUR, HARISH V
Subject: Re: [AAI] Unable to add "getQueryList" namedquery



Bharath,



Are you using Cassandra locally?  Sometimes if your config is set to 
“inmemory”, even after you have updated an object on one service it won’t 
appear in the other.  \



Thanks,

jimmy



From: bharath thiruveedula 
Date: Wednesday, January 24, 2018 at 2:41 PM
To: "FORSYTH, JAMES" , "onap-discuss@lists.onap.org" 
, HARISH V KAJUR 
Subject: Re: [AAI] Unable to add "getQueryList" namedquery



Hi James,



I solved this issue by adding the header "Real-Time: true"



But while searching for named-query, I again face node not found error:









SVC3001

Resource not found for %1 using id %2 (msg=%3) (ec=%4)



POST Search

getNamedQueryResponse

Node Not Found:Node could not be found for nodeType = 
[named-query], propertyName = [named-query-uuid], propertyValue = 
[0367193e-c785-4d5f-9cb8-7bc89dc9ddb7]



ERR.5.4.6114













I ran the query for 
"https://127.0.0.1:8443/aai/v11/service-design-and-creation/named-queries"
 and I got the expected response as:



http://org.openecomp.aai.inventory/v11;>



   

Re: [onap-discuss] [onap-tsc] Platform Maturity Requirements

2018-01-24 Thread Yunxia Chen
Hi, Christopher,

We are in the process of defining a measurable KPI for the maturity 
requirements from TSC on ONAP project level and those will be “spread” into 
individual project level. The basic idea is that we will start from use case, 
vFW/vLB, vCPE, VoLTE, and with scenarios, instantiation / provisioning, control 
loop, etc. to define the measurable KPI. And those will be tested at ONAP as a 
whole by Integration team. At the same time, we are going to discuss with 
related project to understand their unique requirement and concern, especially 
learn from project lead of their thought and plan.

Do you have time next week to schedule a meeting to discuss it?

Regards,

Helen Chen

From:  on behalf of "RATH, CHRISTOPHER A 
(CHRISTOPHER A)" 
Date: Wednesday, January 24, 2018 at 6:00 AM
To: "djh...@us.ibm.com" 
Cc: onap-discuss , onap-tsc 

Subject: [onap-tsc] Platform Maturity Requirements

Jason,

My team contributed the majority of the DCAEGEN2 project code.  I have a few 
questions about meeting the platform maturity requirements, specifically for 
the resiliency and scaling portions.

First, DCAE is a platform, not a component.  It consists of many different 
components, some of them developed by us, others are open source projects.  
When asked to commit to one of the platform maturity levels, we attempted to 
propose a middle ground between level 1 and level 2 for most of the areas, 
because some of the components can probably meet the level 2 requirements in 
the given timeframe, but others will not.  This was not deemed acceptable, so I 
am trying to determine how complex components like DCAE are going to be tested 
as a whole for meeting these requirements.  Is each sub-component evaluated 
separately?  If not, what constitutes a failure for DCAEGEN2 as a whole?

Second, assuming that the tests will be done on individual subcomponents of 
DCAE, the resiliency and scalability requirements do not give me enough 
information for my team to try and meet them.  I had posted a question on the 
wiki page asking for a description of the test environment under which these 
platform maturity level claims were to be tested, but haven’t seen a response 
yet.  This includes a description of what tests will be run and what the 
expected outcome of those tests are based on the claimed level of maturity by 
the component.  For example, one way to achieve resiliency would be to have 
three copies of every DCAE component.  However, given the backlash against the 
size of DCAE today, I doubt that will be an acceptable solution, but there are 
no requirements on which to design a different solution.

Third, the requirements, as noted by other posters from the community, are 
written in a way that assumes a particular implementation.  For resiliency, 
stating that the component has to detect failure and reroute presupposes that 
multiple copies of the component are running and something in front of them 
detects the failure automatically and routes to a working instance.  The 
requirements ought to be stated in terms of the net effects of failures on the 
clients of the component or the running system as a whole.  For example, a 
level 3+ requirement may be that clients accessing a component API do not get a 
failure and get a successful outcome in a component failure scenario within 75% 
of the mean response time when there are no failures.  Stating these 
requirements in these terms obviates the need to distinguish between stateful 
and stateless components.  Those become implementation details.

Some specific areas to address for Level 2:
- Are clients that call APIs on ONAP components that claim to 
be level 2 required to implement retry logic upon failure?
- How quickly must a component recover to achieve level 2 
status?
- What are the requirements for in-process transactions on a 
failed component?
- Is detection of a failure the responsibility of the 
individual components, or will something outside the component detect the 
failure and initiate a response.  (The purpose of DCAE as a platform is to do 
just that, by the way.)
- For the baseline measures of failed requests and data loss, 
what are the load conditions under which that will be tested?

Most of this applies to the scalability requirements as well, but in addition 
it isn’t clear whether components are supposed to detect the need to scale 
themselves, or if something external to the component determines there is a 
need to scale and the component needs to support the APIs to allow that 
external component to request a scale up or down.

Thanks for looking into this.
--
Christopher A. Rath
Director Inventive Science – Intelligent Systems Research Department
Advanced Technologies & Platforms
D2 Architecture & Design
AT Services, Inc.


Re: [onap-discuss] [OOM] inter-module instantiate dependencies

2018-01-24 Thread Alexis de Talhouët
Ticket for the robot issue: https://jira.onap.org/browse/OOM-618

But I think it should be a Robot ticket.

> On Jan 24, 2018, at 2:20 PM, FREEMAN, BRIAN D  wrote:
> 
> On the chrome driver.
>  
> I think I worked around it by installing an alternate chrome version in the 
> container.
> Using part of a fix that Gary has in integration – basically using the 2.32 
> version instead of the version in the container.
>  
> Brian
>  
>  
> # install chrome driver
> if [ ! -x ${ROBOT_VENV}/bin/chromedriver ]; then
> pushd ${ROBOT_VENV}/bin
> wget -N 
> http://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip 
> 
> unzip chromedriver_linux64.zip
> chmod +x chromedriver
> popd
> fi
>  
> From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com] 
> Sent: Wednesday, January 24, 2018 2:10 PM
> To: FREEMAN, BRIAN D 
> Cc: onap-discuss 
> Subject: Re: [onap-discuss] [OOM] inter-module instantiate dependencies
>  
> Thank Brian for trying OOM and helping improving it! I guess this is on 
> Amsterdam?
> I opened bugs to track this, see inline. for questions.
>  
> Thanks
> Alexis
> 
> 
> On Jan 24, 2018, at 1:50 PM, FREEMAN, BRIAN D  > wrote:
>  
> Started to confirm functionality with OOM Amsterdam.
>  
> I think these are already being tracked but wanted to confirm with OOM team.
>  
> Model distribution from SDC fails to SO and SDNC on a fresh install.
> SO’s ASDC Adapter tries to communicate with SDC-BE before its up.
>i.  Delete 
> of the SO pod and K8 automated restart clears the problem – redistribute 
> works so it seems like a timing problem that SO should not be started till 
> SDC-BEis up.
>  
> AdT: https://jira.onap.org/browse/OOM-616 
> 
> 
> 
> SDNC ueb-listener tries to communicate with SDC-BE before its up.
>i.  Delete 
> of the ueb-listener pod and K8 automated restart clears the problem – 
> redistribute works so it seems like a timing problem that ueb-listener/SDNC 
> should not be started till SDC is up.
>  
> AdT: https://jira.onap.org/browse/OOM-617 
> 
> 
> 
> Agree there should be automated retry in listeners on boot but in Amsterdam 
> that does not seem to be there.
>  
> AdT: It’s ok, we can have deterministic startup with K8S. We can check for a 
> given port to be open.
> 
> 
>  
> AAF does not come up and delays the install by 10+ minutes
> I assume we can take AAF out of the config and not try to start it.
> I would think for Amsterdam that might need to be the default
>  
> AdT: As far as I know, AAF never worked for OOM on Amsterdam. Always failed 
> with `Error: Could not find or load main class 
> org.onap.aaf.authz.service.AuthAPI`
>  
> Robot had a problem with the chrome driver when trying to instantiate (and 
> probably other flows) – is there a fix ?
> WebDriverException: Message: unknown error: an X display is required for 
> keycode conversions, consider using Xvfb (Session info: headless 
> chrome=63.0.3239.132) (Driver info: chromedriver=2.29.461571
>  
>  
> AdT: Is this specific to OOM? 
> 
> 
>  
>  
> Brian
>  
> ___
> onap-discuss mailing list
> onap-discuss@lists.onap.org 
> https://lists.onap.org/mailman/listinfo/onap-discuss 
> 
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [AAI] Unable to add "getQueryList" namedquery

2018-01-24 Thread bharath thiruveedula
Hi James

Yes I am using Cassandra locally

Best Regards
Bharath T

Get Outlook for iOS

From: FORSYTH, JAMES 
Sent: Thursday, January 25, 2018 1:13:56 AM
To: bharath thiruveedula; onap-discuss@lists.onap.org; KAJUR, HARISH V
Subject: Re: [AAI] Unable to add "getQueryList" namedquery

Bharath,

Are you using Cassandra locally?  Sometimes if your config is set to 
“inmemory”, even after you have updated an object on one service it won’t 
appear in the other.  \

Thanks,
jimmy

From: bharath thiruveedula 
Date: Wednesday, January 24, 2018 at 2:41 PM
To: "FORSYTH, JAMES" , "onap-discuss@lists.onap.org" 
, HARISH V KAJUR 
Subject: Re: [AAI] Unable to add "getQueryList" namedquery


Hi James,



I solved this issue by adding the header "Real-Time: true"



But while searching for named-query, I again face node not found error:




SVC3001
Resource not found for %1 using id %2 (msg=%3) (ec=%4)

POST Search
getNamedQueryResponse
Node Not Found:Node could not be found for nodeType = 
[named-query], propertyName = [named-query-uuid], propertyValue = 
[0367193e-c785-4d5f-9cb8-7bc89dc9ddb7]

ERR.5.4.6114








I ran the query for 
"https://127.0.0.1:8443/aai/v11/service-design-and-creation/named-queries"
 and I got the expected response as:

http://org.openecomp.aai.inventory/v11;>


0367193e-c785-4d5f-9cb8-7bc89dc9ddb7
get-component-list
1.1
Named Query - Get Component List
1516820998664




Best Regards

Bharath T


From: onap-discuss-boun...@lists.onap.org  
on behalf of bharath thiruveedula 
Sent: Tuesday, January 23, 2018 6:10 AM
To: FORSYTH, JAMES; onap-discuss@lists.onap.org; KAJUR, HARISH V
Subject: Re: [onap-discuss] [AAI] Unable to add "getQueryList" namedquery


Hi Jimmy,



I got the following XML  as output for GET 
"/aai/v11/service-design-and-creation/models/model/80b712fd-0ad3-4180-a99c-8c995cf1cc32"





http://org.openecomp.aai.inventory/v11;>

80b712fd-0ad3-4180-a99c-8c995cf1cc32
widget
1516667644133


Attached the POSTMAN screenshots


Best Regards
Bharath T


From: FORSYTH, JAMES 
Sent: Tuesday, January 23, 2018 3:11 AM
To: bharath thiruveedula; onap-discuss@lists.onap.org; KAJUR, HARISH V
Subject: Re: [AAI] Unable to add "getQueryList" namedquery


Hi, Bharath,



If you do a search for 
/aai/v11/service-design-and-creation/models/model/80b712fd-0ad3-4180-a99c-8c995cf1cc32,
 what do you get?



Thanks,

jimmy



From: bharath thiruveedula 
Date: Sunday, January 21, 2018 at 10:54 PM
To: "onap-discuss@lists.onap.org" , HARISH V KAJUR 
, "FORSYTH, JAMES" 
Subject: [AAI] Unable to add "getQueryList" namedquery



Hi AAI team,



I am trying to setup development environment of AAI using 

Re: [onap-discuss] [AAI] Unable to add "getQueryList" namedquery

2018-01-24 Thread FORSYTH, JAMES
Bharath,

Are you using Cassandra locally?  Sometimes if your config is set to 
“inmemory”, even after you have updated an object on one service it won’t 
appear in the other.  \

Thanks,
jimmy

From: bharath thiruveedula 
Date: Wednesday, January 24, 2018 at 2:41 PM
To: "FORSYTH, JAMES" , "onap-discuss@lists.onap.org" 
, HARISH V KAJUR 
Subject: Re: [AAI] Unable to add "getQueryList" namedquery


Hi James,



I solved this issue by adding the header "Real-Time: true"



But while searching for named-query, I again face node not found error:




SVC3001
Resource not found for %1 using id %2 (msg=%3) (ec=%4)

POST Search
getNamedQueryResponse
Node Not Found:Node could not be found for nodeType = 
[named-query], propertyName = [named-query-uuid], propertyValue = 
[0367193e-c785-4d5f-9cb8-7bc89dc9ddb7]

ERR.5.4.6114








I ran the query for 
"https://127.0.0.1:8443/aai/v11/service-design-and-creation/named-queries; and 
I got the expected response as:

http://org.openecomp.aai.inventory/v11;>


0367193e-c785-4d5f-9cb8-7bc89dc9ddb7
get-component-list
1.1
Named Query - Get Component List
1516820998664




Best Regards

Bharath T


From: onap-discuss-boun...@lists.onap.org  
on behalf of bharath thiruveedula 
Sent: Tuesday, January 23, 2018 6:10 AM
To: FORSYTH, JAMES; onap-discuss@lists.onap.org; KAJUR, HARISH V
Subject: Re: [onap-discuss] [AAI] Unable to add "getQueryList" namedquery


Hi Jimmy,



I got the following XML  as output for GET 
"/aai/v11/service-design-and-creation/models/model/80b712fd-0ad3-4180-a99c-8c995cf1cc32"





http://org.openecomp.aai.inventory/v11;>

80b712fd-0ad3-4180-a99c-8c995cf1cc32
widget
1516667644133


Attached the POSTMAN screenshots


Best Regards
Bharath T


From: FORSYTH, JAMES 
Sent: Tuesday, January 23, 2018 3:11 AM
To: bharath thiruveedula; onap-discuss@lists.onap.org; KAJUR, HARISH V
Subject: Re: [AAI] Unable to add "getQueryList" namedquery


Hi, Bharath,



If you do a search for 
/aai/v11/service-design-and-creation/models/model/80b712fd-0ad3-4180-a99c-8c995cf1cc32,
 what do you get?



Thanks,

jimmy



From: bharath thiruveedula 
Date: Sunday, January 21, 2018 at 10:54 PM
To: "onap-discuss@lists.onap.org" , HARISH V KAJUR 
, "FORSYTH, JAMES" 
Subject: [AAI] Unable to add "getQueryList" namedquery



Hi AAI team,



I am trying to setup development environment of AAI using 
"https://wiki.onap.org/pages/viewpage.action?pageId=10782088".
 I ran AddWidgets json in the POSTMAN. But while adding "getQueryList" 
namedquery, i got the following error:



2018-01-22T03:43:22.143+|2018-01-22T03:43:22.182+|36935cd3-8724-4ff3-9540-a1410be9c511||qtp564413599-33||PUT
 
/aai/v11/service-design-and-creation/named-queries/named-query/0367193e-c785-4d5f-9cb8-7bc89dc9ddb7|jimmy-postman|ERROR|404|Error
 making edge to target node:3003:Not Found:Node of type model. Could not find 
object at: 
/service-design-and-creation/models/model/80b712fd-0ad3-4180-a99c-8c995cf1cc32||WARN||127.0.1.1|0|bharath-hp||org.onap.aai.rest.LegacyMoxyConsumer|||co=:Rolling
 back Titan transaction



I have checked the model corresponding to named-query , it exists. Do I missing 
anything here?





Best Regards

Bharath T











Re: [onap-discuss] [AAI] Unable to add "getQueryList" namedquery

2018-01-24 Thread bharath thiruveedula
Hi James,



I solved this issue by adding the header "Real-Time: true"


But while searching for named-query, I again face node not found error:





SVC3001
Resource not found for %1 using id %2 (msg=%3) (ec=%4)

POST Search
getNamedQueryResponse
Node Not Found:Node could not be found for nodeType = 
[named-query], propertyName = [named-query-uuid], propertyValue = 
[0367193e-c785-4d5f-9cb8-7bc89dc9ddb7]

ERR.5.4.6114







I ran the query for 
"https://127.0.0.1:8443/aai/v11/service-design-and-creation/named-queries; and 
I got the expected response as:


http://org.openecomp.aai.inventory/v11;>


0367193e-c785-4d5f-9cb8-7bc89dc9ddb7
get-component-list
1.1
Named Query - Get Component List
1516820998664




Best Regards

Bharath T


From: onap-discuss-boun...@lists.onap.org  
on behalf of bharath thiruveedula 
Sent: Tuesday, January 23, 2018 6:10 AM
To: FORSYTH, JAMES; onap-discuss@lists.onap.org; KAJUR, HARISH V
Subject: Re: [onap-discuss] [AAI] Unable to add "getQueryList" namedquery


Hi Jimmy,


I got the following XML  as output for GET 
"/aai/v11/service-design-and-creation/models/model/80b712fd-0ad3-4180-a99c-8c995cf1cc32"




http://org.openecomp.aai.inventory/v11;>

80b712fd-0ad3-4180-a99c-8c995cf1cc32
widget
1516667644133


Attached the POSTMAN screenshots


Best Regards
Bharath T



From: FORSYTH, JAMES 
Sent: Tuesday, January 23, 2018 3:11 AM
To: bharath thiruveedula; onap-discuss@lists.onap.org; KAJUR, HARISH V
Subject: Re: [AAI] Unable to add "getQueryList" namedquery


Hi, Bharath,



If you do a search for 
/aai/v11/service-design-and-creation/models/model/80b712fd-0ad3-4180-a99c-8c995cf1cc32,
 what do you get?



Thanks,

jimmy



From: bharath thiruveedula 
Date: Sunday, January 21, 2018 at 10:54 PM
To: "onap-discuss@lists.onap.org" , HARISH V KAJUR 
, "FORSYTH, JAMES" 
Subject: [AAI] Unable to add "getQueryList" namedquery



Hi AAI team,



I am trying to setup development environment of AAI using 
"https://wiki.onap.org/pages/viewpage.action?pageId=10782088".
 I ran AddWidgets json in the POSTMAN. But while adding "getQueryList" 
namedquery, i got the following error:



2018-01-22T03:43:22.143+|2018-01-22T03:43:22.182+|36935cd3-8724-4ff3-9540-a1410be9c511||qtp564413599-33||PUT
 
/aai/v11/service-design-and-creation/named-queries/named-query/0367193e-c785-4d5f-9cb8-7bc89dc9ddb7|jimmy-postman|ERROR|404|Error
 making edge to target node:3003:Not Found:Node of type model. Could not find 
object at: 
/service-design-and-creation/models/model/80b712fd-0ad3-4180-a99c-8c995cf1cc32||WARN||127.0.1.1|0|bharath-hp||org.onap.aai.rest.LegacyMoxyConsumer|||co=:Rolling
 back Titan transaction



I have checked the model corresponding to named-query , it exists. Do I missing 
anything here?





Best Regards

Bharath T














___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [OOM] inter-module instantiate dependencies

2018-01-24 Thread FREEMAN, BRIAN D
On the chrome driver.

I think I worked around it by installing an alternate chrome version in the 
container.
Using part of a fix that Gary has in integration – basically using the 2.32 
version instead of the version in the container.

Brian


# install chrome driver
if [ ! -x ${ROBOT_VENV}/bin/chromedriver ]; then
pushd ${ROBOT_VENV}/bin
wget -N 
http://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
chmod +x chromedriver
popd
fi

From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com]
Sent: Wednesday, January 24, 2018 2:10 PM
To: FREEMAN, BRIAN D 
Cc: onap-discuss 
Subject: Re: [onap-discuss] [OOM] inter-module instantiate dependencies

Thank Brian for trying OOM and helping improving it! I guess this is on 
Amsterdam?
I opened bugs to track this, see inline. for questions.

Thanks
Alexis


On Jan 24, 2018, at 1:50 PM, FREEMAN, BRIAN D 
> wrote:

Started to confirm functionality with OOM Amsterdam.

I think these are already being tracked but wanted to confirm with OOM team.


  1.  Model distribution from SDC fails to SO and SDNC on a fresh install.

 *   SO’s ASDC Adapter tries to communicate with SDC-BE before its up.
   i.  Delete 
of the SO pod and K8 automated restart clears the problem – redistribute works 
so it seems like a timing problem that SO should not be started till SDC-BEis 
up.

AdT: 
https://jira.onap.org/browse/OOM-616



 *   SDNC ueb-listener tries to communicate with SDC-BE before its up.
   i.  Delete 
of the ueb-listener pod and K8 automated restart clears the problem – 
redistribute works so it seems like a timing problem that ueb-listener/SDNC 
should not be started till SDC is up.

AdT: 
https://jira.onap.org/browse/OOM-617



 *   Agree there should be automated retry in listeners on boot but in 
Amsterdam that does not seem to be there.

AdT: It’s ok, we can have deterministic startup with K8S. We can check for a 
given port to be open.



 *

  1.  AAF does not come up and delays the install by 10+ minutes

 *   I assume we can take AAF out of the config and not try to start it.
 *   I would think for Amsterdam that might need to be the default

AdT: As far as I know, AAF never worked for OOM on Amsterdam. Always failed 
with `Error: Could not find or load main class 
org.onap.aaf.authz.service.AuthAPI`


  1.  Robot had a problem with the chrome driver when trying to instantiate 
(and probably other flows) – is there a fix ?

 *   WebDriverException: Message: unknown error: an X display is required 
for keycode conversions, consider using Xvfb (Session info: headless 
chrome=63.0.3239.132) (Driver info: chromedriver=2.29.461571


AdT: Is this specific to OOM?




Brian

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [OOM] inter-module instantiate dependencies

2018-01-24 Thread Alexis de Talhouët
Thank Brian for trying OOM and helping improving it! I guess this is on 
Amsterdam?
I opened bugs to track this, see inline. for questions.

Thanks
Alexis

> On Jan 24, 2018, at 1:50 PM, FREEMAN, BRIAN D  wrote:
> 
> Started to confirm functionality with OOM Amsterdam.
>  
> I think these are already being tracked but wanted to confirm with OOM team.
>  
> Model distribution from SDC fails to SO and SDNC on a fresh install.
> SO’s ASDC Adapter tries to communicate with SDC-BE before its up.
>i.  Delete 
> of the SO pod and K8 automated restart clears the problem – redistribute 
> works so it seems like a timing problem that SO should not be started till 
> SDC-BEis up.

AdT: https://jira.onap.org/browse/OOM-616

> SDNC ueb-listener tries to communicate with SDC-BE before its up.
>i.  Delete 
> of the ueb-listener pod and K8 automated restart clears the problem – 
> redistribute works so it seems like a timing problem that ueb-listener/SDNC 
> should not be started till SDC is up.

AdT: https://jira.onap.org/browse/OOM-617

> Agree there should be automated retry in listeners on boot but in Amsterdam 
> that does not seem to be there.

AdT: It’s ok, we can have deterministic startup with K8S. We can check for a 
given port to be open.

> AAF does not come up and delays the install by 10+ minutes
> I assume we can take AAF out of the config and not try to start it.
> I would think for Amsterdam that might need to be the default

AdT: As far as I know, AAF never worked for OOM on Amsterdam. Always failed 
with `Error: Could not find or load main class 
org.onap.aaf.authz.service.AuthAPI`

> Robot had a problem with the chrome driver when trying to instantiate (and 
> probably other flows) – is there a fix ?
> WebDriverException: Message: unknown error: an X display is required for 
> keycode conversions, consider using Xvfb (Session info: headless 
> chrome=63.0.3239.132) (Driver info: chromedriver=2.29.461571
>  

AdT: Is this specific to OOM? 

>  
>  
> Brian
>  
> ___
> onap-discuss mailing list
> onap-discuss@lists.onap.org 
> https://lists.onap.org/mailman/listinfo/onap-discuss 
> 
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] [OOM] inter-module instantiate dependencies

2018-01-24 Thread FREEMAN, BRIAN D
Started to confirm functionality with OOM Amsterdam.

I think these are already being tracked but wanted to confirm with OOM team.


  1.  Model distribution from SDC fails to SO and SDNC on a fresh install.
 *   SO's ASDC Adapter tries to communicate with SDC-BE before its up.

   i.  Delete 
of the SO pod and K8 automated restart clears the problem - redistribute works 
so it seems like a timing problem that SO should not be started till SDC-BEis 
up.

 *   SDNC ueb-listener tries to communicate with SDC-BE before its up.

   i.  Delete 
of the ueb-listener pod and K8 automated restart clears the problem - 
redistribute works so it seems like a timing problem that ueb-listener/SDNC 
should not be started till SDC is up.

 *   Agree there should be automated retry in listeners on boot but in 
Amsterdam that does not seem to be there.
  1.  AAF does not come up and delays the install by 10+ minutes
 *   I assume we can take AAF out of the config and not try to start it.
 *   I would think for Amsterdam that might need to be the default
  2.  Robot had a problem with the chrome driver when trying to instantiate 
(and probably other flows) - is there a fix ?
 *   WebDriverException: Message: unknown error: an X display is required 
for keycode conversions, consider using Xvfb (Session info: headless 
chrome=63.0.3239.132) (Driver info: chromedriver=2.29.461571



Brian

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [OOM][MSB] issues on services auto-discovery

2018-01-24 Thread Alexis de Talhouët
Hi,

Some answers/question inline.

Alexis

> On Jan 24, 2018, at 11:40 AM, HU, JUN NICOLAS  wrote:
> 
> Hi,
>  
> We deployed an OOM amsterdam 
> 
>  release. We installed all the containers a K8s cluster with 6 nodes hosts.
>  
> [centos@server-k8s6nodes-kubernetes-master-host-7qcfy4 ~]$ kubectl get nodes
> NAME STATUSAGE   VERSION
> server-k8s6nodes-kubernetes-master-host-7qcfy4   Ready 1dv1.7.4
> server-k8s6nodes-kubernetes-node-host-2sy3xz Ready 1dv1.7.4
> server-k8s6nodes-kubernetes-node-host-7rptcz Ready 1dv1.7.4
> server-k8s6nodes-kubernetes-node-host-8aaw03 Ready 1dv1.7.4
> server-k8s6nodes-kubernetes-node-host-b39rfm Ready 1dv1.7.4
> server-k8s6nodes-kubernetes-node-host-kvx3b8 Ready 1dv1.7.4
> server-k8s6nodes-kubernetes-node-host-w52ffi Ready 1dv1.7.4
>  
> Here is the running pods
>  
> [centos@server-k8s6nodes-kubernetes-master-host-7qcfy4 ~]$ kubectl get pod 
> --all-namespaces
> NAMESPACE NAME
>  READY STATUSRESTARTS   AGE
> kube-system   etcd-server-k8s6nodes-kubernetes-master-host-7qcfy4 
>  1/1   Running   2  1d
> kube-system   
> kube-apiserver-server-k8s6nodes-kubernetes-master-host-7qcfy41/1  
>  Running   0  1d
> kube-system   
> kube-controller-manager-server-k8s6nodes-kubernetes-master-host-7qcfy4   1/1  
>  Running   2  1d
> kube-system   kube-dns-2425271678-5724j   
>  3/3   Running   0  1d
> kube-system   kube-proxy-6lwp7
>  1/1   Running   0  1d
> kube-system   kube-proxy-bgvd6
>  1/1   Running   0  1d
> kube-system   kube-proxy-dtmfz
>  1/1   Running   0  1d
> kube-system   kube-proxy-dtql9
>  1/1   Running   0  1d
> kube-system   kube-proxy-t1pjw
>  1/1   Running   0  1d
> kube-system   kube-proxy-thjnr
>  1/1   Running   0  1d
> kube-system   kube-proxy-w8rjb
>  1/1   Running   0  1d
> kube-system   
> kube-scheduler-server-k8s6nodes-kubernetes-master-host-7qcfy41/1  
>  Running   3  1d
> kube-system   tiller-deploy-3206783038-5ldb1  
>  1/1   Running   0  1d
> kube-system   weave-net-178n1 
>  2/2   Running   6  1d
> kube-system   weave-net-31nf1 
>  2/2   Running   6  1d
> kube-system   weave-net-dl2qk 
>  2/2   Running   6  1d
> kube-system   weave-net-f88nv 
>  2/2   Running   6  1d
> kube-system   weave-net-fzs8t 
>  2/2   Running   6  1d
> kube-system   weave-net-lc965 
>  2/2   Running   7  1d
> kube-system   weave-net-vhj9x 
>  2/2   Running   7  1d
> onap-aaf  aaf-1993711932-m4d07
>  0/1   Running   0  1d
> onap-aaf  aaf-cs-1310404376-ptm73 
>  1/1   Running   0  1d
> onap-aai  aai-resources-2269342809-bd2gm  
>  2/2   Running   0  1d
> onap-aai  aai-service-749944520-1rt0l 
>  1/1   Running   0  1d
> onap-aai  aai-traversal-8423740-31htm 
>  2/2   Running   0  1d
> onap-aai  data-router-3434587794-pm2z0
>  1/1   Running   0  1d
> onap-aai  elasticsearch-622738319-k590c   
>  1/1   Running   0  1d
> onap-aai  hbase-1949550546-8f612   

Re: [onap-discuss] [OpenLab] DNS Designate zone for simpledemo.onap.org

2018-01-24 Thread Alexis de Talhouët
Ah, actually, I might be able to re-use the random-str that was used by DCAE 
for their DNS zone. Looking into this now.

> On Jan 24, 2018, at 11:48 AM, Alexis de Talhouët  
> wrote:
> 
> Gary, all,
> 
> Actually, digging and thinking about this, the solution that has been 
> implemented in OOM to support DCAE will not work with a shared DNS Designate 
> backend, e.g. if multiple ONAP instances are deployed, each one of them need 
> its own DNS Designate. The reason for that is, to accommodate DCAE VM 
> resolution of .simpledemo.onap.org  hosts (aai, 
> msb, sdc, policy), OOM creates a simpledemo.onap.org 
> . zone in which it will create the A record and 
> a bunch of CNAME, as it was done in the DNS VM.
> The thing is, that simpledemo.onap.org  zone 
> will have records pointing to a given instance of ONAP, and you cannot have 
> multiple zones sharing the same zone. Which means, we need 
> https://gerrit.onap.org/r/#/c/28347/  
> for Amsterdam ASAP so OOM can be used in the OpenLab. That patch basically 
> instantiate a small OpenStack in OOM with only the support for keystone and 
> designate. This way, no need to rely on infrastructure dns designate support.
> 
> Alexis
> 
>> On Jan 24, 2018, at 11:19 AM, Alexis de Talhouët > > wrote:
>> 
>> Greetings,
>> 
>> I’m trying to add a DNS zone in the DNS Designate of OpenLab, but I’m 
>> getting the following failure:
>> 
>> openstack zone create --email=o...@onap.org  
>> '--description=DNS zone bridging DCAE and OOM' --type=PRIMARY 
>> simpledemo.onap.org .
>> Unable to create zone because another tenant owns a subzone of the zone
>> 
>> Can I get assistance with this?
>> 
>> Thanks,
>> Alexis
> 

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [integration] Problem with install ONAP on vagrant

2018-01-24 Thread Morales, Victor
Hi Yang,

It looks like the * _wait_for_sdc* method (line 141026 of your log) of lib/aai 
script is not able to reach the SDC endpoint.  I recently updated that script 
[1] but I’m still having my doubts about the install_aai method[2] which keep 
waiting for complete the execution of deploy_vm2.sh[3] and deploy_vm1[4] 
scripts.  OTOH, as you noticed I haven’t tested the All-in-One configuration in 
a while, if you want to test all ONAP services I recommend to use the OOM 
option available in master[5]

$ ./tools/run.sh oom

That’s require more hardware (16 vCPUs and 64 GB RAM)[6] therefore I recommend 
to use libvirt vagrant provider instead of virtualbox[7].

Regards/Saludos
Victor Morales

[1] https://gerrit.onap.org/r/#/c/28801/
[2] https://git.onap.org/integration/tree/bootstrap/vagrant-onap/lib/aai#n102
[3] https://git.onap.org/aai/test-config/tree/deploy_vm2.sh#n25
[4] https://git.onap.org/aai/test-config/tree/deploy_vm1.sh#n78
[5] https://git.onap.org/integration/tree/bootstrap/vagrant-onap/lib/oom
[6] 
https://git.onap.org/integration/tree/bootstrap/vagrant-onap/Vagrantfile#n157
[7] 
https://git.onap.org/integration/tree/bootstrap/vagrant-onap/tools/setup_libvirt.sh

From:  on behalf of yanghc 

Date: Tuesday, January 23, 2018 at 11:48 PM
To: "onap-discuss@lists.onap.org" 
Subject: [onap-discuss] [integration] Problem with install ONAP on vagrant

Hi,

I tried to install ONAP “all-in-one” following the page 
https://wiki.onap.org/display/DW/ONAP+on+Vagrant , but build failure for aai 
service.
Can anyone give me some help to solve this problem ?
 Eep
The steps :

$ wget -q https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.deb
$ sudo dpkg -i vagrant_2.0.1_x86_64.deb
# echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" >> 
/etc/apt/sources.list
$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo 
apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo 
apt-key add -
$ sudo apt-get update -y
$ sudo apt-get install -y virtualbox-5.1 dkms
$ sudo apt install -y nfs-kernel-server

$ git clone https://git.onap.org/integration
$ git checkout 1.0.0-Amsterdam
$ cd integration/bootstrap/vagrant-onap
$ modify tools/run.sh, replace “all_in_one” to “all-in-one”
$ ./tools/run.sh all-in-one


The environment : Ubuntu 14.04.4 LTS with 16 processor and 64 G RAM

The installation log : please see the attached.

Best regards,
H.C. Yang



--
本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。 This email may contain 
confidential information. Please do not use or disclose it in any way and 
delete it if you are not the intended recipient.
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [OpenLab] DNS Designate zone for simpledemo.onap.org

2018-01-24 Thread Alexis de Talhouët
Gary, all,

Actually, digging and thinking about this, the solution that has been 
implemented in OOM to support DCAE will not work with a shared DNS Designate 
backend, e.g. if multiple ONAP instances are deployed, each one of them need 
its own DNS Designate. The reason for that is, to accommodate DCAE VM 
resolution of .simpledemo.onap.org hosts (aai, msb, sdc, policy), OOM creates a 
simpledemo.onap.org. zone in which it will create the A record and a bunch of 
CNAME, as it was done in the DNS VM.
The thing is, that simpledemo.onap.org zone will have records pointing to a 
given instance of ONAP, and you cannot have multiple zones sharing the same 
zone. Which means, we need https://gerrit.onap.org/r/#/c/28347/ for Amsterdam 
ASAP so OOM can be used in the OpenLab. That patch basically instantiate a 
small OpenStack in OOM with only the support for keystone and designate. This 
way, no need to rely on infrastructure dns designate support.

Alexis

> On Jan 24, 2018, at 11:19 AM, Alexis de Talhouët  
> wrote:
> 
> Greetings,
> 
> I’m trying to add a DNS zone in the DNS Designate of OpenLab, but I’m getting 
> the following failure:
> 
> openstack zone create --email=o...@onap.org  
> '--description=DNS zone bridging DCAE and OOM' --type=PRIMARY 
> simpledemo.onap.org .
> Unable to create zone because another tenant owns a subzone of the zone
> 
> Can I get assistance with this?
> 
> Thanks,
> Alexis

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] CII Badging Attention PTL

2018-01-24 Thread Stephen Terrill
Hi,

Thanks to Arul and team for putting this together.

We had one clarification today in the security subcommittee due to that it is 
discussed whether to do the badging at the project level of the program level.

  *   In general it is fine (expected) to do this at the project level.
  *   However, a project may decide for different reasons to perform the 
badging per repo or set of repos; if this made sense.
  *   This would imply from a S3P tracking perspective
 *   A project has passed if it and it its dependencies has passed.
 *   Note: sub-projects are responsible for doing their own badging process.
 *   For %complete the least complete value is the %complete of the project
BR,

Steve

From: Arul Nambi [mailto:arul.na...@amdocs.com]
Sent: 19 January 2018 20:23
To: onap-discuss@lists.onap.org; onap-...@lists.onap.org; 
onap-sec...@lists.onap.org
Cc: Stephen Terrill ; HANSEN, TONY L 
; Rajeev Mehta 
Subject: CII Badging Attention PTL

Hi Everyone,
If you have seen an email with almost the same subject ignore that, I had some 
issues posting the first email so I am re-sending it again. Both emails have 
the same content
For getting ONAP carrier ready one of the requirements is that 70% of its 
projects needs to undergo a process called CII badging.
CII badging is a simple process(and takes less than a week normally) of 
answering some questions about the project. And it is better if you start it 
sooner than later.
And the security subcommittee has come up with a wiki page with

  1.  More information about the CII
  2.  Sample tools
  3.  Sample answers to all the questions that you will need to answer to get 
your app badged.
The current ask is that 70% of the project should be in passing level, if you 
want to go higher than that you can find the sample answers for the Silver and 
gold level as well, they are not complete yet but if you find answers then add 
them to the page.
Link: https://wiki.onap.org/display/DW/CII+Badging+Program
Let us know if you have any more questions or suggestions.
Regards
Arul

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] [OpenLab] DNS Designate zone for simpledemo.onap.org

2018-01-24 Thread Alexis de Talhouët
Greetings,

I’m trying to add a DNS zone in the DNS Designate of OpenLab, but I’m getting 
the following failure:

openstack zone create --email=o...@onap.org  
'--description=DNS zone bridging DCAE and OOM' --type=PRIMARY 
simpledemo.onap.org .
Unable to create zone because another tenant owns a subzone of the zone

Can I get assistance with this?

Thanks,
Alexis___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [OOM] DCAE config in windriver

2018-01-24 Thread Alexis de Talhouët
Gary,

Have you properly configured those parameters in the onap-parameters.yaml file:

DNSAAS_API_VERSION: ""
DNSAAS_REGION: ""
DNSAAS_KEYSTONE_URL: ""
DNSAAS_TENANT_ID: ""
DNSAAS_TENANT_NAME: ""
DNSAAS_USERNAME: ""
DNSAAS_PASSWORD: “"

Those need to reflect the OpenStack instance providing DNS Designate. The 
OpenLab is configured so the tenant names are replicated, but the tenant ID is 
not the same. Please double check this. OpenLab has two instances. 
http://10.12.25.2 on which you deploy ONAP, and http://10.12.25.5 providing DNS 
Designate support. To get your tenant id for a given tenant name, log in the 
http://10.12.25.5 instance.

Based on those variables, we will setup the DNS-openrc-v2.sh 

 and DNS-openrc-v3.sh 

 files to be used to authenticate to the OpenStack (see line 156 
),
 enabling the pod to use the openstack cli instead of multicloud. I understand 
this is by-passing the multicloud apis, but it was easier for me to set this 
up. Any contribution to change this is welcome :) But my hope is, this will go 
away when OOM will provide DNS Designate itself (see OOM-588 
) so ppl won’t have to provide it in 
their infra.

I have tested this in OpenLab, under the OOM tenant, it can authenticate fine. 
The issue is, I’m facing this issue now:

++ openstack zone create --email=o...@onap.org '--description=DNS zone bridging 
DCAE and OOM' --type=PRIMARY simpledemo.onap.org. -f=yaml -c id
Zone simpledemo.onap.org. doens't exist, creating ...
++ awk '{ print $2} '
Unable to create zone because another tenant owns a subzone of the zone

Regarding the `sed: can’t read /opt/robot/vm_properties.py: No such file or 
directory`, thanks for reporting this, it’s an oversight, sorry about that. 
Working on too many things at the same time. Fix here: 
https://gerrit.onap.org/r/#/c/29039/

Regarding the robot log, you can use the init_robot tag that let you then 
browse the robot logs through the browser at http://:30209/logs/ I 
didn’t know ppl where going in the persisted data. But probably I should revert 
this change to persist the logs again.

Thanks,
Alexis

> On Jan 24, 2018, at 10:42 AM, Gary Wu  wrote:
> 
> Sorry, one more thing:  since yesterday I can no longer retrieve the robot 
> test logs from /dockerdata-nfs/onap/robot/eteshare/logs/.  Not sure if this 
> is related either.
>  
> Thanks,
> Gary
>  
> From: Gary Wu 
> Sent: Tuesday, January 23, 2018 6:13 PM
> To: 'Alexis de Talhouët'  >
> Cc: 'BRIAN D FREEMAN' >; 'PLATANIA, 
> MARCO (MARCO)'  >; 'onap-discuss@lists.onap.org 
> '  >
> Subject: RE: [onap-discuss] [OOM] DCAE config in windriver
>  
> Incidentally I’m also getting this error from entrypoint.sh; not sure if it’s 
> related to this set of changes:
>  
> sed: can’t read /opt/robot/vm_properties.py: No such file or directory
>  
> Thanks,
> Gary
>  
> From: Gary Wu 
> Sent: Tuesday, January 23, 2018 4:41 PM
> To: 'Alexis de Talhouët'  >
> Cc: BRIAN D FREEMAN >; PLATANIA, MARCO 
> (MARCO) >; 
> onap-discuss@lists.onap.org 
> Subject: RE: [onap-discuss] [OOM] DCAE config in windriver
>  
> Hi Alexis,
>  
> Despite having DNS_PROXY_ENABLE turned on, I’m observing the following:
>  
> dcaegen2/heat/entrypoint.sh repeatedly tries to configure Designate directly 
> via “openstack recordset” commands and failing with authentication errors.  
> Is this supposed to be happening?  The multicloud proxy endpoint seems to be 
> properly configured in onap_dcae.env, but this endpoint doesn’t seem to be 
> used by entrypoint.sh so I’m not sure how the DNS record requests are 
> supposed to get into the proxy.
>  
> Because of the DNS record creation issue above, the dcae-bootstrap VM is 
> still stuck due to inability to resolve “vm1.aai.simpledemo.onap.org 
> ”.
>  
> Thanks,
> Gary
>  
>  
> From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com 
> ] 
> 

Re: [onap-discuss] [OOM] DCAE config in windriver

2018-01-24 Thread Gary Wu
Sorry, one more thing:  since yesterday I can no longer retrieve the robot test 
logs from /dockerdata-nfs/onap/robot/eteshare/logs/.  Not sure if this is 
related either.

Thanks,
Gary

From: Gary Wu
Sent: Tuesday, January 23, 2018 6:13 PM
To: 'Alexis de Talhouët' 
Cc: 'BRIAN D FREEMAN' ; 'PLATANIA, MARCO (MARCO)' 
; 'onap-discuss@lists.onap.org' 

Subject: RE: [onap-discuss] [OOM] DCAE config in windriver

Incidentally I’m also getting this error from entrypoint.sh; not sure if it’s 
related to this set of changes:

sed: can’t read /opt/robot/vm_properties.py: No such file or directory

Thanks,
Gary

From: Gary Wu
Sent: Tuesday, January 23, 2018 4:41 PM
To: 'Alexis de Talhouët' 
>
Cc: BRIAN D FREEMAN >; PLATANIA, MARCO 
(MARCO) >; 
onap-discuss@lists.onap.org
Subject: RE: [onap-discuss] [OOM] DCAE config in windriver

Hi Alexis,

Despite having DNS_PROXY_ENABLE turned on, I’m observing the following:

dcaegen2/heat/entrypoint.sh repeatedly tries to configure Designate directly 
via “openstack recordset” commands and failing with authentication errors.  Is 
this supposed to be happening?  The multicloud proxy endpoint seems to be 
properly configured in onap_dcae.env, but this endpoint doesn’t seem to be used 
by entrypoint.sh so I’m not sure how the DNS record requests are supposed to 
get into the proxy.

Because of the DNS record creation issue above, the dcae-bootstrap VM is still 
stuck due to inability to resolve “vm1.aai.simpledemo.onap.org”.

Thanks,
Gary


From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com]
Sent: Tuesday, January 23, 2018 9:34 AM
To: Gary Wu >
Cc: BRIAN D FREEMAN >; PLATANIA, MARCO 
(MARCO) >; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] [OOM] DCAE config in windriver

Right, as I said, expect this to be merged in a couple of hours.

Thanks,
Alexis

On Jan 23, 2018, at 12:29 PM, Gary Wu 
> wrote:

The first patch depends on the second, but the second has not yet been merged 
yet?  I guess I should wait for the second one to merged first?

Thanks,
Gary

From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com]
Sent: Tuesday, January 23, 2018 8:53 AM
To: Gary Wu >
Cc: BRIAN D FREEMAN >; PLATANIA, MARCO 
(MARCO) >; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] [OOM] DCAE config in windriver

Gary,

This patch fixes the OOM to enable proxy DNS designate setup: 
https://gerrit.onap.org/r/#/c/28933/

I’ve tested in my environment, it’s working.

Please try again when you have some time. Note, the onap-parameters.yaml have 
changed a little bit to enable this. See https://gerrit.onap.org/r/#/c/28591/

Expect this to be merge in a couple of hours.

Thanks,
Alexis

On Jan 22, 2018, at 3:57 PM, Alexis de Talhouët 
> wrote:

Gary,

OOM doesn’t yet support the proxied solution. This is being worked on; until 
this is not fix, you cannot use Wind-River lab to deploy OOM with DCAENGEN2.
Expect the fix to be submit in the next couple of days.

Thanks,
Alexis

On Jan 22, 2018, at 3:17 PM, Gary Wu 
> wrote:

Hi Alexis,

Yes, I’m able to deploy DCAEGEN2 on a (non-Wind River) system with Designate 
installed.  My question is specifically on the Wind River lab.  Can we use 
Designate there?  So far what I see is “public endpoint for dns service in 
RegionOne region not found”, so it seems like we cannot.  Or is there a special 
Designate endpoint/config available?

Has anyone successfully deployed OOM with DCAEGEN2 in the Wind River lab, with 
or without the proxy solution?

Thanks,
Gary


From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com]
Sent: Monday, January 22, 2018 11:58 AM
To: Gary Wu >
Cc: BRIAN D FREEMAN >; PLATANIA, MARCO 
(MARCO) >; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] [OOM] DCAE config in windriver

Hi Gary,

I noticed the proxy solution that DCAEGEN2 offers is not fully working yet with 
OOM. What is working is having DCAE on the same OpenStack as DNS Designate. I’m 
currently in the process of addressing this.

Regarding your question about how 

[onap-discuss] Did You Know?

2018-01-24 Thread Yury Novitsky
[cid:image001.png@01D3951B.0E907480]Did You Know?
OOM uses both readiness and liveness probes to monitor ONAP components health

OOM makes use of kubernetes readiness and liveness probes feature.

Note:

The detailed description of the kubernetes feature can be found here: 
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/

Many OOM deployment entities are ready for serving incoming calls when the 
component process starts listening on its listen port.

For instance, one of A internal components is haproxy that routes traffic to 
other A services (A resources or A traversal). When the haproxy starts 
listening on the ports specified in its configuration, it is ready to serve 
incoming requests. The haproxy port for servicing A requests is 8443. This 
is why the A haproxy deployment manifest includes:


aai-deployment.yaml
readinessProbe:
  tcpSocket:
port: 8443
  initialDelaySeconds: 5
  periodSeconds: 10


With the above definition, 5 seconds after the container is started, Kubernetes 
will start the probes and only after a probe succeeds, kubernetes will start 
routing traffic to it.

This is useful:
?  - when starting the pod - container is assumed as fully running when it 
passed the readiness probe
?  - when replacing (e.g. upgrading a pod) - the traffic will be routed to the 
old pod until the new pod becomes ready.

Liveness probe helps to understand when the container is not useful anymore 
(e.g. fatal error happened) and must be replaced. The liveness probe have same 
parameters as the readiness probe.

For instance, to make sure that the database container is up and running, SDNC 
component has following definition in its DB deployment manifest:
db-statefulset.yaml
livenessProbe:
  exec:
command: ["mysqladmin", "ping"]
  initialDelaySeconds: 30
  periodSeconds: 10
  timeoutSeconds: 5



If you'd like to learn more about OOM, check out the OOM 
wiki.

Thanks,
Yury Novitsky
ONAP Operations Manager Team
[cid:image002.png@01D3951B.0E907480]
Amdocs a Platinum member of 
ONAP
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] Platform Maturity Requirements

2018-01-24 Thread RATH, CHRISTOPHER A (CHRISTOPHER A)
Jason,

My team contributed the majority of the DCAEGEN2 project code.  I have a few 
questions about meeting the platform maturity requirements, specifically for 
the resiliency and scaling portions.

First, DCAE is a platform, not a component.  It consists of many different 
components, some of them developed by us, others are open source projects.  
When asked to commit to one of the platform maturity levels, we attempted to 
propose a middle ground between level 1 and level 2 for most of the areas, 
because some of the components can probably meet the level 2 requirements in 
the given timeframe, but others will not.  This was not deemed acceptable, so I 
am trying to determine how complex components like DCAE are going to be tested 
as a whole for meeting these requirements.  Is each sub-component evaluated 
separately?  If not, what constitutes a failure for DCAEGEN2 as a whole?

Second, assuming that the tests will be done on individual subcomponents of 
DCAE, the resiliency and scalability requirements do not give me enough 
information for my team to try and meet them.  I had posted a question on the 
wiki page asking for a description of the test environment under which these 
platform maturity level claims were to be tested, but haven't seen a response 
yet.  This includes a description of what tests will be run and what the 
expected outcome of those tests are based on the claimed level of maturity by 
the component.  For example, one way to achieve resiliency would be to have 
three copies of every DCAE component.  However, given the backlash against the 
size of DCAE today, I doubt that will be an acceptable solution, but there are 
no requirements on which to design a different solution.

Third, the requirements, as noted by other posters from the community, are 
written in a way that assumes a particular implementation.  For resiliency, 
stating that the component has to detect failure and reroute presupposes that 
multiple copies of the component are running and something in front of them 
detects the failure automatically and routes to a working instance.  The 
requirements ought to be stated in terms of the net effects of failures on the 
clients of the component or the running system as a whole.  For example, a 
level 3+ requirement may be that clients accessing a component API do not get a 
failure and get a successful outcome in a component failure scenario within 75% 
of the mean response time when there are no failures.  Stating these 
requirements in these terms obviates the need to distinguish between stateful 
and stateless components.  Those become implementation details.

Some specific areas to address for Level 2:
- Are clients that call APIs on ONAP components that claim to 
be level 2 required to implement retry logic upon failure?
- How quickly must a component recover to achieve level 2 
status?
- What are the requirements for in-process transactions on a 
failed component?
- Is detection of a failure the responsibility of the 
individual components, or will something outside the component detect the 
failure and initiate a response.  (The purpose of DCAE as a platform is to do 
just that, by the way.)
- For the baseline measures of failed requests and data loss, 
what are the load conditions under which that will be tested?

Most of this applies to the scalability requirements as well, but in addition 
it isn't clear whether components are supposed to detect the need to scale 
themselves, or if something external to the component determines there is a 
need to scale and the component needs to support the APIs to allow that 
external component to request a scale up or down.

Thanks for looking into this.
--
Christopher A. Rath
Director Inventive Science - Intelligent Systems Research Department
Advanced Technologies & Platforms
D2 Architecture & Design
AT Services, Inc.

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [AAI][SO] How to add another LCP Region

2018-01-24 Thread Alexis de Talhouët
Ah, that would be because of this patch: https://gerrit.onap.org/r/#/c/28591/

As cd.sh is not checked-in OOM, it is difficult for me to maintain it when an 
modification is occurring.

@Michael, should we submit this to OOM?

Alexis

> On Jan 23, 2018, at 5:05 PM, FREEMAN, BRIAN D  wrote:
> 
> I think this issue was the format of onap_parameters.yaml changed.
>  
>  
> I re-edited the onap_parameters_sample.yaml and used that and it at least got 
> past the k8 init phase.
>  
>  
> Brian
>  
>  
> From: FREEMAN, BRIAN D 
> Sent: Tuesday, January 23, 2018 3:56 PM
> To: Alexis de Talhouët 
> Cc: onap-discuss 
> Subject: RE: [onap-discuss] [AAI][SO] How to add another LCP Region
>  
> That’s Michael’s continuouse deployment script.
>  
> It was working fine now I seem to have broken it.
>  
> Brian
>  
>  
> From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com 
> ] 
> Sent: Tuesday, January 23, 2018 3:54 PM
> To: FREEMAN, BRIAN D >
> Cc: onap-discuss  >
> Subject: Re: [onap-discuss] [AAI][SO] How to add another LCP Region
>  
> Brian,
>  
> I’m not familiar with the cd.sh script.
>  
> Alexis
>  
> 
> On Jan 23, 2018, at 12:53 PM, FREEMAN, BRIAN D  > wrote:
>  
> OK – I’ll try later. For some reason cd.sh got stuck “waiting for config pod 
> to complete” ?
>  
> Do I need to update my version of cd.sh ?
>  
> Brian
>  
>  
> From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com 
> ] 
> Sent: Tuesday, January 23, 2018 11:48 AM
> To: FREEMAN, BRIAN D >
> Cc: onap-discuss  >
> Subject: Re: [onap-discuss] [AAI][SO] How to add another LCP Region
>  
> Brian, no it’s not merged yet.
>  
> It has been Code-Review +2 and Verified +1, but not submitted yet. It’s 
> dependent on some other patch I was testing. I just found my missing piece. 
> Expect this to be merge by 1pm.
>  
> Thanks for testing, though :)
>  
> Thanks, 
> Alexis
> 
> 
> 
> On Jan 23, 2018, at 11:37 AM, FREEMAN, BRIAN D  > wrote:
>  
> I think it was merged today (in parallel with your email I suspect).
>  
> Trying an cd.sh install now on -b amsterdam to see.
>  
> Brian
>  
>  
> From: Alexis de Talhouët [mailto:adetalhoue...@gmail.com 
> ] 
> Sent: Tuesday, January 23, 2018 11:28 AM
> To: FREEMAN, BRIAN D >
> Cc: onap-discuss  >
> Subject: Re: [onap-discuss] [AAI][SO] How to add another LCP Region
>  
>  
> 
> 
> 
> 
> On Jan 10, 2018, at 5:56 PM, FREEMAN, BRIAN D  > wrote:
>  
> Robot did not work – trying to patch/work around to use it and it partially 
> succeed – could be amsterdam vs master issue
> Tried to run robot distribute and the heat templates were missing
> Used the following:
>i.  Cd 
> /dockerdata-nfs/onap/
>  ii.  Git 
> clone http://gerrit.onap.org/r/demo 
> 
>iii.  Cd demo
>iv.  cp -rf 
> heat ../robot/eteshare
>  v.  this put 
> the heat/vFW etc into the heat directory.
> After this distribute seems to work partially
>i.  ROBOT 
> fails after partially distributing looking for 6 thing and getting 5 – not 
> sure what that error is but the models do seem to be distributed to AAI and 
> SO from the SDC GUI perspective
>  
>  
> Brian, the fix for this is now out: https://gerrit.onap.org/r/#/c/28935/ 
> 
>  
> Expect it to be merged in the next few days.
>  
> Thanks,
> Alexis

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] [cli] No meeting today

2018-01-24 Thread Kanagaraj Manickam
Dear Team,

No CLI meeting today !

Regards
Kanagaraj M
-
Be transparent! Win together !!

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, please notify the sender by phone or email immediately 
and delete it!


___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] Did You Know?

2018-01-24 Thread Yury Novitsky
[cid:image001.png@01D39523.C24D0DA0]Did You Know?
OOM uses both readiness and liveness probes to monitor ONAP components health

OOM makes use of kubernetes readiness and liveness probes feature.

Note:

The detailed description of the kubernetes feature can be found here: 
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/

Many OOM deployment entities are ready for serving incoming calls when the 
component process starts listening on its listen port.

For instance, one of A internal components is haproxy that routes traffic to 
other A services (A resources or A traversal). When the haproxy starts 
listening on the ports specified in its configuration, it is ready to serve 
incoming requests. The haproxy port for servicing A requests is 8443. This 
is why the A haproxy deployment manifest includes:


aai-deployment.yaml
readinessProbe:
  tcpSocket:
port: 8443
  initialDelaySeconds: 5
  periodSeconds: 10


With the above definition, 5 seconds after the container is started, Kubernetes 
will start the probes and only after a probe succeeds, kubernetes will start 
routing traffic to it.

This is useful:
?  - when starting the pod - container is assumed as fully running when it 
passed the readiness probe
?  - when replacing (e.g. upgrading a pod) - the traffic will be routed to the 
old pod until the new pod becomes ready.

Liveness probe helps to understand when the container is not useful anymore 
(e.g. fatal error happened) and must be replaced. The liveness probe have same 
parameters as the readiness probe.

For instance, to make sure that the database container is up and running, SDNC 
component has following definition in its DB deployment manifest:
db-statefulset.yaml
livenessProbe:
  exec:
command: ["mysqladmin", "ping"]
  initialDelaySeconds: 30
  periodSeconds: 10
  timeoutSeconds: 5



If you'd like to learn more about OOM, check out the OOM 
wiki.

Thanks,
Yury Novitsky
ONAP Operations Manager Team
[cid:image002.png@01D39523.C24D0DA0]
Amdocs a Platinum member of 
ONAP
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [sdc][model] heat to tosca translator

2018-01-24 Thread Avi Gaffa
Hi,
There is an interface called 'HeatToToscaTranslator' and a class called 
HeatToToscaTranslatorImpl.
After creating a new HeatToToscaTranslatorImpl, you need to add the manifest 
and all files and then call validate(if you need) or translate .
You can find a usage in HeatToToscaUtil.loadAndTranslateTemplateData (just look 
on the calls to HeatToToscaTranslator)

Regard,
Avi

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Lu, Lianhao
Sent: Wednesday, January 24, 2018 11:18 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] [sdc][model] heat to tosca translator

Hi SDC team,

I've been told that there is a heat to tosca translator in SDC project. I'm 
wondering where I can find the code and the information of how to use that? 
Thanks!

Best Regards,
-Lianhao
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 

___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] [sdc][model] heat to tosca translator

2018-01-24 Thread Lu, Lianhao
Hi SDC team,

I've been told that there is a heat to tosca translator in SDC project. I'm 
wondering where I can find the code and the information of how to use that? 
Thanks!

Best Regards,
-Lianhao
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss