Re: [onap-discuss] How to backup AAI database records

2018-06-19 Thread abdelmuhaimen.seaudi
Hi Harish,

I tried using the link below to export and import AAI DB from one Amsterdam 
deployment, to another Amsterdam deployment, and it worked.

However, some branches were not imported from Amsterdam to Amsterdam, but it 
was OK, as the important branches were imported.

We are now planning to migrate our application to work on Beijing.

We exported the snapshot from Amsterdam using the latest snapshot file under 
/opt/app/aai-resources/logs/data/dataSnapshots.

Then, we tried to import the snapshot in Beijing using the command in the link 
https://wiki.onap.org/pages/viewpage.action?pageId=33065587https://wiki.onap.org/pages/viewpage.action?pageId=33065587

docker exec -u aaiadmin -it dev-aai-resources-d489cd699-xw9qj_1 
/opt/app/aai-resources/bin/dataRestoreFromSnapshot.sh 
dataSnapshot.graphSON.201806191500

Note that we are using OOM, so we used the pod for aai-resources.

The script showed us that a snapshot was created, and the database was cleared, 
re-created the schema, and imported the database, no errors.

However, the data was not imported to AAI Beijing, and when we checked the logs 
in /opt/app/aai-resources/logs/dataSnapshot/error.log, we can see the errors 
below.

Is it the correct process to use a snapshot from Amsterdam and import in 
Beijing ? Is AAI Beijing backward compatible with Amsterdam ?

2018-06-19T10:32:23.723+|2018-06-19T10:32:23.723+|f385be18-4ccd-4fd0-9d83-9c8e743fae88||main
  
||AAI|NA|COMPLETEWARN|||0|||org.janusgraph.core.util.ReflectiveConfigOptionLoader|||co=config:given
 scan urls are empty. set urls in the configuration
2018-06-19T10:32:24.261+|2018-06-19T10:32:24.261+|f385be18-4ccd-4fd0-9d83-9c8e743fae88||main
  
||AAI|NA|COMPLETEWARN|||0|||org.janusgraph.core.JanusGraphFactory|||co=config:Local
 setting cache.db-cache-clean-wait=20 (Type: GLOBAL_OFFLINE) is overridden by 
globally managed value (50).  Use the ManagementSystem interface instead of the 
local configuration to control this setting.
2018-06-19T10:32:24.272+|2018-06-19T10:32:24.272+|f385be18-4ccd-4fd0-9d83-9c8e743fae88||main
  
||AAI|NA|COMPLETEWARN|||0|||org.janusgraph.core.JanusGraphFactory|||co=config:Local
 setting cache.db-cache-time=18 (Type: GLOBAL_OFFLINE) is overridden by 
globally managed value (1).  Use the ManagementSystem interface instead of 
the local configuration to control this setting.
2018-06-19T10:32:30.158+|2018-06-19T10:32:30.158+|f385be18-4ccd-4fd0-9d83-9c8e743fae88||main
  
||AAI|NA|COMPLETEERROR|||0|||com.netflix.astyanax.AstyanaxContext|||co=config:com.netflix.MonitoredResources:type=ASTYANAX,name=KeyspaceJanusGraphConnectionPool,ServiceType=connectionpool
2018-06-19T10:32:30.159+|2018-06-19T10:32:30.159+|f385be18-4ccd-4fd0-9d83-9c8e743fae88||main
  
||AAI|NA|COMPLETEERROR|||0|||com.netflix.astyanax.AstyanaxContext|||co=config:com.netflix.MonitoredResources:type=ASTYANAX,name=ClusterJanusGraphConnectionPool,ServiceType=connectionpool
2018-06-19T10:32:46.103+|2018-06-19T10:32:46.103+|7c8e351a-7bbf-480c-a2e6-73a3384243b7||main
  
||AAI|NA|COMPLETEWARN|||0|||org.janusgraph.core.util.ReflectiveConfigOptionLoader|||co=config:given
 scan urls are empty. set urls in the configuration
2018-06-19T10:32:46.769+|2018-06-19T10:32:46.769+|7c8e351a-7bbf-480c-a2e6-73a3384243b7||main
  
||AAI|NA|COMPLETEWARN|||0|||org.janusgraph.core.JanusGraphFactory|||co=config:Local
 setting cache.db-cache-clean-wait=20 (Type: GLOBAL_OFFLINE) is overridden by 
globally managed value (50).  Use the ManagementSystem interface instead of the 
local configuration to control this setting.
2018-06-19T10:32:46.773+|2018-06-19T10:32:46.773+|7c8e351a-7bbf-480c-a2e6-73a3384243b7||main
  
||AAI|NA|COMPLETEWARN|||0|||org.janusgraph.core.JanusGraphFactory|||co=config:Local
 setting cache.db-cache-time=18 (Type: GLOBAL_OFFLINE) is overridden by 
globally managed value (1).  Use the ManagementSystem interface instead of 
the local configuration to control this setting.
2018-06-19T10:32:48.438+|2018-06-19T10:32:48.438+|7c8e351a-7bbf-480c-a2e6-73a3384243b7||main
  ||AAI|NA|ERROR|500|Unexpected error:3000:Internal Server Error:Adding 
this property for key [model-version-id] and value 
[5a175add-57e4-4a5d-8b02-c36f1d69c52b] violates a uniqueness constraint 
[model-version-id]||ERROR|||0|||com.netflix.astyanax.AstyanaxContext|||co=config:com.netflix.MonitoredResources:type=ASTYANAX,name=KeyspaceJanusGraphConnectionPool,ServiceType=connectionpool
2018-06-19T10:32:48.439+|2018-06-19T10:32:48.439+|7c8e351a-7bbf-480c-a2e6-73a3384243b7||main
  ||AAI|NA|ERROR|500|Unexpected error:3000:Internal Server Error:Adding 
this property for key [model-version-id] and value 
[5a175add-57e4-4a5d-8b02-c36f1d69c52b] violates a uniqueness constraint 

Re: [onap-discuss] How to clear ONAP OOM POD logs

2018-06-13 Thread abdelmuhaimen.seaudi
Hi,

I found a couple of ways to empty out an existing large file, using Output 
redirection " > filename " or "truncate -s 0 filename ".

I checked after emptying the file and I see the logs continue normally.

This way, I don't need to delete the pod or kill a process.

root@olc-bjng-3:/var/lib/docker/containers# du -h -d 1 | sort -r -h | head
49G .
35G ./b9df9b8587860364bc4267889f81712544e5aa6ce3e5ab33c8c3842fd014c410
14G ./ad21fbc6614f291c50838e860587f568f45eea1956408f1ec078bb08fcfd5879
root@olc-bjng-3:/var/lib/docker/containers# > 
./b9df9b8587860364bc4267889f81712544e5aa6ce3e5ab33c8c3842fd014c410/b9df9b8587860364bc4267889f81712544e5aa6ce3e5ab33c8c3842fd014c410-json.log
root@olc-bjng-3:/var/lib/docker/containers/b9df9b8587860364bc4267889f81712544e5aa6ce3e5ab33c8c3842fd014c410#
 ls -l
