[onap-discuss] Rancher taking large hdd space

2018-12-02 Thread Abdelmuhaimen Seaudi
Hi,

I have an ONAP OOM Beijing up and running since few months, and I noticed that 
the Rancher Server VM hard disk is getting full, due to Rancher database taking 
large space.

Is there a way to make a cleanup of the Rancher db to reclaim the HDD ?

root@olc-rancher:/var/lib/docker/volumes/f856be775a189667781dbf214d5bd84db5b1c78100c7fb716088156c89f9bd3b/_data/cattle#
 ls -lhS
total 13G
-rw-rw 1 systemd-resolve systemd-bus-proxy 7.3G Dec  3 06:01 instance.ibd
-rw-rw 1 systemd-resolve systemd-bus-proxy 1.7G Dec  3 06:00 
container_event.ibd
-rw-rw 1 systemd-resolve systemd-bus-proxy 1.5G Dec  3 06:01 
process_instance.ibd
-rw-rw 1 systemd-resolve systemd-bus-proxy 964M Dec  3 06:01 image.ibd
-rw-rw 1 systemd-resolve systemd-bus-proxy 508M Dec  3 06:01 
process_execution.ibd
-rw-rw 1 systemd-resolve systemd-bus-proxy 332M Dec  3 06:01 
instance_label_map.ibd
-rw-rw 1 systemd-resolve systemd-bus-proxy 188M Dec  3 05:25 
external_event.ibd

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com<mailto: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.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14219): https://lists.onap.org/g/onap-discuss/message/14219
Mute This Topic: https://lists.onap.org/mt/28568989/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[onap-discuss] default username/password for CLAMP Casablanca

2018-12-02 Thread Abdelmuhaimen Seaudi
Hi, when I try to access CLAMP in Casablanca using the URL: 
https://84.39.37.85:30258/designer/index.html#/otherwise, I get a login popup.

I tried "admin/password", but didn't work.

What is the default username and password to login ?

Thanks.

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com<mailto: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.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14209): https://lists.onap.org/g/onap-discuss/message/14209
Mute This Topic: https://lists.onap.org/mt/28560493/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [onap-discuss] onap-sdnc-ansible-server cannot launch

2018-09-12 Thread Abdelmuhaimen Seaudi
Hi,

I cloned the Beijing OOM branch, then "make all", then "helm install  -n onap 
--namespace onap local/onap".

The sndc-ansible chart values.yaml says:
repository: nexus3.onap.org:10001
image: onap/sdnc-ansible-server-image:1.3.4

I compared this with OOM 2.0.0-ONAP Branch, and it's the same docker image 
version 1.3.4

I think the issue is because apt-add-repository is missing.
./startAnsibleServer.sh: line 11: apt-add-repository: command not found

Maybe the solution is to add "sudo apt-get update" to the startAnsibleServer.sh 
?

If I try on a plain Ubuntu, where apt-add-repository is available, it downloads 
the correct version OK
Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates/universe 
amd64 ansible all 2.0.0.2-2ubuntu1.1 [1,018 kB]

Full log below:
root@olc-lde-1:~# apt-add-repository -y ppa:ansible/ansible
gpg: keyring `/tmp/tmpkmzn013u/secring.gpg' created
gpg: keyring `/tmp/tmpkmzn013u/pubring.gpg' created
gpg: requesting key 7BB9C367 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpkmzn013u/trustdb.gpg: trustdb created
gpg: key 7BB9C367: public key "Launchpad PPA for Ansible, Inc." imported
gpg: Total number processed: 1
gpg:   imported: 1  (RSA: 1)
OK
root@olc-lde-1:~# apt-get -y install ansible
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ieee-data python-crypto python-ecdsa python-httplib2 python-jinja2 
python-markupsafe python-netaddr python-paramiko python-pkg-resources 
python-selinux python-six python-yaml
Suggested packages:
  sshpass python-crypto-dbg python-crypto-doc python-jinja2-doc ipython 
python-netaddr-docs python-setuptools
The following NEW packages will be installed:
  ansible ieee-data python-crypto python-ecdsa python-httplib2 python-jinja2 
python-markupsafe python-netaddr python-paramiko python-pkg-resources 
python-selinux python-six python-yaml
0 upgraded, 13 newly installed, 0 to remove and 80 not upgraded.
1 not fully installed or removed.
Need to get 2,967 kB of archives.
After this operation, 17.9 MB of additional disk space will be used.
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
python-crypto amd64 2.6.1-6ubuntu0.16.04.3 [246 kB]
Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 
python-markupsafe amd64 0.23-2build2 [15.5 kB]
Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 
python-jinja2 all 2.8-1 [109 kB]
Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python-six 
all 1.10.0-3 [10.9 kB]
Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 
python-ecdsa all 0.13-2 [34.0 kB]
Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
python-paramiko all 1.16.0-1ubuntu0.1 [109 kB]
Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 
python-pkg-resources all 20.7.0-1 [108 kB]
Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 
python-yaml amd64 3.11-3build1 [105 kB]
Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 
python-httplib2 all 0.9.1+dfsg-1 [34.2 kB]
Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 ieee-data 
all 20150531.1 [830 kB]
Get:11 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 
python-netaddr all 0.7.18-1 [174 kB]
Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates/universe 
amd64 ansible all 2.0.0.2-2ubuntu1.1 [1,018 kB]
Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/universe amd64 
python-selinux amd64 2.4-3build2 [173 kB]
Fetched 2,967 kB in 0s (10.7 MB/s)
Setting up install-info (6.1.0.dfsg.1-5) ...
/usr/sbin/update-info-dir: 4: /etc/environment: 
catalina.base=/home/cloud/apache-tomcat-8.5.28: not found
dpkg: error processing package install-info (--configure):
subprocess installed post-installation script returned error exit status 127
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@olc-lde-1:~#

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

From: FREEMAN, BRIAN D [mailto:bf1...@att.com]
Sent: Tuesday, September 11, 2018 3:02 PM
To: onap-discuss@lists.onap.org; SEAUDI Abdelmuhaimen OBS/CSO
Subject: RE: onap-sdnc-ansible-server cannot launch

I'm not the expert on this but perhaps this will help.

Are you building your own SDNC docker containers ?


Looks like the problem is  in the
[sdnc/oam.git]<https://gerrit.onap.org/r/gitweb?p=sdnc/oam.git;a=tree;hb=refs/heads/beijing>
 / 
installation<https://gerrit.onap.org/r/gitweb?p=sdnc/oam.git;a=tree;f=installation;hb=refs/heads/beijing>
 / 
ansible-server<https://gerrit.onap.org/r/gitweb?p=sdnc/oam.git;a=tree;f=installation/ansible-server;hb=refs/heads/beijing>
 / 
src<https://gerrit.onap.org/r/gitweb?p=sdnc/oam.git;a=tree;f=installation/ansible-s

[onap-discuss] onap-sdnc-ansible-server cannot launch

2018-09-11 Thread Abdelmuhaimen Seaudi
Hi, I am using beijing branch for my OOM.

onap-sdnc-ansible-server cannot launch, the logs give the error below:
E: Failed to fetch 
http://archive.ubuntu.com/ubuntu/pool/universe/a/ansible/ansible_2.0.0.2-2ubuntu1_all.deb
  404  Not Found [IP: 91.189.88.152 80]

I see on the website the version is 
http://archive.ubuntu.com/ubuntu/pool/universe/a/ansible/ansible_2.0.0.2-2ubuntu1.1_all.deb

how can i correct this ?

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  apt-utils cron dh-python distro-info-data gir1.2-glib-2.0 iso-codes
  libapt-inst2.0 libdbus-glib-1-2 libgirepository-1.0-1 libpython3-stdlib
  lsb-release python-apt-common python3 python3-apt python3-dbus python3-gi
  python3-minimal python3-pycurl python3-software-properties python3.5
  python3.5-minimal unattended-upgrades
Suggested packages:
  anacron logrotate checksecurity exim4 | postfix | mail-transport-agent
  isoquery lsb python3-doc python3-tk python3-venv python3-apt-dbg
  python-apt-doc python-dbus-doc python3-dbus-dbg libcurl4-gnutls-dev
  python-pycurl-doc python3-pycurl-dbg python3.5-venv python3.5-doc
  binfmt-support bsd-mailx mail-transport-agent
The following NEW packages will be installed:
  apt-utils cron dh-python distro-info-data gir1.2-glib-2.0 iso-codes
  libapt-inst2.0 libdbus-glib-1-2 libgirepository-1.0-1 libpython3-stdlib
  lsb-release python-apt-common python3 python3-apt python3-dbus python3-gi
  python3-minimal python3-pycurl python3-software-properties python3.5
  python3.5-minimal software-properties-common unattended-upgrades
