Hello Marco, Yes, I am deploying the release-1.0.0 code with the Openstack heat templates and env files.
- Docker-version: 1.0-STAGING-latest - DCAE-VERSION: 1.0.0 - Git_branch version to clone the dcae/demo project in the cloud_init file: release-1.0.0 Do I have to upgrade to 1.1.0 to get past the issue I am seeing? What is the recommended version of ONAP to get a deployment running and validate it? Thanks, Rashmi From: "PLATANIA, MARCO (MARCO)" <plata...@research.att.com> Date: Tuesday, May 16, 2017 at 12:36 PM To: "Pujar, Rashmi" <rashmi.pu...@bell.ca>, "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org> Subject: Re: [onap-discuss] DCAE controller fails to find flavor even when it exists Hello Rashmi, DCAE controller (in Gerrit master branch) requires onap_openstack_nofloat.yaml Heat template to correctly start up in vanilla OpenStack. While porting DCAE to vanilla OpenStack is still a work in progress, we were able to create the expected analytics platform with the controller defined in the DCAE section of that template. From the error below, it seems to me that the parameters you are using refer to the Rackspace configuration (VM image names, flavors, …). In the env file, please set: · artifacts_version: 1.1.0-SNAPSHOT · docker_version: 1.1-STAGING-latest · gerrit_branch: master · cloud_env: openstack_nofloat · dcae_base_environment: 2-NIC · dcae_code_version: 1.1.0 I anticipate that the creation of the analytics platform (that DCAE does off the Heat template) is pretty slow at this time (it may take a couple of hours for the entire stack to come up – sorry for the inconvenience). Thanks, Marco From: <onap-discuss-boun...@lists.onap.org> on behalf of "Pujar, Rashmi" <rashmi.pu...@bell.ca> Date: Tuesday, May 16, 2017 at 12:06 PM To: "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org> Subject: [onap-discuss] DCAE controller fails to find flavor even when it exists Hello Devs! I am trying to get DCAE controller running and have it spin up the rest of the VMs in my Openstack setup. So far I have been successful in getting the DCAE controller instance communicating fine with Openstack (gets the token, endpoints and the compute/glance/network resources and updates the Jetty server endpoints). The flavors and the images needed by the DCAE VMs have been created in OS. However, DCAE controller fails to deploy the VM citing missing flavor as the reason for failure. What is the DCAE controller endpoint where it queries for the flavor name? I am looking at: http://localhost:9998/resources/openstack/locations/${ZONE}/flavors and it has the entry. Is there any other endpoint to verify? Any insights to debug this would be helpful. org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP Request Failed: URL: http://localhost:9998/resources/services/vm-docker-host-1 code:500 msg:operation failed: deploy { "exception": "java.lang.RuntimeException: No flavor with name '8 GB Performance'", "directory": "/opt/app/dcae-controller-platform-server", "user": "root", "hostname": "7493a368c7ff", "port": "9998", "class": "DcaePlatformController", "action": "deploy", "request": {"instanceName": "z1"}, "context": { "remoteIp": "127.0.0.1", "user": "console", "parameters": {}, "path": "/resources/services/vm-docker-host-1", "requestId": "1494949479518:29" } } <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 500 operation failed: deploy { "exception": "java.lang.RuntimeException: No flavor with name '8 GB Performance'", "directory": "/opt/app/dcae-controller-platform-server", "user": "root", "hostname": "7493a368c7ff", "port": "9998", "class": "DcaePlatformController", "action": "deploy", "request": {"instanceName": "z1"}, "context": { "remoteIp": "127.0.0.1", "user": "console", "parameters": {}, "path": "/resources/services/vm-docker-host-1", "requestId": "1494949479518:29" } }</title> **************************** The DCAE controller Jetty8 server endpoint for the locations lists the flavor as below: root@7493a368c7ff:/# curl -X GET -H "Authorization: Basic Y29uc29sZTpaakprWWpsbE1qbGpNVEkyTTJJeg==" -H "Content-Type: application/json" -H "Accept: application/json" -H "Host: localhost:9998" -H "Cache-Control: no-cache" -H "Postman-Token: 654d54f7-78ed-080b-7432-b9721cf3a5b0" "http://localhost:9998/resources/openstack/locations/z1" { "lastChanged": "2017-05-16T15:49:28.728+0000", "ceilometerAvailableCapabilites": [], "ceilometerUnavailableCapabilites": [], "version": "Juno", "remoteLocation": "false", "remoteLocationName": "z1", "allowCreateFlavor": "false", "keystoneUrl": "http://x.x.x.x:5000/v2.0", "flavorId": "20000", "supportsSecurityGroups": "false", "supportsFloatingIps": "false", "projects": {"onap": ..... .... "flavors": { .... "8 GB Performance": { "id": "5", "ram": "16384", "disk": "160", "vcpus": "8", "swap": "", "rxtx_factor": "1.0", "OS_FLV_EXT_DATA_ephemeral": "0", "OS_FLV_DISABLED_disabled": "false", "os_flavor_access_is_public": "true", "links": [ "0", "1" ] } }, "hypervisors": {} }
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss