Comment 0 for bug 1835391

Revision history for this message
Song,Gao (song-gao) wrote : Cannot create server-group with RESTFUL API

Brief Description
-----------------
To create server-group by tools like curl or postman, it's result will be success, but the owner cannot to see it.
While creating it using dashboard it worked

Severity
--------
Minor

Steps to Reproduce
------------------
1.Get a token;
  openstack token issue
2.Invoke the api:
   curl -i -X POST http://10.164.25.210:8774/v2/os-server-groups -H "Content-type: application/json" -H "X-Auth-Token: $token" -d '{"server_group": {"name": "curl_test_1","policies": ["anti-affinity"]}}'

Expected Behavior
------------------
Server-group created and can be seen on the starlingX dashboard

Actual Behavior
---------------
Server-group created in database and cannot be seen on the starlingX dashboard

Reproducibility
---------------
Reproducible 100%

System Configuration
--------------------
One node system

Branch/Pull Time/Commit
-----------------------
STX.1.0

Last Pass
---------

Timestamp/Logs
--------------

Test Activity
-------------