Moved roles to the parent directory
so that different adapters don't have
to have duplicated roles in their
respective paths.
patch2: fix some code to follow new pep8 standards.
Change-Id: I748c1730be8045c1cb83f91eaa9f0f551cd20a6f
you need to specify the callback plugin path in ansible.cfg
before running ansible-playbook. will add ansible.cfg related
config template in a separate CL.
Change-Id: I5f933970e7409aaf485d502998262d9d18ac5c44
Change-Id: Ieb82235bd6b436b6716992c1b45698b083d03d86
remove pre-existing chef files before uploading new chef files.
having legacy stale chef roles/cookbooks/databags in the knife
source directory will result in possible failure of dependency check,
so gurantee we have the latest code in that directory.
clean installation logs when refresh database.
Change-Id: I6609e90e51d8ca3560f1848f2de62e148f0c5b49
Cinder volume is going to be created on system partition if
no other block device is found. Tempest needs at least 5g for
volume tests, so we spare more for system partition. Also fixed
some typo in message template.
Change-Id: I490ff31ae5f6ba6ed1abce64a5237da92294b360
Use another way to check whether to use environment variables.
Use the env value even if it is None as long as the key exists
so an empty role list can trigger role auto assignment.
Change-Id: Ifb2993e4d71c7e58aacd39e1a4782040bbc11885
Search for dashboard links in the possible roles from
the get dashboardlinks response and verify if login page
is available
Change-Id: Ie3116852b3c788ef25f04fb85cc0bca478a78de4
Because virtual env is set as string, need to convert to list
Such env as ROLES_LIST, MACHINES_TO_ADD
Change-Id: I13a32b3d92908e1b4f811fdd5d9f143d5a4050ac
Roles list can be set by env variables and build timeout can
also be set according to the scale of the test.
Change-Id: I99b28b155b79842706e32cbf518bef5b6df48db1
Fail the test faster if some blocking problem occurs.
30 minutes should be enough for the node to finish deployment.
At the end, check if dashboard page with login form can be downloaded.
Change-Id: Ib2a5e2b1f7415135906280ead8ac500dbd44f53e
Also add timeout for checking installation status
To be suitable for jenkins test. The PRESET_VALUES can all be set to
compass IP. Also set mac address to the pxe vm in jenkins slaves.
Currently we only test os-dashboard role to save time.
Change-Id: I6194f62f21887af173c5c318577c4eb86de0eabf
Update deploy_hosts request format in rest.py to be aligned with API service
also update gateway configurations in example deploy script.
Change-Id: I95123656ecbe56c96a8412d629c87c2c1a54897d