total 60
-rw-r- 1 root root   193 Jun 13 
20:52b9df9b8587860364bc4267889f81712544e5aa6ce3e5ab33c8c3842fd014c410-json.log
drwx-- 2 root root  4096 Jun 11 15:41checkpoints
-rw-r--r-- 1 root root 48062 Jun 11 15:41config.v2.json
-rw-r--r-- 1 root root  1696 Jun 11 15:41hostconfig.json
root@olc-bjng-3:/var/lib/docker/containers/b9df9b8587860364bc4267889f81712544e5aa6ce3e5ab33c8c3842fd014c410#
 cat b9df9b8587860364bc4267889f81712544e5aa6ce3e5ab33c8c3842fd014c410-json.log
{"log":"2018-06-13 20:52:12.925  INFO 451 --- [   main] 
o.o.u.server.util.DmaapSubscriber: response content is 
:[]\n","stream":"stdout","time":"2018-06-13T20:52:12.932234368Z"}
{"log":"2018-06-13 20:52:23.078  INFO 451 --- [   main] 
o.o.u.server.util.DmaapSubscriber: response content is 
:[]\n","stream":"stdout","time":"2018-06-13T20:52:23.084544646Z"}
{"log":"2018-06-13 20:52:33.217  INFO 451 --- [   main] 
o.o.u.server.util.DmaapSubscriber: response content is 
:[]\n","stream":"stdout","time":"2018-06-13T20:52:33.218096153Z"}
{"log":"2018-06-13 20:52:43.401  INFO 451 --- [   main] 
o.o.u.server.util.DmaapSubscriber: response content is 
:[]\n","stream":"stdout","time":"2018-06-13T20:52:43.402126811Z"}
{"log":"2018-06-13 20:52:53.549  INFO 451 --- [   main] 
o.o.u.server.util.DmaapSubscriber: response content is 
:[]\n","stream":"stdout","time":"2018-06-13T20:52:53.549390405Z"}
{"log":"2018-06-13 20:53:03.715  INFO 451 --- [   main] 
o.o.u.server.util.DmaapSubscriber: response content is 
:[]\n","stream":"stdout","time":"2018-06-13T20:53:03.715633889Z"}
{"log":"2018-06-13 20:53:13.866  INFO 451 --- [   main] 
o.o.u.server.util.DmaapSubscriber: response content is 
:[]\n","stream":"stdout","time":"2018-06-13T20:53:13.867127823Z"}



Sent from Samsung Mobile.


 Original message 
From: Mandeep Khinda
Date:13/06/2018 3:54 PM (GMT+02:00)
To: SEAUDI Abdelmuhaimen OBS/CSO , onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] How to clear logs

Hi,
It is a good question as I have had my disk filled before too.

I have removed the massive .json log file from /var/lib/docker/containers/*/* 
in the past after stopping the container and docker daemon but I would not 
suggest unless you were okay with having to re-deploy the pod as I have had 
mixed success.

I think we need to add some documentation to the K8s cluster build requirements 
to enable some sort of log rotation for the docker containers.
I found this:
https://kubernetes.io/docs/concepts/cluster-administration/logging/

Kubernetes currently is not responsible for rotating logs, but rather a 
deployment tool should set up a solution to address that. For example, in 
Kubernetes clusters, deployed by the kube-up.sh script, there is a 
logrotate tool configured to run each 
hour

By default, the docker daemon uses json-file as its logging driver and this 
thing comes out of the box with an unlimited size.

https://docs.docker.com/config/containers/logging/json-file/#usage

Try setting “--log-opt max-size=[SIZE]m” in your k8s nodes where docker is 
running to prevent this from happening again.

Thanks,
Mandeep

From:  on behalf of 
"abdelmuhaimen.sea...@orange.com" 
Date: Wednesday, June 13, 2018 at 2:09 AM
To: "onap-discuss@lists.onap.org" 
Subject: [onap-discuss] How to clear logs

Hi,

I was able to resolve an issue with an ONAP OOM Pod that resulted in a log file 
filling up 95% of the disk space.

Now, what if I need to clear the logs of an ONAP OOM pod ? What is the correct 
process ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le 

[onap-discuss] How to clear logs

2018-06-13 Thread abdelmuhaimen.seaudi
Hi,

I was able to resolve an issue with an ONAP OOM Pod that resulted in a log file 
filling up 95% of the disk space.

Now, what if I need to clear the logs of an ONAP OOM pod ? What is the correct 
process ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] /var/log/syslog taking up a lot of space on OOM Beijing

2018-06-04 Thread abdelmuhaimen.seaudi
Hi,

After 4 days, the installation is still stable, however, still the 
var/log/syslog and /var/log/syslog.1 have reached 44 GB space again.


-rw-r-  1 syslog adm   7043982261 Jun  4 10:23 syslog
-rw-r-  1 syslog adm  37589664321 Jun  4 06:25 syslog.1
-rw-r-  1 syslog adm99405 Jun  3 06:25 syslog.2.gz
-rw-r-  1 syslog adm79388 Jun  2 06:25 syslog.3.gz
-rw-r-  1 syslog adm   155344 Jun  1 06:25 syslog.4.gz



Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Saturday, June 2, 2018 1:01 PM
To: onap-discuss@lists.onap.org
Subject: /var/log/syslog taking up a lot of space on OOM Beijing

Hi,

I have an OOM Beijing instance running on 1 VM for Rancher Server, and 3 VMs 
Rancher hosts, each with 8 vCPUs, 52 GB RAM, 50 GB Root Parition, and 100 GB 
2nd Partition for /var/lib/docker/.

After running for 2 days, the installation is stable so far, only OOM-SNIRO 
gives FAIL in robot health check, and only pod onap-oof is failing, since the 
installation.

However, I noticed one of the nodes taking a lot of root storage space, and I 
found out it's /var/log/syslog and /var/log/syslog.1, which are taking ~43 GB 
of space.

What is the reason for this behaviour ?

root@olc-bjng-2:~# free -h
  totalusedfree  shared  buff/cache   available
Mem:51G 25G 12G557M 13G 24G
Swap:0B  0B  0B
root@olc-bjng-2:~# df -h /dev/vda1 /dev/vdb
Filesystem  Size  Used Avail Use% Mounted on
/dev/vda149G   44G  5.0G  90% /   a lot 
of space, not from /var/lib/docker
/dev/vdb 99G   30G   64G  32% /mnt
root@olc-bjng-2:~#

root@olc-bjng-2:/var/log# ls -l
total 42153316
...
-rw-r-  1 syslog adm   9811749726 Jun  2 10:40 syslog
-rw-r-  1 syslog adm  33351210056 Jun  2 06:25 syslog.1
-rw-r-  1 syslog adm   149784 Jun  1 06:25 syslog.2.gz

I see the following lines near the top of syslog.1

Jun  1 08:58:44 olc-bjng-2 dockerd[9856]: time="2018-06-01T08:58:44.599081414Z" 
level=warning msg="Unknown healthcheck type 'NONE' (expected 'CMD') in 
container 6b3b60d6dde71c0ea16b698b1b7a964e53fb3dd54bdf1e198a49d51f117a2c40"
Jun  1 08:58:45 olc-bjng-2 dockerd[9856]: time="2018-06-01T08:58:45.907586780Z" 
level=error msg="Handler for GET 
/v1.22/containers/952333fb19fec201d9adf226847d8a3e21045d831fe73c10082fe1124271f31a/json
 returned error: No such container: 
952333fb19fec201d9adf226847d8a3e21045d831fe73c10082fe1124271f31a"
Jun  1 08:59:43 olc-bjng-2 dockerd[9856]: time="2018-06-01T08:59:43.372667000Z" 
level=warning msg="failed to close stdin: rpc error: code = 2 desc = write 
/var/run/docker/libcontainerd/containerd/4780e1142fbea7740b0eded42057be2ab17cc0998b2319596654a9a3606b9045/6f635acd5a26750d0f84ee506ed28c4b18b39a64c8994966636d138a88db8e6c/control:
 bad file descriptor"
Jun  1 09:02:28 olc-bjng-2 dockerd[9856]: time="2018-06-01T09:02:28.564875759Z" 
level=error msg="Handler for DELETE 
/v1.27/images/sha256:b7fa6b9cb097d4be9c482f44a2ab2d84d0067b598f80dacfedc11b30feaf2fc6
 returned error: conflict: unable to delete b7fa6b9cb097 (cannot be forced) - 
image is being used by running container c55cddbe095c"
Jun  1 09:02:28 olc-bjng-2 dockerd[9856]: time="2018-06-01T09:02:28.568346021Z" 
level=error msg="Handler for DELETE 
/v1.27/images/sha256:14de771cc17886ac2b6e6eace825c8c67afb59b88804944421a5c2dbebe1ddaf
 returned error: conflict: unable to delete 14de771cc178 (cannot be forced) - 
image is being used by running container 1f3008e7bc83"
Jun  1 09:02:28 olc-bjng-2 dockerd[9856]: time="2018-06-01T09:02:28.570397502Z" 
level=error msg="Handler for DELETE 
/v1.27/images/sha256:bd33f8c865b1cefab6e876006de8542892e21205f33ecd0de82c778be72a2b39
 returned error: conflict: unable to delete bd33f8c865b1 (cannot be forced) - 
image is being used by running container 82a6677eaf0f"

And i see the following lines near the bottom of syslog.1
Jun  2 06:25:01 olc-bjng-2 dockerd[9856]: time="2018-06-02T06:25:01.634823245Z" 
level=error msg="Failed to log msg \"\\tat 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:419)\"
 for logger json-file: write 
/mnt/containers/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a-json.log:
 no space left on device"
Jun  2 06:25:01 olc-bjng-2 dockerd[9856]: time="2018-06-02T06:25:01.635142774Z" 
level=error msg="Failed to log msg \"\\tat 
org.glassfish.jersey.client.InboundJaxrsResponse.readEntity(InboundJaxrsResponse.java:108)\"
 for logger json-file: write 
/mnt/containers/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a-json.log:
 no space left on device"
Jun  2 06:25:01 olc-bjng-2 dockerd[9856]: 

[onap-discuss] /var/log/syslog taking up a lot of space on OOM Beijing

2018-06-02 Thread abdelmuhaimen.seaudi
Hi,

I have an OOM Beijing instance running on 1 VM for Rancher Server, and 3 VMs 
Rancher hosts, each with 8 vCPUs, 52 GB RAM, 50 GB Root Parition, and 100 GB 
2nd Partition for /var/lib/docker/.

After running for 2 days, the installation is stable so far, only OOM-SNIRO 
gives FAIL in robot health check, and only pod onap-oof is failing, since the 
installation.

However, I noticed one of the nodes taking a lot of root storage space, and I 
found out it's /var/log/syslog and /var/log/syslog.1, which are taking ~43 GB 
of space.

What is the reason for this behaviour ?

root@olc-bjng-2:~# free -h
  totalusedfree  shared  buff/cache   available
Mem:51G 25G 12G557M 13G 24G
Swap:0B  0B  0B
root@olc-bjng-2:~# df -h /dev/vda1 /dev/vdb
Filesystem  Size  Used Avail Use% Mounted on
/dev/vda149G   44G  5.0G  90% /   a lot 
of space, not from /var/lib/docker
/dev/vdb 99G   30G   64G  32% /mnt
root@olc-bjng-2:~#

root@olc-bjng-2:/var/log# ls -l
total 42153316
...
-rw-r-  1 syslog adm   9811749726 Jun  2 10:40 syslog
-rw-r-  1 syslog adm  33351210056 Jun  2 06:25 syslog.1
-rw-r-  1 syslog adm   149784 Jun  1 06:25 syslog.2.gz

I see the following lines near the top of syslog.1

Jun  1 08:58:44 olc-bjng-2 dockerd[9856]: time="2018-06-01T08:58:44.599081414Z" 
level=warning msg="Unknown healthcheck type 'NONE' (expected 'CMD') in 
container 6b3b60d6dde71c0ea16b698b1b7a964e53fb3dd54bdf1e198a49d51f117a2c40"
Jun  1 08:58:45 olc-bjng-2 dockerd[9856]: time="2018-06-01T08:58:45.907586780Z" 
level=error msg="Handler for GET 
/v1.22/containers/952333fb19fec201d9adf226847d8a3e21045d831fe73c10082fe1124271f31a/json
 returned error: No such container: 
952333fb19fec201d9adf226847d8a3e21045d831fe73c10082fe1124271f31a"
Jun  1 08:59:43 olc-bjng-2 dockerd[9856]: time="2018-06-01T08:59:43.372667000Z" 
level=warning msg="failed to close stdin: rpc error: code = 2 desc = write 
/var/run/docker/libcontainerd/containerd/4780e1142fbea7740b0eded42057be2ab17cc0998b2319596654a9a3606b9045/6f635acd5a26750d0f84ee506ed28c4b18b39a64c8994966636d138a88db8e6c/control:
 bad file descriptor"
Jun  1 09:02:28 olc-bjng-2 dockerd[9856]: time="2018-06-01T09:02:28.564875759Z" 
level=error msg="Handler for DELETE 
/v1.27/images/sha256:b7fa6b9cb097d4be9c482f44a2ab2d84d0067b598f80dacfedc11b30feaf2fc6
 returned error: conflict: unable to delete b7fa6b9cb097 (cannot be forced) - 
image is being used by running container c55cddbe095c"
Jun  1 09:02:28 olc-bjng-2 dockerd[9856]: time="2018-06-01T09:02:28.568346021Z" 
level=error msg="Handler for DELETE 
/v1.27/images/sha256:14de771cc17886ac2b6e6eace825c8c67afb59b88804944421a5c2dbebe1ddaf
 returned error: conflict: unable to delete 14de771cc178 (cannot be forced) - 
image is being used by running container 1f3008e7bc83"
Jun  1 09:02:28 olc-bjng-2 dockerd[9856]: time="2018-06-01T09:02:28.570397502Z" 
level=error msg="Handler for DELETE 
/v1.27/images/sha256:bd33f8c865b1cefab6e876006de8542892e21205f33ecd0de82c778be72a2b39
 returned error: conflict: unable to delete bd33f8c865b1 (cannot be forced) - 
image is being used by running container 82a6677eaf0f"

And i see the following lines near the bottom of syslog.1
Jun  2 06:25:01 olc-bjng-2 dockerd[9856]: time="2018-06-02T06:25:01.634823245Z" 
level=error msg="Failed to log msg \"\\tat 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:419)\"
 for logger json-file: write 
/mnt/containers/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a-json.log:
 no space left on device"
Jun  2 06:25:01 olc-bjng-2 dockerd[9856]: time="2018-06-02T06:25:01.635142774Z" 
level=error msg="Failed to log msg \"\\tat 
org.glassfish.jersey.client.InboundJaxrsResponse.readEntity(InboundJaxrsResponse.java:108)\"
 for logger json-file: write 
/mnt/containers/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a-json.log:
 no space left on device"
Jun  2 06:25:01 olc-bjng-2 dockerd[9856]: time="2018-06-02T06:25:01.635522112Z" 
level=error msg="Failed to log msg \"\\tat 
org.onap.usecaseui.server.util.DmaapSubscriber.getDMaaPData(DmaapSubscriber.java:112)\"
 for logger json-file: write 
/mnt/containers/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a/36441e295ace461c6c1e5a2a60f8004272c056619d381846349ce47c8900385a-json.log:
 no space left on device"
Jun  2 06:25:01 olc-bjng-2 dockerd[9856]: time="2018-06-02T06:25:01.636113243Z" 
level=error msg="Failed to log msg \"\\tat 
org.onap.usecaseui.server.util.DmaapSubscriber.subscribe(DmaapSubscriber.java:79)\"
 for logger json-file: write 

Re: [onap-discuss] Error in APPC nodeports while deploying helm install onap

2018-05-30 Thread abdelmuhaimen.seaudi
Hi

I get the following error when trying to deploy helm install onap

root@olc-rancher:~/oom/kubernetes# helm install local/onap -n dev --namespace 
onap
Error: release dev failed: Service "appc" is invalid: spec.ports[2].nodePort: 
Invalid value: 30232: provided port is already allocated
root@olc-rancher:~/oom/kubernetes#


I found that aai and appc are both using the same port 30232.

root@olc-rancher:~/oom/kubernetes# grep -r ": 32" *
aai/values.yaml:  nodePort: 32
appc/values.yaml:  nodePort3: 32


Is my understanding correct ? is this a recent change in the oom charts ?

Thanks

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] Error in nodeports while deploying helm install onap

2018-05-30 Thread abdelmuhaimen.seaudi
Hi

I get the following error when trying to deploy helm install onap

root@olc-rancher:~/oom/kubernetes# helm install local/onap -n dev --namespace 
onap
Error: release dev failed: Service "appc" is invalid: spec.ports[2].nodePort: 
Invalid value: 30232: provided port is already allocated
root@olc-rancher:~/oom/kubernetes#


I found that aai and appc are both using the same port 30232.

root@olc-rancher:~/oom/kubernetes# grep -r ": 32" *
aai/values.yaml:  nodePort: 32
appc/values.yaml:  nodePort3: 32


Is my understanding correct ? is this a recent change in the oom charts ?

Thanks

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] VID erros in OOM Beijing

2018-05-29 Thread abdelmuhaimen.seaudi
Hi Ofir,

I tried now, and I can see the VID portal is now OK, although I did not make 
any changes.

The response to the URL is below:
{"statusCode":200,"message":"health check succeeded","date":null}

Thanks a lot for your support.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: Sonsino, Ofir [mailto:os0...@intl.att.com]
Sent: Tuesday, May 29, 2018 1:08 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: RE: VID erros in OOM Beijing

Hi again,

I'd like you to test VID with a dev user, in order to determine where the 
problem is.
Can you go to: http://vid.api.simpledemo.onap.org:8080/vid/login.htm
(make sure you point vid.api.simpledemo.onap.org to VID VM's IP in hosts file 
first)

The log in with user: demo
Password: Kp8bJ4SXszM0WX

Please share another screenshot, I want to verify VID loads correctly.

Also, please share the content of the following URL:
http://vid.api.simpledemo.onap.org:8080/vid/healthCheck

Thanks,
Ofir

From: abdelmuhaimen.sea...@orange.com [mailto:abdelmuhaimen.sea...@orange.com]
Sent: Sunday, May 27, 2018 5:15 PM
To: Sonsino, Ofir ; onap-discuss@lists.onap.org
Cc: SEAUDI Abdelmuhaimen OBS/CSO 
Subject: RE: VID erros in OOM Beijing

Hi

The environment is OOM Beijing release using the OOM one click installation 
script.

I can login to the Portal Ok, and I can open AAI UI and SDC from the portal.

On the other hand, when I click on VID from the portal it opens a tab and 
insidr it shows a corrupt VID page, as per the screenshot  sent earlier.

The logs are from the onap_vid_mariadb pod.

Thanks

A. Seaudi

Sent from Samsung Mobile.

 Original message 
From: "Sonsino, Ofir"
Date:27/05/2018 10:06 AM (GMT+02:00)
To: SEAUDI Abdelmuhaimen OBS/CSO , 
onap-discuss@lists.onap.org
Subject: RE: VID erros in OOM Beijing

Hi,

What environment is it? Where did you see the FAILURE message?
Just to make sure, did you try to log in to VID or you couldn't get to that 
stage?

Ofir

From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of 
abdelmuhaimen.sea...@orange.com
Sent: Friday, May 25, 2018 1:57 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] VID erros in OOM Beijing

Hi,

After OOM Beijing is fully up and running, I cannot access VID, I get the 
output shown in the attached snapshot.

Although Robot health check is PASS for VID, however in CONSUL, I see VID 
MariaDb is FAILURE.

I see the following logs in the mariadb pod:
5/25/2018 12:18:22 AM2018-05-24 22:18:22 140682260137728 [Warning] Aborted 
connection 364 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: 
'10.42.205.85' (Got timeout reading communication packets)
5/25/2018 12:18:22 AM2018-05-24 22:18:22 140682259531520 [Warning] Aborted 
connection 366 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: 
'10.42.205.85' (Got timeout reading communication packets)
5/25/2018 12:18:22 AM2018-05-24 22:18:22 140682259834624 [Warning] Aborted 
connection 365 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: 
'10.42.205.85' (Got timeout reading communication packets)

How can I resolve this issue to have VID run OK ?


Thanks

A. Seaudi

_



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.

_



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. 

Re: [onap-discuss] VID erros in OOM Beijing

2018-05-27 Thread abdelmuhaimen.seaudi
Hi

The environment is OOM Beijing release using the OOM one click installation 
script.

I can login to the Portal Ok, and I can open AAI UI and SDC from the portal.

On the other hand, when I click on VID from the portal it opens a tab and 
insidr it shows a corrupt VID page, as per the screenshot  sent earlier.

The logs are from the onap_vid_mariadb pod.

Thanks

A. Seaudi

Sent from Samsung Mobile.


 Original message 
From: "Sonsino, Ofir"
Date:27/05/2018 10:06 AM (GMT+02:00)
To: SEAUDI Abdelmuhaimen OBS/CSO , onap-discuss@lists.onap.org
Subject: RE: VID erros in OOM Beijing

Hi,

What environment is it? Where did you see the FAILURE message?
Just to make sure, did you try to log in to VID or you couldn’t get to that 
stage?

Ofir

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of 
abdelmuhaimen.sea...@orange.com
Sent: Friday, May 25, 2018 1:57 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] VID erros in OOM Beijing

Hi,

After OOM Beijing is fully up and running, I cannot access VID, I get the 
output shown in the attached snapshot.

Although Robot health check is PASS for VID, however in CONSUL, I see VID 
MariaDb is FAILURE.

I see the following logs in the mariadb pod:
5/25/2018 12:18:22 AM2018-05-24 22:18:22 140682260137728 [Warning] Aborted 
connection 364 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: 
'10.42.205.85' (Got timeout reading communication packets)
5/25/2018 12:18:22 AM2018-05-24 22:18:22 140682259531520 [Warning] Aborted 
connection 366 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: 
'10.42.205.85' (Got timeout reading communication packets)
5/25/2018 12:18:22 AM2018-05-24 22:18:22 140682259834624 [Warning] Aborted 
connection 365 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: 
'10.42.205.85' (Got timeout reading communication packets)

How can I resolve this issue to have VID run OK ?


Thanks

A. Seaudi

_



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] VID erros in OOM Beijing

2018-05-24 Thread abdelmuhaimen.seaudi
Hi,

After OOM Beijing is fully up and running, I cannot access VID, I get the 
output shown in the attached snapshot.

Although Robot health check is PASS for VID, however in CONSUL, I see VID 
MariaDb is FAILURE.

I see the following logs in the mariadb pod:
5/25/2018 12:18:22 AM2018-05-24 22:18:22 140682260137728 [Warning] Aborted 
connection 364 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: 
'10.42.205.85' (Got timeout reading communication packets)
5/25/2018 12:18:22 AM2018-05-24 22:18:22 140682259531520 [Warning] Aborted 
connection 366 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: 
'10.42.205.85' (Got timeout reading communication packets)
5/25/2018 12:18:22 AM2018-05-24 22:18:22 140682259834624 [Warning] Aborted 
connection 365 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: 
'10.42.205.85' (Got timeout reading communication packets)

How can I resolve this issue to have VID run OK ?


Thanks

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] where is the rancher setup script and cd.sh sripts

2018-05-24 Thread abdelmuhaimen.seaudi
Hi,

I liked to use the 2 seperate scripts, because after rancher is setup, it gives 
me a chance to run the NFS server/client, and to add additional hosts to the 
K8S cluster, and when the cluster is ready, I can run cd.sh.

I used the one click script in this link https://jira.onap.org/browse/LOG-320, 
instead of the oom_rancher_setup.sh and cd.sh.

The one click script completed OK, and I have a running Beijing OOM 
installation, using a 3 nodes k8s cluster.

I used the NFS Master and Slave Scripts in this link 
https://wiki.onap.org/display/DW/ONAP+on+Windriver+ONAP+Developer+Cloud in 
order to synchronize the /dockerdata-nfs folder between the 3 nodes.

root@olc-bjng-1:~# kubectl get pods --all-namespaces -o wide
NAMESPACE NAMEREADY STATUS  
   RESTARTS   AGE   IP  NODE
kube-system   heapster-76b8cd7b5-mrc571/1   Running 
   0  3h10.42.144.25olc-bjng-1.novalocal
kube-system   kube-dns-5d7b4487c9-2tdk9   3/3   Running 
   0  3h10.42.93.198olc-bjng-1.novalocal
kube-system   kubernetes-dashboard-f9577fffd-7vj6w1/1   Running 
   0  3h10.42.128.41olc-bjng-1.novalocal
kube-system   monitoring-grafana-997796fcf-b7cxl  1/1   Running 
   0  3h10.42.208.121   olc-bjng-1.novalocal
kube-system   monitoring-influxdb-56fdcd96b-j5lvv 1/1   Running 
   0  3h10.42.47.202olc-bjng-1.novalocal
kube-system   tiller-deploy-54bcc55dd5-9cnv8  1/1   Running 
   0  3h10.42.190.254   olc-bjng-1.novalocal
onap  dep-config-binding-service-56fbdb8b8d-k7g72 2/2   Running 
   0  1h10.42.127.94olc-bjng-2.novalocal
onap  dep-dcae-tca-analytics-84d9b7f897-7c9cj 2/2   Running 
   0  1h10.42.120.135   olc-bjng-3.novalocal
onap  dep-dcae-ves-collector-7fc9767d6d-mlb6h 2/2   Running 
   0  1h10.42.85.48 olc-bjng-2.novalocal
onap  dep-deployment-handler-559bd74b5-n5sqf  2/2   Running 
   0  1h10.42.144.33olc-bjng-3.novalocal
onap  dep-holmes-engine-mgmt-7989c76c54-lblc5 1/1   Running 
   0  1h10.42.83.15 olc-bjng-3.novalocal
onap  dep-holmes-rule-mgmt-5bbfd7f8c9-jpgq6   1/1   Running 
   0  1h10.42.10.1  olc-bjng-1.novalocal
onap  dep-inventory-54f479c584-9jw5s  1/1   Running 
   0  1h10.42.13.229olc-bjng-1.novalocal
onap  dep-policy-handler-59774b57c-d52pp  2/2   Running 
   0  1h10.42.35.31 olc-bjng-3.novalocal
onap  dep-pstg-write-787c4bb65b-hfpjq 1/1   Running 
   0  1h10.42.0.255 olc-bjng-2.novalocal
onap  dep-service-change-handler-5d449b4c9d-7k8dq 1/1   Running 
   8  1h10.42.240.48olc-bjng-2.novalocal
onap  onap-aaf-cm-7d9cfc9db9-vxktc1/1   Running 
   0  3h10.42.101.126   olc-bjng-2.novalocal
onap  onap-aaf-cs-6684b45df5-5tcwr1/1   Running 
   0  3h10.42.134.180   olc-bjng-2.novalocal
onap  onap-aaf-fs-6c8ffb65c5-lqk7v1/1   Running 
   0  3h10.42.241.42olc-bjng-3.novalocal
onap  onap-aaf-gui-748f4d9fd4-c654r   1/1   Running 
   0  3h10.42.117.210   olc-bjng-3.novalocal
onap  onap-aaf-hello-5589f-4sp7z  1/1   Running 
   0  3h10.42.134.200   olc-bjng-2.novalocal
onap  onap-aaf-locate-5d44f6679f-7vwbp1/1   Running 
   0  3h10.42.69.129olc-bjng-3.novalocal
onap  onap-aaf-oauth-768664598-9mm7b  1/1   Running 
   0  3h10.42.118.30olc-bjng-2.novalocal
onap  onap-aaf-service-69b6f5b6b6-tmcqq   1/1   Running 
   0  3h10.42.105.243   olc-bjng-3.novalocal
onap  onap-aaf-sms-6559d77ff8-67m2l   1/1   Running 
   2  3h10.42.210.190   olc-bjng-2.novalocal
onap  onap-aaf-sms-quorumclient-0 1/1   Running 
   0  3h10.42.220.100   olc-bjng-3.novalocal
onap  onap-aaf-sms-quorumclient-1 1/1   Running 
   0  3h10.42.181.199   olc-bjng-1.novalocal
onap  onap-aaf-sms-quorumclient-2 1/1   Running 
  

[onap-discuss] where is the rancher setup script and cd.sh sripts

2018-05-23 Thread abdelmuhaimen.seaudi
Hi,

I see that the rancher setup script and cd.sh scripts are no longer on JIRA 
LOG-325 and LOG-326.

Where can I download the latest versions of the scripts ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] Amsterdam Portal issue

2018-05-22 Thread abdelmuhaimen.seaudi
Hi Vivek, this is a heat installation of Amsterdam, does heat installation have 
/dockerdata-nfs/onap folder ?

I did nothing, I found that the output of “docker ps” is saying that the 
running containers were created 2 days ago, and that’s when I deduced that the 
VM rebooted.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: Vivekanandan Muthukrishnan [mailto:vmuthukrish...@aarnanetworks.com]
Sent: Tuesday, May 22, 2018 8:50 AM
To: SEAUDI Abdelmuhaimen OBS/CSO
Cc: onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] Amsterdam Portal issue

Hi Seaudi,

Could you give me more information, all ONAP container persistent data files 
are stored under /dockerdata-nfs/onap folder. We should get all the data back 
when you reboot the server.

I am not quite sure what you did, i hope the ONAP VM/server IP did not change 
when you restarted the host.

Let me know the steps that you performed after rebooting the ONAP VM/server.


Regards
Vivek

On Mon, May 21, 2018 at 7:26 PM, 
> wrote:
Hi,

I had a working application onboarded on ONAP Amsterdam Portal.

I had an issue with my cloud provide, and the Portal VM rebooted.

I found all the portal dockers up, and I could access the portal, but I found 
that all the onboarded applications and all the users and roles were deleted, 
as if the portal was reset.

Is there an exaplanation why the portal lost all the applications and users 
when the vm was rebooted ? Is there a way to retrieve ?

Thanks

A. Seaudi

_



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.

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


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] Amsterdam Portal issue

2018-05-21 Thread abdelmuhaimen.seaudi
Hi,

I had a working application onboarded on ONAP Amsterdam Portal.

I had an issue with my cloud provide, and the Portal VM rebooted.

I found all the portal dockers up, and I could access the portal, but I found 
that all the onboarded applications and all the users and roles were deleted, 
as if the portal was reset.

Is there an exaplanation why the portal lost all the applications and users 
when the vm was rebooted ? Is there a way to retrieve ?

Thanks

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] OOM Beijing CPU utilization

2018-05-17 Thread abdelmuhaimen.seaudi
Hi,
I have a running OOM ONAP Beijing deployment on 2 nodes.

After a few days running OK, i noticed around 100% CPU on all 16 vCPUs on the 
1st node.

I see a process nodejs running with 815% CPU as shown below.

What is this process doing ?

I checked for mining, and there's none, and I have port 10250 blocked, I don't 
see any suspicious processes.

I had to kill the nodejs process in order to regain interactivity with my onap 
deployment.

Thanks.

root@olc-oom-bjng:~# top
top - 22:58:14 up 13 days,  1:28,  1 user,  load average: 53.66, 49.26, 48.69
Tasks: 1181 total,   1 running, 1175 sleeping,   0 stopped,   5 zombie
%Cpu(s): 84.0 us, 14.9 sy,  0.1 ni,  0.4 id,  0.0 wa,  0.0 hi,  0.2 si,  0.3 st
KiB Mem : 10474657+total,  1037308 free, 8839 used, 15319272 buff/cache
KiB Swap:0 total,0 free,0 used. 14242952 avail Mem

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
20119 root  20   0 1431420  65876   1124 S 815.4  0.1  34465:04 nodjs -c 
/bin/config.json


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] How to backup AAI database records

2018-05-17 Thread abdelmuhaimen.seaudi
Hi,

I faced an issue with my cloud provider, and I found the AAI dockers were down.

I spent some time resuming the services, but I had a concern about the data 
already saved in AAI graph database.

To minimize data loss risk, what is the correct process to make a backup copy 
of the AAI data records ? is there a way to export all records to a file ?

Thanks

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] OOM Beijing

2018-05-06 Thread abdelmuhaimen.seaudi
Hi, i got it, it's cloudify that will spin up the TCA component.

I will check further the progress in cloudify logs.

2018-05-05 03:25:32,337 [549939a6-beac-4a52-99fb-01fa7bc93aa3] INFO: Deploying 
s9687eae2b755408282edb6af063f9b99-dcaegen2-analytics-tca, image: 
nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.0.0,
 env: {'CONSUL_HOST': u'consul-server.onap', u'DMAAPSUBTOPIC': 
u'unauthenticated.SEC_MEASUREMENT_OUTPUT', u'AAIHOST': 
u'aai.onap.svc.cluster.local', u'CONSUL_PORT': u'8500', 
'CONFIG_BINDING_SERVICE': u'config_binding_service', u'CBS_HOST': 
u'config-binding-service', u'DMAAPPORT': u'3904', 'SERVICE_TAGS': 'tca', 
u'CBS_PORT': u'1', u'DMAAPHOST': u'message-router.onap', u'DMAAPPUBTOPIC': 
u'unauthenticated.DCAE_CL_OUTPUT', u'AAIPORT': u'8443'}, kwargs: {'envs': 
{u'CONSUL_HOST': u'consul-server.onap', u'DMAAPSUBTOPIC': 
u'unauthenticated.SEC_MEASUREMENT_OUTPUT', u'AAIHOST': 
u'aai.onap.svc.cluster.local', u'CONFIG_BINDING_SERVICE': 
u'config_binding_service', u'CBS_HOST': u'config-binding-service', 
u'DMAAPPORT': u'3904', 'SERVICE_TAGS': 'tca', u'CBS_PORT': u'1', 
u'DMAAPHOST': u'message-router.onap', u'CONSUL_PORT': u'8500', 
u'DMAAPPUBTOPIC': u'unauthenticated.DCAE_CL_OUTPUT', u'AAIPORT': u'8443'}, 
'log_info': {u'log_directory': u'/opt/app/TCAnalytics/logs'}, 'labels': 
{'cfydeployment': u'tca', 'cfynodeinstance': u'tca_k8s_0us7db', 'cfynode': 
u'tca_k8s'}, 'ports': [u'11011:32010'], 'volumes': []}From: 
onap-discuss-boun...@lists.onap.org [onap-discuss-boun...@lists.onap.org] on 
behalf of abdelmuhaimen.sea...@orange.com [abdelmuhaimen.sea...@orange.com]
Sent: Sunday, May 06, 2018 3:10 PM
To: FREEMAN, BRIAN D; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] OOM Beijing

Hi,

I noticed that the TCA-CDAP and VES components are commented out in 
oom/kubernetes/dcaegen2/charts/dcae-bootstrap/values.yaml:
#  tca: 
nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tca-cdap-container.tca-cdap-container:1.0.0
#  ves: 
nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.1-latest


What is the reason for that ?

If I comment out those lines, how can i deploy the new components in OOM 
Beijing ?

Thanks

A. Seaudi


From: FREEMAN, BRIAN D [bf1...@att.com]
Sent: Saturday, May 05, 2018 5:01 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: RE: OOM Beijing

Update your vm_properties.py in the robot helm charts and do a make robot, make 
onap, helm upgrade etc

https://gerrit.onap.org/r/#/c/44399/


the DMaaP issue is a bigger issue for you. OOF is for homing assignments for 
VNFs and the OOM config changes havent been merged yet.
The error simply means the variable hasn’t been defined in the OOM version of 
vm_properties.py. The HEAT install based version handles the creation/update of 
vm_properties.py differently since IP addresses can be used in the HEAT install 
but the K8 install needs the internal K8 service names.

Brain


From: onap-discuss-boun...@lists.onap.org  
On Behalf Of abdelmuhaimen.sea...@orange.com
Sent: Saturday, May 05, 2018 9:18 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] OOM Beijing

Hi,

I was trying to study CDAP/DCAE using OOM Amsterdam, but i faced some issues, 
and i read in a recent mail on the mailgroup that this method is not supported, 
and that the supported method now in Beijing is to have DCAE containerized, 
instead of the Heat deployment from OOM Amsterdam.

I finished the installation of OOM Beijing, and after I tried the etehealth 
robot script it gave the following output.

Is this normal, what does the OOF_HOMING_ENDPOINT error mean ?

Also what is the error for NBI mean ?

Do I need to update the kube2msb token like Amsterdam release, or is this no 
longer needed ?




root@olc-oom-bjng:~/oom/kubernetes/robot# ./ete-k8s.sh onap health
Starting Xvfb on display :88 with res 1280x1024x24
Executing robot tests at log level TRACE
==
OpenECOMP ETE
==
OpenECOMP ETE.Robot
==
OpenECOMP ETE.Robot.Testsuites
==
[ ERROR ] Error in file 
'/var/opt/OpenECOMP_ETE/robot/resources/oof_interface.robot': Setting variable 
'${OOF_HOMING_ENDPOINT}' failed: Variable '${GLOBAL_OOF_SERVER_PROTOCOL}' not 
found. Did you mean:
${GLOBAL_MSO_SERVER_PROTOCOL}
${GLOBAL_LOG_SERVER_PROTOCOL}
${GLOBAL_MR_SERVER_PROTOCOL}
${GLOBAL_VID_SERVER_PROTOCOL}
${GLOBAL_NBI_SERVER_PROTOCOL}
${GLOBAL_MSB_SERVER_PROTOCOL}
${GLOBAL_CLI_SERVER_PROTOCOL}
${GLOBAL_AAI_SERVER_PROTOCOL}
${GLOBAL_VNFSDK_SERVER_PROTOCOL}
${GLOBAL_PORTAL_SERVER_PROTOCOL}
[ ERROR ] Error in file 

Re: [onap-discuss] OOM Beijing

2018-05-06 Thread abdelmuhaimen.seaudi
Hi,

I noticed that the TCA-CDAP and VES components are commented out in 
oom/kubernetes/dcaegen2/charts/dcae-bootstrap/values.yaml:
#  tca: 
nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tca-cdap-container.tca-cdap-container:1.0.0
#  ves: 
nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.1-latest


What is the reason for that ?

If I comment out those lines, how can i deploy the new components in OOM 
Beijing ?

Thanks

A. Seaudi


From: FREEMAN, BRIAN D [bf1...@att.com]
Sent: Saturday, May 05, 2018 5:01 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: RE: OOM Beijing

Update your vm_properties.py in the robot helm charts and do a make robot, make 
onap, helm upgrade etc

https://gerrit.onap.org/r/#/c/44399/


the DMaaP issue is a bigger issue for you. OOF is for homing assignments for 
VNFs and the OOM config changes havent been merged yet.
The error simply means the variable hasn’t been defined in the OOM version of 
vm_properties.py. The HEAT install based version handles the creation/update of 
vm_properties.py differently since IP addresses can be used in the HEAT install 
but the K8 install needs the internal K8 service names.

Brain


From: onap-discuss-boun...@lists.onap.org  
On Behalf Of abdelmuhaimen.sea...@orange.com
Sent: Saturday, May 05, 2018 9:18 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] OOM Beijing

Hi,

I was trying to study CDAP/DCAE using OOM Amsterdam, but i faced some issues, 
and i read in a recent mail on the mailgroup that this method is not supported, 
and that the supported method now in Beijing is to have DCAE containerized, 
instead of the Heat deployment from OOM Amsterdam.

I finished the installation of OOM Beijing, and after I tried the etehealth 
robot script it gave the following output.

Is this normal, what does the OOF_HOMING_ENDPOINT error mean ?

Also what is the error for NBI mean ?

Do I need to update the kube2msb token like Amsterdam release, or is this no 
longer needed ?




root@olc-oom-bjng:~/oom/kubernetes/robot# ./ete-k8s.sh onap health
Starting Xvfb on display :88 with res 1280x1024x24
Executing robot tests at log level TRACE
==
OpenECOMP ETE
==
OpenECOMP ETE.Robot
==
OpenECOMP ETE.Robot.Testsuites
==
[ ERROR ] Error in file 
'/var/opt/OpenECOMP_ETE/robot/resources/oof_interface.robot': Setting variable 
'${OOF_HOMING_ENDPOINT}' failed: Variable '${GLOBAL_OOF_SERVER_PROTOCOL}' not 
found. Did you mean:
${GLOBAL_MSO_SERVER_PROTOCOL}
${GLOBAL_LOG_SERVER_PROTOCOL}
${GLOBAL_MR_SERVER_PROTOCOL}
${GLOBAL_VID_SERVER_PROTOCOL}
${GLOBAL_NBI_SERVER_PROTOCOL}
${GLOBAL_MSB_SERVER_PROTOCOL}
${GLOBAL_CLI_SERVER_PROTOCOL}
${GLOBAL_AAI_SERVER_PROTOCOL}
${GLOBAL_VNFSDK_SERVER_PROTOCOL}
${GLOBAL_PORTAL_SERVER_PROTOCOL}
[ ERROR ] Error in file 
'/var/opt/OpenECOMP_ETE/robot/resources/oof_interface.robot': Setting variable 
'${OOF_SNIRO_ENDPOINT}' failed: Variable '${GLOBAL_OOF_SERVER_PROTOCOL}' not 
found. Did you mean:
${GLOBAL_MSO_SERVER_PROTOCOL}
${GLOBAL_LOG_SERVER_PROTOCOL}
${GLOBAL_MR_SERVER_PROTOCOL}
${GLOBAL_VID_SERVER_PROTOCOL}
${GLOBAL_NBI_SERVER_PROTOCOL}
${GLOBAL_MSB_SERVER_PROTOCOL}
${GLOBAL_CLI_SERVER_PROTOCOL}
${GLOBAL_AAI_SERVER_PROTOCOL}
${GLOBAL_VNFSDK_SERVER_PROTOCOL}
${GLOBAL_PORTAL_SERVER_PROTOCOL}
OpenECOMP ETE.Robot.Testsuites.Health-Check :: Testing ecomp components are...
==
Basic A Health Check   | PASS |
--
Basic AAF Health Check[ WARN ] 
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) 
after connection broken by 
'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or 
service not known',)': 
/authz/perms/user/d...@openecomp.org
[ WARN ] Retrying (Retry(total=1, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or 
service not known',)': 
/authz/perms/user/d...@openecomp.org
[ WARN ] Retrying (Retry(total=0, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or 
service not known',)': 

[onap-discuss] OOM Beijing

2018-05-05 Thread abdelmuhaimen.seaudi
Hi,

I was trying to study CDAP/DCAE using OOM Amsterdam, but i faced some issues, 
and i read in a recent mail on the mailgroup that this method is not supported, 
and that the supported method now in Beijing is to have DCAE containerized, 
instead of the Heat deployment from OOM Amsterdam.

I finished the installation of OOM Beijing, and after I tried the etehealth 
robot script it gave the following output.

Is this normal, what does the OOF_HOMING_ENDPOINT error mean ?

Also what is the error for NBI mean ?

Do I need to update the kube2msb token like Amsterdam release, or is this no 
longer needed ?




root@olc-oom-bjng:~/oom/kubernetes/robot# ./ete-k8s.sh onap health
Starting Xvfb on display :88 with res 1280x1024x24
Executing robot tests at log level TRACE
==
OpenECOMP ETE
==
OpenECOMP ETE.Robot
==
OpenECOMP ETE.Robot.Testsuites
==
[ ERROR ] Error in file 
'/var/opt/OpenECOMP_ETE/robot/resources/oof_interface.robot': Setting variable 
'${OOF_HOMING_ENDPOINT}' failed: Variable '${GLOBAL_OOF_SERVER_PROTOCOL}' not 
found. Did you mean:
${GLOBAL_MSO_SERVER_PROTOCOL}
${GLOBAL_LOG_SERVER_PROTOCOL}
${GLOBAL_MR_SERVER_PROTOCOL}
${GLOBAL_VID_SERVER_PROTOCOL}
${GLOBAL_NBI_SERVER_PROTOCOL}
${GLOBAL_MSB_SERVER_PROTOCOL}
${GLOBAL_CLI_SERVER_PROTOCOL}
${GLOBAL_AAI_SERVER_PROTOCOL}
${GLOBAL_VNFSDK_SERVER_PROTOCOL}
${GLOBAL_PORTAL_SERVER_PROTOCOL}
[ ERROR ] Error in file 
'/var/opt/OpenECOMP_ETE/robot/resources/oof_interface.robot': Setting variable 
'${OOF_SNIRO_ENDPOINT}' failed: Variable '${GLOBAL_OOF_SERVER_PROTOCOL}' not 
found. Did you mean:
${GLOBAL_MSO_SERVER_PROTOCOL}
${GLOBAL_LOG_SERVER_PROTOCOL}
${GLOBAL_MR_SERVER_PROTOCOL}
${GLOBAL_VID_SERVER_PROTOCOL}
${GLOBAL_NBI_SERVER_PROTOCOL}
${GLOBAL_MSB_SERVER_PROTOCOL}
${GLOBAL_CLI_SERVER_PROTOCOL}
${GLOBAL_AAI_SERVER_PROTOCOL}
${GLOBAL_VNFSDK_SERVER_PROTOCOL}
${GLOBAL_PORTAL_SERVER_PROTOCOL}
OpenECOMP ETE.Robot.Testsuites.Health-Check :: Testing ecomp components are...
==
Basic A Health Check   | PASS |
--
Basic AAF Health Check[ WARN ] 
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) 
after connection broken by 
'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or 
service not known',)': /authz/perms/user/d...@openecomp.org
[ WARN ] Retrying (Retry(total=1, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or 
service not known',)': /authz/perms/user/d...@openecomp.org
[ WARN ] Retrying (Retry(total=0, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or 
service not known',)': /authz/perms/user/d...@openecomp.org
| FAIL |
ConnectionError: HTTPConnectionPool(host='aaf.onap', port=8101): Max retries 
exceeded with url: /authz/perms/user/d...@openecomp.org (Caused by 
NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or 
service not known',))
--
Basic APPC Health Check   | PASS |
--
Basic CLI Health Check| PASS |
--
Basic CLAMP Health Check  | PASS |
--
Basic DCAE Health Check   | PASS |
--
Basic DMAAP Message Router Health Check   | PASS |
--
[ WARN ] Retrying (Retry(total=2, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or 
service not known',)': /nbi/api/v1/status
Basic External API NBI Health Check   [ WARN ] 
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) 
after connection broken by 
'NewConnectionError(': Failed 

Re: [onap-discuss] OOM K8S with DCAE

2018-04-25 Thread abdelmuhaimen.seaudi
Hi,

I was able to resolve the loadbalancer issue, actually it was related to an old 
OOM instance that did not completely remove the old LoadBalancer in Rancher, 
and the old Loadbalancer prevented the new OOM from activiating a new 
Loadbalancer.

I removed the old Loadbalancer in Rancher, and the new OOM dcagen2 service 
loadbalancer activated OK.

More info on Loadbalancer from Rancher here: 
https://rancher.com/docs/rancher/latest/en/cattle/adding-load-balancers/

root@olc-k8s:~# kubectl describe service dcaegen2 --namespace onap-dcaegen2
Name:   dcaegen2
Namespace:  onap-dcaegen2
Labels: app=nginx
Annotations:
Selector:   app=nginx
Type:   LoadBalancer
IP: 10.43.173.228
LoadBalancer Ingress:   84.39.51.47, 84.39.51.47, 84.39.51.47, 84.39.51.47, 
84.39.51.47, 84.39.51.47
Port:   aai-service 8443/TCP
NodePort:   aai-service 30600/TCP
Endpoints:  10.42.146.225:8443
Port:   dmaap   3904/TCP
NodePort:   dmaap   30601/TCP
Endpoints:  10.42.146.225:3904
Port:   sdc-be  8443/TCP
NodePort:   sdc-be  30602/TCP
Endpoints:  10.42.146.225:8443
Port:   pdp 8081/TCP
NodePort:   pdp 30603/TCP
Endpoints:  10.42.146.225:8081
Port:   msbapigw80/TCP
NodePort:   msbapigw30604/TCP
Endpoints:  10.42.146.225:80
Port:   multicloud-tinanium 9005/TCP
NodePort:   multicloud-tinanium 30605/TCP
Endpoints:  10.42.146.225:9005
Session Affinity:   None
Events: 
root@olc-k8s:~#

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Monday, April 23, 2018 10:38 AM
To: onap-discuss@lists.onap.org
Subject: RE: OOM K8S with DCAE

Hi,

After going through this: 
https://docs.openstack.org/magnum/ocata/dev/kubernetes-load-balancer.html

It seems that K8S Loadbalancer should interface with Openstack (my current 
cloud) LBaaS service, to complete the creation of the Loadbalancer, so that’s 
why it cannot allocate public endpoints and cannot activate the Loadbalancer 
for nginx container.

However, I noticed that if I call the nginex exposed ports, the services 
respond, so I am trying to get past this point.

Now, I am receiving the following error when DCAE bootstrap VM tries to 
register with MultiCloud, I see that the dcae_vm_int.sh script could not get 
the correct token from MultiCloud.

===> Waiting for MultiCloud to get ready for getting 200 from 
http://vm1.openo.VyK5.simpledemo.onap.org:9005/api/multicloud-titanium_cloud/v0/swagger.json
 @ Mon Apr 23 07:03:22 UTC 2018
RESP CODE 200, matches with expected RESP CODE 200.
===> MultiCloud ready @ Mon Apr 23 07:03:22 UTC 2018
===> Register DNS zone VyK5.dcaeg2.onap.org. under admin
=> Getting token from 
http://vm1.openo.VyK5.simpledemo.onap.org/api/multicloud-titanium_cloud/v0/pod25_fr1/identity/v3/auth/tokens
Received Keystone token tmp_auth_token}, from 
http://vm1.openo.VyK5.simpledemo.onap.org/api/multicloud-titanium_cloud/v0/pod25_fr1/identity/v3/auth/tokens
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 80 (#0)
> GET 
> /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones?name=VyK5.dcaeg2.onap.org.
>  HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> X-Auth-Token: tmp_auth_token},
>
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:03:22 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
{ [69 bytes data]
* Connection #0 to host vm1.openo.VyK5.simpledemo.onap.org left intact
=> No zone of same name VyK5.dcaeg2.onap.org. found, creating new zone
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 80 (#0)
> POST /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones 
> HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> X-Auth-Token: tmp_auth_token},
> Content-Length: 67
>
* upload completely sent off: 67 out of 67 bytes
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:03:22 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
* Connection #0 to host vm1.openo.VyK5.simpledemo.onap.org left intact
{"detail":"Authentication credentials were not provided."}=> Zone listing
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 80 

[onap-discuss] dcae-bootstrap vm cannot get token from openstack v2.0

2018-04-25 Thread abdelmuhaimen.seaudi
Hi,

I have ONAP on K8S up and running, the dcae-bootstrap VM up.

However, the script dcae_vm_init.sh cannot get a token from my Openstack v2.0 
api, and the srcipt exits.

If I try to get the token manually from my Openstack v2.0, I can get the token 
OK, as you can see below.

I also show below the registration done by the script in AAI, I noticed that 
the script used to add "v3" to my identity URL, which is wrong, so i changed 
this value to be correct "v2.0", but still the script cannot get the token.

I tried looking into the MSB-IAG container logs, but it only shows the GET 
request, and i don't see the response from my openstack, and since it's SSL, i 
cannot use wireshark to see the response from openstack.

How can i troubleshoot this issue, to see the HTTP TOKEN request and response 
between MSB and Openstack v2.0 ?

Also, why do we need to get the token via multicloud, if my DCAE vm and OOM are 
on the same tenant, using the same keystone ? do we need the multicloud proxy 
here ?


This is a manual GET TOKEN request:

root@dcae-dcae-bootstrap:/opt# curl -v -H 'Content-Type: application/json' -X 
POST -d 
'{"auth":{"passwordCredentials":{"username":"abdelmuhaimen.sea...@orange.com","password":""},"tenantName":
 "0750179787_ITNSchool"}}}' https://identity.fr1.cloudwatt.com/v2.0/tokens
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying 185.23.94.20...
* Connected to identity.fr1.cloudwatt.com (185.23.94.20) port 443 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 592 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
*server certificate verification OK
*server certificate status verification SKIPPED
*common name: *.fr1.cloudwatt.com (matched)
*server certificate expiration date OK
*server certificate activation date OK
*certificate public key: RSA
*certificate version: #3
*subject: C=FR,L=Paris,O=Orange,OU=Orange Cloud for 
Business,CN=*.fr1.cloudwatt.com
*start date: Mon, 12 Feb 2018 00:00:00 GMT
*expire date: Fri, 16 Nov 2018 12:00:00 GMT
*issuer: C=US,O=DigiCert Inc,CN=DigiCert Global CA G2
*compression: NULL
* ALPN, server did not agree to a protocol
> POST /v2.0/tokens HTTP/1.1
> Host: identity.fr1.cloudwatt.com
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 143
>
* upload completely sent off: 143 out of 143 bytes
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
< Cache-Control: no-cache
< Server: Jetty (horse API)
< Content-Length: 7319
< Strict-Transport-Security: max-age=55779513; includeSubDomains
<
{"access":{"token":{"id":"gABa4D83is432vt2OSzjl_ej6WVVKiCFASVNfTl-M-
...


This is the GET TOKEN request from dcae_vm_init.sh using multicloud proxy:

root@dcae-dcae-bootstrap:/opt# curl -v -H 'Content-Type: application/json' -X 
POST -d '{"auth":{"tenantName": "0750179787_ITNSchool"}}' 
http://vm1.openo.7Ho5.simpledemo.onap.org/api/multicloud-titanium_cloud/v0/pod25_fr1/identity/v3/auth/tokens
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying 84.39.51.47...
* Connected to vm1.openo.7Ho5.simpledemo.onap.org (84.39.51.47) port 80 (#0)
> POST /api/multicloud-titanium_cloud/v0/pod25_fr1/identity/v3/auth/tokens 
> HTTP/1.1
> Host: vm1.openo.7Ho5.simpledemo.onap.org
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 47
>
* upload completely sent off: 47 out of 47 bytes
< HTTP/1.1 500 Internal Server Error
< Server: nginx/1.12.2
< Date: Wed, 25 Apr 2018 08:35:06 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, HEAD, OPTIONS
<
* Connection #0 to host vm1.openo.7Ho5.simpledemo.onap.org left intact
{"error":"'token'"}


This is the cloud region registration in AAI:

root@dcae-dcae-bootstrap:/opt# curl -k -X GET -H "X-FromAppId: AAI-Temp-Tool" 
-H "X-TransactionId: AAI-Temp-Tool"" -H "Content-Type: application/json" -H 
"Accept: application/json" -u AAI:AAI 
https://vm1.aai.7Ho5.simpledemo.onap.org:8443/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/pod25/fr1?depth=all
 | json_pp
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100  1350  100  13500 0   5702  0 --:--:-- --:--:-- --:--:--  5720
{
   "owner-defined-type" : "owner-defined-type",
   "esr-system-info-list" : {
  "esr-system-info" : [
 {
"password" : "",
"cloud-domain" : "default",
"system-type" : "VIM",
"ssl-insecure" : true,
"type" : "example-type-val-85254",
"service-url" : "https://identity.fr1.cloudwatt.com/v2.0;,
"ip-address" : 

Re: [onap-discuss] OOM K8S with DCAE

2018-04-23 Thread abdelmuhaimen.seaudi
Hi,

I also tried to correct the multicloud port in the dcae_vm_init.sh script to be 
9005, but I get the following errors

===> Waiting for MultiCloud to get ready for getting 200 from 
http://vm1.openo.VyK5.simpledemo.onap.org:9005/api/multicloud-titanium_cloud/v0/swagger.json
 @ Mon Apr 23 07:10:15 UTC 2018
RESP CODE 200, matches with expected RESP CODE 200.
===> MultiCloud ready @ Mon Apr 23 07:10:15 UTC 2018
===> Register DNS zone VyK5.dcaeg2.onap.org. under admin
=> Getting token from 
http://vm1.openo.VyK5.simpledemo.onap.org:9005/api/multicloud-titanium_cloud/v0/pod25_fr1/identity/v3/auth/tokens
Received Keystone token tmp_auth_token}, from 
http://vm1.openo.VyK5.simpledemo.onap.org:9005/api/multicloud-titanium_cloud/v0/pod25_fr1/identity/v3/auth/tokens
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 9005 (#0)
> GET 
> /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones?name=VyK5.dcaeg2.onap.org.
>  HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org:9005
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> X-Auth-Token: tmp_auth_token},
>
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:10:16 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
{ [69 bytes data]
* Connection #0 to host vm1.openo.VyK5.simpledemo.onap.org left intact
=> No zone of same name VyK5.dcaeg2.onap.org. found, creating new zone
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 9005 (#0)
> POST /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones 
> HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org:9005
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> X-Auth-Token: tmp_auth_token},
> Content-Length: 67
>
* upload completely sent off: 67 out of 67 bytes
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:10:16 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
* Connection #0 to host vm1.openo.VyK5.simpledemo.onap.org left intact
{"detail":"Authentication credentials were not provided."}=> Zone listing
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 9005 (#0)
> GET /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org:9005
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> X-Auth-Token: tmp_auth_token},
>
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:10:16 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
{ [69 bytes data]
* Connection #0 to host vm1.openo.VyK5.simpledemo.onap.org left intact
{
"detail": "Authentication credentials were not provided."
}
* Could not resolve host: Content-Type
* Closing connection 0
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 9005 (#1)
> GET 
> /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones?name=VyK5.dcaeg2.onap.org.
>  HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org:9005
> User-Agent: curl/7.47.0
> Accept: */*
> X-Auth-Token: tmp_auth_token},
>
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:10:16 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
{ [69 bytes data]
* Connection #1 to host vm1.openo.VyK5.simpledemo.onap.org left intact
=> After creation, zone VyK5.dcaeg2.onap.org. ID is 
{"detail":"Authentication credentials were not provided."}
Registration and configuration for proxying DNSaaS completed.


Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of 
abdelmuhaimen.sea...@orange.com
Sent: Monday, April 23, 2018 10:39 AM
To: onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] OOM K8S with DCAE

Hi,

After going through this: 
https://docs.openstack.org/magnum/ocata/dev/kubernetes-load-balancer.html

It seems that K8S Loadbalancer should interface with Openstack (my current 
cloud) LBaaS service, to complete the creation of the Loadbalancer, so that's 
why it cannot allocate public endpoints and cannot activate the Loadbalancer 
for nginx container.

However, I noticed that if I call the nginex exposed ports, the services 
respond, so I am 

Re: [onap-discuss] OOM K8S with DCAE

2018-04-23 Thread abdelmuhaimen.seaudi
Hi,

After going through this: 
https://docs.openstack.org/magnum/ocata/dev/kubernetes-load-balancer.html

It seems that K8S Loadbalancer should interface with Openstack (my current 
cloud) LBaaS service, to complete the creation of the Loadbalancer, so that's 
why it cannot allocate public endpoints and cannot activate the Loadbalancer 
for nginx container.

However, I noticed that if I call the nginex exposed ports, the services 
respond, so I am trying to get past this point.

Now, I am receiving the following error when DCAE bootstrap VM tries to 
register with MultiCloud, I see that the dcae_vm_int.sh script could not get 
the correct token from MultiCloud.

===> Waiting for MultiCloud to get ready for getting 200 from 
http://vm1.openo.VyK5.simpledemo.onap.org:9005/api/multicloud-titanium_cloud/v0/swagger.json
 @ Mon Apr 23 07:03:22 UTC 2018
RESP CODE 200, matches with expected RESP CODE 200.
===> MultiCloud ready @ Mon Apr 23 07:03:22 UTC 2018
===> Register DNS zone VyK5.dcaeg2.onap.org. under admin
=> Getting token from 
http://vm1.openo.VyK5.simpledemo.onap.org/api/multicloud-titanium_cloud/v0/pod25_fr1/identity/v3/auth/tokens
Received Keystone token tmp_auth_token}, from 
http://vm1.openo.VyK5.simpledemo.onap.org/api/multicloud-titanium_cloud/v0/pod25_fr1/identity/v3/auth/tokens
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 80 (#0)
> GET 
> /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones?name=VyK5.dcaeg2.onap.org.
>  HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> X-Auth-Token: tmp_auth_token},
>
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:03:22 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
{ [69 bytes data]
* Connection #0 to host vm1.openo.VyK5.simpledemo.onap.org left intact
=> No zone of same name VyK5.dcaeg2.onap.org. found, creating new zone
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 80 (#0)
> POST /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones 
> HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> X-Auth-Token: tmp_auth_token},
> Content-Length: 67
>
* upload completely sent off: 67 out of 67 bytes
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:03:22 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
* Connection #0 to host vm1.openo.VyK5.simpledemo.onap.org left intact
{"detail":"Authentication credentials were not provided."}=> Zone listing
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 80 (#0)
> GET /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/json
> X-Auth-Token: tmp_auth_token},
>
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:03:22 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
{ [69 bytes data]
* Connection #0 to host vm1.openo.VyK5.simpledemo.onap.org left intact
{
"detail": "Authentication credentials were not provided."
}
* Could not resolve host: Content-Type
* Closing connection 0
*   Trying 84.39.51.47...
* Connected to vm1.openo.VyK5.simpledemo.onap.org (84.39.51.47) port 80 (#1)
> GET 
> /api/multicloud-titanium_cloud/v0/pod25_fr1/dns-delegate/v2/zones?name=VyK5.dcaeg2.onap.org.
>  HTTP/1.1
> Host: vm1.openo.VyK5.simpledemo.onap.org
> User-Agent: curl/7.47.0
> Accept: */*
> X-Auth-Token: tmp_auth_token},
>
< HTTP/1.1 403 Forbidden
< Server: nginx/1.12.2
< Date: Mon, 23 Apr 2018 07:03:23 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Cookie
< X-Frame-Options: SAMEORIGIN
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
<
{ [69 bytes data]
* Connection #1 to host vm1.openo.VyK5.simpledemo.onap.org left intact
=> After creation, zone VyK5.dcaeg2.onap.org. ID is 
{"detail":"Authentication credentials were not provided."}
Registration and configuration for proxying DNSaaS completed.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Sunday, April 22, 2018 11:03 AM
To: onap-discuss@lists.onap.org
Subject: OOM K8S with DCAE

Hi,

I have an OOM Amsterdam K8S instance up running, but can't get 

[onap-discuss] OOM K8S with DCAE

2018-04-22 Thread abdelmuhaimen.seaudi
Hi,

I have an OOM Amsterdam K8S instance up running, but can't get DCAE to run, I 
get the following error. Any clue what is wrong here ?

root@olc-k8s:~/oom/kubernetes/oneclick# kubectl describe service dcaegen2 
--namespace onap-dcaegen2
Name:   dcaegen2
Namespace:  onap-dcaegen2
Labels: app=nginx
Annotations:
Selector:   app=nginx
Type:   LoadBalancer
IP: 10.43.5.189
External IPs:   84.39.51.47
Port:   aai-service 8443/TCP
NodePort:   aai-service 30600/TCP
Endpoints:  10.42.236.229:8443
Port:   dmaap   3904/TCP
NodePort:   dmaap   30601/TCP
Endpoints:  10.42.236.229:3904
Port:   sdc-be  8443/TCP
NodePort:   sdc-be  30602/TCP
Endpoints:  10.42.236.229:8443
Port:   pdp 8081/TCP
NodePort:   pdp 30603/TCP
Endpoints:  10.42.236.229:8081
Port:   msbapigw80/TCP
NodePort:   msbapigw30604/TCP
Endpoints:  10.42.236.229:80
Port:   multicloud-tinanium 9005/TCP
NodePort:   multicloud-tinanium 30605/TCP
Endpoints:  10.42.236.229:9005
Session Affinity:   None
Events:
  FirstSeen LastSeenCount   FromSubObjectPath   
TypeReason  Message
  - -   -   
--  ---
  3m3m  1   service-controller  
Warning CreatingLoadBalancerFailed  Error creating load balancer 
(will retry): Failed to create load balancer for service 
onap-dcaegen2/dcaegen2: Error updating port rules for LB 
[lb-aa0a054b4460a11e89101027688d1e54]. Error: {StatusCode:409, 
Url:"http://84.39.51.47:8880/v2-beta/loadbalancerservices/1s619;, Msg:"Bad 
response statusCode [409]. Status [409 Conflict]. Body: [code=Conflict, 
baseType=error, message=Conflict] from 
[http://84.39.51.47:8880/v2-beta/loadbalancerservices/1s619];, Status:"409 
Conflict", Body:"code=Conflict, baseType=error, message=Conflict"}.
  2m2m  1   service-controller  
Warning CreatingLoadBalancerFailed  Error creating load balancer 
(will retry): Failed to create load balancer for service 
onap-dcaegen2/dcaegen2: Couldn't get publicEndpoints for LB 
lb-aa0a054b4460a11e89101027688d1e54
  1m1m  1   service-controller  
Warning CreatingLoadBalancerFailed  Error creating load balancer 
(will retry): Failed to create load balancer for service 
onap-dcaegen2/dcaegen2: Couldn't call activate on LB 
lb-aa0a054b4460a11e89101027688d1e54
  3m42s 4   service-controller  
Normal  CreatingLoadBalancerCreating load balancer

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] ONAP on Kubernetes

2018-04-14 Thread abdelmuhaimen.seaudi
Hi, I started with another clean vm, and now OOM is running fine.

However, I am interested to know why many pods return to "init" status after 
one or two days running.

Thanks

A. Seaudi

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Saturday, April 14, 2018 3:11 PM
To: Michael O'Brien; Roger Maitland; onap-discuss@lists.onap.org
Subject: RE: [onap-discuss] ONAP on Kubernetes

Hi,

I was able to clean my system and close down port 10250, and the cpu issue is 
now resolved.

However, after a day or 2 runnnig OOM, i find many of the pods are now in init 
status, and i need to "./deleteAll -n onap -a aai" for example, and 
"./createAll -n onap -a aai" again to resume the pods working.

I worked like that for a while, but now i am facing errors similar to below, 
and i cannot get the pods to run again.

onap-message-router   dmaap-3126594942-cfm9n 0/1   rpc 
error: code = 2 desc = failed to start container 
"74b8d5d04b693c432a4b21a03c272418451eccdc54305330d998bfee0d532a59
": Error response from daemon: {"message":"invalid header field value \"oci 
runtime error: container_linux.go:247: starting container process caused 
\\\"process_linux.go:359: container init
 caused \\\"rootfs_linux.go:53: mounting 
\\\"/dockerdata-nfs/onap/message-router/dmaap/cadi.properties\\\"
 to rootfs \\\"/var/lib/docker/aufs/mnt/737
6ab454562d2c60dccf7a0a24f3a14b7ee33461f50487b8da6e1b358f5511b\\\" 
at 
\\\"/var/lib/docker/aufs/mnt/7376ab454562d2c60dccf7a0a24f3a14b7ee33461f50487b8da6e1b358f5511b/ap
pl/dmaapMR1/etc/cadi.properties\\\" caused \\\"not a 
directory\\\"\\\"\\\"\\n\""}   3  1m

Any idea what this error means ?

I tried to use a clean vm and pulling 
https://jira.onap.org/secure/attachment/11421/oom_rancher_setup.sh and 
https://jira.onap.org/secure/attachment/11413/cd.sh but i get the same result.

Thanks

A. Seaudi

From: Michael O'Brien [frank.obr...@amdocs.com]
Sent: Monday, March 26, 2018 8:34 PM
To: Roger Maitland; SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: RE: [onap-discuss] ONAP on Kubernetes

Abdul,
  Hi, if you are at 95-100% constantly – that will not be ONAP – even on an 8 
vCore you will see a max of 50-90% - if you see 95-100 – then it is 
https://jira.onap.org/browse/OOM-806   - and if your network is public facing – 
as Roger says – lock down ports 10249-10255, do a “top” first, hit c and verify 
you are compromised.
  Use the port lockdown ACL in the Azure template as a guide below
https://gerrit.onap.org/r/#/c/33527/9/install/azure/arm_deploy_ons_sut.json

   For the full HD – you should be able to run for weeks  - I have a 120G drive.
   For reference amsterdam will not breach 64G – you should hover between 51 
and 55. – Beijing has this issue periodically because the odd container will 
consume 10G – we are working on limiting the profile for an individual 
container – out of the box each container thinks it has the whole VM.

   thank you
   /michael

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Roger Maitland
Sent: Monday, March 26, 2018 09:55
To: abdelmuhaimen.sea...@orange.com; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] ONAP on Kubernetes

I suspect you’ve come across two, possibly three, different issues:

  *   Memory leaks within the containers of (potentially) several projects:  
There already are several Jira bugs open against suspected memory leaks: 
SDC-1092, 
DCAEGEN2-198, 
PORTAL-211, and 
VID-196.  If you’ve found memory leaks 
outside of these components please raise a Jira bug against the appropriate 
project.  Note that stability is an important part of the Beijing release and 
many of the teams have reworked their components so hopefully the leaks have 
been addressed.  Please keep watch as the new code is made available.
  *   Likely log files are consuming all of the available storage.  Log 
rotation needs to be implemented across all of ONAP to ensure that the storage 
volumes aren’t consumed over time.  Again, if you can track the problem down to 
a specific component please raise a Jira bug.
  *   If your system is available to internet you may find that it is being 
used to mine bitcoin.  Unfortunately, some Kubernetes systems are being 
attacked this way so you’ll want to watch your system closely.  The ONAP team 
is working to address this issue.

Thank you for your observations – this is how we make ONAP production grade.

Cheers,
Roger

From: 
>
 on behalf of 
"abdelmuhaimen.sea...@orange.com>
Date: Saturday, March 24, 

Re: [onap-discuss] ONAP on Kubernetes

2018-04-14 Thread abdelmuhaimen.seaudi
Hi,

I was able to clean my system and close down port 10250, and the cpu issue is 
now resolved.

However, after a day or 2 runnnig OOM, i find many of the pods are now in init 
status, and i need to "./deleteAll -n onap -a aai" for example, and 
"./createAll -n onap -a aai" again to resume the pods working.

I worked like that for a while, but now i am facing errors similar to below, 
and i cannot get the pods to run again.

onap-message-router   dmaap-3126594942-cfm9n 0/1   rpc 
error: code = 2 desc = failed to start container 
"74b8d5d04b693c432a4b21a03c272418451eccdc54305330d998bfee0d532a59
": Error response from daemon: {"message":"invalid header field value \"oci 
runtime error: container_linux.go:247: starting container process caused 
\\\"process_linux.go:359: container init
 caused \\\"rootfs_linux.go:53: mounting 
\\\"/dockerdata-nfs/onap/message-router/dmaap/cadi.properties\\\"
 to rootfs \\\"/var/lib/docker/aufs/mnt/737
6ab454562d2c60dccf7a0a24f3a14b7ee33461f50487b8da6e1b358f5511b\\\" 
at 
\\\"/var/lib/docker/aufs/mnt/7376ab454562d2c60dccf7a0a24f3a14b7ee33461f50487b8da6e1b358f5511b/ap
pl/dmaapMR1/etc/cadi.properties\\\" caused \\\"not a 
directory\\\"\\\"\\\"\\n\""}   3  1m

Any idea what this error means ?

I tried to use a clean vm and pulling 
https://jira.onap.org/secure/attachment/11421/oom_rancher_setup.sh and 
https://jira.onap.org/secure/attachment/11413/cd.sh but i get the same result.

Thanks

A. Seaudi

From: Michael O'Brien [frank.obr...@amdocs.com]
Sent: Monday, March 26, 2018 8:34 PM
To: Roger Maitland; SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: RE: [onap-discuss] ONAP on Kubernetes

Abdul,
  Hi, if you are at 95-100% constantly – that will not be ONAP – even on an 8 
vCore you will see a max of 50-90% - if you see 95-100 – then it is 
https://jira.onap.org/browse/OOM-806   - and if your network is public facing – 
as Roger says – lock down ports 10249-10255, do a “top” first, hit c and verify 
you are compromised.
  Use the port lockdown ACL in the Azure template as a guide below
https://gerrit.onap.org/r/#/c/33527/9/install/azure/arm_deploy_ons_sut.json

   For the full HD – you should be able to run for weeks  - I have a 120G drive.
   For reference amsterdam will not breach 64G – you should hover between 51 
and 55. – Beijing has this issue periodically because the odd container will 
consume 10G – we are working on limiting the profile for an individual 
container – out of the box each container thinks it has the whole VM.

   thank you
   /michael

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Roger Maitland
Sent: Monday, March 26, 2018 09:55
To: abdelmuhaimen.sea...@orange.com; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] ONAP on Kubernetes

I suspect you’ve come across two, possibly three, different issues:

  *   Memory leaks within the containers of (potentially) several projects:  
There already are several Jira bugs open against suspected memory leaks: 
SDC-1092, 
DCAEGEN2-198, 
PORTAL-211, and 
VID-196.  If you’ve found memory leaks 
outside of these components please raise a Jira bug against the appropriate 
project.  Note that stability is an important part of the Beijing release and 
many of the teams have reworked their components so hopefully the leaks have 
been addressed.  Please keep watch as the new code is made available.
  *   Likely log files are consuming all of the available storage.  Log 
rotation needs to be implemented across all of ONAP to ensure that the storage 
volumes aren’t consumed over time.  Again, if you can track the problem down to 
a specific component please raise a Jira bug.
  *   If your system is available to internet you may find that it is being 
used to mine bitcoin.  Unfortunately, some Kubernetes systems are being 
attacked this way so you’ll want to watch your system closely.  The ONAP team 
is working to address this issue.

Thank you for your observations – this is how we make ONAP production grade.

Cheers,
Roger

From: 
>
 on behalf of 
"abdelmuhaimen.sea...@orange.com>
Date: Saturday, March 24, 2018 at 5:54 AM
To: "onap-discuss@lists.onap.org>
Subject: [onap-discuss] ONAP on Kubernetes

Hi,

I deploy a minimum ONAP Amsterdam on Kubernetes, using a 64 GB RAM + 8 vCPU or 
16 vCPU.

The starting RAM utilization is around 30--40 GB RAM.

After one or two days, all the cpu cores reach 100%, and i reboot the VM, to be 
able to have some responsive feedback.


[onap-discuss] ONAP on Kubernetes

2018-03-24 Thread abdelmuhaimen.seaudi
Hi,

I deploy a minimum ONAP Amsterdam on Kubernetes, using a 64 GB RAM + 8 vCPU or 
16 vCPU.

The starting RAM utilization is around 30--40 GB RAM.

After one or two days, all the cpu cores reach 100%, and i reboot the VM, to be 
able to have some responsive feedback.

Sometimes, the HDD is full, and i have to reset the VM and redploy from scratch.

What is the reason for saturating all the CPU cores, or the RAM ?

Is there something I can do to minimize this behaviour ? should I use the 
Master Branch instead of Amsterdam ?

Thanks.

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] Getting error while fetching data from A

2018-03-21 Thread abdelmuhaimen.seaudi
Hi.

Do you have customers created in AAI yet ?


Sent from Samsung Mobile.


 Original message 
From: Atul Shegokar
Date:21/03/2018 2:14 PM (GMT+02:00)
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] Getting error while fetching data from A

Hi All,

On VID of ONAP while clicking “ Search for Existing Service Instances” on this 
I am getting below error.

Can anyone please tell me Any pointer on this/where can I try for debugging to 
get this issue resolve?






[cid:_com_android_email_attachmentprovider_4_72456_RAW@sec.galaxytab]


Thanks
Atul Shegokar


Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] SDC distribution POL5000 error in K8S, "U-EB cluster is not available"

2018-03-18 Thread abdelmuhaimen.seaudi
Here's the output showing now DE is UP after correcting IP Address.

root@olc-k8s:/dockerdata-nfs/onap/sdc/environments# curl -X GET   
http://localhost:30205/sdc/v1/distributionUebCluster   -H 'Accept: 
application/json'   -H 'Content-Type: application/json'   -H 
'X-ECOMP-InstanceID: mso'   -H 'authorization: Basic 
dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU='
{"uebServerList":["10.43.205.37","10.43.205.37"]}

root@olc-k8s:/dockerdata-nfs/onap/sdc/environments# curl -X GET   
http://localhost:30205/sdc2/rest/healthCheck
> ^C
root@olc-k8s:/dockerdata-nfs/onap/sdc/environments# curl -X GET   
http://localhost:30205/sdc2/rest/healthCheck
{
  "sdcVersion": "1.1.0",
  "siteMode": "unknown",
  "componentsInfo": [
{
  "healthCheckComponent": "BE",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK"
},
{
  "healthCheckComponent": "TITAN",
  "healthCheckStatus": "UP",
  "description": "OK"
},
{
  "healthCheckComponent": "DE",
  "healthCheckStatus": "UP",
  "description": "OK"
},
{
  "healthCheckComponent": "CASSANDRA",
  "healthCheckStatus": "UP",
  "description": "OK"
},
{
  "healthCheckComponent": "ON_BOARDING",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK",
  "componentsInfo": [
{
  "healthCheckComponent": "ZU",
  "healthCheckStatus": "UP",
  "version": "0.2.0",
  "description": "OK"
},
{
  "healthCheckComponent": "BE",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK"
},
{
  "healthCheckComponent": "CAS",
  "healthCheckStatus": "UP",
  "version": "2.1.17",
  "description": "OK"
}
  ]
}
  ]
}

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Sunday, March 18, 2018 10:34 PM
To: Ahmad, Munir; onap-discuss@lists.onap.org
Subject: RE: [onap-discuss] SDC distribution POL5000 error in K8S, "U-EB 
cluster is not available"

Hi Munir,

Thanks for your reply.

I found out that the reason SDC is using the external IP of DMAAP, instead of 
the internal IP, is the configuration file 
/dockerdata-nfs/onap/sdc/environments/AUTO.json, which mentions :
"ueb_url_list": "84.39.48.90,84.39.48.90"

Shouldn't SDC be configured with the K8S internal IP address of the DMAAP, for 
example in my case it should be the IP Address 10.43.205.37 as per the output 
from kubectl get services below ?

How can this be corrected ?

kubectl get services --all-namespaces
NAMESPACE NAME   CLUSTER-IP  EXTERNAL-IP   
PORT(S)  AGE
onap-message-router   dmaap  10.43.205.37   
3904:30227/TCP,3905:30226/TCP24m
root@olc-k8s:~#

From: Ahmad, Munir [munir.ah...@bell.ca]
Sent: Sunday, March 18, 2018 4:21 AM
To: SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] SDC distribution POL5000 error in K8S, "U-EB 
cluster is not available"

Hi,

It may have to do with the order your sdc containers started. Try deleting your 
pods in the following order

sdc-es
sdc-cs
sdc-kb
sdc-be
sdc-fe


Thanks
Munir
From:  on behalf of 
"abdelmuhaimen.sea...@orange.com" 
Date: Saturday, March 17, 2018 at 5:31 AM
To: "onap-discuss@lists.onap.org" 
Subject: [onap-discuss] SDC distribution POL5000 error in K8S, "U-EB cluster is 
not available"

Hi,

I have a minimal ONAP Depoloyment on K8S running.

If I try to distribute a new service in SDC, I get Error code POL5000, status 
code: 500, Internal Server Error. Please try again later.

Regarding the output below, what does UEB Cluster not available mean ?

cloud@olc-k8s:~$ curl http://127.0.0.1:30205/sdc2/rest/healthCheck
{
  "sdcVersion": "1.1.0",
  "siteMode": "unknown",
  "componentsInfo": [
{
  "healthCheckComponent": "BE",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK"
},
{
  "healthCheckComponent": "TITAN",
  "healthCheckStatus": "UP",
  "description": "OK"
},
{
  "healthCheckComponent": "DE",
  "healthCheckStatus": "DOWN",
  "description": "U-EB cluster is not available"
},
{
  "healthCheckComponent": "CASSANDRA",
  "healthCheckStatus": "UP",
  "description": "OK"
},
{
  "healthCheckComponent": "ON_BOARDING",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK",
  "componentsInfo": [
{
  "healthCheckComponent": "ZU",
  "healthCheckStatus": "UP",
  "version": "0.2.0",
  "description": "OK"
},
{
  

Re: [onap-discuss] SDC distribution POL5000 error in K8S, "U-EB cluster is not available"

2018-03-18 Thread abdelmuhaimen.seaudi
Hi Munir,

Thanks for your reply.

I found out that the reason SDC is using the external IP of DMAAP, instead of 
the internal IP, is the configuration file 
/dockerdata-nfs/onap/sdc/environments/AUTO.json, which mentions :
"ueb_url_list": "84.39.48.90,84.39.48.90"

Shouldn't SDC be configured with the K8S internal IP address of the DMAAP, for 
example in my case it should be the IP Address 10.43.205.37 as per the output 
from kubectl get services below ?

How can this be corrected ?

kubectl get services --all-namespaces
NAMESPACE NAME   CLUSTER-IP  EXTERNAL-IP   
PORT(S)  AGE
onap-message-router   dmaap  10.43.205.37   
3904:30227/TCP,3905:30226/TCP24m
root@olc-k8s:~#

From: Ahmad, Munir [munir.ah...@bell.ca]
Sent: Sunday, March 18, 2018 4:21 AM
To: SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] SDC distribution POL5000 error in K8S, "U-EB 
cluster is not available"

Hi,

It may have to do with the order your sdc containers started. Try deleting your 
pods in the following order

sdc-es
sdc-cs
sdc-kb
sdc-be
sdc-fe


Thanks
Munir
From:  on behalf of 
"abdelmuhaimen.sea...@orange.com" 
Date: Saturday, March 17, 2018 at 5:31 AM
To: "onap-discuss@lists.onap.org" 
Subject: [onap-discuss] SDC distribution POL5000 error in K8S, "U-EB cluster is 
not available"

Hi,

I have a minimal ONAP Depoloyment on K8S running.

If I try to distribute a new service in SDC, I get Error code POL5000, status 
code: 500, Internal Server Error. Please try again later.

Regarding the output below, what does UEB Cluster not available mean ?

cloud@olc-k8s:~$ curl http://127.0.0.1:30205/sdc2/rest/healthCheck
{
  "sdcVersion": "1.1.0",
  "siteMode": "unknown",
  "componentsInfo": [
{
  "healthCheckComponent": "BE",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK"
},
{
  "healthCheckComponent": "TITAN",
  "healthCheckStatus": "UP",
  "description": "OK"
},
{
  "healthCheckComponent": "DE",
  "healthCheckStatus": "DOWN",
  "description": "U-EB cluster is not available"
},
{
  "healthCheckComponent": "CASSANDRA",
  "healthCheckStatus": "UP",
  "description": "OK"
},
{
  "healthCheckComponent": "ON_BOARDING",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK",
  "componentsInfo": [
{
  "healthCheckComponent": "ZU",
  "healthCheckStatus": "UP",
  "version": "0.2.0",
  "description": "OK"
},
{
  "healthCheckComponent": "BE",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK"
},
{
  "healthCheckComponent": "CAS",
  "healthCheckStatus": "UP",
  "version": "2.1.17",
  "description": "OK"
}
  ]
}
  ]
}
cloud@olc-k8s:~$ curl -X GET   
http://localhost:30205/sdc/v1/distributionUebCluster   -H 'Accept: 
application/json'   -H 'Content-Type: application/json'   -H 
'X-ECOMP-InstanceID: mso'   -H 'authorization: Basic 
dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU='
{"uebServerList":["X.Y.Z.90","X.Y.X.90"]}  < i hide the ip address, 
both are the same ip
cloud@olc-k8s:~$
cloud@olc-k8s:~$

root@olc-k8s:~/oom/kubernetes/oneclick# watch 'free -h;echo 
===; df -h /dev/vda1; df -h /dev/vdb1; echo 
===; kubectl get pods --all-namespaces'
Every 2.0s: free -h;echo ===; df -h /dev/vda1; df -h /dev/vdb1; 
echo ===; kubectl get pods --all-namespaces 
 Sat Mar 17 09:30:32 2018

  totalusedfree  shared  buff/cache   available
Mem:61G 41G1.8G 60M 18G 19G
Swap:0B  0B  0B
===
Filesystem  Size  Used Avail Use% Mounted on
/dev/vda149G  7.4G   41G  16% /
Filesystem  Size  Used Avail Use% Mounted on
/dev/vdb1   197G   29G  159G  16% /var/lib/docker
===
NAMESPACE NAME   READY STATUS   
 RESTARTS   AGE
kube-system   heapster-4285517626-1q6rj  1/1   Running  
 0  23h
kube-system   kube-dns-638003847-xb3mc   3/3   Running  
 0  23h
kube-system   kubernetes-dashboard-716739405-s3tr3   1/1   Running  
 0  23h
kube-system   monitoring-grafana-2360823841-15ppr1/1   Running  
 0  23h
kube-system   monitoring-influxdb-2323019309-3kvn2   1/1   Running  
 0  23h

Re: [onap-discuss] SDC distribution POL5000 error in K8S, "U-EB cluster is not available"

2018-03-17 Thread abdelmuhaimen.seaudi
Also, I see the following in SDC logs, I noticed that it's trying to use the 
public IP with port 3904, although this port is not reachable from the public 
ip.

How can i correct this ?


Line 43120: 2018-03-17T10:01:08.744Z[pool-63-thread-1]  WARN
c.att.nsa.apiClient.http.HttpClient Error executing HTTP request. 
Connect to 84.39.48.90:3904 [/84.39.48.90] failed: Connection refused 
(Connection refused); blacklisting for 2 minutes
Line 43121: 2018-03-17T10:01:08.744Z[pool-63-thread-1]  ERROR   
o.o.s.c.config.EcompErrorLogUtilalarmSeverity=MAJOR ETYPE = 
"CONNECTION_PROBLEM" ENAME = "BeUebConnectionError" ECODE = "ASDC210E" ECONTEXT 
= "getTopics" EDESC = "Connection problem towards U-EB server. Reason: 500"
Line 43121: 2018-03-17T10:01:08.744Z[pool-63-thread-1]  ERROR   
o.o.s.c.config.EcompErrorLogUtilalarmSeverity=MAJOR ETYPE = 
"CONNECTION_PROBLEM" ENAME = "BeUebConnectionError" ECODE = "ASDC210E" ECONTEXT 
= "getTopics" EDESC = "Connection problem towards U-EB server. Reason: 500"
Line 43121: 2018-03-17T10:01:08.744Z[pool-63-thread-1]  ERROR   
o.o.s.c.config.EcompErrorLogUtilalarmSeverity=MAJOR ETYPE = 
"CONNECTION_PROBLEM" ENAME = "BeUebConnectionError" ECODE = "ASDC210E" ECONTEXT 
= "getTopics" EDESC = "Connection problem towards U-EB server. Reason: 500"
Line 43122: 2018-03-17T10:01:08.744Z[pool-63-thread-1]  ERROR   
o.o.s.c.config.EcompErrorLogUtilalarmSeverity=MAJOR ETYPE = 
"SYSTEM_ERROR" ENAME = "BeUebSystemError" ECODE = "ASDC502E" ECONTEXT = 
"initDistributionEngine" EDESC = "Error occured during access to U-EB Server. 
Operation: try retrieve list of topics from U-EB server"
Line 43122: 2018-03-17T10:01:08.744Z[pool-63-thread-1]  ERROR   
o.o.s.c.config.EcompErrorLogUtilalarmSeverity=MAJOR ETYPE = 
"SYSTEM_ERROR" ENAME = "BeUebSystemError" ECODE = "ASDC502E" ECONTEXT = 
"initDistributionEngine" EDESC = "Error occured during access to U-EB Server. 
Operation: try retrieve list of topics from U-EB server"
Line 43122: 2018-03-17T10:01:08.744Z[pool-63-thread-1]  ERROR   
o.o.s.c.config.EcompErrorLogUtilalarmSeverity=MAJOR ETYPE = 
"SYSTEM_ERROR" ENAME = "BeUebSystemError" ECODE = "ASDC502E" ECONTEXT = 
"initDistributionEngine" EDESC = "Error occured during access to U-EB Server. 
Operation: try retrieve list of topics from U-EB server"
Line 43122: 2018-03-17T10:01:08.744Z[pool-63-thread-1]  ERROR   
o.o.s.c.config.EcompErrorLogUtilalarmSeverity=MAJOR ETYPE = 
"SYSTEM_ERROR" ENAME = "BeUebSystemError" ECODE = "ASDC502E" ECONTEXT = 
"initDistributionEngine" EDESC = "Error occured during access to U-EB Server. 
Operation: try retrieve list of topics from U-EB server"
Line 43122: 2018-03-17T10:01:08.744Z[pool-63-thread-1]  ERROR   
o.o.s.c.config.EcompErrorLogUtilalarmSeverity=MAJOR ETYPE = 
"SYSTEM_ERROR" ENAME = "BeUebSystemError" ECODE = "ASDC502E" ECONTEXT = 
"initDistributionEngine" EDESC = "Error occured during access to U-EB Server. 
Operation: try retrieve list of topics from U-EB server"



From: onap-discuss-boun...@lists.onap.org [onap-discuss-boun...@lists.onap.org] 
on behalf of abdelmuhaimen.sea...@orange.com [abdelmuhaimen.sea...@orange.com]
Sent: Saturday, March 17, 2018 11:31 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] SDC distribution POL5000 error in K8S, "U-EB cluster is 
not available"

Hi,

I have a minimal ONAP Depoloyment on K8S running.

If I try to distribute a new service in SDC, I get Error code POL5000, status 
code: 500, Internal Server Error. Please try again later.

Regarding the output below, what does UEB Cluster not available mean ?

cloud@olc-k8s:~$ curl http://127.0.0.1:30205/sdc2/rest/healthCheck
{
  "sdcVersion": "1.1.0",
  "siteMode": "unknown",
  "componentsInfo": [
{
  "healthCheckComponent": "BE",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK"
},
{
  "healthCheckComponent": "TITAN",
  "healthCheckStatus": "UP",
  "description": "OK"
},
{
  "healthCheckComponent": "DE",
  "healthCheckStatus": "DOWN",
  "description": "U-EB cluster is not available"
},
{
  "healthCheckComponent": "CASSANDRA",
  "healthCheckStatus": "UP",
  "description": "OK"
},
{
  "healthCheckComponent": "ON_BOARDING",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK",
  "componentsInfo": [
{
  "healthCheckComponent": "ZU",
  "healthCheckStatus": "UP",
  "version": "0.2.0",
  "description": "OK"
},
{
  "healthCheckComponent": "BE",
  "healthCheckStatus": "UP",
  "version": "1.1.0",
  "description": "OK"
},
{
  "healthCheckComponent": "CAS",
  

[onap-discuss] OOM kubernetes values.yaml files

2018-03-16 Thread abdelmuhaimen.seaudi
Hi,

In oom/kubernetes/xx/values.yaml, why do we need this line in the values.yaml 
file

PullPolicy: Always

instead of

PullPolicy: IfNotPresent

The Always option for some reason does not use the images that were pre-pulled, 
and gives pull backoff messages, and I have to repull the images manually.

And anyway, helm/kubernetes cannot pull directly the image when creating the 
pods, is my understanding correct ?

Thanks.

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] Cannot create SDC in OOM Kubernetes

2018-03-16 Thread abdelmuhaimen.seaudi
Hi,

I just needed to re-login to the nexus repo, it's now OK.

Thanks.

From: onap-discuss-boun...@lists.onap.org [onap-discuss-boun...@lists.onap.org] 
on behalf of abdelmuhaimen.sea...@orange.com [abdelmuhaimen.sea...@orange.com]
Sent: Friday, March 16, 2018 9:11 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] Cannot create SDC in OOM Kubernetes

Hi,

I am redeploying ONAP on Kubernetes, it worked fine before.

However, today, i find the following docker images in 
oom/kubernetes/sdc/values.yaml

  sdcKibana: nexus3.onap.org:10001/openecomp/sdc-kibana:v1.1.0
  sdcFrontend: nexus3.onap.org:10001/openecomp/sdc-frontend:v1.1.0
  sdcElasticsearch: nexus3.onap.org:10001/openecomp/sdc-elasticsearch:v1.1.0
  sdcCassandra: nexus3.onap.org:10001/openecomp/sdc-cassandra:v1.1.0
  sdcBackend: nexus3.onap.org:10001/openecomp/sdc-backend:v1.1.0

and they give me error "image not found"

Is this normal ? is openecomp still used in the URLs

root@olc-k8s:~/oom/kubernetes/oneclick# git branch
* amsterdam
root@olc-k8s:~/oom/kubernetes/oneclick#

Thanks

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] Cannot create SDC in OOM Kubernetes

2018-03-16 Thread abdelmuhaimen.seaudi
Hi,

I am redeploying ONAP on Kubernetes, it worked fine before.

However, today, i find the following docker images in 
oom/kubernetes/sdc/values.yaml

  sdcKibana: nexus3.onap.org:10001/openecomp/sdc-kibana:v1.1.0
  sdcFrontend: nexus3.onap.org:10001/openecomp/sdc-frontend:v1.1.0
  sdcElasticsearch: nexus3.onap.org:10001/openecomp/sdc-elasticsearch:v1.1.0
  sdcCassandra: nexus3.onap.org:10001/openecomp/sdc-cassandra:v1.1.0
  sdcBackend: nexus3.onap.org:10001/openecomp/sdc-backend:v1.1.0

and they give me error "image not found"

Is this normal ? is openecomp still used in the URLs

root@olc-k8s:~/oom/kubernetes/oneclick# git branch
* amsterdam
root@olc-k8s:~/oom/kubernetes/oneclick#

Thanks

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] Fwd: How to use the internal login, instead of external login in Portal SDK

2018-03-15 Thread abdelmuhaimen.seaudi
Hello Manoop / ONAP SDK experts,

If we develop an application that should be on-boarded on the ONAP Portal, but 
the application has a domain name different than "onap.org", how can we keep 
our domain name and still be able to read the logged in session cookies  from 
ONAP Portal ?

Thanks.



Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: khaled kee [mailto:khaledk...@gmail.com]
Sent: Thursday, March 15, 2018 9:28 AM
To: SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: Re: Fwd: [onap-discuss] How to use the internal login, instead of 
external login in Portal SDK


Hello all,

We noticed that "single_signon" spring controller reads "EPService" cookie to 
get the logged-in user, however it couldn't read the cookie. When we logged the 
request cookies, we didn't find "onap" cookies. We noticed that xDemo is a 
subdomain of "onap.org". After adding our sdk server IP as subdomain of 
"onap.org" from our hosts files, it can read the cookies and redirect correctly 
and sees the logged-in user.

Best Regards,
Khaled.

On 3/15/2018 9:12 AM, 
abdelmuhaimen.sea...@orange.com wrote:
Hi,

We replaced the URL in the onboarding URLs like below

URL = http://1.2.3.4:8080/epsdk-apps-os/welcome.htm
REST URL = Blank
User = demo
Password = demo


Then, we replaced the following lines in the WEB-INF/classes/portal.properties 
file:

portal.api.impl.class = org.onap.portalapp.service.OnBoardingApiServiceImpl
ecomp_redirect_url = 
http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
ecomp_rest_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi

However, when we login to the ONAP Portal, and then click our app, we receive 
the following error : portal.api.simpledemo.onap.org redirected you too many 
times.

If we try to access the app directly from the browser, from outside the portal, 
we receive the same error, we notice that it is repeating redirection to 
"/single_signon.htm?forwardURL=welcome.htm".

When we compare our portal.properties file with the xDEMO APP that comes with 
the Portal, we notice no differences, except for the decryption key and, and 
for system.properties the difference is the authenticate_user_server variables, 
but I understand authenticate_user_server varialbe is not used.

Any idea how we can use the single signon, or what might be missing from our 
side ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: TALASILA, MANOOP (MANOOP) [mailto:talas...@research.att.com]
Sent: Tuesday, March 13, 2018 6:15 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] How to use the internal login, instead of external 
login in Portal SDK

Hi Abdelmuhaimen,

Thanks for using the Portal SDK. The steps you followed are correct, however 
the external login is provided for developer to test their app locally (without 
having the entire Portal). But, when the app is ready and onboarded to the 
Portal, please use the welcome.htm url in the onboarding step - 
"http://your_app_host:port/epsdk-app-os/welcome.htm;. This should let you use 
the Portal's single sign on.

Onboarding steps for your reference - 
https://wiki.onap.org/display/DW/Application+Onboarding#ApplicationOnboarding-addapp

Manoop

From: 
>
 on behalf of 
"abdelmuhaimen.sea...@orange.com" 
>
Date: Tuesday, March 13, 2018 at 10:22 AM
To: "onap-discuss@lists.onap.org" 
>
Subject: [onap-discuss] How to use the internal login, instead of external 
login in Portal SDK

Hi,

I am working on an application based on ONAP Portal SDK, that follow the 
tutorial 
http://onap.readthedocs.io/en/amsterdam/submodules/portal.git/docs/tutorials/portal-sdk/creating.html.

The application is onboarded in the ONAP Portal, and runs inside a tab inside 
the ONAP Portal.

However, the app is using the external login, which means it does not detect 
that a user is currently logged in the portal with an active session, and it 
forwards me to the SDK demo/demo login screen that shows the old ECOMP Logo.

What do I need to change in my demo app, so that it uses the Portal internal 
login or Single Sign On feature of the 

Re: [onap-discuss] How to use the internal login, instead of external login in Portal SDK

2018-03-15 Thread abdelmuhaimen.seaudi
Hi,

We replaced the URL in the onboarding URLs like below

URL = http://1.2.3.4:8080/epsdk-apps-os/welcome.htm
REST URL = Blank
User = demo
Password = demo


Then, we replaced the following lines in the WEB-INF/classes/portal.properties 
file:

portal.api.impl.class = org.onap.portalapp.service.OnBoardingApiServiceImpl
ecomp_redirect_url = 
http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
ecomp_rest_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi

However, when we login to the ONAP Portal, and then click our app, we receive 
the following error : portal.api.simpledemo.onap.org redirected you too many 
times.

If we try to access the app directly from the browser, from outside the portal, 
we receive the same error, we notice that it is repeating redirection to 
“/single_signon.htm?forwardURL=welcome.htm”.

When we compare our portal.properties file with the xDEMO APP that comes with 
the Portal, we notice no differences, except for the decryption key and, and 
for system.properties the difference is the authenticate_user_server variables, 
but I understand authenticate_user_server varialbe is not used.

Any idea how we can use the single signon, or what might be missing from our 
side ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: TALASILA, MANOOP (MANOOP) [mailto:talas...@research.att.com]
Sent: Tuesday, March 13, 2018 6:15 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] How to use the internal login, instead of external 
login in Portal SDK

Hi Abdelmuhaimen,

Thanks for using the Portal SDK. The steps you followed are correct, however 
the external login is provided for developer to test their app locally (without 
having the entire Portal). But, when the app is ready and onboarded to the 
Portal, please use the welcome.htm url in the onboarding step – 
“http://your_app_host:port/epsdk-app-os/welcome.htm”. This should let you use 
the Portal’s single sign on.

Onboarding steps for your reference - 
https://wiki.onap.org/display/DW/Application+Onboarding#ApplicationOnboarding-addapp

Manoop

From: 
>
 on behalf of 
"abdelmuhaimen.sea...@orange.com" 
>
Date: Tuesday, March 13, 2018 at 10:22 AM
To: "onap-discuss@lists.onap.org" 
>
Subject: [onap-discuss] How to use the internal login, instead of external 
login in Portal SDK

Hi,

I am working on an application based on ONAP Portal SDK, that follow the 
tutorial 
http://onap.readthedocs.io/en/amsterdam/submodules/portal.git/docs/tutorials/portal-sdk/creating.html.

The application is onboarded in the ONAP Portal, and runs inside a tab inside 
the ONAP Portal.

However, the app is using the external login, which means it does not detect 
that a user is currently logged in the portal with an active session, and it 
forwards me to the SDK demo/demo login screen that shows the old ECOMP Logo.

What do I need to change in my demo app, so that it uses the Portal internal 
login or Single Sign On feature of the portal ?

I am using the RestrictedBaseController class for my demo app.

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.


Re: [onap-discuss] How to use the internal login, instead of external login in Portal SDK

2018-03-14 Thread abdelmuhaimen.seaudi
Hi Manoop,

We replaced the URL in the onboarding URLs like below

URL = http://1.2.3.4:8080/epsdk-apps-os/welcome.htm
REST URL = Blank
User = demo
Password = demo


Then, we replaced the following lines in the WEB-INF/classes/portal.properties 
file:

portal.api.impl.class = org.onap.portalapp.service.OnBoardingApiServiceImpl
ecomp_redirect_url = 
http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
ecomp_rest_url = http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi

However, when we login to the ONAP Portal, and then click our app, we receive 
the following error : portal.api.simpledemo.onap.org redirected you too many 
times.

If we try to access the app directly from the browser, from outside the portal, 
we receive the same error, we notice that it is repeating redirection to 
“/single_signon.htm?forwardURL=welcome.htm”.

When we compare our portal.properties file with the xDEMO APP that comes with 
the Portal, we notice no differences, except for the decryption key and, and 
for system.properties the difference is the authenticate_user_server variables, 
but I understand authenticate_user_server varialbe is not used.

Any idea how we can use the single signon, or what might be missing from our 
side ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: TALASILA, MANOOP (MANOOP) [mailto:talas...@research.att.com]
Sent: Tuesday, March 13, 2018 6:15 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] How to use the internal login, instead of external 
login in Portal SDK

Hi Abdelmuhaimen,

Thanks for using the Portal SDK. The steps you followed are correct, however 
the external login is provided for developer to test their app locally (without 
having the entire Portal). But, when the app is ready and onboarded to the 
Portal, please use the welcome.htm url in the onboarding step – 
“http://your_app_host:port/epsdk-app-os/welcome.htm”. This should let you use 
the Portal’s single sign on.

Onboarding steps for your reference - 
https://wiki.onap.org/display/DW/Application+Onboarding#ApplicationOnboarding-addapp

Manoop

From: 
>
 on behalf of 
"abdelmuhaimen.sea...@orange.com" 
>
Date: Tuesday, March 13, 2018 at 10:22 AM
To: "onap-discuss@lists.onap.org" 
>
Subject: [onap-discuss] How to use the internal login, instead of external 
login in Portal SDK

Hi,

I am working on an application based on ONAP Portal SDK, that follow the 
tutorial 
http://onap.readthedocs.io/en/amsterdam/submodules/portal.git/docs/tutorials/portal-sdk/creating.html.

The application is onboarded in the ONAP Portal, and runs inside a tab inside 
the ONAP Portal.

However, the app is using the external login, which means it does not detect 
that a user is currently logged in the portal with an active session, and it 
forwards me to the SDK demo/demo login screen that shows the old ECOMP Logo.

What do I need to change in my demo app, so that it uses the Portal internal 
login or Single Sign On feature of the portal ?

I am using the RestrictedBaseController class for my demo app.

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.


[onap-discuss] OON ONAP SDNC in Kubernetes

2018-03-13 Thread abdelmuhaimen.seaudi
Hi,

I am running an Amsterdam instance running on OOM Kubernetes 64 GB VM.

I tried adding another VM to the Cluster, and Rancher now sees 2 nodes.

I scaled SDNC to 2, and Rancher deployed the 2nd replica on the 2nd node.

I deleted the 2nd node from Openstack, and Rancher detected that the node was 
disconnected.

However kubernetes still show the 2nd node is still running, and that the 2nd 
SDNC replica pod is running on 2nd node.

I waited to see if there's a timeout until K8S detects and redeploys the pod, 
without success.

Is this the correct way to perform scaling for ONAP components under K8S ?

Is multi-node installation supported by OOM ONAP on K8S ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] How to use the internal login, instead of external login in Portal SDK

2018-03-13 Thread abdelmuhaimen.seaudi
Hi,

I am working on an application based on ONAP Portal SDK, that follow the 
tutorial 
http://onap.readthedocs.io/en/amsterdam/submodules/portal.git/docs/tutorials/portal-sdk/creating.html.

The application is onboarded in the ONAP Portal, and runs inside a tab inside 
the ONAP Portal.

However, the app is using the external login, which means it does not detect 
that a user is currently logged in the portal with an active session, and it 
forwards me to the SDK demo/demo login screen that shows the old ECOMP Logo.

What do I need to change in my demo app, so that it uses the Portal internal 
login or Single Sign On feature of the portal ?

I am using the RestrictedBaseController class for my demo app.

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] Cross Orgin Pre-flight Rest call to AAI

2018-03-09 Thread abdelmuhaimen.seaudi
Hi,

I was able to resolve this issue by updating the HAPROXY configuration in the 
AAI VM, as you can see below, and now the AAI supports Cross Origin CORS.


OPTIONS /aai/v11/business/customers/ HTTP/1.1
Host: aai.api.simpledemo.onap.org:8443
Connection: keep-alive
Access-Control-Request-Method: GET
Origin: https://www.w3schools.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, 
like Gecko) Chrome/64.0.3282.186 Safari/537.36
Access-Control-Request-Headers: 
authorization,content-type,x-fromappid,x-transactionid
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,ar;q=0.8


HTTP/1.1 200 OK
Date: Fri, 09 Mar 2018 07:42:28 GMT
Allow: GET,HEAD,POST,PUT,DELETE,TRACE,OPTIONS,CONNECT,PATCH
Connection: close
Server: Jetty(9.2.z-SNAPSHOT)
Strict-Transport-Security: max-age=1600; includeSubDomains; preload;
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, HEAD, OPTIONS, POST, PUT
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, 
X-TransactionId, X-FromAppId, Content-Type, Access-Control-Request-Method, 
Access-Control-Request-Headers, Authorization




Thanks

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Thursday, March 8, 2018 7:07 PM
To: onap-discuss@lists.onap.org
Cc: SEAUDI Abdelmuhaimen OBS/CSO
Subject: Cross Orgin Pre-flight Rest call to AAI

Hi

We are developing an Angular 4 web application based on ONAP Portal SDK.

When the webapp page javascript send Rest call to AAI, the browser sends a 
aross origin pre-flight OPTION request, without username/password.

This pre-flight OPTION request is rejected by AAI as 401 unauthorized.

How can we communicate properly with AAI ?


Sent from Samsung tablet.

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] Cross Orgin Pre-flight Rest call to AAI

2018-03-08 Thread abdelmuhaimen.seaudi
Hi

We are developing an Angular 4 web application based on ONAP Portal SDK.

When the webapp page javascript send Rest call to AAI, the browser sends a 
aross origin pre-flight OPTION request, without username/password.

This pre-flight OPTION request is rejected by AAI as 401 unauthorized.

How can we communicate properly with AAI ?


Sent from Samsung tablet.

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] OOM errors cannot deploy ONAP - with error logs

2018-03-03 Thread abdelmuhaimen.seaudi
Hi,

I was able to resolve this issue by changing
#pullPolicy: Always
to
pullPoicy: IfNotPresent
in
/oom/kubernetes/portal/values.yaml

and now the portal is up and running
portal-apps-78498f9c4b-rxhvf   2/2   Running0   
   7m
portal-db-8d8575f89-jgs27  1/1   Running0   
   7m
portal-vnc-744777b66-7hcr7 0/1   Init:1/4   0   
   7m
portal-widgets-68c655bddd-9wpc51/1   Running0   
   7m


From: onap-discuss-boun...@lists.onap.org [onap-discuss-boun...@lists.onap.org] 
on behalf of abdelmuhaimen.sea...@orange.com [abdelmuhaimen.sea...@orange.com]
Sent: Saturday, March 03, 2018 8:13 PM
To: Vivekanandan Muthukrishnan
Cc: onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] OOM errors cannot deploy ONAP - with error logs

Hi Vivekanandan,

Thanks for your reply.

I deleted the portal-db docker image, and then i pulled it again, but the 
service still does not come up.

root@ole-k8s:~/oom/kubernetes/oneclick# ./deleteAll.bash -n onap -a portal
Current kubectl context does not match context specified: onap
You are about to delete deployment from: onap
To continue enter context name: onap

** Cleaning up ONAP:
release "onap-portal" deleted
clusterrolebinding "onap-portal-admin-binding" deleted
Service account onap-portal-admin-binding deleted.

Waiting for namespaces termination...

** Gone **

root@ole-k8s:~/oom/kubernetes/oneclick# docker rmi 
nexus3.onap.org:10001/onap/portal-db:v1.3.0
Untagged: nexus3.onap.org:10001/onap/portal-db:v1.3.0
Untagged: 
nexus3.onap.org:10001/onap/portal-db@sha256:f62c1fa3fb47d553c96a8a5e785ca389f69d8e893eed486935ff5c66d9d8683a
Deleted: sha256:7578762221a79a04b2b470656fe3d62ca5fc01ee697e099c94a2b62e19c21989
Deleted: sha256:e2bc68806e60ce373040a646c7c31bf339656f1d9c2cf2c0732d7f7710ffcfc5
Deleted: sha256:911f78ca2e0ffbd07d45ddef60b39f0bf969846de6117466ff3cee9d7140f717
Deleted: sha256:3af70a1a8a9bd5e78e87c95a32869186408af9023702f40ade7af2cca77c4337
Deleted: sha256:44769d62b4f509d4a89eb2338a44aa3008f75ddb065f5a518c869d20346b0919
Deleted: sha256:48a58d780ca2ed1d0e7fd31ba2fe864fc2ab0aa293614c212f3836d2fca81934
Deleted: sha256:e1469134b78941676be645cb31f3e115bb20390257b57e7bba1bc5132ad7e68c
Deleted: sha256:d06029fc5d41284de07b286b437631cd9497338e78bf246926b0ac7745d0eacd
Deleted: sha256:6fd8fddc3e304ed1f00b843cb5fd57102c728b71696b05e9b59fcb91c1bc6242
Deleted: sha256:cdabe75b529fc6bf52e955cdecf6522bb100438e32ff1ea28e1b5a092ba6c40a
Deleted: sha256:1abc786e737ceeaf6df2f454f79ee856ba0ca36b323557e4928e585961e6c8c6
Deleted: sha256:8b2ab5cd414d584a648ec0649b67d9a252aab6ab41f027391ebb5a5f3abaee85
Deleted: sha256:04e65b6a021b2c1dca51bd9c454ec68a599022d2eb564f2b9fcbd4a03d8b1a4d
Deleted: sha256:98b9343ade53aba000fc5cf90aed7d6a12363655a1ebbe675ea040f8320fd584
Deleted: sha256:86c0872a3ae20d67865ff9cb92f16818963cb6bf9d74ac3d1cb3f44bdb4adb52
Deleted: sha256:9e108ca098e2a8eb22b78edd5e6e53c0a2c3d4dddb3a1dd7bd5107d681800933
Deleted: sha256:0f0380d5dab3db9c5310830c983602dd9b8b29f1412827bed361c60d7b44c870
Deleted: sha256:f86a0aefab394249e80865d4bf41f761a3f44c616852b35a8fcb6a2c5532f333
Deleted: sha256:708cb5ace70a02c0ab7b7dc34256e5a45a759ef48cdfaf1e51d0401437f5688c
Deleted: sha256:fa66485ef54b61f8f2de2d81271135976794c45628d309fd361a99b53256ab44
Deleted: sha256:7ba2d138e04445addacd95ddb1c186ee9e236db0d7464c4ff63aac6e002b8dfb

root@ole-k8s:~/oom/kubernetes/oneclick# docker pull 
nexus3.onap.org:10001/onap/portal-db:v1.3.0
v1.3.0: Pulling from onap/portal-db
c20dc0c5afeb: Already exists
eaea58e86ed4: Pull complete
424e934f382c: Pull complete
d257750d0801: Pull complete
e02efc64fc93: Pull complete
7b55963ca168: Pull complete
cc422ac43a3b: Pull complete
175afe956bca: Pull complete
9931f584f413: Pull complete
52dd0882586f: Pull complete
e4eac6819242: Pull complete
f5f581ea39f6: Pull complete
e4ef92b2ee7f: Pull complete
82e7c5ae8d51: Pull complete
f4a1053fdd34: Pull complete
730577ac2b2d: Pull complete
fc768467a6e9: Pull complete
4da2b2d2f77e: Pull complete
20bd2ee92b3d: Pull complete
32f94035060a: Pull complete
07be12eb4e2e: Pull complete
Digest: sha256:f62c1fa3fb47d553c96a8a5e785ca389f69d8e893eed486935ff5c66d9d8683a
Status: Downloaded newer image for nexus3.onap.org:10001/onap/portal-db:v1.3.0

root@ole-k8s:~/oom/kubernetes/oneclick# ./createAll.bash -n onap -a portal

** Creating instance 1 of ONAP with port range 30200 and 30399

** Creating ONAP:


** Creating deployments for portal **

Creating service account **
clusterrolebinding "onap-portal-admin-binding" created

Creating deployments and services **
NAME:   onap-portal
LAST DEPLOYED: Sat Mar  3 18:06:48 2018
NAMESPACE: onap
STATUS: DEPLOYED

RESOURCES:
==> v1beta1/Deployment
NAMEDESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
portal-apps 111   0  1s
portal-db

Re: [onap-discuss] OOM errors cannot deploy ONAP - with error logs

2018-03-03 Thread abdelmuhaimen.seaudi
Hi Vivekanandan,

Thanks for your reply.

I deleted the portal-db docker image, and then i pulled it again, but the 
service still does not come up.

root@ole-k8s:~/oom/kubernetes/oneclick# ./deleteAll.bash -n onap -a portal
Current kubectl context does not match context specified: onap
You are about to delete deployment from: onap
To continue enter context name: onap

** Cleaning up ONAP:
release "onap-portal" deleted
clusterrolebinding "onap-portal-admin-binding" deleted
Service account onap-portal-admin-binding deleted.

Waiting for namespaces termination...

** Gone **

root@ole-k8s:~/oom/kubernetes/oneclick# docker rmi 
nexus3.onap.org:10001/onap/portal-db:v1.3.0
Untagged: nexus3.onap.org:10001/onap/portal-db:v1.3.0
Untagged: 
nexus3.onap.org:10001/onap/portal-db@sha256:f62c1fa3fb47d553c96a8a5e785ca389f69d8e893eed486935ff5c66d9d8683a
Deleted: sha256:7578762221a79a04b2b470656fe3d62ca5fc01ee697e099c94a2b62e19c21989
Deleted: sha256:e2bc68806e60ce373040a646c7c31bf339656f1d9c2cf2c0732d7f7710ffcfc5
Deleted: sha256:911f78ca2e0ffbd07d45ddef60b39f0bf969846de6117466ff3cee9d7140f717
Deleted: sha256:3af70a1a8a9bd5e78e87c95a32869186408af9023702f40ade7af2cca77c4337
Deleted: sha256:44769d62b4f509d4a89eb2338a44aa3008f75ddb065f5a518c869d20346b0919
Deleted: sha256:48a58d780ca2ed1d0e7fd31ba2fe864fc2ab0aa293614c212f3836d2fca81934
Deleted: sha256:e1469134b78941676be645cb31f3e115bb20390257b57e7bba1bc5132ad7e68c
Deleted: sha256:d06029fc5d41284de07b286b437631cd9497338e78bf246926b0ac7745d0eacd
Deleted: sha256:6fd8fddc3e304ed1f00b843cb5fd57102c728b71696b05e9b59fcb91c1bc6242
Deleted: sha256:cdabe75b529fc6bf52e955cdecf6522bb100438e32ff1ea28e1b5a092ba6c40a
Deleted: sha256:1abc786e737ceeaf6df2f454f79ee856ba0ca36b323557e4928e585961e6c8c6
Deleted: sha256:8b2ab5cd414d584a648ec0649b67d9a252aab6ab41f027391ebb5a5f3abaee85
Deleted: sha256:04e65b6a021b2c1dca51bd9c454ec68a599022d2eb564f2b9fcbd4a03d8b1a4d
Deleted: sha256:98b9343ade53aba000fc5cf90aed7d6a12363655a1ebbe675ea040f8320fd584
Deleted: sha256:86c0872a3ae20d67865ff9cb92f16818963cb6bf9d74ac3d1cb3f44bdb4adb52
Deleted: sha256:9e108ca098e2a8eb22b78edd5e6e53c0a2c3d4dddb3a1dd7bd5107d681800933
Deleted: sha256:0f0380d5dab3db9c5310830c983602dd9b8b29f1412827bed361c60d7b44c870
Deleted: sha256:f86a0aefab394249e80865d4bf41f761a3f44c616852b35a8fcb6a2c5532f333
Deleted: sha256:708cb5ace70a02c0ab7b7dc34256e5a45a759ef48cdfaf1e51d0401437f5688c
Deleted: sha256:fa66485ef54b61f8f2de2d81271135976794c45628d309fd361a99b53256ab44
Deleted: sha256:7ba2d138e04445addacd95ddb1c186ee9e236db0d7464c4ff63aac6e002b8dfb

root@ole-k8s:~/oom/kubernetes/oneclick# docker pull 
nexus3.onap.org:10001/onap/portal-db:v1.3.0
v1.3.0: Pulling from onap/portal-db
c20dc0c5afeb: Already exists
eaea58e86ed4: Pull complete
424e934f382c: Pull complete
d257750d0801: Pull complete
e02efc64fc93: Pull complete
7b55963ca168: Pull complete
cc422ac43a3b: Pull complete
175afe956bca: Pull complete
9931f584f413: Pull complete
52dd0882586f: Pull complete
e4eac6819242: Pull complete
f5f581ea39f6: Pull complete
e4ef92b2ee7f: Pull complete
82e7c5ae8d51: Pull complete
f4a1053fdd34: Pull complete
730577ac2b2d: Pull complete
fc768467a6e9: Pull complete
4da2b2d2f77e: Pull complete
20bd2ee92b3d: Pull complete
32f94035060a: Pull complete
07be12eb4e2e: Pull complete
Digest: sha256:f62c1fa3fb47d553c96a8a5e785ca389f69d8e893eed486935ff5c66d9d8683a
Status: Downloaded newer image for nexus3.onap.org:10001/onap/portal-db:v1.3.0

root@ole-k8s:~/oom/kubernetes/oneclick# ./createAll.bash -n onap -a portal

** Creating instance 1 of ONAP with port range 30200 and 30399

** Creating ONAP:


** Creating deployments for portal **

Creating service account **
clusterrolebinding "onap-portal-admin-binding" created

Creating deployments and services **
NAME:   onap-portal
LAST DEPLOYED: Sat Mar  3 18:06:48 2018
NAMESPACE: onap
STATUS: DEPLOYED

RESOURCES:
==> v1beta1/Deployment
NAMEDESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
portal-apps 111   0  1s
portal-db   111   0  1s
portal-vnc  111   0  1s
portal-widgets  111   0  1s

==> v1/ConfigMap
NAMEDATA  AGE
portal-onap-portal-sdk-configmap3 1s
portal-onap-portal-configmap4 1s
portal-mariadb-configmap1 1s
portal-onapwidgetms-configmap   1 1s
portal-filebeat-configmap   1 1s
portal-onapportal-log-configmap 1 1s
portal-onapportalsdk-log-configmap  1 1s
portal-vnc-update-hosts 1 1s
portal-vnc-profiles-ini 1 1s

==> v1/PersistentVolume
NAME CAPACITY  ACCESSMODES  RECLAIMPOLICY  STATUS CLAIM  
STORAGECLASS  REASON  AGE
onap-portal  2Gi   RWX  Retain Available  1s

==> v1/PersistentVolumeClaim
NAME   STATUS   VOLUME  CAPACITY  ACCESSMODES  

Re: [onap-discuss] OOM errors cannot deploy ONAP - with error logs

2018-03-03 Thread abdelmuhaimen.seaudi
Hi,

After trying again, using the script in the wiki

I noticed that the portal-db is in error ImagePullBackOff with 
Reason:ErrImagePull

root@ole-k8s:~/oom/kubernetes/oneclick# kubectl get pods --namespace onap | 
grep portal
portal-apps-7ddfc4b6bd-ffd5m   0/2   Init:0/3   1   
   12m
portal-db-6854cd4699-9j8hn 0/1   ImagePullBackOff   0   
   12m
portal-vnc-7dcbf79f66-4pk5g0/1   Init:0/4   1   
   12m
portal-widgets-6979b47c48-m96lq0/1   Init:0/1   1   
   12m

Events:
  Type Reason Age   From
Message
   --   
---
  Normal   Scheduled  3mdefault-scheduler   
Successfully assigned portal-db-6854cd4699-9j8hn to ole-k8s.novalocal
  Normal   SuccessfulMountVolume  3mkubelet, ole-k8s.novalocal  
MountVolume.SetUp succeeded for volume "localtime"
  Normal   SuccessfulMountVolume  3mkubelet, ole-k8s.novalocal  
MountVolume.SetUp succeeded for volume "onap-portal"
  Normal   SuccessfulMountVolume  2mkubelet, ole-k8s.novalocal  
MountVolume.SetUp succeeded for volume "default-token-dl7dn"
  Normal   SandboxChanged 2mkubelet, ole-k8s.novalocal  
Pod sandbox changed, it will be killed and re-created.
  Normal   Pulling54s (x4 over 2m)  kubelet, ole-k8s.novalocal  
pulling image "nexus3.onap.org:10001/onap/portal-db:v1.3.0"
  Warning  Failed 53s (x4 over 2m)  kubelet, ole-k8s.novalocal  
Failed to pull image "nexus3.onap.org:10001/onap/portal-db:v1.3.0": rpc error: 
code = Unknown desc = Error: image onap/portal-db:v1.3.0 not found
  Warning  FailedSync 21s (x8 over 2m)  kubelet, ole-k8s.novalocal  
Error syncing pod
  Normal   BackOff21s (x4 over 2m)  kubelet, ole-k8s.novalocal  
Back-off pulling image "nexus3.onap.org:10001/onap/portal-db:v1.3.0"



Although, i can see that the image exists on the VM.

root@ole-k8s:~/oom/kubernetes/oneclick# docker images | grep 
"nexus3.onap.org:10001/onap/portal-db"
nexus3.onap.org:10001/onap/portal-db  v1.3.0
  7578762221a74 months ago398 MB

Any idea why the portal-db is showing this error ?

Thanks

Abdelmuhaimen Seaudi
Orange Labs Egypt
Mobile:+2012 84644 733

From: onap-discuss-boun...@lists.onap.org [onap-discuss-boun...@lists.onap.org] 
on behalf of abdelmuhaimen.sea...@orange.com [abdelmuhaimen.sea...@orange.com]
Sent: Saturday, March 03, 2018 3:11 PM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] OOM errors cannot deploy ONAP - with error logs

Hi,

I am trying to deploy onap on an Openstack 64GB RAM VM, using the oom startup 
script from this link 
https://jira.onap.org/secure/attachment/11206/oom_entrypoint.sh

Rancher comes up OK, host is registered.

However, I get some errors while pulling the docker images, and some pods are 
running and rest have errors, and i cannot login to the portal.

Error parsing reference: "2.0.0-SNAPSHOT" is not a valid repository/tag: 
repository name must be lowercase
Error: image onap/vfc/ztevnfmdriver:v1.0.2 not found
Error response from daemon: repository v1.1.0 not found: does not exist or no 
pull access
Error: image onap/org.onap.dcaegen2.deployments.bootstrap:latest not found
error pulling image configuration: unknown blob
Error response from daemon: manifest for oomk8s/config-init:latest not found
ERROR: /root/.ssh/onap_rsa does not exist or is empty.  Cannot launch dcae gen2.
ERROR: dcaegen2 failed to configure: Pre-requisites not met.  Skipping 
deploying it and continue

root@ole-k8s:~# kubectl get pods --all-namespaces -a
NAMESPACE NAME   READY STATUS   
  RESTARTS   AGE
kube-system   heapster-76b8cd7b5-jd96b   1/1   Running  
  0  6h
kube-system   kube-dns-5d7b4487c9-bk8fd  3/3   Running  
  0  6h
kube-system   kubernetes-dashboard-f9577fffd-trhqs   1/1   Running  
  0  6h
kube-system   monitoring-grafana-997796fcf-268xn 1/1   Running  
  0  6h
kube-system   monitoring-influxdb-56fdcd96b-gbbwz1/1   Running  
  0  6h
kube-system   tiller-deploy-cc96d4f6b-hqs6t  1/1   Running  
  0  6h
onap  aaf-6c64db8fdd-fvrcv   0/1   Init:0/1 
  33 6h
onap  aaf-cs-75464db899-jtldk0/1   
ImagePullBackOff   0  6h
onap  aai-data-router-6fbb8695d4-bdsld   0/1   
ImagePullBackOff   0  6h
onap  aai-elasticsearch-7f66545fdf-dtxbr

[onap-discuss] OOM errors cannot deploy ONAP - with error logs

2018-03-03 Thread abdelmuhaimen.seaudi
Hi,

I am trying to deploy onap on an Openstack 64GB RAM VM, using the oom startup 
script from this link 
https://jira.onap.org/secure/attachment/11206/oom_entrypoint.sh

Rancher comes up OK, host is registered.

However, I get some errors while pulling the docker images, and some pods are 
running and rest have errors, and i cannot login to the portal.

Error parsing reference: "2.0.0-SNAPSHOT" is not a valid repository/tag: 
repository name must be lowercase
Error: image onap/vfc/ztevnfmdriver:v1.0.2 not found
Error response from daemon: repository v1.1.0 not found: does not exist or no 
pull access
Error: image onap/org.onap.dcaegen2.deployments.bootstrap:latest not found
error pulling image configuration: unknown blob
Error response from daemon: manifest for oomk8s/config-init:latest not found
ERROR: /root/.ssh/onap_rsa does not exist or is empty.  Cannot launch dcae gen2.
ERROR: dcaegen2 failed to configure: Pre-requisites not met.  Skipping 
deploying it and continue

root@ole-k8s:~# kubectl get pods --all-namespaces -a
NAMESPACE NAME   READY STATUS   
  RESTARTS   AGE
kube-system   heapster-76b8cd7b5-jd96b   1/1   Running  
  0  6h
kube-system   kube-dns-5d7b4487c9-bk8fd  3/3   Running  
  0  6h
kube-system   kubernetes-dashboard-f9577fffd-trhqs   1/1   Running  
  0  6h
kube-system   monitoring-grafana-997796fcf-268xn 1/1   Running  
  0  6h
kube-system   monitoring-influxdb-56fdcd96b-gbbwz1/1   Running  
  0  6h
kube-system   tiller-deploy-cc96d4f6b-hqs6t  1/1   Running  
  0  6h
onap  aaf-6c64db8fdd-fvrcv   0/1   Init:0/1 
  33 6h
onap  aaf-cs-75464db899-jtldk0/1   
ImagePullBackOff   0  6h
onap  aai-data-router-6fbb8695d4-bdsld   0/1   
ImagePullBackOff   0  6h
onap  aai-elasticsearch-7f66545fdf-dtxbr 1/1   Running  
  0  6h
onap  aai-hbase-5bcb5884d4-gs7jg 1/1   Running  
  0  6h
onap  aai-model-loader-service-7768db4744-8hw9s  1/2   
ImagePullBackOff   0  6h
onap  aai-resources-58d4966887-4t8cg 1/2   
ImagePullBackOff   0  6h
onap  aai-search-data-service-99dff479c-twlgn1/2   
ImagePullBackOff   0  6h
onap  aai-service-5698ddc455-s25dd   0/1   Init:0/1 
  33 6h
onap  aai-sparky-be-57bd9944b5-8qb7p 1/2   
ImagePullBackOff   0  6h
onap  aai-traversal-557f8fc78d-mpp8f 0/2   Init:0/1 
  1  6h
onap  appc-67c6b9d477-sv97q  1/2   
ErrImagePull   0  6h
onap  appc-dbhost-7bd58565d9-p5hzx   1/1   Running  
  0  6h
onap  appc-dgbuilder-68c68ff84b-m65zx0/1   Init:0/1 
  1  6h
onap  clamp-6889598c4-vxdg9  0/1   Init:0/1 
  33 6h
onap  clamp-mariadb-78c46967b8-wg4h5 0/1   
ImagePullBackOff   0  6h
onap  cli-6885486887-9gsnx   0/1   
ImagePullBackOff   0  6h
onap  config 0/1   
Completed  0  6h
onap  consul-agent-56499f9db5-qd87m  1/1   Running  
  3  6h
onap  consul-server-695997745c-27k7p 1/1   Running  
  1  6h
onap  consul-server-695997745c-5rxbp 1/1   Running  
  2  6h
onap  consul-server-695997745c-dmb2b 1/1   Running  
  2  6h
onap  esr-esrgui-568b77d864-z7dvp0/1   
ImagePullBackOff   0  6h
onap  esr-esrserver-85fbfc798b-lwh6l 0/1   
ImagePullBackOff   0  6h
onap  kube2msb-registrator-6cc7f44649-ndwxv  0/1   
ImagePullBackOff   0  6h
onap  log-elasticsearch-6ff5b5459d-6h6fl 1/1   Running  
  0  6h
onap  log-kibana-54c978c5fc-lv9gj1/1   Running  
  0  6h
onap  log-logstash-5f6fbc4dff-bfst2  1/1   Running  
  0  6h
onap  message-router-dmaap-7898949877-t7w74  1/1   Running  
  0  6h
onap  message-router-global-kafka-594b49cf4c-bb2c5   1/1   Running  
  0  6h
onap  message-router-zookeeper-5fbf8b49b4-jjzmg  1/1  

[onap-discuss] OOM errors cannot deploy ONAP

2018-03-03 Thread abdelmuhaimen.seaudi
Hi,

I am trying to deploy onap on an Openstack 64GB RAM VM, using the oom startup 
script from this link 
https://jira.onap.org/secure/attachment/11206/oom_entrypoint.sh

Rancher comes up OK, host is registered.

However, I get some errors while pulling the docker images, and some pods are 
running and rest have errors, and i cannot login to the portal.

I tried also using the version from the wiki at 
https://wiki.onap.org/display/DW/ONAP+on+Kubernetes, but i get similar results.

Where can i find a version of the script that is tested to work OK with 
Openstack  ?


Thanks

Abdelmuhaimen Seaudi
Orange Labs Egypt
Mobile: +2012 84644 733

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] Swagger-UI for the ONAP Portal API

2018-03-03 Thread abdelmuhaimen.seaudi
Hello,

I am working on an application that should integrate with the ONAP Portal.

I am trying to use the URLs mentioned in the ONAP PORTAL API documentation at 
https://wiki.onap.org/download/attachments/1015849/Portal_API.pdf?api=v2https://wiki.onap.org/download/attachments/1015849/Portal_API.pdf?api=v2
 , but it's giving me authorization errors.

I tried username demo, password demo123456!, but no success.

I tried using username jira, password _pass, but I got the following errors in 
the ONAPORTAL webapp tomcat logs.

Is there a more accurate document that desribes the API and how to use it in 
our applications built on the PORTAL SDK ?

Or, is there a way to show the API of the PORTAL, for example using Swagger UI ?

I tried 
http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/swagger-ui.html,http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/swagger-ui.html,
 but i get a page with a green header showing Swagger, but the body of the page 
is blank.


Thanks
Abdelmuhaimen Seaudi
Orange Labs Egypt
Mobile: +2012 84644 733

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] cannot login to the portal sdk

2018-02-27 Thread abdelmuhaimen.seaudi
Hi,

I was able to compile the sdk and login using demo/demo, by cloning the 
"Amsterdam" version of the code, instead of the latest version.

Now, where can I find the correct URLs for the portal.properties file for the 
variables below, how are they defined ? Is there a reference document I can use 
?

# Name of java class that implements the OnBoardingApiService interface.
portal.api.impl.class = org.openecomp.portalapp.service.OnBoardingApiServiceImpl

# URL of the Portal where this app is onboarded
ecomp_redirect_url = http://portal.onap.org:8989/onapportal/process_csp

# URL of the ECOMP Portal REST API
ecomp_rest_url = http://portal.onap.org:50580/ecompportal/auxapi

# Applications do not need to run a UEB listener after 1607.
ueb_listeners_enable = false

# UEB Configuration
# If key ueb_listeners_enable is set to false,
# then only the ueb_app_key is required.
ueb_app_key = REPLACE-ME-UEB-APP-KEY-EPSDK-APP-OS


Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Monday, February 26, 2018 10:20 PM
To: onap-discuss@lists.onap.org
Subject: cannot login to the portal sdk

Hi,

After I compiled the portal sdk as describe in the tutorial 
http://onap.readthedocs.io/en/latest/submodules/portal.git/docs/tutorials/portal-sdk/setting-up.html

When I try to login using demo/demo, it gives me error: 
"login.error.external.invalid".

The catalina.out logs show the following:
Hibernate: select app0_.app_id as app_id1_14_, app0_.app_name as app_name2_14_, 
app0_.app_password as app_pass3_14_, app0_.app_username as app_user4_14_, 
app0_.app_image_url as app_imag5_14_, app0_.app_description as app_desc6_14_, 
app0_.app_notes as app_note7_14_, app0_.app_url as app_url8_14_, 
app0_.app_alternate_url as app_alte9_14_, app0_.app_rest_endpoint as 
app_res10_14_, app0_.ml_app_name as ml_app_11_14_, app0_.ml_app_admin_id as 
ml_app_12_14_, app0_.mots_id as mots_id13_14_, app0_.open as open14_14_, 
app0_.enabled as enabled15_14_, app0_.thumbnail as thumbna16_14_, app0_.ueb_key 
as ueb_key17_14_, app0_.ueb_secret as ueb_sec18_14_, app0_.ueb_topic_name as 
ueb_top19_14_ from fn_app app0_ where app0_.app_id=1
Hibernate: select user0_.user_id as user_id1_8_, user0_.org_id as org_id2_8_, 
user0_.manager_id as manager_3_8_, user0_.first_name as first_na4_8_, 
user0_.middle_name as middle_n5_8_, user0_.last_name as last_nam6_8_, 
user0_.phone as phone7_8_, user0_.fax as fax8_8_, user0_.cellular as 
cellular9_8_, user0_.email as email10_8_, user0_.address_id as address11_8_, 
user0_.alert_method_cd as alert_m12_8_, user0_.address_line_1 as address13_8_, 
user0_.address_line_2 as address14_8_, user0_.city as city15_8_, 
user0_.state_cd as state_c16_8_, user0_.zip_code as zip_cod17_8_, 
user0_.country_cd as country18_8_, user0_.hrid as hrid19_8_, user0_.org_user_id 
as org_use20_8_, user0_.org_code as org_cod21_8_, user0_.login_id as 
login_i22_8_, user0_.login_pwd as login_p23_8_, user0_.last_login_date as 
last_lo24_8_, user0_.location_clli as locatio25_8_, user0_.org_manager_userid 
as org_man26_8_, user0_.company as company27_8_, user0_.department as 
departm28_8_, user0_.department_name as departm29_8_, user0_.business_unit as 
busines30_8_, user0_.business_unit_name as busines31_8_, user0_.job_title as 
job_tit32_8_, user0_.silo_status as silo_st33_8_, user0_.fin_loc_code as 
fin_loc34_8_, user0_.active_yn as active_35_8_, user0_.is_internal_yn as 
is_inte36_8_, user0_.created_date as created37_8_, user0_.modified_date as 
modifie38_8_, user0_.created_id as created39_8_, user0_.modified_id as 
modifie40_8_, user0_.timezone as timezon41_8_ from FN_USER user0_ where 
user0_.login_id=? and user0_.login_pwd=?
Hibernate: select rolefuncti0_.function_cd as function1_0_, 
rolefuncti0_.function_name as function2_0_ from FN_FUNCTION rolefuncti0_

What is preventing me from logging in ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.

Re: [onap-discuss] cannot build the portal sdk

2018-02-26 Thread abdelmuhaimen.seaudi
Hi,

I was able to solve this issue by doing

sudo apt-get install libowasp-esapi-java



Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Monday, February 26, 2018 12:26 PM
To: onap-discuss@lists.onap.org
Subject: cannot build the portal sdk

Hi,

I am trying to build the portal sdk, as per the tutorial at 
http://onap.readthedocs.io/en/amsterdam/submodules/portal.git/docs/tutorials/portal-sdk/setting-up.html
 ,  however, I get the error below. How can I correct this issue ?

cloud@olc-demo-sdk:~/sdk/ecomp-sdk$ mvn install
[INFO] Scanning for projects...
Downloading: 
https://nexus.onap.org/content/repositories/releases/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
Downloading: 
https://nexus.onap.org/content/repositories/staging/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
Downloading: 
https://nexus.onap.org/content/repositories/snapshots/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
Downloading: 
https://nexus.onap.org/content/groups/public/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
Downloading: 
http://repo.maven.apache.org/maven2/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.onap.portal.sdk:epsdk-project:2.2.0-SNAPSHOT 
(/home/cloud/sdk/ecomp-sdk/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact 
org.onap.oparent:oparent:pom:0.1.1 from/to releases 
(https://nexus.onap.org/content/repositories/releases): peer not authenticated 
and 'parent.relativePath' points at no local POM @ line 7, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
cloud@olc-demo-sdk:~/sdk/ecomp-sdk$

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] cannot login to the portal sdk

2018-02-26 Thread abdelmuhaimen.seaudi
Hi,

After I compiled the portal sdk as describe in the tutorial 
http://onap.readthedocs.io/en/latest/submodules/portal.git/docs/tutorials/portal-sdk/setting-up.html

When I try to login using demo/demo, it gives me error: 
"login.error.external.invalid".

The catalina.out logs show the following:
Hibernate: select app0_.app_id as app_id1_14_, app0_.app_name as app_name2_14_, 
app0_.app_password as app_pass3_14_, app0_.app_username as app_user4_14_, 
app0_.app_image_url as app_imag5_14_, app0_.app_description as app_desc6_14_, 
app0_.app_notes as app_note7_14_, app0_.app_url as app_url8_14_, 
app0_.app_alternate_url as app_alte9_14_, app0_.app_rest_endpoint as 
app_res10_14_, app0_.ml_app_name as ml_app_11_14_, app0_.ml_app_admin_id as 
ml_app_12_14_, app0_.mots_id as mots_id13_14_, app0_.open as open14_14_, 
app0_.enabled as enabled15_14_, app0_.thumbnail as thumbna16_14_, app0_.ueb_key 
as ueb_key17_14_, app0_.ueb_secret as ueb_sec18_14_, app0_.ueb_topic_name as 
ueb_top19_14_ from fn_app app0_ where app0_.app_id=1
Hibernate: select user0_.user_id as user_id1_8_, user0_.org_id as org_id2_8_, 
user0_.manager_id as manager_3_8_, user0_.first_name as first_na4_8_, 
user0_.middle_name as middle_n5_8_, user0_.last_name as last_nam6_8_, 
user0_.phone as phone7_8_, user0_.fax as fax8_8_, user0_.cellular as 
cellular9_8_, user0_.email as email10_8_, user0_.address_id as address11_8_, 
user0_.alert_method_cd as alert_m12_8_, user0_.address_line_1 as address13_8_, 
user0_.address_line_2 as address14_8_, user0_.city as city15_8_, 
user0_.state_cd as state_c16_8_, user0_.zip_code as zip_cod17_8_, 
user0_.country_cd as country18_8_, user0_.hrid as hrid19_8_, user0_.org_user_id 
as org_use20_8_, user0_.org_code as org_cod21_8_, user0_.login_id as 
login_i22_8_, user0_.login_pwd as login_p23_8_, user0_.last_login_date as 
last_lo24_8_, user0_.location_clli as locatio25_8_, user0_.org_manager_userid 
as org_man26_8_, user0_.company as company27_8_, user0_.department as 
departm28_8_, user0_.department_name as departm29_8_, user0_.business_unit as 
busines30_8_, user0_.business_unit_name as busines31_8_, user0_.job_title as 
job_tit32_8_, user0_.silo_status as silo_st33_8_, user0_.fin_loc_code as 
fin_loc34_8_, user0_.active_yn as active_35_8_, user0_.is_internal_yn as 
is_inte36_8_, user0_.created_date as created37_8_, user0_.modified_date as 
modifie38_8_, user0_.created_id as created39_8_, user0_.modified_id as 
modifie40_8_, user0_.timezone as timezon41_8_ from FN_USER user0_ where 
user0_.login_id=? and user0_.login_pwd=?
Hibernate: select rolefuncti0_.function_cd as function1_0_, 
rolefuncti0_.function_name as function2_0_ from FN_FUNCTION rolefuncti0_

What is preventing me from logging in ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] cannot build the portal sdk

2018-02-26 Thread abdelmuhaimen.seaudi
Hi,

I am trying to build the portal sdk, as per the tutorial at 
http://onap.readthedocs.io/en/amsterdam/submodules/portal.git/docs/tutorials/portal-sdk/setting-up.html
 ,  however, I get the error below. How can I correct this issue ?

cloud@olc-demo-sdk:~/sdk/ecomp-sdk$ mvn install
[INFO] Scanning for projects...
Downloading: 
https://nexus.onap.org/content/repositories/releases/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
Downloading: 
https://nexus.onap.org/content/repositories/staging/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
Downloading: 
https://nexus.onap.org/content/repositories/snapshots/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
Downloading: 
https://nexus.onap.org/content/groups/public/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
Downloading: 
http://repo.maven.apache.org/maven2/org/onap/oparent/oparent/0.1.1/oparent-0.1.1.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.onap.portal.sdk:epsdk-project:2.2.0-SNAPSHOT 
(/home/cloud/sdk/ecomp-sdk/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact 
org.onap.oparent:oparent:pom:0.1.1 from/to releases 
(https://nexus.onap.org/content/repositories/releases): peer not authenticated 
and 'parent.relativePath' points at no local POM @ line 7, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
cloud@olc-demo-sdk:~/sdk/ecomp-sdk$

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] How to import AAI certificate

2017-12-26 Thread abdelmuhaimen.seaudi
https://wiki.onap.org/display/DW/Add+Sample+data+set+to+AAI+for+Sparky

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: Huang, Haibin [mailto:haibin.hu...@intel.com]
Sent: Tuesday, December 26, 2017 3:13 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; Abhishek Shekhar; onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

The error is change "Node Not Found:No Node of type vce found at: network/vces"
Maybe I need create vces.
Do you have create vces command?

vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:999" https://10.96.0.34:8443/aai/v11/network/vces -k




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

GET
network/vces
Node Not Found:No Node of type vce found at: 
network/vces
ERR.5.4.6114





I try to create vce, but get the same error.

vagrant@master:~$ curl -X PUT -d '{"vnf-id":"yui123", "vnf-name":"tst"}' --user 
AAI:AAI -k -H "X-FromAppId:AAI" -H "X-TransactionId:999" 
https://10.96.0.34:8443/aai/v11/network/vces/vce/yui123
vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:999" https://10.96.0.34:8443/aai/v11/network/vces -k




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

GET
network/vces
Node Not Found:No Node of type vce found at: 
network/vces
ERR.5.4.6114





From: abdelmuhaimen.sea...@orange.com 
[mailto:abdelmuhaimen.sea...@orange.com]
Sent: Tuesday, December 26, 2017 8:34 PM
To: Huang, Haibin >; 
Abhishek Shekhar 
>; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

Try replacing "https://10.96.0.34:8443/aai/v11/networks/vces; with 
"https://10.96.0.34:8443/aai/v11/network/vces;

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: Huang, Haibin [mailto:haibin.hu...@intel.com]
Sent: Tuesday, December 26, 2017 2:31 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; Abhishek Shekhar; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

Thank you very much!

The error isn't change.

vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:999" https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3000
Invalid input performing %1 on %2 (msg=%3) (ec=%4)

GET
v11/networks/vces
Invalid input performing %1 on %2:Unrecognized AAI 
object networks
ERR.5.2.3000





From: abdelmuhaimen.sea...@orange.com 
[mailto:abdelmuhaimen.sea...@orange.com]
Sent: Tuesday, December 26, 2017 8:24 PM
To: Huang, Haibin >; 
Abhishek Shekhar 
>; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

Try replacing "X-TransactionId:transact_id" with "X-TransactionId:999"

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Huang, Haibin
Sent: Tuesday, December 26, 2017 12:47 PM
To: Abhishek Shekhar; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] How to import AAI certificate

Hi Abhishek,

I try to invoke this command with additional 2 headers.
But, I get other difference error "SVC3000".

vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:transact_id" https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3000
Invalid input performing %1 on %2 (msg=%3) (ec=%4)

GET
v11/networks/vces
Invalid input performing %1 on %2:Unrecognized AAI 
object networks
ERR.5.2.3000





From: Abhishek Shekhar [mailto:abhishek.shekh...@amdocs.com]
Sent: Tuesday, December 26, 2017 3:59 PM
To: Huang, Haibin >; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

HI,

This is 

Re: [onap-discuss] How to import AAI certificate

2017-12-26 Thread abdelmuhaimen.seaudi
Here's the output when I try it on my AAI, as shown in the snapshot below, and 
I attach the whole request in the json file above.


{
"vce": [
{
"vnf-id": "amist-vce-1",
"vnf-name": "amist123vbc-name",
"vnf-name2": "amist123vbc-name2",
"vnf-type": "esx-vce",
"prov-status": "PRE-PROV",
"equipment-role": "VCE",
"heat-stack-id": "amist123vbc",
"ipv4-oam-address": "4.2.3.4",
"resource-version": "1509722281183"
}
]
}


[cid:image001.png@01D37E57.7DC58EB0]

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of 
abdelmuhaimen.sea...@orange.com
Sent: Tuesday, December 26, 2017 2:34 PM
To: Huang, Haibin; Abhishek Shekhar; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] How to import AAI certificate

Try replacing "https://10.96.0.34:8443/aai/v11/networks/vces; with 
"https://10.96.0.34:8443/aai/v11/network/vces;

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: Huang, Haibin [mailto:haibin.hu...@intel.com]
Sent: Tuesday, December 26, 2017 2:31 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; Abhishek Shekhar; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

Thank you very much!

The error isn't change.

vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:999" https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3000
Invalid input performing %1 on %2 (msg=%3) (ec=%4)

GET
v11/networks/vces
Invalid input performing %1 on %2:Unrecognized AAI 
object networks
ERR.5.2.3000





From: abdelmuhaimen.sea...@orange.com 
[mailto:abdelmuhaimen.sea...@orange.com]
Sent: Tuesday, December 26, 2017 8:24 PM
To: Huang, Haibin >; 
Abhishek Shekhar 
>; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

Try replacing "X-TransactionId:transact_id" with "X-TransactionId:999"

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Huang, Haibin
Sent: Tuesday, December 26, 2017 12:47 PM
To: Abhishek Shekhar; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] How to import AAI certificate

Hi Abhishek,

I try to invoke this command with additional 2 headers.
But, I get other difference error "SVC3000".

vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:transact_id" https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3000
Invalid input performing %1 on %2 (msg=%3) (ec=%4)

GET
v11/networks/vces
Invalid input performing %1 on %2:Unrecognized AAI 
object networks
ERR.5.2.3000





From: Abhishek Shekhar [mailto:abhishek.shekh...@amdocs.com]
Sent: Tuesday, December 26, 2017 3:59 PM
To: Huang, Haibin >; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

HI,

This is not certification issue.

You should invoke this command with additional 2 headers

  1.  X-FromAppId
  2.  X-TransactionId


Try the following command
$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:transact_id" https://10.96.0.34:8443/aai/v11/networks/vces -k

Thanks
Abhishek Shekhar

From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Huang, Haibin
Sent: Monday, December 25, 2017 7:53 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] How to import AAI certificate

Hi All,

I have installed AAI. When run the below command get below error. Some people 
said import certification. I have two questions.
First, Is AAI certification 
https://wiki.onap.org/display/DW/AAI+Cert+Expires+2018-12-06?
Second, How to import certification?

$ curl -X GET --user AAI:AAI https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3002
Error writing output performing %1 on %2 (msg=%3) 
(ec=%4)
  

Re: [onap-discuss] How to import AAI certificate

2017-12-26 Thread abdelmuhaimen.seaudi
Try replacing "https://10.96.0.34:8443/aai/v11/networks/vces; with 
"https://10.96.0.34:8443/aai/v11/network/vces;

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: Huang, Haibin [mailto:haibin.hu...@intel.com]
Sent: Tuesday, December 26, 2017 2:31 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; Abhishek Shekhar; onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

Thank you very much!

The error isn't change.

vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:999" https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3000
Invalid input performing %1 on %2 (msg=%3) (ec=%4)

GET
v11/networks/vces
Invalid input performing %1 on %2:Unrecognized AAI 
object networks
ERR.5.2.3000





From: abdelmuhaimen.sea...@orange.com 
[mailto:abdelmuhaimen.sea...@orange.com]
Sent: Tuesday, December 26, 2017 8:24 PM
To: Huang, Haibin >; 
Abhishek Shekhar 
>; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

Try replacing "X-TransactionId:transact_id" with "X-TransactionId:999"

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Huang, Haibin
Sent: Tuesday, December 26, 2017 12:47 PM
To: Abhishek Shekhar; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] How to import AAI certificate

Hi Abhishek,

I try to invoke this command with additional 2 headers.
But, I get other difference error "SVC3000".

vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:transact_id" https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3000
Invalid input performing %1 on %2 (msg=%3) (ec=%4)

GET
v11/networks/vces
Invalid input performing %1 on %2:Unrecognized AAI 
object networks
ERR.5.2.3000





From: Abhishek Shekhar [mailto:abhishek.shekh...@amdocs.com]
Sent: Tuesday, December 26, 2017 3:59 PM
To: Huang, Haibin >; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

HI,

This is not certification issue.

You should invoke this command with additional 2 headers

  1.  X-FromAppId
  2.  X-TransactionId


Try the following command
$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:transact_id" https://10.96.0.34:8443/aai/v11/networks/vces -k

Thanks
Abhishek Shekhar

From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Huang, Haibin
Sent: Monday, December 25, 2017 7:53 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] How to import AAI certificate

Hi All,

I have installed AAI. When run the below command get below error. Some people 
said import certification. I have two questions.
First, Is AAI certification 
https://wiki.onap.org/display/DW/AAI+Cert+Expires+2018-12-06?
Second, How to import certification?

$ curl -X GET --user AAI:AAI https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3002
Error writing output performing %1 on %2 (msg=%3) 
(ec=%4)

GET
v11/networks/vces
Internal 
Error:java.lang.NullPointerException
ERR.5.4.4000





---
Huang.haibin
11628530
86+18106533356


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

_



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite 

Re: [onap-discuss] How to import AAI certificate

2017-12-26 Thread abdelmuhaimen.seaudi
Try replacing "X-TransactionId:transact_id" with "X-TransactionId:999"

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Huang, Haibin
Sent: Tuesday, December 26, 2017 12:47 PM
To: Abhishek Shekhar; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] How to import AAI certificate

Hi Abhishek,

I try to invoke this command with additional 2 headers.
But, I get other difference error "SVC3000".

vagrant@master:~$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:transact_id" https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3000
Invalid input performing %1 on %2 (msg=%3) (ec=%4)

GET
v11/networks/vces
Invalid input performing %1 on %2:Unrecognized AAI 
object networks
ERR.5.2.3000





From: Abhishek Shekhar [mailto:abhishek.shekh...@amdocs.com]
Sent: Tuesday, December 26, 2017 3:59 PM
To: Huang, Haibin >; 
onap-discuss@lists.onap.org
Subject: RE: How to import AAI certificate

HI,

This is not certification issue.

You should invoke this command with additional 2 headers

  1.  X-FromAppId
  2.  X-TransactionId


Try the following command
$ curl -X GET --user AAI:AAI -H "X-FromAppId:AAI" -H 
"X-TransactionId:transact_id" https://10.96.0.34:8443/aai/v11/networks/vces -k

Thanks
Abhishek Shekhar

From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Huang, Haibin
Sent: Monday, December 25, 2017 7:53 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] How to import AAI certificate

Hi All,

I have installed AAI. When run the below command get below error. Some people 
said import certification. I have two questions.
First, Is AAI certification 
https://wiki.onap.org/display/DW/AAI+Cert+Expires+2018-12-06?
Second, How to import certification?

$ curl -X GET --user AAI:AAI https://10.96.0.34:8443/aai/v11/networks/vces -k




SVC3002
Error writing output performing %1 on %2 (msg=%3) 
(ec=%4)

GET
v11/networks/vces
Internal 
Error:java.lang.NullPointerException
ERR.5.4.4000





---
Huang.haibin
11628530
86+18106533356


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

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] How to use SO

2017-11-29 Thread abdelmuhaimen.seaudi
Hi,

I have create a DG Graph that sets up traffic engineering tunnels between Cisco 
and Juniper routers.

I call the DG with REST Calls to SLI-API.

I want to send  a REST call to SO to call the DG to perform this step, which is 
part of a larger network automation scenario.

I have went through the SO API, and I was able to run a create service instance 
call, which returned a service instance UUID, but this is only for AAI.

How can I use the SO API to trigger my DG ? Is there any examples ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] Error when distributing service models

2017-11-27 Thread abdelmuhaimen.seaudi
Hi, Do you know what should I do to troubleshoot the issue below ?

My SO cannot communicate with AAI, and it gives me the following error when I 
try to distribute a new service model from SDC.

SDC:
2017-11-27T13:01:41.673Z|||57d55483-8f51-4f51-8d18-ba2257198476||qtp2116908859-8629338|||SDC-BEINFO||172.17.0.5||10.0.3.1|10.0.1.1|o.o.s.b.a.i.AuditingLogFormatUtil||ActivityType=,
 Desc=
2017-11-27T13:01:41.687Z|||57d55483-8f51-4f51-8d18-ba2257198476||qtp2116908859-8629338|||SDC-BEINFO||172.17.0.5||10.0.3.1|10.0.1.1|o.o.s.b.a.i.AuditingLogFormatUtil||ActivityType=,
 Desc=
2017-11-27T13:01:41.711Z|||57d55483-8f51-4f51-8d18-ba2257198476||qtp2116908859-8629338|||SDC-BEINFO||172.17.0.5||10.0.3.1|10.0.1.1|o.o.s.b.a.i.AuditingLogFormatUtil||ActivityType=,
 Desc=
2017-11-27T13:01:41.725Z|||57d55483-8f51-4f51-8d18-ba2257198476||qtp2116908859-8629338|||SDC-BEINFO||172.17.0.5||10.0.3.1|10.0.1.1|o.o.s.b.a.i.AuditingLogFormatU

AAI-ML:

2017-11-27T12:00:41.728Z||Timer-0|ModelLoader||org.onap.aai.modelloader.service.SdcConnectionJob||ERROR|MDLSVC2001E|MDLSVC2001E
 Unable to register with ASDC: Failed to initialize distribution client: ASDC 
server problem|
2017-11-27T12:01:41.540Z||Timer-0|ModelLoader||org.openecomp.sdc.impl.DistributionClientImpl||INFO|DistributionClient
 - init
2017-11-27T12:01:41.655Z||Timer-0|ModelLoader||com.att.nsa.apiClient.http.HttpClient||WARN|POST
 http://10.0.11.1:3904/apiKeys/create will send credentials over a clear 
channel.
2017-11-27T12:01:41.655Z||Timer-0|ModelLoader||com.att.nsa.apiClient.http.HttpClient||INFO|POST
 http://10.0.11.1:3904/apiKeys/create (as 1lnCfdEBY3DyDwid) ...
2017-11-27T12:01:41.665Z||Timer-0|ModelLoader||com.att.nsa.apiClient.http.HttpClient||INFO|
 --> HTTP/1.1 200 OK
2017-11-27T12:01:41.736Z||Timer-0|ModelLoader||org.openecomp.sdc.http.AsdcConnectorClient||ERROR|status
 from ASDC is 
org.openecomp.sdc.http.HttpAsdcResponse@41ed7ddd
2017-11-27T12:01:41.736Z||Timer-0|ModelLoader||org.openecomp.sdc.http.AsdcConnectorClient||ERROR|DistributionClientResultImpl
 [responseStatus=ASDC_SERVER_PROBLEM, responseMessage=ASDC server problem]
2017-11-27T12:01:41.736Z||Timer-0|ModelLoader||com.att.nsa.apiClient.http.HttpClient||WARN|DELETE
 http://10.0.11.1:3904/apiKeys/WDqYsclRo4TjUCLe will send credentials over a 
clear channel.
2017-11-27T12:01:41.736Z||Timer-0|ModelLoader||com.att.nsa.apiClient.http.HttpClient||INFO|DELETE
 http://10.0.11.1:3904/apiKeys/WDqYsclRo4TjUCLe (as WDqYsclRo4TjUCLe) ...
2017-11-27T12:01:41.741Z||Timer-0|ModelLoader||com.att.nsa.apiClient.http.HttpClient||INFO|
 --> HTTP/1.1 200 OK
2017-11-27T12:01:41.741Z||Timer-0|ModelLoader||org.onap.aai.modelloader.service.SdcConnectionJob||ERROR|MDLSVC2001E|MDLSVC2001E
 Unable to register with ASDC: Failed to initialize distribution client: ASDC 
server problem|

Thanks

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] [AAI] Modelling physical hardware in ONAP AAI

2017-11-19 Thread abdelmuhaimen.seaudi
Hi,

In my app, I create a customer, then a service subscription, then a service 
instance.

After that I create the service elements, in my case x-connects traffic 
engineering tunnels, and I create the relation between each tunnel to its 
corresponding customer id, an service instance.

You can find a tutorial here 
https://wiki.onap.org/pages/viewpage.action?pageId=10780854 and here 
https://wiki.onap.org/pages/viewpage.action?pageId=13599492.

For your case, you might create pnfs (physical network funcations) to represent 
the routers, I show example from my app below:

GET: https://aai.api.simpledemo.onap.org:8443/aai/v11/network/pnfs/pnf/PE1
AAI RESPONSE:

http://org.openecomp.aai.inventory/v11;>
PE1
router
Juniper
vMX
172.16.1.101
16.2R1
false
1509719242452





Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Michael Still
Sent: Monday, November 20, 2017 6:29 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] [AAI] Modelling physical hardware in ONAP AAI

Hi,

I have a use case where we are managing a network of SDN switches. We would 
like to use ONAP AAI to handle the inventory management for ports on these 
switches, as well as modelling which switches are in what locations (and how 
they interconnect with each other).

I haven't been able to find any examples of how I would do such a thing in AAI, 
although its entirely possible that I've missed something obvious. Does the 
team have any pointers on getting started?

Thanks,
Michael

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] Error in SO Camunda Tasklist

2017-11-19 Thread abdelmuhaimen.seaudi
Hi,

When I try to start a process in SO Camunda Tasklit, for example 
CreateCustomE2EServiceInstance, i get the following error:
The process could not be started. :Cannot instantiate process definition 
0eef3097-cc86-11e7-9498-0242ac120003: Unable to compile script: 
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: 
Script8.groovy: 2: unable to resolve class CreateCustomE2EServiceInstance @ 
line 2, column 10. def csi= new CreateCustomE2EServiceInstance() ^ 1 error
Is there something I can do to troubleshoot this ?
Thanks
A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] Camunda default admin password ?

2017-11-18 Thread abdelmuhaimen.seaudi
Hi,

What is the default password for admin in Camunda Admin at 
http://SO:8080/camunda/app/admin/default/#/login
 ?

Thanks.

A. Seaudi

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] [netconf-dev] ssh error trying to mount device in Carbon

2017-11-18 Thread abdelmuhaimen.seaudi
Hi,

I am adding ONAP, in case someone is facing the same issue in SDNC.



From: netconf-dev-boun...@lists.opendaylight.org 
[netconf-dev-boun...@lists.opendaylight.org] on behalf of Abdelmuhaimen Seaudi 
[asea...@gmail.com]
Sent: Saturday, November 18, 2017 7:05 PM
To: Gwenael LAMBROUIN
Cc: netconf-...@lists.opendaylight.org
Subject: Re: [netconf-dev] ssh error trying to mount device in Carbon

Hi,

I was able to resolve this issue by deleting the "data" folder and restarting 
karaf, and it was able to mount the junos devices correctly. The ssh errors 
went away.

But all the repos and features need to be added again, so it's better to have a 
script collecting all the features, and run it once after restarting karaf.

Thanks.


Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733


On Thu, Nov 16, 2017 at 10:28 AM, Gwenael LAMBROUIN 
> wrote:

Hello Abdelmuhaimen,

You don't need to rebuild ODL after you have modified startup.properties. But 
you need to do a clean restart of karaf with "karaf clean". And then you just 
have to re-install the karaf features you need.

It is the same with the other workaround.

BR,

Gwenael

Le 16/11/2017 à 08:22, Abdelmuhaimen Seaudi a écrit :
Thanks, Giles.

I tried adding the line "mvn\:org.bouncycastle/bcprov-jdk15on/1.56 = 14" to the 
file "startup.properties", and restarted ODL, but nothing happened.

I guess this needs to be done before the ODL 1st run after building it from 
source, however, in my case, i have an ongoing working ODL that has some 
modifications, and I don't want to rebuild from scratch.

A few weeks ago, I also tried the other workaround, removing 
";resolution:=optional" from the "sshd-core-0.14.0.jar" file, and restarted 
ODL, but nothing happened also.

Appreciate if someone has a way to correct this bug without needing to rebuild 
ODL from source.

Thanks.


Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733


On Wed, Nov 15, 2017 at 11:43 AM, Giles Heron 
> wrote:
I think your issue is caused by this:

https://bugs.opendaylight.org/show_bug.cgi?id=8431

There’s a workaround noted in the bug report.

Giles

On 15 Nov 2017, at 06:16, Abdelmuhaimen Seaudi 
> wrote:

Hi,

In Beryllium and Boron, I can mount Juniper MX routers OK.

However, in Carbon, I get the following error: Exception caught
java.security.InvalidAlgorithmParameterException: DH key size must be multiple 
of 64, and can only range from 512 to 2048 (inclusive). The specific key size 
4096 is not supported.

Why does this happen in Carbon ? How can I correct this ?


Full logs below:
2017-11-15 06:13:11,884 | INFO  | n-dispatcher-130 | AbstractNetconfTopology
  | 365 - netconf-topology-config - 1.2.1.Carbon | Connecting 
RemoteDevice{Uri [_value=pp]} , with config Node{getNodeId=Uri [_value=pp], 
augmentations={interface 
org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode=NetconfNode{getActorResponseWaitTime=5,
 getBetweenAttemptsTimeoutMillis=2000, getConcurrentRpcLimit=0, 
getConnectionTimeoutMillis=2, 
getCredentials=LoginPassword{getPassword=lab@lab, getUsername=lab, 
augmentations={}}, getDefaultRequestTimeoutMillis=6, getHost=Host 
[_ipAddress=IpAddress [_ipv4Address=Ipv4Address [_value=10.194.77.98]]], 
getKeepaliveDelay=120, getMaxConnectionAttempts=0, getPort=PortNumber 
[_value=830], getSchemaCacheDirectory=schema, getSleepFactor=1.5, 
getYangModuleCapabilities=YangModuleCapabilities{getCapability=[urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf=2011-06-01,
 http://xml.juniper.net/xnm/1.1/xnm?module=configuration=2015-09-11, 
http://xml.juniper.net/junos/16.1R4/junos-routing?module=show=2016-02-01,
 
urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types=2013-07-15],
 isOverride=false, augmentations={}}, isReconnectOnChangedSchema=false, 
isSchemaless=false, isTcpOnly=false}}}
2017-11-15 06:13:16,838 | WARN  | n-dispatcher-130 | AbstractNetconfTopology
  | 365 - netconf-topology-config - 1.2.1.Carbon | Adding keepalive facade, 
for device Uri [_value=pp]
2017-11-15 06:13:16,839 | INFO  | n-dispatcher-130 | AbstractNetconfTopology
  | 365 - netconf-topology-config - 1.2.1.Carbon | Concurrent rpc limit is 
smaller than 1, no limit will be enforced for device RemoteDevice{pp}
2017-11-15 06:13:21,457 | INFO  | d]-nio2-thread-6 | ClientSessionImpl  
  | 30 - org.apache.sshd.core - 0.14.0 | Client session created
2017-11-15 06:13:26,150 | INFO  | d]-nio2-thread-6 | ClientSessionImpl   

Re: [onap-discuss] AAI UI

2017-11-04 Thread abdelmuhaimen.seaudi
Hi.

When I access AAI UI, there is a search box at the top. I tried several search 
expressions but it always says it's wrong.


Is there any example showing the correct search syntax to use in this box ?

I don't find such an example in VIEW_INSPECT.MD and VNFS.MD, or is there ?



Sent from Samsung tablet.


 Original message 
From: eric.deb...@orange.com
Date: 03/11/2017 6:43 PM (GMT+02:00)
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] AAI UI

We can find some information on the VIEW_INSPECT.MD and VNFS.MD files under the 
aai/sparky-be.git repo

Regards

Eric

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] AAI UI

2017-11-03 Thread abdelmuhaimen.seaudi
Hi.

Is there any document or tutorial to explain how to use ghe AAI UI ?

For example, how can I use the search box ?


Sent from Samsung Mobile.

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] DGBuilder example for feature

2017-10-30 Thread abdelmuhaimen.seaudi
Hi,

I was able to use the tutorial here to create new resources from DG Builder 
into AAI (Introduction to SDNC-Adaptors/AAIService component) :

https://wiki.onap.org/pages/viewpage.action?pageId=10780854



I am still looking for example to add a feature bundle and executing from DG 
Builder ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


-- Forwarded message --
From: Abdelmuhaimen Seaudi >
Date: Fri, Oct 20, 2017 at 8:08 AM
Subject: DGBuilder example for feature
To: onap-discuss@lists.onap.org

Hi,

Regarding the tutorial for DG Builder on :
https://wiki.onap.org/display/DW/Tutorial%3A+VoLTEExample+%3A+Using+SLI-API+for+Prototyping

Is there an example DG Builder showing how to add a feature bundle and 
executing it from DG Builder ?

Also, is there an example showing how to create a new resource, e.g. layer 2 
tunnel x-connect, from DG Builder into AAI ?

Thanks.
Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733



_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] error when trying to create customer in AAI

2017-10-30 Thread abdelmuhaimen.seaudi
Hi,

I was able to resolve this issue by exporting the self-signed certificates from 
AAI, and importing them into Java keystore:

keytool -importcert -file ~/aai.crt -alias aai.api.simpledemo.openecomp.org 
-keystore /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts -storepass 
changeit


Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733


-- Forwarded message --
From: Abdelmuhaimen Seaudi >
Date: Fri, Oct 20, 2017 at 10:36 AM
Subject: error when trying to create customer in AAI
To: onap-discuss@lists.onap.org

Hi,

If I try to create a new customer in AAI via DGBuilder, I get the following 
error.
What does "unable to find valid certification path to the requested target" 
mean ?

2017-10-20 08:33:24,088 | INFO  | tp322478290-1567 | sliapiProvider 
  | 299 - org.onap.ccsdk.sli.core.sliapi-provider - 0.1.2.SNAPSHOT | 
Calling directed graph for test/test/sync
2017-10-20 08:33:24,090 | INFO  | tp322478290-1567 | SvcLogicServiceImpl
  | 295 - org.onap.ccsdk.sli.core.sli-provider - 0.1.2.SNAPSHOT | Fetching 
service logic from data store
2017-10-20 08:33:24,093 | INFO  | tp322478290-1567 | SvcLogicServiceImpl
  | 295 - org.onap.ccsdk.sli.core.sli-provider - 0.1.2.SNAPSHOT | About to 
execute graph SvcLogicGraph [module=test, rpc=test, mode=sync, version=0.1]
2017-10-20 08:33:24,093 | INFO  | tp322478290-1567 | SvcLogicServiceImpl
  | 295 - org.onap.ccsdk.sli.core.sli-provider - 0.1.2.SNAPSHOT | About to 
execute node # 1 (block)
2017-10-20 08:33:24,105 | INFO  | tp322478290-1567 | AAIService 
  | 300 - org.openecomp.sdnc.sli.aai - 0.1.0.SNAPSHOT | Input - 
global-customer-id : 123
2017-10-20 08:33:24,108 | INFO  | tp322478290-1567 | AAIService 
  | 300 - org.openecomp.sdnc.sli.aai - 0.1.0.SNAPSHOT | A transaction :
2017-10-20 08:33:24,108 | INFO  | tp322478290-1567 | AAIService 
  | 300 - org.openecomp.sdnc.sli.aai - 0.1.0.SNAPSHOT | Request Time : 
2017-10-20T08:33:24.106Z, Method : PUT
2017-10-20 08:33:24,108 | INFO  | tp322478290-1567 | AAIService 
  | 300 - org.openecomp.sdnc.sli.aai - 0.1.0.SNAPSHOT | Request URL : 
https://aai.api.simpledemo.openecomp.org:8443/aai/v11/business/customers/customer/123
2017-10-20 08:33:24,114 | INFO  | tp322478290-1567 | AAIService 
  | 300 - org.openecomp.sdnc.sli.aai - 0.1.0.SNAPSHOT | Missing requestID. 
Assigned eb8bc791-3d5b-4417-a508-092b856b11c9
2017-10-20 08:33:24,127 | INFO  | tp322478290-1567 | AAIService 
  | 300 - org.openecomp.sdnc.sli.aai - 0.1.0.SNAPSHOT | Input - data : 
{"global-customer-id":"123","subscriber-name":"ABC123","subscriber-type":"Customer"}
2017-10-20 08:33:24,180 | WARN  | tp322478290-1567 | AAIService 
  | 300 - org.openecomp.sdnc.sli.aai - 0.1.0.SNAPSHOT | 
AAIRequestExecutor.post
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: 
PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733



_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] Appc-ssh-adapter example

2017-10-28 Thread abdelmuhaimen.seaudi
Hi.

I need to talk to a device without a yang model, how can I use appc-ssh-adapter 
?

Do you have an example ?

Thanks


Sent from Samsung Mobile.

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] How to break out of a FOR loop in DG Builder

2017-10-27 Thread abdelmuhaimen.seaudi
Hi.

Can I break out of a FOR loop in DG Builder ?

I tried doing a switch node to check a condition and if true i tried to link to 
the next node in the block, but I get error loop in Dg Builder .

Thanks



Sent from Samsung tablet.

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


[onap-discuss] How yo send array to DG via SLI-API

2017-10-27 Thread abdelmuhaimen.seaudi
Hi.

How can I send an array to my DG via SLI-API ?

For example, I need to send 4 IP addresses PE[ ] = { "a" , "b" , "c" , "d" }


{
"input": {
"module-name": "TUTORIAL",
"rpc-name": "helloWorld",
"mode": "sync",
"sli-parameter": [{
"parameter-name": "PE0",
"string-value": "a"
}
]
}
}

Sent from Samsung Mobile.

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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


Re: [onap-discuss] DG Builder (wait or sleep ?)

2017-10-26 Thread abdelmuhaimen.seaudi
Hi Brian,

“The right way is to create two DGs and put a process in between” : I am using 
a JAVA application to call the DGs, do you mean that I call 1st DG to mount, 
then return the control to JAVA to check the device is “connected”, and when 
it’s connected, I call the 2nd DG ?

“If you really need to do it in one DG – then you can use a for loop node that 
tests a condition.” : If I go this way, the DG will send a REST to check 
status, and if not “connected”, the loop will repeat again to make another REST 
call. If we say 200-500 ms for the REST call, this means tens of REST calls in 
a few seconds. So again, we still need a way to “wait” to “block” the DG from 
processing quickly into the next steps.

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com
Mobile: +2012 84644 733

From: FREEMAN, BRIAN D [mailto:bf1...@att.com]
Sent: Thursday, October 26, 2017 02:39 PM
To: Abdelmuhaimen Seaudi; onap-discuss@lists.onap.org
Cc: SEAUDI Abdelmuhaimen OBS/CSO
Subject: RE: [onap-discuss] DG Builder (wait or sleep ?)

The right way is to create two DGs and put a process in between that checks for 
the connected state in the netconf mount.

If you really need to do it in one DG – then you can use a for loop node that 
tests a condition.

You may want to either use an execute node to test or you can use rest api call 
node to check the status of the mount point in the controller config tree to 
see if the state is “connected”.

Brian


From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Abdelmuhaimen Seaudi
Sent: Thursday, October 26, 2017 3:21 AM
To: onap-discuss@lists.onap.org
Cc: abdelmuhaimen. seaudi 
>
Subject: [onap-discuss] DG Builder (wait or sleep ?)

Hi,

When I mount a device from a DG using rest api plugin, it can take a while for 
the device to be mounted.

I need to have the DG wait or sleep or loop idle to check that the device 
status is "connected" before processing the next node.

Is there a way to perform such action of waiting in DG Builder ?

Thanks.

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: 
www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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