Uploaded image for project: 'Logging analytics'
  1. Logging analytics
  2. LOG-167

get DCAEGEN2/designate running on OOM-HEAT bridge - for closed-loop logging

    XMLWordPrintable

    Details

    • Epic Name:
      get DCAEGEN2/designate running for closed-loop policy analytics and logging

      Description

      Status 20180209: OK
      https://lists.onap.org/pipermail/onap-discuss/2018-February/008057.html
      https://lists.onap.org/pipermail/onap-discuss/2018-February/008059.html

      Get DCAEGEN2 running so we can capture logs from dmaap, policy, dcae and appc - in closed loop use case scenarios

      Details on the first step of getting a system up

      http://onap.readthedocs.io/en/latest/submodules/dcaegen2.git/docs/sections/installation_heat.html

      https://wiki.onap.org/display/DW/Vetted+vFirewall+Demo+-+Full+draft+how-to+for+F2F+and+ReadTheDocs 

       

       Troubleshooting the HEAT deployment

      DCAE bootstrap requires AAI for example - so the entire openstack yaml is required - later we can purge some duplicate vms

      The workaround for AAI1 is to reboot the VM then reboot DCAE, rm the boot container and run /opt/dcae*init.sh

      docker logs -f boot (to watch the cloudify logs in a separate terminal)

       

      status:20180204:

      https://lists.onap.org/pipermail/onap-discuss/2018-February/007884.html

      https://lists.onap.org/pipermail/onap-discuss/2018-February/007904.html

      following this JIRA instead - from the OOM side instead of the HEAT side 

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

       https://wiki.onap.org/display/DW/ONAP+on+Kubernetes+on+Rancher+in+OpenStack#ONAPonKubernetesonRancherinOpenStack-Deployingthedcaegen2pod

      writing up

      https://wiki.onap.org/display/DW/ONAP+on+Kubernetes#ONAPonKubernetes-AmsterdamOOM+DCAEHeatinstallation 

       

      Alexis,

      Just an fyi, that several of us will be switching to bringing up amsterdam OOM tomorrow to try to get DCAE running via all your work on designate and everything else there. I have been in master for the last 6 weeks at least outside of most of this.

      The focus is to get closed loop running for ourselves as well (as we started late Nov in the calls you drove – that you continued with after that week)

      Reviewing already merged (looked at this in the past – looking more deeply now)

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

      [^DCAE_K8s_Designate.jpg]

      Starting to look more at WIP work as well under

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

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

      We will be deploying both heat and OOM for this hybrid environment on a local openstack here.

      So just keeping you in the loop.

      Any issues we will keep and follow the onap-discuss discussions in public – as usual

      /michael

      https://lists.onap.org/pipermail/onap-discuss/2018-February/007843.html
      https://lists.onap.org/pipermail/onap-discuss/2018-January/007655.html

      update : working
      All of DCAE is up via OOM (including the 7 CDAP nodes)
      Issue was: each tenant hits its floating IP allocation after 2.5 DCAE installs - we run out of IPs because they are not deleted.
      Fix: delete all unassociated IPs before brining up OOM/DCAE - we cannot mix cloudify blueprint orchestration with manual openstack deletion - once in a blueprint - we need to remove everything orchestrated on top of HEAT using the cloudify manager - or do as the integration team does and clean the tenant before a deployment.

      after deleting all floating IPs and rerunning the OOM deployment
      Time: 35 min from heat side dcae-boot install - 55 min total from one-click OOM install
      
      obrienbiometrics:lab_logging michaelobrien$ ssh ubuntu@10.12.6.124
      Last login: Fri Feb  9 16:50:48 2018 from 10.12.25.197
      ubuntu@onap-oom-obrien:~$ kubectl -n onap-dcaegen2 exec -it heat-bootstrap-4010086101-fd5p2 bash
      root@heat-bootstrap:/# cd /opt/heat
      root@heat-bootstrap:/opt/heat# source DCAE-openrc-v3.sh 
      root@heat-bootstrap:/opt/heat# openstack server list
      +--------------------------------------+---------------------+--------+----------------------------------------------------+--------------------------+------------+
      | ID                                   | Name                | Status | Networks                                           | Image                    | Flavor     |
      +--------------------------------------+---------------------+--------+----------------------------------------------------+--------------------------+------------+
      | 29990fcb-881f-457c-a386-aa32691d3beb | dcaepgvm00          | ACTIVE | oam_onap_3QKg=10.99.0.13, 10.12.6.144              | ubuntu-16-04-cloud-amd64 | m1.medium  |
      | 7b4b63f3-c436-41a8-96dd-665baa94a698 | dcaecdap01          | ACTIVE | oam_onap_3QKg=10.99.0.19, 10.12.5.219              | ubuntu-16-04-cloud-amd64 | m1.large   |
      | f4e6c499-8938-4e04-ab78-f0e753fe3cbb | dcaecdap00          | ACTIVE | oam_onap_3QKg=10.99.0.9, 10.12.6.69                | ubuntu-16-04-cloud-amd64 | m1.large   |
      | 60ccff1f-e7c3-4ab4-b749-96aef7ee0b8c | dcaecdap04          | ACTIVE | oam_onap_3QKg=10.99.0.16, 10.12.5.106              | ubuntu-16-04-cloud-amd64 | m1.large   |
      | df56d059-dc91-4122-a8de-d59ea14c5062 | dcaecdap05          | ACTIVE | oam_onap_3QKg=10.99.0.15, 10.12.6.131              | ubuntu-16-04-cloud-amd64 | m1.large   |
      | 648ea7d3-c92f-4cd8-870f-31cb80eb7057 | dcaecdap02          | ACTIVE | oam_onap_3QKg=10.99.0.20, 10.12.6.128              | ubuntu-16-04-cloud-amd64 | m1.large   |
      | c13fb83f-1011-44bb-bc6c-36627845a468 | dcaecdap06          | ACTIVE | oam_onap_3QKg=10.99.0.18, 10.12.6.134              | ubuntu-16-04-cloud-amd64 | m1.large   |
      | 5ed7b172-1203-45a3-91e1-c97447ef201e | dcaecdap03          | ACTIVE | oam_onap_3QKg=10.99.0.6, 10.12.6.123               | ubuntu-16-04-cloud-amd64 | m1.large   |
      | 80ada3ca-745e-42db-b67c-cdd83140e68e | dcaedoks00          | ACTIVE | oam_onap_3QKg=10.99.0.12, 10.12.6.173              | ubuntu-16-04-cloud-amd64 | m1.medium  |
      | 5e9ef7af-abb3-4311-ae96-a2d27713f4c5 | dcaedokp00          | ACTIVE | oam_onap_3QKg=10.99.0.17, 10.12.6.168              | ubuntu-16-04-cloud-amd64 | m1.medium  |
      | d84bbb08-f496-4762-8399-0aef2bb773c2 | dcaecnsl00          | ACTIVE | oam_onap_3QKg=10.99.0.7, 10.12.6.184               | ubuntu-16-04-cloud-amd64 | m1.medium  |
      | 53f41bfc-9512-4a0f-b431-4461cd42839e | dcaecnsl01          | ACTIVE | oam_onap_3QKg=10.99.0.11, 10.12.6.188              | ubuntu-16-04-cloud-amd64 | m1.medium  |
      | b6177cb2-5920-40b8-8f14-0c41b73b9f1b | dcaecnsl02          | ACTIVE | oam_onap_3QKg=10.99.0.4, 10.12.6.178               | ubuntu-16-04-cloud-amd64 | m1.medium  |
      | 5e6fd14b-e75b-41f2-ad61-b690834df458 | dcaeorcl00          | ACTIVE | oam_onap_3QKg=10.99.0.8, 10.12.6.185               | CentOS-7                 | m1.medium  |
      | 5217dabb-abd7-4e57-972a-86efdd5252f5 | dcae-dcae-bootstrap | ACTIVE | oam_onap_3QKg=10.99.0.3, 10.12.6.183               | ubuntu-16-04-cloud-amd64 | m1.small   |
      | 87569b68-cd4c-4a1f-9c6c-96ea7ce3d9b9 | onap-oom-obrien     | ACTIVE | oam_onap_w37L=10.0.16.1, 10.12.6.124               | ubuntu-16-04-cloud-amd64 | m1.xxlarge |
      | d80f35ac-1257-47fc-828e-dddc3604d3c1 | oom-jenkins         | ACTIVE | appc-multicloud-integration=10.10.5.14, 10.12.6.49 |                          | v1.xlarge  |
      +--------------------------------------+---------------------+--------+----------------------------------------------------+--------------------------+------------+
      root@heat-bootstrap:/opt/heat#
      

        Attachments

        1. onap_openstack.env
          5 kB
        2. onap_openstack.yaml
          77 kB
        3. onap-parameters.yaml
          7 kB
        4. Screenshot 2018-02-03 10.55.14.png
          Screenshot 2018-02-03 10.55.14.png
          107 kB
        5. Screenshot 2018-02-03 10.55.36.png
          Screenshot 2018-02-03 10.55.36.png
          396 kB
        6. Screenshot 2018-02-07 12.07.44.png
          Screenshot 2018-02-07 12.07.44.png
          325 kB
        7. Screenshot 2018-02-07 13.50.01.png
          Screenshot 2018-02-07 13.50.01.png
          693 kB
        8. Screenshot 2018-02-09 12.46.42.png
          Screenshot 2018-02-09 12.46.42.png
          696 kB
        9. Screenshot 2018-03-04 19.19.04.png
          Screenshot 2018-03-04 19.19.04.png
          763 kB
        10. Screenshot 2018-03-13 15.54.52.png
          Screenshot 2018-03-13 15.54.52.png
          644 kB

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              michaelobrien Michael O'Brien
              Reporter:
              michaelobrien Michael O'Brien
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 2 hours
                  1w 2h