reduce instance's memory size 13/30113/3
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 9 Mar 2017 05:58:53 +0000 (13:58 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 10 Mar 2017 01:25:02 +0000 (09:25 +0800)
commit5b6162af4d93530339e92e09ee6df9608e93abd5
treeb2c203f47128d978e26abba3f2ed10193342db23
parent9353b8d27df7ca56d00a62eb6a2d0eb8c01f64a0
reduce instance's memory size

when using snaps to test small OpenStack env(devstack or all-in-one),
testcase  will fail due to not enough memory for a vm. As a
basic test using cirros, only allocating ip and test the connectivity is
needed, 128M should be enough.
the error msg is:

  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py",
  line 80, in request
      raise exceptions.from_response(resp, body, url, method)
ClientException: Unknown Error (HTTP 504)

Change-Id: Ibfb27018ffd25292bcf80f69e8cb205b2c9c334b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
snaps/openstack/tests/create_instance_tests.py