0 upgraded, 23 newly installed, 0 to remove and 2 not upgraded.
Need to get 5255 kB of archives.
After this operation, 31.7 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 cron amd64 
3.0pl1-128ubuntu2 [68.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 
python3.5-minimal amd64 3.5.2-2ubuntu0~16.04.4 [1597 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-minimal amd64 
3.5.1-3 [23.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5 
amd64 3.5.2-2ubuntu0~16.04.4 [165 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libpython3-stdlib 
amd64 3.5.1-3 [6818 B]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dh-python all 
2.20151103ubuntu1.1 [74.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3 amd64 3.5.1-3 
[8710 B]
Err:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 
amd64 1.2.26
  404  Not Found [IP: 91.189.88.161 80]
Err:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-utils 
amd64 1.2.26
  404  Not Found [IP: 91.189.88.161 80]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 
distro-info-data all 0.28ubuntu0.8 [4502 B]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 lsb-release 
all 9.20160110ubuntu0.2 [11.8 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgirepository-1.0-1 
amd64 1.46.0-3ubuntu1 [88.3 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 gir1.2-glib-2.0 amd64 
1.46.0-3ubuntu1 [127 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 iso-codes all 3.65-1 
[2268 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 libdbus-glib-1-2 
amd64 0.106-1 [67.1 kB]
Err:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 
python-apt-common all 1.1.0~beta1ubuntu0.16.04.1
  404  Not Found [IP: 91.189.88.161 80]
Err:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-apt 
amd64 1.1.0~beta1ubuntu0.16.04.1
  404  Not Found [IP: 91.189.88.161 80]
Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-dbus amd64 
1.2.0-3 [83.1 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-gi amd64 
3.20.0-0ubuntu1 [153 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-pycurl amd64 
7.43.0-1ubuntu1 [42.3 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 
python3-software-properties all 0.96.20.7 [20.3 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 
software-properties-common all 0.96.20.7 [9452 B]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 
unattended-upgrades all 0.90ubuntu0.9 [32.3 kB]
Fetched 4850 kB in 0s (12.4 MB/s)
E: Failed to fetch 
http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.2.26_amd64.deb
  404  Not Found [IP: 91.189.88.161 80]

E: Failed to fetch 
http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.2.26_amd64.deb  
404  Not Found [IP: 91.189.88.161 80]

E: Failed to fetch 
http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt-common_1.1.0~beta1ubuntu0.16.04.1_all.deb
  404  Not Found [IP: 91.189.88.161 80]

E: Failed to fetch 
http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python3-apt_1.1.0~beta1ubuntu0.16.04.1_amd64.deb

Re: [onap-discuss] AAI dataRestoreSnapshot

2018-09-05 Thread Abdelmuhaimen Seaudi
Hi,

I was able to solve this issue, the reason the restore did not run is because 
the old snapshot file was added to the aai-resources docker under user root, 
while the snapshot file should be under user aaiadmin, so that the java restore 
function can read the old snapshot file.

I think the java function should have caught this exception in order to print 
out error if it can’t read the old snapshot file.

 } else if (command.equals("RELOAD_DATA")) {
   … output truncated …
   System.out.println("We will load data IN from the file = " + 
oldSnapshotFullFname);
  System.out.println(" Begin reloading data. ");
<https://gerrit.onap.org/r/gitweb?p=aai/resources.git;a=blob;f=aai-resources/src/main/java/org/onap/aai/dbgen/DataSnapshot.java;h=d7271c97dde2bb360ac3929badeed79cdeb2ecc0;hb=refs/heads/2.0.0-ONAP#l234>
  graph.io(IoCore.graphson()).readGraph(oldSnapshotFullFname);  <<<<<< 
in case the function cannot read the old snapshot file, there’s no error logged 
to user
<https://gerrit.onap.org/r/gitweb?p=aai/resources.git;a=blob;f=aai-resources/src/main/java/org/onap/aai/dbgen/DataSnapshot.java;h=d7271c97dde2bb360ac3929badeed79cdeb2ecc0;hb=refs/heads/2.0.0-ONAP#l235>
  System.out.println("Completed the inputGraph command, now try to commit()... 
");
<https://gerrit.onap.org/r/gitweb?p=aai/resources.git;a=blob;f=aai-resources/src/main/java/org/onap/aai/dbgen/DataSnapshot.java;h=d7271c97dde2bb360ac3929badeed79cdeb2ecc0;hb=refs/heads/2.0.0-ONAP#l236>
  graph.tx().commit();
<https://gerrit.onap.org/r/gitweb?p=aai/resources.git;a=blob;f=aai-resources/src/main/java/org/onap/aai/dbgen/DataSnapshot.java;h=d7271c97dde2bb360ac3929badeed79cdeb2ecc0;hb=refs/heads/2.0.0-ONAP#l237>
  System.out.println("Completed reloading data.");


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

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Wednesday, August 22, 2018 10:42 AM
To: onap-discuss@lists.onap.org
Cc: SEAUDI Abdelmuhaimen OBS/CSO
Subject: AAI dataRestoreSnapshot

Hi

If I try to restore an old snapshot in AAI Beijing, I find that the 
dataRestoreSnapshot script does not actually reset or clear out the old 
database, before restoring the old snapshot.

This is giving me duplicate records in AAI Graph database, and it prevents me 
from using AAI, as i get errors like, cannot operate on multiple vertices.

For example, customer Demonstration is now appearing several times, and if i 
try to delete this customer, i get error, cannot delete multiple vertices.

I noticed that the scripts calls java function with $1 and $2.  $1 is the old 
snapshot, what is $2 ?

I looked in the code and found out that if we use only $1, the clear entire db 
part runs, however the old snapshot is not imported correctly, and if i try to 
get any values, i get not found error.

What is the correct way to restore an ols snapshot ?

Thanks

A. Seaudi

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.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12238): https://lists.onap.org/g/onap-discuss/message/12238
Mute This Topic: https://lists.onap.org/mt/24918171/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[onap-discuss] AAI dataRestoreSnapshot

2018-08-22 Thread Abdelmuhaimen Seaudi
Hi

If I try to restore an old snapshot in AAI Beijing, I find that the 
dataRestoreSnapshot script does not actually reset or clear out the old 
database, before restoring the old snapshot.

This is giving me duplicate records in AAI Graph database, and it prevents me 
from using AAI, as i get errors like, cannot operate on multiple vertices.

For example, customer Demonstration is now appearing several times, and if i 
try to delete this customer, i get error, cannot delete multiple vertices.

I noticed that the scripts calls java function with $1 and $2.  $1 is the old 
snapshot, what is $2 ?

I looked in the code and found out that if we use only $1, the clear entire db 
part runs, however the old snapshot is not imported correctly, and if i try to 
get any values, i get not found error.

What is the correct way to restore an ols snapshot ?

Thanks

A. Seaudi

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.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11997): https://lists.onap.org/g/onap-discuss/message/11997
Mute This Topic: https://lists.onap.org/mt/24918171/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [onap-discuss] errors in dmaap after running demo-k8s.sh robot

2018-07-23 Thread Abdelmuhaimen Seaudi
Hi Tomasz,

Can I call you tomorrow so we can this together ?

Thanks

A. Seaudi



Sent from Samsung tablet.


 Original message 
From: Osiński Tomasz 2 - Korpo 
Date: 23/07/2018 1:39 PM (GMT+02:00)
To: onap-discuss@lists.onap.org, SEAUDI Abdelmuhaimen OBS/CSO 

Subject: RE: errors in dmaap after running demo-k8s.sh robot

Hi Abdelmuhaimen,

Did you overcome this issue? I’m facing the same problem now. I made robot init 
with success, but service models has not been distributed and I think this is a 
reason.

My deployment is based on OOM.

Regards,

[Logo Orange]

Tomasz Osiński, Główny Specjalista R
Orange Labs Polska, Wydział Rozwoju Zaawansowanych Systemów Sieciowych
Tel.: +48 50 130 06 88,
Orange Polska, Obrzeżna 7, 02-691 Warszawa
www.orange.pl<http://www.orange.pl>


From: onap-discuss@lists.onap.org [mailto:onap-discuss@lists.onap.org] On 
Behalf Of Abdelmuhaimen Seaudi
Sent: Sunday, July 08, 2018 10:22 PM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] errors in dmaap after running demo-k8s.sh robot

Hi,

I made some changes in oom until I was able to finally run the demo-k8s.sh 
robot with all passed successfully.

However, no stacks were created in openstack.

I got the following errors repeating in message-router pod, any idea what the 
error "ConsumerTimeoutException in Kafka consumer; returning null & Exception 
at nextMessage()"  might mean ?

"2018-07-04 08:50:35,326 [qtp1555093762-451454] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
OpenDCAE-c12(c12-tca-analytics)/unauthenticated.VES_MEASUREMENT_OUTPUT: 
ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,326 [qtp1555093762-451454] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
OpenDCAE-c12(c12-tca-analytics)/unauthenticated.VES_MEASUREMENT_OUTPUT: 
ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
"08:50:35.326 [qtp1555093762-451454] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
OpenDCAE-c12(c12-tca-analytics)/unauthenticated.VES_MEASUREMENT_OUTPUT: 
ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
"2018-07-04 08:50:35,399 [qtp1555093762-451460] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
clamp(clamp)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,399 [qtp1555093762-451460] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
clamp(clamp)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
"08:50:35.399 [qtp1555093762-451460] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
clamp(clamp)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
"2018-07-04 08:50:35,429 [qtp1555093762-451457] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
sdc-OpenSource-Env1-mso-docker7(sdc-COpenSource-Env11-mso-docker7)/SDC-DISTR-NOTIF-TOPIC-AUTO:
 ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,429 [qtp1555093762-451459] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
dcae(dcae-sch)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,429 [qtp1555093762-451457] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
sdc-OpenSource-Env1-mso-docker7(sdc-COpenSource-Env11-mso-docker7)/SDC-DISTR-NOTIF-TOPIC-AUTO:
 ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,429 [qtp1555093762-451459] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
dcae(dcae-sch)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
"08:50:35.429 [qtp1555093762-451457] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
sdc-OpenSource-Env1-mso-docker7(sdc-COpenSource-Env11-mso-docker7)/SDC-DISTR-NOTIF-TOPIC-AUTO:
 ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
08:50:35.429 [qtp1555093762-451459] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
dcae(dcae-sch)/SDC-DISTR-NOTIF-TOPIC-AUTO:

Re: [onap-discuss] vfw closed loop - error 400 bad request running update-vfw-op-policy.sh

2018-07-18 Thread Abdelmuhaimen Seaudi
Also,

root@olc-rancher:~# curl -X GET   
http://84.39.32.104:30227/events/unauthenticated.VES_MEASUREMENT_OUTPUT/mygroup/myid
["{\"event\":{\"commonEventHeader\":{\"startEpochMicrosec\":1531634015776976,\"eventId\":\"TrafficStats_1.2.3.4\",\"nfcNamingCode\":\"vVNF\",\"reportingEntityId\":\"No
 UUID available\",\"internalHeaderFields\":{\"collectorTimeStamp\":\"Sun, 07 15 
2018 05:53:46 GMT\"},\"eventType\":\"HTTP request 
rate\",\"priority\":\"Normal\",\"version\":3,\"reportingEntityName\":\"fwll\",\"sequence\":0,\"domain\":\"measurementsForVfScaling\",\"lastEpochMicrosec\":1531634025987510,\"eventName\":\"vFirewallBroadcastPackets\",\"sourceName\":\"demofwl01fwl\",\"nfNamingCode\":\"vVN
...

root@olc-rancher:~# curl -X GET   
http://84.39.32.104:30227/events/unauthenticated.DCAE_CL_OUTPUT/mygroup/myid
["{\"closedLoopEventClient\":\"DCAE_INSTANCE_ID.dcae-tca\",\"policyVersion\":\"v0.0.1\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyScope\":\"DCAE\",\"target_type\":\"VNF\",\"AAI\":{\"generic-vnf.vnf-name\":\"demofwl01fwl\"},\"closedLoopAlarmStart\":1531636476258764,\"closedLoopEventStatus\":\"ONSET\",\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\":\"1.0.2\",\"target\":\"generic-vnf.vnf-name\",\"requestID\":\"66bf05a7-7cd1-4f7c-8f98-0c25f34fa019\",\"from\":\"DCAE\"}","{\"closedLoopEventClient\":\"DCAE_IN
...

Thanks

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

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Wednesday, July 18, 2018 7:15 PM
To: onap-discuss@lists.onap.org
Cc: 'Michal Ptacek'; 'v1.malyn...@partner.samsung.com'; 'Witold Kopel'; 'Robert 
Rekas'; PAWLAK Pawel O-PL
Subject: RE: vfw closed loop - error 400 bad request running 
update-vfw-op-policy.sh

Hi,

Thanks to the support from Michal and the colleagues from Samsung, I was able 
to complete the closed loop as below:

>From inside drools pod, I checked controller Amsterdam is enabled and alive:
policy@onap-drools-0:/tmp/policy-install$ policy status
policy@onap-drools-0:/tmp/policy-install$ curl --silent --user 
'@1b3rt:31nst31n' -X GET 
http://localhost:9696/policy/pdp/engine/controllers/amsterdam/ | python -m 
json.tool
policy@onap-drools-0:/tmp/policy-install$ --silent --user @1b3rt:31nst31n -X 
GET 
http://localhost:9696/policy/pdp/engine/controllers/amsterdam/drools/facts/amsterdam
 | python -m json.tool

>From inside pap pod, I push policies:
policy@onap-pap-5c9f7dbbd4-pmwr8:/tmp/policy-install/config$ export 
PRELOAD_POLICIES=true
policy@onap-pap-5c9f7dbbd4-pmwr8:/tmp$ 
/tmp/policy-install/config/push-policies.sh

>From outside the cluster, I exposed pdp port and run update policy script, and 
>finally mount appc:
I mapped the ports for pdp because it's not exposed by default:
root@olc-rancher:~# kubectl -n onap port-forward onap-pdp-0 30220:8081 &
[1] 29192
root@olc-rancher:~# Forwarding from 127.0.0.1:30220 -> 8081
root@olc-rancher:~# kubectl -n onap port-forward onap-drools-0 30221:9696 &
[2] 29210
root@olc-rancher:~# Forwarding from 127.0.0.1:30221 -> 9696

Then I run the update policy script:
root@olc-rancher:~/oom/kubernetes/policy/charts/drools/resources/scripts# 
./update-vfw-op-policy.sh localhost 30220 30221 
9df75e8e-93a2-444a-87b8-7c8aa133ae46

Then I can mount appc via robot script, using the name of the PG openstack 
stack:
root@olc-rancher:~/oom/kubernetes/robot# ./demo-k8s.sh onap appc vFW_PG_VNF-6


Or I can mount appc manually, using the PG VNF ID, and PG public IP:
root@olc-rancher:~/oom/kubernetes/robot# curl -X PUT \
   
http://84.39.32.104:30230/restconf/config/network-topology:network-topology/topology/topology-netconf/node/0a2b09a4-c5b0-446e-b1ab-c3a4bad54c74
 \
   -H 'Accept: application/xml' \
   -u admin:admin \
   -H 'Content-Type: text/xml' \
   -d '
0a2b09a4-c5b0-446e-b1ab-c3a4bad54c74
84.39.37.85
2831
admin
admin
false
'

root@olc-rancher:~/oom/kubernetes/robot# curl -X GET \
   
http://84.39.32.104:30230/restconf/operational/network-topology:network-topology/topology/topology-netconf/
 \
   -H 'Accept: application/json' \
   -u admin:admin
{"topology":[{"topology-id":"topology-netconf","node":[...{"node-id":"0a2b09a4-c5b0-446e-b1ab-c3a4bad54c74","netconf-nod

Re: [onap-discuss] vfw closed loop - error 400 bad request running update-vfw-op-policy.sh

2018-07-18 Thread Abdelmuhaimen Seaudi
Hi,

Thanks to the support from Michal and the colleagues from Samsung, I was able 
to complete the closed loop as below:

>From inside drools pod, I checked controller Amsterdam is enabled and alive:
policy@onap-drools-0:/tmp/policy-install$ policy status
policy@onap-drools-0:/tmp/policy-install$ curl --silent --user 
'@1b3rt:31nst31n' -X GET 
http://localhost:9696/policy/pdp/engine/controllers/amsterdam/ | python -m 
json.tool
policy@onap-drools-0:/tmp/policy-install$ --silent --user @1b3rt:31nst31n -X 
GET 
http://localhost:9696/policy/pdp/engine/controllers/amsterdam/drools/facts/amsterdam
 | python -m json.tool

>From inside pap pod, I push policies:
policy@onap-pap-5c9f7dbbd4-pmwr8:/tmp/policy-install/config$ export 
PRELOAD_POLICIES=true
policy@onap-pap-5c9f7dbbd4-pmwr8:/tmp$ 
/tmp/policy-install/config/push-policies.sh

>From outside the cluster, I exposed pdp port and run update policy script, and 
>finally mount appc:
I mapped the ports for pdp because it's not exposed by default:
root@olc-rancher:~# kubectl -n onap port-forward onap-pdp-0 30220:8081 &
[1] 29192
root@olc-rancher:~# Forwarding from 127.0.0.1:30220 -> 8081
root@olc-rancher:~# kubectl -n onap port-forward onap-drools-0 30221:9696 &
[2] 29210
root@olc-rancher:~# Forwarding from 127.0.0.1:30221 -> 9696

Then I run the update policy script:
root@olc-rancher:~/oom/kubernetes/policy/charts/drools/resources/scripts# 
./update-vfw-op-policy.sh localhost 30220 30221 
9df75e8e-93a2-444a-87b8-7c8aa133ae46

Then I can mount appc via robot script, using the name of the PG openstack 
stack:
root@olc-rancher:~/oom/kubernetes/robot# ./demo-k8s.sh onap appc vFW_PG_VNF-6


Or I can mount appc manually, using the PG VNF ID, and PG public IP:
root@olc-rancher:~/oom/kubernetes/robot# curl -X PUT \
   
http://84.39.32.104:30230/restconf/config/network-topology:network-topology/topology/topology-netconf/node/0a2b09a4-c5b0-446e-b1ab-c3a4bad54c74
 \
   -H 'Accept: application/xml' \
   -u admin:admin \
   -H 'Content-Type: text/xml' \
   -d '
0a2b09a4-c5b0-446e-b1ab-c3a4bad54c74
84.39.37.85
2831
admin
admin
false
'

root@olc-rancher:~/oom/kubernetes/robot# curl -X GET \
   
http://84.39.32.104:30230/restconf/operational/network-topology:network-topology/topology/topology-netconf/
 \
   -H 'Accept: application/json' \
   -u admin:admin
{"topology":[{"topology-id":"topology-netconf","node":[...{"node-id":"0a2b09a4-c5b0-446e-b1ab-c3a4bad54c74","netconf-node-topology:available-capabilities":...

root@olc-rancher:~/oom/kubernetes/robot# curl -X GET \
   
http://84.39.32.104:30230/restconf/config/network-topology:network-topology/topology/topology-netconf/node/0a2b09a4-c5b0-446e-b1ab-c3a4bad54c74/yang-ext:mount/sample-plugin:sample-plugin/pg-streams
 \
   -H 'Accept: application/json' -u admin:admin
{"pg-streams":{"pg-stream":[{"id":"fw_udp2","is-enabled":true},{"id":"fw_udp1","is-enabled":true},{"id":"fw_udp4","is-enabled":true},{"id":"fw_udp3","is-enabled":true},{"id":"fw_udp5","is-enabled":true}]}}

[cid:image007.png@01D41ECB.220E3DA0]
Thanks

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

From: SEAUDI Abdelmuhaimen OBS/CSO
Sent: Wednesday, July 18, 2018 11:03 AM
To: onap-discuss@lists.onap.org
Subject: vfw closed loop - error 400 bad request running update-vfw-op-policy.sh

Hi,

I followed the tutorial at

I can see the graphs from the sink VM OK.

I ran heatbridge OK, and I see vservers added under the vnf in AAI.

But, when I try to run the update-vfw-op-policy.sh, I get the following error:

Any idea why I get 400 bad request from PDP ?

root@olc-rancher:~/oom/kubernetes/policy/charts/drools/resources/scripts# 
./update-vfw-op-policy.sh localhost 30220 30221 
9df75e8e-93a2-444a-87b8-7c8aa133ae46

Removing the vFW Policy from PDP..
*   Trying 127.0.0.1...
Handling connection for 30220
* Connected to localhost (127.0.0.1) port 30220 (#0)
> DELETE /pdp/api/deletePolicy HTTP/1.1
> Host: localhost:30220
> User-Agent: curl/7.47.0
> Content-Type: application/json
> Accept: text/plain
> ClientAuth: cHl0aG9uOnRlc3Q=
> Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==
> Environment: TEST
> Content-Length: 128
>
* upload completely sent off: 128 out of 128 bytes
< HTTP/1.1 400 Bad Request
< Server: Apache-Coyote/1.1
< Content-Type: text/plain;charset=ISO-8859-1
< Content-Length: 203
< Date: Wed, 18 Jul 2018 08:58:05 GMT
< Connection: close
<
* Closing connection 0
PE300 - Data Issue: could not retrieve the activeVersion for this policy. could 
not retrieve the activeVersion for this policy.  This indicates the policy does 
not e

[onap-discuss] vfw closed loop - error 400 bad request running update-vfw-op-policy.sh

2018-07-18 Thread Abdelmuhaimen Seaudi
Hi,

I followed the tutorial at

I can see the graphs from the sink VM OK.

I ran heatbridge OK, and I see vservers added under the vnf in AAI.

But, when I try to run the update-vfw-op-policy.sh, I get the following error:

Any idea why I get 400 bad request from PDP ?

root@olc-rancher:~/oom/kubernetes/policy/charts/drools/resources/scripts# 
./update-vfw-op-policy.sh localhost 30220 30221 
9df75e8e-93a2-444a-87b8-7c8aa133ae46

Removing the vFW Policy from PDP..
*   Trying 127.0.0.1...
Handling connection for 30220
* Connected to localhost (127.0.0.1) port 30220 (#0)
> DELETE /pdp/api/deletePolicy HTTP/1.1
> Host: localhost:30220
> User-Agent: curl/7.47.0
> Content-Type: application/json
> Accept: text/plain
> ClientAuth: cHl0aG9uOnRlc3Q=
> Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==
> Environment: TEST
> Content-Length: 128
>
* upload completely sent off: 128 out of 128 bytes
< HTTP/1.1 400 Bad Request
< Server: Apache-Coyote/1.1
< Content-Type: text/plain;charset=ISO-8859-1
< Content-Length: 203
< Date: Wed, 18 Jul 2018 08:58:05 GMT
< Connection: close
<
* Closing connection 0
PE300 - Data Issue: could not retrieve the activeVersion for this policy. could 
not retrieve the activeVersion for this policy.  This indicates the policy does 
not exist, please verify the policy exists.

Updating vFW Operational Policy ..

*   Trying 127.0.0.1...
Handling connection for 30220
* Connected to localhost (127.0.0.1) port 30220 (#0)
> PUT /pdp/api/updatePolicy HTTP/1.1
> Host: localhost:30220
> User-Agent: curl/7.47.0
> Content-Type: application/json
> Accept: text/plain
> ClientAuth: cHl0aG9uOnRlc3Q=
> Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==
> Environment: TEST
> Content-Length: 1328
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 400 Bad Request
< Server: Apache-Coyote/1.1
< Content-Type: text/plain;charset=ISO-8859-1
< Content-Length: 87
< Date: Wed, 18 Jul 2018 08:58:25 GMT
< Connection: close
<
* Closing connection 0
PE300 - Data Issue: BRMSParamvFirewall does not exist on the PAP and cannot be 
updated.

Pushing the vFW Policy ..


*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 30220 (#0)
Handling connection for 30220
> PUT /pdp/api/pushPolicy HTTP/1.1
> Host: localhost:30220
> User-Agent: curl/7.47.0
> Content-Type: application/json
> Accept: text/plain
> ClientAuth: cHl0aG9uOnRlc3Q=
> Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==
> Environment: TEST
> Content-Length: 99
>
* upload completely sent off: 99 out of 99 bytes
< HTTP/1.1 400 Bad Request
< Server: Apache-Coyote/1.1
< Content-Type: text/plain;charset=ISO-8859-1
< Content-Length: 146
< Date: Wed, 18 Jul 2018 08:58:31 GMT
< Connection: close
<
* Closing connection 0
PE300 - Data Issue: response code of the URL is 404.  This indicates a problem 
with getting the version from the PAP or the policy does not exist.

Restarting PDP-D ..


No resources found.
error: expected 'exec POD_NAME COMMAND [ARG1] [ARG2] ... [ARGN]'.
POD_NAME and COMMAND are required arguments for the exec command
See 'kubectl exec -h' for help and examples.


PDP-D amsterdam maven coordinates ..


*   Trying 127.0.0.1...
Handling connection for 30221
* Connected to localhost (127.0.0.1) port 30221 (#0)
* Server auth using Basic with user '@1b3rt'
> GET /policy/pdp/engine/controllers/amsterdam/drools HTTP/1.1
> Host: localhost:30221
> Authorization: Basic QDFiM3J0OjMxbnN0MzFu
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Wed, 18 Jul 2018 08:59:11 GMT
< Content-Type: application/json
< Content-Length: 231
< Server: Jetty(9.3.20.v20170531)
<
{ [231 bytes data]
* Connection #0 to host localhost left intact
{
"alive": false,
"artifactId": "NO-ARTIFACT-ID",
"brained": false,
"canonicalSessionNames": [],
"container": null,
"groupId": "NO-GROUP-ID",
"locked": false,
"recentSinkEvents": [],
"recentSourceEvents": [],
"sessionNames": [],
"version": "NO-VERSION"
}


PDP-D control loop updated ..


*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 30221 (#0)
* Server auth using Basic with user '@1b3rt'
> GET 
> /policy/pdp/engine/controllers/amsterdam/drools/facts/closedloop-amsterdam/org.onap.policy.controlloop.Params
>  HTTP/1.1
> Host: localhost:30221
> Authorization: Basic QDFiM3J0OjMxbnN0MzFu
> User-Agent: curl/7.47.0
> Accept: */*
>
Handling connection for 30221
< HTTP/1.1 200 OK
< Date: Wed, 18 Jul 2018 08:59:11 GMT
< Content-Type: application/json
< Content-Length: 2
< Server: Jetty(9.3.20.v20170531)
<
{ [2 bytes data]
* Connection #0 to host localhost l

[onap-discuss] error in aai-model loader

2018-07-11 Thread Abdelmuhaimen Seaudi
Hi,

I am seeing this error repeating in the aai-champ, any idea what this error 
means ?


7/11/2018 9:27:58 PM2018-07-11 19:27:57,686 INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Closed socket 
connection for client /10.42.0.1:55162 (no session established for client)
7/11/2018 9:28:04 PM2018-07-11 19:28:04,225 INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxnFactory: 
Accepted socket connection from /10.42.0.1:55372
7/11/2018 9:28:04 PM2018-07-11 19:28:04,225 WARN  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: caught end of 
stream exception
7/11/2018 9:28:04 PMEndOfStreamException: Unable to read additional data from 
client sessionid 0x0, likely client has closed socket
7/11/2018 9:28:04 PM at 
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
7/11/2018 9:28:04 PM at 
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
7/11/2018 9:28:04 PM at java.lang.Thread.run(Thread.java:748)
7/11/2018 9:28:04 PM2018-07-11 19:28:04,225 INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Closed socket 
connection for client /10.42.0.1:55372 (no session established for client)
7/11/2018 9:28:08 PM2018-07-11 19:28:07,686 INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxnFactory: 
Accepted socket connection from /10.42.0.1:55484
7/11/2018 9:28:08 PM2018-07-11 19:28:07,686 WARN  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: caught end of 
stream exception
7/11/2018 9:28:08 PMEndOfStreamException: Unable to read additional data from 
client sessionid 0x0, likely client has closed socket
7/11/2018 9:28:08 PM at 
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
7/11/2018 9:28:08 PM at 
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
7/11/2018 9:28:08 PM at java.lang.Thread.run(Thread.java:748)
7/11/2018 9:28:08 PM2018-07-11 19:28:07,686 INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Closed socket 
connection for client /10.42.0.1:55484 (no session established for client)
7/11/2018 9:28:14 PM2018-07-11 19:28:14,225 INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxnFactory: 
Accepted socket connection from /10.42.0.1:55694
7/11/2018 9:28:14 PM2018-07-11 19:28:14,225 WARN  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: caught end of 
stream exception
7/11/2018 9:28:14 PMEndOfStreamException: Unable to read additional data from 
client sessionid 0x0, likely client has closed socket

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.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11047): https://lists.onap.org/g/onap-discuss/message/11047
Mute This Topic: https://lists.onap.org/mt/23248477/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [onap-discuss] How to add a signed cerificate to AAI OOM BEIJING

2018-07-11 Thread Abdelmuhaimen Seaudi
Hi James / Harysh,

I was able to make add our signed certificate to aai by modifying 
“oom/kubernets/aai/templates/deployment.yaml”:

  containers:
volumeMounts:
- mountPath: /etc/ssl/private/aai.pem
  subPath: aai.pem
  name: aai-haproxy-sec

  volumes:
- name: aai-haproxy-sec
  secret:
secretName: aai-haproxy-secret

And, by putting the signed certificate in 
“oom/kubernetes/aai/resources/config/haproxy/aai.pem”

Thanks,

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

From: FORSYTH, JAMES [mailto:jf2...@att.com]
Sent: Friday, June 29, 2018 3:35 PM
To: onap-discuss@lists.onap.org
Cc: SEAUDI Abdelmuhaimen OBS/CSO
Subject: FW: [onap-discuss] How to add a signed cerificate to AAI OOM BEIJING

Hi, Seaudi,

See below.

Thanks,
jimmy

From: HARISH V KAJUR 
Date: Thursday, June 28, 2018 at 3:52 PM
To: "FORSYTH, JAMES" 
Subject: RE: [onap-discuss] How to add a signed cerificate to AAI OOM BEIJING

Hi Jimmy,

Yes we weren’t able to keep the certificate in oom due to limitations of the 
secret.
I believe the file is stored as a secret in the config map but we didn’t add 
the file here:

oom/kubernetes/aai/resources/config/haproxy/aai.pem

[cid:image002.jpg@01D40EF7.F2ED83B0]


They would need to update this file:

https://git.onap.org/oom/tree/kubernetes/aai/templates/deployment.yaml

under volumes add this with same spacing:

- name: aai-haproxy-sec
  configMap:
name: aai-haproxy-secret

And under volumeMounts:


- mountPath: /etc/ssl/private/aai.pem
  subPath: aai.pem
  name: aai-haproxy-sec


Thanks,
Harish

From: FORSYTH, JAMES
Sent: Thursday, June 28, 2018 2:16 PM
To: KAJUR, HARISH V 
Subject: Re: [onap-discuss] How to add a signed cerificate to AAI OOM BEIJING

Harish,

We couldn’t keep the cert file in OOM because of the limitations on the 
secrets, right, so it’s baked into the haproxy docker image?

Thanks,
jimmy

From: mailto:onap-discuss@lists.onap.org>> on 
behalf of Abdelmuhaimen Seaudi 
mailto:abdelmuhaimen.sea...@orange.com>>
Date: Thursday, June 28, 2018 at 2:05 PM
To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" 
mailto:onap-discuss@lists.onap.org>>
Cc: SEAUDI Abdelmuhaimen OBS/CSO 
mailto:abdelmuhaimen.sea...@orange.com>>
Subject: [onap-discuss] How to add a signed cerificate to AAI OOM BEIJING

Hi

When I try to add a signed certificate to AAI pod in OOM Beijing, I find that I 
am still getting the original AAI certificate when I try to access AAI.

This means I need to restart the haproxy docker container ?

I tried deleting the haproxy pod, but this builds a new container and my signed 
certificate disappears.

I tried looking up the node hosting the haproxy container and restarting the 
k8s_haproxy_xxx container and it worked and the new certificate is working.

Is there a better way to add a signed certificate to AAI OOM Beijing ?

Thanks

A. Seaudi

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.


_

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 messa

[onap-discuss] errors in dmaap after running demo-k8s.sh robot

2018-07-08 Thread Abdelmuhaimen Seaudi
Hi,

I made some changes in oom until I was able to finally run the demo-k8s.sh 
robot with all passed successfully.

However, no stacks were created in openstack.

I got the following errors repeating in message-router pod, any idea what the 
error "ConsumerTimeoutException in Kafka consumer; returning null & Exception 
at nextMessage()"  might mean ?

"2018-07-04 08:50:35,326 [qtp1555093762-451454] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
OpenDCAE-c12(c12-tca-analytics)/unauthenticated.VES_MEASUREMENT_OUTPUT: 
ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,326 [qtp1555093762-451454] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
OpenDCAE-c12(c12-tca-analytics)/unauthenticated.VES_MEASUREMENT_OUTPUT: 
ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
"08:50:35.326 [qtp1555093762-451454] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
OpenDCAE-c12(c12-tca-analytics)/unauthenticated.VES_MEASUREMENT_OUTPUT: 
ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
"2018-07-04 08:50:35,399 [qtp1555093762-451460] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
clamp(clamp)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,399 [qtp1555093762-451460] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
clamp(clamp)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
"08:50:35.399 [qtp1555093762-451460] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
clamp(clamp)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
"2018-07-04 08:50:35,429 [qtp1555093762-451457] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
sdc-OpenSource-Env1-mso-docker7(sdc-COpenSource-Env11-mso-docker7)/SDC-DISTR-NOTIF-TOPIC-AUTO:
 ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,429 [qtp1555093762-451459] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
dcae(dcae-sch)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,429 [qtp1555093762-451457] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
sdc-OpenSource-Env1-mso-docker7(sdc-COpenSource-Env11-mso-docker7)/SDC-DISTR-NOTIF-TOPIC-AUTO:
 ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,429 [qtp1555093762-451459] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
dcae(dcae-sch)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
"08:50:35.429 [qtp1555093762-451457] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
sdc-OpenSource-Env1-mso-docker7(sdc-COpenSource-Env11-mso-docker7)/SDC-DISTR-NOTIF-TOPIC-AUTO:
 ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
08:50:35.429 [qtp1555093762-451459] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
dcae(dcae-sch)/SDC-DISTR-NOTIF-TOPIC-AUTO: ConsumerTimeoutException in Kafka 
consumer; returning null & Exception at nextMessage() : 
kafka.consumer.ConsumerTimeoutException
"2018-07-04 08:50:35,432 [qtp1555093762-451458] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
sdc-OpenSource-Env1-mso-docker7(sdc-COpenSource-Env11-mso-docker7)/SDC-DISTR-STATUS-TOPIC-AUTO:
 ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
""2018-07-04 08:50:35,432 [qtp1555093762-451458] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
sdc-OpenSource-Env1-mso-docker7(sdc-COpenSource-Env11-mso-docker7)/SDC-DISTR-STATUS-TOPIC-AUTO:
 ConsumerTimeoutException in Kafka consumer; returning null & Exception at 
nextMessage() : kafka.consumer.ConsumerTimeoutException
"08:50:35.432 [qtp1555093762-451458] ERROR 
com.att.nsa.cambria.backends.kafka.KafkaConsumer - 
sdc-OpenSource-Env1-mso-docker7(sdc-COpenSource-Env11-mso-docker7)/SDC-DISTR-STATUS-TOPIC-AUTO:
 ConsumerTimeoutException in Kafka

Thanks

A. Seaudi

_

Ce message et ses 

[onap-discuss] How to add a signed cerificate to AAI OOM BEIJING

2018-06-28 Thread Abdelmuhaimen Seaudi
Hi

When I try to add a signed certificate to AAI pod in OOM Beijing, I find that I 
am still getting the original AAI certificate when I try to access AAI.

This means I need to restart the haproxy docker container ?

I tried deleting the haproxy pod, but this builds a new container and my signed 
certificate disappears.

I tried looking up the node hosting the haproxy container and restarting the 
k8s_haproxy_xxx container and it worked and the new certificate is working.

Is there a better way to add a signed certificate to AAI OOM Beijing ?

Thanks

A. Seaudi

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.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10680): https://lists.onap.org/g/onap-discuss/message/10680
Mute This Topic: https://lists.onap.org/mt/22887402/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [onap-discuss] robot initdemo issue - hardcoded region in add_complex_body.template

2018-06-27 Thread Abdelmuhaimen Seaudi
t;cloud-region.owner-defined-type",
"property-value": "${owner_defined_type}"
}
]
}
]
}
}
root@dev-robot-7d4f958f67-9j24p:/var/opt/OpenECOMP_ETE# cat > 
robot/assets/templates/aai/add_complex_body.template
{
"complex-name": "${complex_name}",
"physical-location-id": "${physical_location_id}",
"data-center-code": "example-data-center-code-val-5556",
"identity-url": "example-identity-url-val-56898",
"physical-location-type": "example-physical-location-type-val-7608",
"street1": "example-street1-val-34205",
"street2": "example-street2-val-99210",
"city": "example-city-val-27150",
"state": "example-state-val-59487",
"postal-code": "68871",
"country": "example-country-val-94173",
"region": "example-region-val-13893",
"latitude": "example-latitude-val-89101",
"longitude": "32.89948",
"elevation": "97.045443",
"lata": "example-lata-val-46073",
"relationship-list": {
"relationship": [
{
"related-to": "cloud-region",
"related-link": 
"/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/fr1",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "${cloud_owner}"
},
{
"relationship-key": 
"cloud-region.cloud-region-id",
"relationship-value": "${region}"
}
],
"related-to-property": [
{
"property-key": 
"cloud-region.owner-defined-type",
"property-value": "${owner_defined_type}"
}
]
}
]
}
}
root@dev-robot-7d4f958f67-9j24p:/var/opt/OpenECOMP_ETE# python -m robot.run -L 
TRACE -d /share/logs/demo/InitDemo -V /tmp/tt.py -V 
/share/config/integration_robot_properties.py -V 
/share/config/integration_preload_parameters.py -P 
./robot/library:./robot/library/eteutils:./robot/library/heatbridge -i InitDemo 
/var/opt/OpenECOMP_ETE
==
OpenECOMP ETE
==
OpenECOMP ETE.Robot
==
OpenECOMP ETE.Robot.Testsuites
==
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestration Test ...
==
Initialize Customer And Models| PASS |
--
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==
OpenECOMP ETE.Robot.Testsuites| PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==
OpenECOMP ETE.Robot   | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==
OpenECOMP ETE | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==========
Output:  /share/logs/demo/InitDemo/output.xml
Log: /share/logs/demo/InitDemo/log.html
Report:  /share/logs/demo/InitDemo/report.html
root@dev-robot-7d4f958f67-9j24p:/var/opt/OpenECOMP_ETE#

Thanks

Re: [onap-discuss] robot initdemo issue - hardcoded region in add_complex_body.template

2018-06-27 Thread Abdelmuhaimen Seaudi
{
"complex-name": "${complex_name}",
"physical-location-id": "${physical_location_id}",
"data-center-code": "example-data-center-code-val-5556",
"identity-url": "example-identity-url-val-56898",
"physical-location-type": "example-physical-location-type-val-7608",
"street1": "example-street1-val-34205",
"street2": "example-street2-val-99210",
"city": "example-city-val-27150",
"state": "example-state-val-59487",
"postal-code": "68871",
"country": "example-country-val-94173",
"region": "example-region-val-13893",
"latitude": "example-latitude-val-89101",
"longitude": "32.89948",
"elevation": "97.045443",
"lata": "example-lata-val-46073",
"relationship-list": {
"relationship": [
{
"related-to": "cloud-region",
"related-link": 
"/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/fr1",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "${cloud_owner}"
},
{
"relationship-key": 
"cloud-region.cloud-region-id",
"relationship-value": "${region}"
}
],
"related-to-property": [
{
"property-key": 
"cloud-region.owner-defined-type",
"property-value": "${owner_defined_type}"
}
]
}
]
}
}
root@dev-robot-7d4f958f67-9j24p:/var/opt/OpenECOMP_ETE# python -m robot.run -L 
TRACE -d /share/logs/demo/InitDemo -V /tmp/tt.py -V 
/share/config/integration_robot_properties.py -V 
/share/config/integration_preload_parameters.py -P 
./robot/library:./robot/library/eteutils:./robot/library/heatbridge -i InitDemo 
/var/opt/OpenECOMP_ETE
==
OpenECOMP ETE
==
OpenECOMP ETE.Robot
==
OpenECOMP ETE.Robot.Testsuites
==
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestration Test ...
==
Initialize Customer And Models| PASS |
--
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==
OpenECOMP ETE.Robot.Testsuites| PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==
OpenECOMP ETE.Robot   | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==
OpenECOMP ETE | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==========
Output:  /share/logs/demo/InitDemo/output.xml
Log: /share/logs/demo/InitDemo/log.html
Report:  /share/logs/demo/InitDemo/report.html
root@dev-robot-7d4f958f67-9j24p:/var/opt/OpenECOMP_ETE#

Thanks

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

From: FORSYTH, JAMES [mailto:jf2...@att.com]
Sent: Wednesday, June 27, 2018 2:07 PM
To: SEAUDI Abdelmuhaimen OBS/CSO; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] robot initdemo issue - hardcoded region in 
add_complex_body.

[onap-discuss] robot initdemo issue - hardcoded region in add_complex_body.template

2018-06-27 Thread Abdelmuhaimen Seaudi
Hi,

The Robot Initdemo checks if AAI has the regions, complexes, etc ... and if not 
found the robot scripts adds the items to AAI.

However, when adding the complex called clli1, the script uses a data json from 
the file :

The file has a hard-coded  "related-link": 
"/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne",
however I think it's better to have "related-link": 
"/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/${region}"


root@dev-robot-7d4f958f67-9j24p:/var/opt/OpenECOMP_ETE# cat 
robot/assets/templates/aai/add_complex_body.template
{
"complex-name": "${complex_name}",
"physical-location-id": "${physical_location_id}",
"data-center-code": "example-data-center-code-val-5556",
"identity-url": "example-identity-url-val-56898",
"physical-location-type": "example-physical-location-type-val-7608",
"street1": "example-street1-val-34205",
"street2": "example-street2-val-99210",
"city": "example-city-val-27150",
"state": "example-state-val-59487",
"postal-code": "68871",
"country": "example-country-val-94173",
"region": "example-region-val-13893",
"latitude": "example-latitude-val-89101",
"longitude": "32.89948",
"elevation": "97.045443",
"lata": "example-lata-val-46073",
"relationship-list": {
"relationship": [
{
"related-to": "cloud-region",
"related-link": 
"/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "${cloud_owner}"
},
{
"relationship-key": 
"cloud-region.cloud-region-id",
"relationship-value": "${region}"
}
],
"related-to-property": [
{
"property-key": 
"cloud-region.owner-defined-type",
"property-value": "${owner_defined_type}"
}
]
   }
]
}
}
root@dev-robot-7d4f958f67-9j24p:/var/opt/OpenECOMP_ETE#

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: abdelmuhaimen.sea...@orange.com<mailto: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.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10607): https://lists.onap.org/g/onap-discuss/message/10607
Mute This Topic: https://lists.onap.org/mt/22721313/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



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

2017-11-18 Thread Abdelmuhaimen Seaudi
Hi,

I am adding onap-discuss, in case someone is having the same issue on SDNC.

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


On Sat, Nov 18, 2017 at 7:05 PM, Abdelmuhaimen Seaudi <asea...@gmail.com>
wrote:

> 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 <
> gwenael.lambro...@b-com.com> 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 <giles.he...@gmail.com>
>> 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 <asea...@gmail.com>
>>> 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.t
>>> opology.rev150114.NetconfNode=NetconfNode{getActorResponseWaitTime=5,
>>> getBetweenAttemptsTimeoutMillis=2000, getConcurrentRpcLimit=0,
>>> getConnectionTimeoutMillis=2, getCredentials=LoginPassword{g
>>> etPassword=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{getCapabili
>>> ty=[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
>>> sion=2015-09-11, http://xml.juniper.net/junos/1
>>> 6.1R4/junos-routing?module=show=2016-02-01,
>>> urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types=2013-0

[onap-discuss] AAI default Onboarding URL

2017-10-25 Thread Abdelmuhaimen Seaudi
Hi.

What is the default URL and Rest  API URL that is used to omboard AAI in
the ONAP Portal ?

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


[onap-discuss] DG Builder RestapiCallNode

2017-10-25 Thread Abdelmuhaimen Seaudi
Hi,

I was try PATCH with Merge Opertaion, and it was not working via DG
Builder, while it's OK via Postman.

After checking I found the following:

I set :


and I found that DG Builder HTTP request automatically added the HTTP
Header:
Accept: application/yang.patch+json

which is not correct, as the response from the server should be :
Content-Type:application/yang.patch-status+json

I found that the RestapiCallNode method does not have a parameter option to
set "Accept=xx", so, instead I used:


And now it's working fine.

Can we have Parameter Option for Accept in the RestapiCallNode ?


As a side note, i tried with:


But ODL generated error:
2017-10-25 11:40:23,914 | ERROR | p511859559-28573 | RestapiCallNode
  | 334 - org.onap.ccsdk.sli.restapicall - 0.1.0.SNAPSHOT | Error
sending the request: Unable to convert XML to propertiesContent is not
allowed in prolog.

So,I used:


And now it's OK also in XML.

Thanks.


Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
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-24 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, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733


On Fri, Oct 20, 2017 at 8:08 AM, Abdelmuhaimen Seaudi <asea...@gmail.com>
wrote:

> 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
>
>
___
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-24 Thread Abdelmuhaimen Seaudi
Hi,

I found that the issue was the self-signed certificates of AAI SSL https
server, which are not trusted by SDNC Java.

I was able to solve this issue by exporting the self-signed certficates
from AAI:8443, and importing the certficates into SDNC 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, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733


On Fri, Oct 20, 2017 at 10:36 AM, Abdelmuhaimen Seaudi <asea...@gmail.com>
wrote:

> 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
>
>
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] DGBuilder example for feature

2017-10-20 Thread Abdelmuhaimen Seaudi
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
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] AAI1 startup issue

2017-10-18 Thread Abdelmuhaimen Seaudi
I see also the following when i do "docker
logstestconfig_aai-resources.api.simpledemo.openecomp.org_1":

aai.hbase.simpledemo.openecomp.org: forward host lookup failed: Unknown host
Waiting for hbase to be up
aai.hbase.simpledemo.openecomp.org: forward host lookup failed: Unknown host
Waiting for hbase to be up
aai.hbase.simpledemo.openecomp.org: forward host lookup failed: Unknown host
Waiting for hbase to be up
aai.hbase.simpledemo.openecomp.org: forward host lookup failed: Unknown host
Waiting for hbase to be up


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


On Wed, Oct 18, 2017 at 9:17 PM, Abdelmuhaimen Seaudi <asea...@gmail.com>
wrote:

> Hi, I was able to bring the PORTAL, SDC, AAI2 up OK.
>
> However, AAI1 does not come up it gives me the following, how should I
> start fixing this?
>
> root@olc-aai1:/opt# ./aai_vm_init.sh
> Already up-to-date.
> Login Succeeded
> 1.1-STAGING-latest: Pulling from openecomp/aai-resources
> Digest: sha256:df4f0c5e40a028b6eec5567f65093b
> e4dd30791367693d23f362718aadde
> Status: Image is up to date for nexus3.onap.org:10001/
> openecomp/aai-resources:1.1-STAGING-latest
> 1.1-STAGING-latest: Pulling from openecomp/aai-traversal
> Digest: sha256:e1791a5d0540d186eabc5fe314c256
> 60d4d0c1a0abcfb8fa8642a625d2d02ffc
> Status: Image is up to date for nexus3.onap.org:10001/
> openecomp/aai-traversal:1.1-STAGING-latest
> 1.1-STAGING-latest: Pulling from openecomp/search-data-service
> Digest: sha256:cc6b0210f3a694f8d3d4439ce70bda
> b4c0c61d1a324ad74d8c7c16e463ffbfbf
> Status: Image is up to date for nexus3.onap.org:10001/
> openecomp/search-data-service:1.1-STAGING-latest
> 1.1-STAGING-latest: Pulling from openecomp/data-router
> Digest: sha256:de886810c04f6c49bf8ba07c7adf10
> 02c3344a33366f96c83a8fc99c41158acc
> Status: Image is up to date for nexus3.onap.org:10001/
> openecomp/data-router:1.1-STAGING-latest
> 1.1-STAGING-latest: Pulling from openecomp/model-loader
> Digest: sha256:39e177118ea28d2d17d3113eedd8a5
> 471176f55ad41689868084db23b1cd8d3f
> Status: Image is up to date for nexus3.onap.org:10001/
> openecomp/model-loader:1.1-STAGING-latest
> 1.1-STAGING-latest: Pulling from openecomp/sparky-be
> Digest: sha256:84ca3d38c6a61aab18ba11f060564e
> 5d45a98da046fa98d521bf9846c3c5aaa0
> Status: Image is up to date for nexus3.onap.org:10001/
> openecomp/sparky-be:1.1-STAGING-latest
> WARNING: The USER_ID variable is not set. Defaulting to a blank string.
> Stopping testconfig_aai-resources.api.simpledemo.openecomp.org_1 ... done
> WARNING: The USER_ID variable is not set. Defaulting to a blank string.
> Going to remove testconfig_aai-resources.api.simpledemo.openecomp.org_1
> Removing testconfig_aai-resources.api.simpledemo.openecomp.org_1 ... done
> Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1'
> deployment to finish ...
> Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1'
> deployment to finish ...
> ...
> Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1'
> deployment to finish ...
> ERROR: testconfig_aai-resources.api.simpledemo.openecomp.org_1 deployment
> failed.
>
> Thanks.
>
> Abdelmuhaimen Seaudi, CCIE # 25265
> Email: asea...@gmail.com
> Skype: aseaudi
> LinkedIn: www.linkedin.com/in/aseaudi
> Telephone: +2012 84644 733
>
>
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] AAI1 startup issue

2017-10-18 Thread Abdelmuhaimen Seaudi
Hi, I was able to bring the PORTAL, SDC, AAI2 up OK.

However, AAI1 does not come up it gives me the following, how should I
start fixing this?

root@olc-aai1:/opt# ./aai_vm_init.sh
Already up-to-date.
Login Succeeded
1.1-STAGING-latest: Pulling from openecomp/aai-resources
Digest:
sha256:df4f0c5e40a028b6eec5567f65093be4dd30791367693d23f362718aadde
Status: Image is up to date for
nexus3.onap.org:10001/openecomp/aai-resources:1.1-STAGING-latest
1.1-STAGING-latest: Pulling from openecomp/aai-traversal
Digest:
sha256:e1791a5d0540d186eabc5fe314c25660d4d0c1a0abcfb8fa8642a625d2d02ffc
Status: Image is up to date for
nexus3.onap.org:10001/openecomp/aai-traversal:1.1-STAGING-latest
1.1-STAGING-latest: Pulling from openecomp/search-data-service
Digest:
sha256:cc6b0210f3a694f8d3d4439ce70bdab4c0c61d1a324ad74d8c7c16e463ffbfbf
Status: Image is up to date for
nexus3.onap.org:10001/openecomp/search-data-service:1.1-STAGING-latest
1.1-STAGING-latest: Pulling from openecomp/data-router
Digest:
sha256:de886810c04f6c49bf8ba07c7adf1002c3344a33366f96c83a8fc99c41158acc
Status: Image is up to date for
nexus3.onap.org:10001/openecomp/data-router:1.1-STAGING-latest
1.1-STAGING-latest: Pulling from openecomp/model-loader
Digest:
sha256:39e177118ea28d2d17d3113eedd8a5471176f55ad41689868084db23b1cd8d3f
Status: Image is up to date for
nexus3.onap.org:10001/openecomp/model-loader:1.1-STAGING-latest
1.1-STAGING-latest: Pulling from openecomp/sparky-be
Digest:
sha256:84ca3d38c6a61aab18ba11f060564e5d45a98da046fa98d521bf9846c3c5aaa0
Status: Image is up to date for
nexus3.onap.org:10001/openecomp/sparky-be:1.1-STAGING-latest
WARNING: The USER_ID variable is not set. Defaulting to a blank string.
Stopping testconfig_aai-resources.api.simpledemo.openecomp.org_1 ... done
WARNING: The USER_ID variable is not set. Defaulting to a blank string.
Going to remove testconfig_aai-resources.api.simpledemo.openecomp.org_1
Removing testconfig_aai-resources.api.simpledemo.openecomp.org_1 ... done
Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1'
deployment to finish ...
Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1'
deployment to finish ...
...
Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1'
deployment to finish ...
ERROR: testconfig_aai-resources.api.simpledemo.openecomp.org_1 deployment
failed.

Thanks.

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] error when trying demo.sh init

2017-10-17 Thread Abdelmuhaimen Seaudi
Hi I get the following error when i do : demo.sh ini on the robot vm. How
should I start fixing this ?


cloud@vm1-robot:/opt$ sudo ./demo.sh init
Starting Xvfb on display :89 with res 1280x1024x24
Executing robot tests at log level TRACE
==
OpenECOMP ETE
==
OpenECOMP ETE.Robot
==
OpenECOMP ETE.Robot.Testsuites
==
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestration Test
...
==
Initialize Customer And Models|
FAIL |
KeyError: 'access'
--
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... |
FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==
OpenECOMP ETE.Robot.Testsuites|
FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==
OpenECOMP ETE.Robot   |
FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==
OpenECOMP ETE |
FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==
Output:  /share/logs/demo/InitDemo/output.xml
Log: /share/logs/demo/InitDemo/log.html
Report:  /share/logs/demo/InitDemo/report.html
cloud@vm1-robot:/opt$


Documentation:

Get Openstack tenant from the current alias
Start / End / Elapsed: 20171017 10:29:16.783 / 20171017 10:29:16.785 /
00:00:00.002
10:29:16.784 TRACE Arguments: [ 'auth' ]
10:29:16.784 FAIL KeyError: 'access'
10:29:16.784 DEBUG Traceback (most recent call last): File
"/var/opt/OpenECOMP_ETE/robot/library/eteutils/OpenstackLibrary.py", line
45, in get_current_openstack_tenant return
jsonResponse['access']['token']['tenant']
Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] DG Builder not accessible on SDNC VM

2017-10-15 Thread Abdelmuhaimen Seaudi
Hi,

I tried bringing up an SDNC instance using the heat templates here:
https://nexus.onap.org/content/sites/raw/org.onap.demo/heat/ONAP/1.1.0-SNAPSHOT/onap_openstack.yaml
https://nexus.onap.org/content/sites/raw/org.onap.demo/heat/ONAP/1.1.0-SNAPSHOT/onap_openstack.env

After sdnc_install.sh completes OK, I can access
SDNC:8282/apidoc/exploerer/index.html OK.

But, I cannot access DG Builder at SDNC:3000, I get error in browser,
server refused connection.

I list the logs from the sdnc_dgbuilder_container docker below, do you know
what might be the issue ?

root@olc-sdnc3:~# docker logs sdnc_dgbuilder_container
ReleaseDir:sdnc1.0
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
npm WARN deprecated nodemailer@1.3.0: All versions below 4.0.1 of
Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated CSSselect@0.4.1: the module is now available as
'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm WARN deprecated connect@2.26.1: connect 2.x series is deprecated
npm WARN deprecated native-or-bluebird@1.1.2: 'native-or-bluebird' is
deprecated. Please use 'any-promise' instead.
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or
higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or
higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will
fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon
as possible. Use 'npm ls graceful-fs' to find it in the tree.


Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] cannot run RPC SLI-API:execute-graph

2017-10-15 Thread Abdelmuhaimen Seaudi
Hi,

If I create a DG with 

and then I POST: SDNC:8282/restconf/operations/SLI-API:execute-graph

> BODY:
>
> {
>
> "input": {
>
> "module-name": "router",
>
> "rpc-name": "mount",
>
> "mode": "sync",
>
> "sli-parameter": [
>
> ]
>
> }
>
>
I get the following in karaf log:
Could not find service reference object for plugin
org.openecomp.sdnc.restapicall.RestapiCallNode


Now, I read in gerrit that RestapiCallNode moved to ccsdk, if yes, what
would be the name of the new plugin ?

Thanks.


Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] Integrate Java web application with ONAP Portal

2017-10-15 Thread Abdelmuhaimen Seaudi
Hi,

I am working on a Java web app that uses SDNC, and the Java web app has a
specific Graphical User Interface, with login, network settings, user
input, and log displays, etc ...

Now, I would like to integrate the web app into ONAP Portal, I tried to
on-board the app, and i see there's an option for http link only, and
there's another option to add the REST API URL of my app.

Where can i find documentation showing me how to provide an API from my
application to ONAP Portal, and what happens when I give the REST API URL
to ONAP ?

Can my application appear as  a tab like others SDC, Demo APP, VID, etc ?

Thanks

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] (no subject)

2017-06-04 Thread Abdelmuhaimen Seaudi
Hi.

When I do a REST request on SDNC:
GET "
http://SDNC:8282/restconf/operational/network-topology:network-topology/;

I get:
{
  "network-topology": {
"topology": [
  {
"topology-id": "topology-netconf",
"node": [
  {
"node-id": "controller-config",
"netconf-node-topology:host": "127.0.0.1",
"netconf-node-topology:port": 1830,
"netconf-node-topology:connection-status": "connecting"
  }
]
  }
]
  }
}

Why the node "controller-config" is stuck in "connecting" state ?


However, when I make same REST request on APPC:

GET "
http://APPC:8282/restconf/operational/network-topology:network-topology/;

I get:
{
  "network-topology": {
"topology": [
  {
"topology-id": "topology-netconf",
"node": [
  {
"node-id": "controller-config",
"netconf-node-topology:host": "127.0.0.1",
"netconf-node-topology:connection-status": "connected",
"netconf-node-topology:available-capabilities": {
      "available-capability": [

"(config:aaa:authn:idmlight?revision=2015-12-04)aaa-idmlight",

  ]
},
"netconf-node-topology:unavailable-capabilities": {},
"netconf-node-topology:port": 1830


Thanks.

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] Exposing a port on SDNC ODL container

2017-06-01 Thread Abdelmuhaimen Seaudi
Thanks, Brian, sdnc_controller_container is now working with ports 8282 and
4189 exposed.

root@vm1-sdnc:/opt/sdnc/installation/src/main/yaml# docker container list
CONTAINER IDIMAGE   COMMAND
 CREATED STATUS  PORTS
   NAMES
6d99b72621afopenecomp/admportal-sdnc-image:latest   "/bin/bash -c
'cd ..."   31 minutes ago  Up 31 minutes   0.0.0.0:8843->8843/tcp
sdnc_portal_container
9a4cf829c878openecomp/dgbuilder-sdnc-image:latest   "/bin/bash -c
'cd ..."   31 minutes ago  Up 31 minutes   0.0.0.0:3000->3100/tcp
sdnc_dgbuilder_container
923492be1f99openecomp/sdnc-image:latest
"/opt/openecomp/sd..."   31 minutes ago  Up 31 minutes
0.0.0.0:4189->4189/tcp, 0.0.0.0:8282->8181/tcp   sdnc_controller_container
4a6bee8c4d73mysql/mysql-server:5.6  "/entrypoint.sh
my..."   About an hour ago   Up 31 minutes   0.0.0.0:32769->3306/tcp
   sdnc_db_container
root@vm1-sdnc:/opt/sdnc/installation/src/main/yaml#

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


On Tue, May 30, 2017 at 3:31 AM, FREEMAN, BRIAN D <bf1...@att.com> wrote:

> The docker-compose file is under the oam repository
>
>
>
> ~[build=path]/sdnc/oam/installation/src/main/yaml/docker-compose.yml
>
>
>
> I believe docker requires you to remove the containers and re-build them
> “docker-compose up -d” to see the new ports but I may be wrong.
>
>
>
> You may also need to expose ports in the Dockerfile for the sdnc container
> which is under sdnc/oam/installation/sdnc/src/main/docker/Dockerfile
>
>
>
>
>
> Brian
>
>
>
>
>
>
>
>
>
>
>
> *From:* onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-bounces@
> lists.onap.org] *On Behalf Of *Abdelmuhaimen Seaudi
> *Sent:* Saturday, May 27, 2017 7:49 PM
> *To:* ROSE, DANIEL V <dr6...@att.com>
> *Cc:* onap-discuss@lists.onap.org
> *Subject:* Re: [onap-discuss] Exposing a port on SDNC ODL container
>
>
>
> Hi.
>
>
>
> The sdnc_contoller_container has exposed port 8282 --> 8181.
>
>
>
> How can I add another exposed port, for example 4189 --> 4189 to allow
> routers to synchronize with the ODL in the running
> sdnc_controller_container ?
>
>
>
> Do I need to shutdown the sdnc_controller_container and rerun it again
> with 2 exposed ports 8282:8181 and 4189:4189 ?
>
>
>
> If yes, what is the full command to run the sdnc_controller_container ?
>
>
>
> The sdnc_vm_init.sh script shows only "/opt/docker/docker-compose up -d",
> so I don't know what was the full command to run the
> sdnc_controller_container.
>
>
>
> root@vm1-sdnc:~# docker container list
>
> CONTAINER IDIMAGE   COMMAND
>CREATED STATUS  PORTS
>   NAMES
>
> 86092805e713openecomp/dgbuilder-sdnc-image:latest   "/bin/bash -c
> 'cd ..."   41 hours agoUp 41 hours 0.0.0.0:3000->3100/tcp
>sdnc_dgbuilder_container
>
> 4caa9aefae1dopenecomp/admportal-sdnc-image:latest   "/bin/bash -c
> 'cd ..."   41 hours agoUp 41 hours 0.0.0.0:8843->8843/tcp
>sdnc_portal_container
>
> 885c56b1b1d9openecomp/sdnc-image:latest
> "/opt/openecomp/sd..."   41 hours agoUp 41 hours
> 0.0.0.0:8282->8181/tcpsdnc_controller_container
>
> fdbdfc8aa306mysql/mysql-server:5.6
>  "/entrypoint.sh my..."   41 hours agoUp 41 hours
> 0.0.0.0:32768->3306/tcp   sdnc_db_container
>
>
> Abdelmuhaimen Seaudi, CCIE # 25265
> Email: asea...@gmail.com
>
> Skype: aseaudi
>
> LinkedIn: www.linkedin.com/in/aseaudi
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_aseaudi=DwMFaQ=LFYZ-o9_HUMeMTSQicvjIg=e3d1ehx3DI5AoMgDmi2Fzw=YkcQtl8hYzIokQQ0UCr6-5rT3VIzh5KwY8pxRO4g6ow=m2PN-Rl-7HSilLAktKC9lMUs_iUV3FP_FXnIs_O2aPQ=>
>
> Telephone: +2012 84644 733
>
>
>
>
>
> On Sun, May 28, 2017 at 12:03 AM, ROSE, DANIEL V <dr6...@att.com> wrote:
>
> It runs on docker so you would also need to expose the port in docker
> after you install it
>
>
> On May 27, 2017, at 4:13 PM, Abdelmuhaimen Seaudi <asea...@gmail.com>
> wrote:
>
> Hi.
>
>
>
> I want to install the BGPPCEP feature on the ODL running in a container on
> the SDNC VM.
>
>
>
> This means I need to expose the default PCEP p

Re: [onap-discuss] Exposing a port on SDNC ODL container

2017-05-27 Thread Abdelmuhaimen Seaudi
Hi.

The sdnc_contoller_container has exposed port 8282 --> 8181.

How can I add another exposed port, for example 4189 --> 4189 to allow
routers to synchronize with the ODL in the running
sdnc_controller_container ?

Do I need to shutdown the sdnc_controller_container and rerun it again with
2 exposed ports 8282:8181 and 4189:4189 ?

If yes, what is the full command to run the sdnc_controller_container ?

The sdnc_vm_init.sh script shows only "/opt/docker/docker-compose up -d",
so I don't know what was the full command to run the
sdnc_controller_container.

root@vm1-sdnc:~# docker container list
CONTAINER IDIMAGE   COMMAND
 CREATED STATUS  PORTS
NAMES
86092805e713openecomp/dgbuilder-sdnc-image:latest   "/bin/bash -c
'cd ..."   41 hours agoUp 41 hours 0.0.0.0:3000->3100/tcp
 sdnc_dgbuilder_container
4caa9aefae1dopenecomp/admportal-sdnc-image:latest   "/bin/bash -c
'cd ..."   41 hours agoUp 41 hours 0.0.0.0:8843->8843/tcp
 sdnc_portal_container
885c56b1b1d9openecomp/sdnc-image:latest
"/opt/openecomp/sd..."   41 hours agoUp 41 hours
0.0.0.0:8282->8181/tcpsdnc_controller_container
fdbdfc8aa306mysql/mysql-server:5.6  "/entrypoint.sh
my..."   41 hours ago    Up 41 hours     0.0.0.0:32768->3306/tcp
sdnc_db_container

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


On Sun, May 28, 2017 at 12:03 AM, ROSE, DANIEL V <dr6...@att.com> wrote:

> It runs on docker so you would also need to expose the port in docker
> after you install it
>
> On May 27, 2017, at 4:13 PM, Abdelmuhaimen Seaudi <asea...@gmail.com>
> wrote:
>
> Hi.
>
> I want to install the BGPPCEP feature on the ODL running in a container on
> the SDNC VM.
>
> This means I need to expose the default PCEP port 4189 out of the
> container so that routers can synchronize with the PCE plugin running in
> ODL.
>
> How can I do that ?
>
> Thanks.
>
> Abdelmuhaimen Seaudi, CCIE # 25265
> Email: asea...@gmail.com
> Skype: aseaudi
> LinkedIn: www.linkedin.com/in/aseaudi
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_aseaudi=DwMFaQ=LFYZ-o9_HUMeMTSQicvjIg=2wwdGZ3YcpSivQ2Kio028A=UrenvZ-0k1Sz20stfv9af-tlmNTaSvhf_gQkIPcrR2w=-J64A4PM_MvV9S6iX5pca06QADpaKXQnMrxkxeNnY0M=>
> Telephone: +2012 84644 733
>
> ___
> onap-discuss mailing list
> onap-discuss@lists.onap.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.
> onap.org_mailman_listinfo_onap-2Ddiscuss=DwICAg=
> LFYZ-o9_HUMeMTSQicvjIg=2wwdGZ3YcpSivQ2Kio028A=UrenvZ-0k1Sz20stfv9af-
> tlmNTaSvhf_gQkIPcrR2w=YEw3RtyTNDfB8VybL8nRPvxxFM5GSD363k6sQpDHkuQ=
>
>
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] Exposing a port on SDNC ODL container

2017-05-27 Thread Abdelmuhaimen Seaudi
Hi.

I want to install the BGPPCEP feature on the ODL running in a container on
the SDNC VM.

This means I need to expose the default PCEP port 4189 out of the container
so that routers can synchronize with the PCE plugin running in ODL.

How can I do that ?

Thanks.

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] user/pass for SDC or VID REST API

2017-05-27 Thread Abdelmuhaimen Seaudi
Hi.

If I try
http://sdc.api.simpledemo.openecomp.org:8080/api/
or
http://vid.api.simpledemo.openecomp.org:8080/vid/api

I get unauthorized error.

What is the default username/password for this ?

Thanks.

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] (no subject)

2017-05-27 Thread Abdelmuhaimen Seaudi
Hi.

Regarding the DG Builder example, how can I send the REST call from the
ECOMP Portal, instead of manually from an external tool ?

For example can i create a small widget ? or a simple app ?

Thanks


Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] cannot upload DG XML - error 500

2017-05-26 Thread Abdelmuhaimen Seaudi
Hi.

After I create and validate the XML for a DG, I cannot upload the XML, I
get the following error:

Could not upload the XML. Status:500 Message:Internal Server Error
Additional Details
Caused by: org.openecomp.sdnc.sli.ConfigurationException: failed to get
database connection [jdbc:mysql://localhost:3306/sdnctl]
at
org.openecomp.sdnc.sli.SvcLogicJdbcStore.getConnection(SvcLogicJdbcStore.java:100)
at
org.openecomp.sdnc.sli.SvcLogicJdbcStore.initDbResources(SvcLogicJdbcStore.java:362)

Any idea how can I resolve this ?

Thanks.

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] onap user guide

2017-05-26 Thread Abdelmuhaimen Seaudi
Hi,
In the homepage of ONAP Portal, when I click on "OpenECOMP user guide", i
get the following message, below. Where is the link for this user guide? I
am interested to read it.


[image: Atlassian]
Did you use the wrong account?

Your email address *asea...@gmail.com <asea...@gmail.com>* doesn't have
access to *openecomp.atlassian.net <http://openecomp.atlassian.net>*

We've all got more than one email address these days - are you using the
right one?

Try a different account <https://openecomp.atlassian.net/logout>

If you're certain you should have access with *asea...@gmail.com
<asea...@gmail.com>*, contact your administrator.

   - Terms of use <https://www.atlassian.com/end-user-agreement>
   - Support <https://support.atlassian.com/>
   - Privacy policy <https://www.atlassian.com/company/privacy>



Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] SDNC with netconf-connector plugin

2017-05-25 Thread Abdelmuhaimen Seaudi
Hi,

I can mount a Cisco Router to the standard OpenDaylight by using feature
install netconf-connector (southbound), and then I can use Restconf to
OpenDaylight using feature install netconf plugin (northbound).

How can I achieve the same with ONAP SDN-C ?

Do i need to change the default SDN-C docker image to install the
netconf-connector + restconf + other plugins ?

and yet still how do i talk to SDN-C, do i talk directly via restconf to
SDN-C ?

or can i talk to SDN-c via APPC, or via SDC ?

Thanks.

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] what is the username/password for the APPC Apidoc explorer ?

2017-05-25 Thread Abdelmuhaimen Seaudi
Hi,
According to the APPC user guide
"To open the Application Controller dashboard, go to:
https://:8443/apidoc/explorer/index.html"
I get 401 unauthorized error
I tried all username/password combinations i can think of, without success.
What is the default username/password ?
Thanks

Abdelmuhaimen Seaudi, CCIE # 25265
Email: asea...@gmail.com
Skype: aseaudi
LinkedIn: www.linkedin.com/in/aseaudi
Telephone: +2012 84644 733
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss