summaryrefslogtreecommitdiffstats
path: root/docs/submodules/snaps
AgeCommit message (Collapse)AuthorFilesLines
2018-05-25Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Merge "New functionality for snaps-oo application." into stable/fraser - New functionality for snaps-oo application. 1. Utility for saving a dict to a YAML file 2. Added new hook that will create a file with the VMs created with the associated OpenStack credentials Change-Id: I124db00e4375603e9473cceab3e2846582d6cb22 Signed-off-by: spisarski <s.pisarski@cablelabs.com> (cherry picked from commit f9cf2eb23cb1dc22fe9d680ac49c8ed4d2aa6eff)
2018-05-25Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Miscellaneous minor stability fixes Change-Id: Iad8a7b6358f881d1c2935cc619cfa96f1196a675 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-24Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Merge "Restricting the magnum-pythonclient version to 2.1-2.2" into stable/fraser - Restricting the magnum-pythonclient version to 2.1-2.2 Using version >2.2 results in a runtime exception. Change-Id: Ifc46efc7bb818c93f1470d7ea2150d9974f1bfd3 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-21Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Removed project query restriction when looking up network for port creation. When creating a router to an external network, the port configuration object was performing a lookup using the port's user and project ID; however, as external networks created in other projects and are visible amongst all projects can also be added to a port. This patch removes the project restriction from the network query. I do not believe this fix should ultimately break other functionality as networks that cannot be looked up by a certain user would still return None raising a valid exception. JIRA: APEX-598 Change-Id: I6cd32373fd4f42d8ad9b63a89c2131f95b113ce8 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-16Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Conform ProjectConfig args with description Change-Id: Ib865fdc6d48c377c5a28092015b807ef79a15ce3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 816a90ca79a0f16bd5176b00c33391f522e517c1)
2018-05-15Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Fix NoneType in create_router.py It lets Neutron handle str or unicode instead of returning None. It reverts the first proposal [1] which raises side effects [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/56171/ [2] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/126/console Conflict: snaps/openstack/create_router.py Change-Id: I1b45c7d6118321dd67343f31253f154abae73655 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9651c889f1b966dc2733daf7eabbb5e62268654d)
2018-05-09Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Fix defaultbranch in .gitreview Change-Id: I23f3af46fcc84ce752b5797a0a8493ebd583565b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-05-03Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Enable get_project_by_id when only tenant_id is provided This is to improve: https://gerrit.opnfv.org/gerrit/#/c/52675/ Change-Id: I7228e5eadcc121fe94a869c6cbbeac412d972868 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 390d31e3a6eaa0968474d19d71ec804d0c6c071a)
2018-04-27Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Initial release-notes. JIRA: SNAPS-288 Change-Id: I61e96eeb2128fc4e4abc88595504cad5f70f4378 Signed-off-by: spisarski <s.pisarski@cablelabs.com> (cherry picked from commit bf07de830d7517f7173a3e8a68e1fa6dac2539da)
2018-04-23Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Addressed issue with test when replicated networks are configured on the pod. According to the defect, "neutron OVS agent uses a replicated network for DVR." JIRA: SNAPS-305 Change-Id: I3ceb94582d74a297f5ff41520ffe4e9f5e638266 Signed-off-by: spisarski <s.pisarski@cablelabs.com> (cherry picked from commit 7f5f1b87cdde0b60cda714eb656d46751b9e2548)
2018-04-20Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Fixed bug with regards to subnet lookups. Neutron returns all subnets regardless of visibility which cause problems within routers if there is another subnet with the same name attached to a different network. JIRA: SNAPS-304 In addition, this patch contains two other minor fixes. launch_utils.py - raise an exception when the creator is not properly instantiated network.py - allow fixed IPs to be none. Change-Id: Ib343074d925be4592a713727a03d5b531890eada Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-04-19Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Adding assertion message to test validation. Change-Id: I609d09ed8b4f75baeb1ad5454c9ddde9e996a3fe Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-04-13Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'stable/fraser' - Fixed bug when use_keystone parameter is False. When false, the self.keystone member is None and now it is being used in many more places with some of the other changes during the Fraser release JIRA: SNAPS-299 Change-Id: I752afb127287036a16f3c9b00e6feae9cab80143 Signed-off-by: spisarski <s.pisarski@cablelabs.com> (cherry picked from commit f9003b2925fd340998fd38fd353fba187aeadc69)
2018-04-04Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/snaps from branch 'master' - Enable get_project_by_id when only tenant_id is provided This is to improve: https://gerrit.opnfv.org/gerrit/#/c/52675/ Change-Id: I7228e5eadcc121fe94a869c6cbbeac412d972868 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-22Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/snaps from branch 'master' - Remove test_create_volume_bad_zone JIRA: FUEL-356 Fuel/MCP has set allow_availability_zone_fallback option to True. If the requested Cinder availability zone is unavailable, fall back to the value of default_availability_zone, then storage_availability_zone, instead of failing. Change-Id: I04f45f8435dbdf1113ac6b2c50bf913c1f29cd20 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-19Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added ability to set several quota settings upon project creation. JIRA: SNAPS-275 Change-Id: Ibab81e835dddcb666fb3c829857b1c4676b57ed1 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-15Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added test to ensure a port to the external network can be added to a router by an 'admin' user. JIRA: SNAPS-283 Change-Id: I78a48862de5bd48dca7dc38d197c0df315003638 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-13Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added tests to ensure multiple IP addresses can be assigned to a VM port. JIRA: SNAPS-284 Change-Id: I43528434523a137a78d1f1f8d22496341f78492b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-13Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added test to ensure VM instances spawned by an admin user can have an external network used on a port. JIRA: SNAPS-282 Change-Id: I3ee2fef65d1751880e576dc8f6a797260d1028ee Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-13Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Reverse engineer OpenStackHeatStack Added support for obtaining an initialized OpenStackHeatStack object from an existing Stack object JIRA: SNAPS-278 Change-Id: I68cb0c85179868e4e3899b5516316dda3321e9f6 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-13Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Fixed a few Py 2.7 -> 3.x issues." - Fixed a few Py 2.7 -> 3.x issues. JIRA: SNAPS-286 Change-Id: Ib4976529168655df0ed906276b503b70a8459f21 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-13Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added support for running tests in parallel. JIRA: SNAPS-215 Change-Id: I94923a9f184b0d370159b499919e8fc20a2fef90 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-12Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Closing keystone sessions after done with them. By not closing all of the keystone sessions being created when running all of the tests, this may be the root cause to the IOError occasionally being observed: IOError: [Errno 24] Too many open files JIRA: SNAPS-285 Change-Id: I7fc7ab0c6cdd02f1ae32bb3ae4f121cb465d5693 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-12Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added members to VmInst that will contain the availability_zone and compute_host names while deprecating the method get_vm_info(). JIRA: SNAPS-277 Change-Id: Idc8578b3f2cf2be8ef90f52dd025dbea729b222b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-08Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Ensure the project for volumes are handled properly. Although this patch has added the project_name member to VolumeConfig, it does not work properly due to a cinder bug https://bugs.launchpad.net/cinder/+bug/1641982. However, the code will now allow for volumes with the same name to be created on the same pod just as long as they do not exist within the same project/tenant. JIRA: SNAPS-270 Change-Id: Ia6f98e9b66793a69c0205d2d8e38bb3d03f3333e Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-08Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Updated stack tests to only use an admin user when necessary. Changed super test class OSIntegrationTestCase to allow subclasses to set the user roles when required. For all heat stack test, the user role will always be 'heat_stack_owner'. 'admin' will be used for tests requiring this role (i.e. heat template creates flavors) JIRA: SNAPS-268 Change-Id: I0ec01cfea6297547a6a158eec8e5c69af6d6c7d7 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-06Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Ensure project for routers are handled properly. Routers should be able to be created by admin users to other projects. Routers without admin users should only be able to create ones to their default project. JIRA: SNAPS-266 Change-Id: I5ecfbcc2ed94bbab211751da9521f3ec1d4ff66d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-28Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Fixed subnet gateway support to allow for disabling the gateway. JIRA: SNAPS-276 Change-Id: Ia676b91ee881097ca7502fb4b9f5c64961de2214 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-23Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Changed pattern on how objects lookup themselves by name and project. The pattern being replaced has unwittingly added the requirement that all creator credentials must be of type 'admin' as when looking up the associated project ID required a call to keystone.projects.list(). As the SNAPS integration tests were always creating users with an 'admin' role, this issue was not caught. As part of this patch, integration test users will no longer be admin. JIRA: SNAPS-274 Change-Id: I02957f69e31a9d4dfa63362d371f061687e59fbf Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-21Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/snaps from branch 'master' - openstack: nova_utils_tests: Wait for volume detachment The 'test_add_remove_volum' is supposed to wait for volume attachment and detachments. However, the code for the latter was missing. Moreover, we remove some code that checks for attached volumes since that should never happen when detaching the volume. Change-Id: I9ed54a467062d0ddc4efeddf03af7ebe6173e789 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-02-21Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/snaps from branch 'master' - openstack: nova_utils_tests: Increase timeout for API calls Patch I2245adb84d0e6d4e3350d17d0c2e44baf5202d51 increased the timeout for the API calls to 2 minutes which was then somewhat reverted in Iea3aeab59c378917fbd175d673113e8d30e2e4b9. However, the problem still persists on slow systems and 30 seconds may not be enough to confirm a volume attachment to the VM. Change-Id: I860b2a797917e13772e95c5d756919e9792b63a6 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-02-20Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Ensure project IDs are handled correctly for Network/Subnets JIRA: SNAPS-265 Change-Id: If58f5817e52e21be377d2b06a5f7c3a413454350 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-16Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added functionality for OpenStackSecurityGroup#initialize() not to accept security groups with the same name from a different project JIRA: SNAPS-264 Change-Id: I7c905e5588d5e503b47ea0e9f5997be89e841aec Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-15Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Compare strings instead of objects in SecurityGroupConfig" - Compare strings instead of objects in SecurityGroupConfig It could have worked thanks to interned strings. Change-Id: If56cc44fe35ca06bc9033af620ddd3c0586877fe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-15Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Set region_name in get_os_creds()" - Set region_name in get_os_creds() Change-Id: Idb6912319e24edb39e18114bd3c1ef5bca750752 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-14Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Fixed comment" - Fixed comment Change-Id: Ib226ef99eed2fda2c7112faf0f0e9339afed90fe Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-08Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/snaps from branch 'master' - Update the DNS default value in docstrings It completes the previous patch [1] about that topic. [1] https://gerrit.opnfv.org/gerrit/#/c/51845/ Change-Id: Ib2ba07c0d5608bd452ed209544d4dbfc17124299 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-08Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/snaps from branch 'master' - Stop setting 8.8.8.8 as default DNS server That could easily raise side effect as it overrides default configs set by Cloud providers. Change-Id: I659d16f8f58bba3a07b8ae2ee2270aa69c200ed5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-06Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Fixed timeout logic when attaching/detaching volumes." - Fixed timeout logic when attaching/detaching volumes. The timeout logic in nova_utils.attach_volume() and detach_volume() was not correct which may have been the root cause behind the issue FUNCTEST-927. Timeout in both attach and detach is no longer optional. Also added a test to attach and detach without timeout as that path was never tested. Updated associated test documentation as well. JIRA: SNAPS-263 JIRA: FUNCTEST-927 Change-Id: Iea3aeab59c378917fbd175d673113e8d30e2e4b9 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-05Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Fixed OSCreds retrieval." - Fixed OSCreds retrieval. The optional parameter 'project_name' was never getting a default value when not used causing an OSCredsError to be raised. Change-Id: I2a0986c62c5d9520f60ebd06db1f3a749e62361c Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-05Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added 3 new subnet values for ansible substitutions Change-Id: Idd39e4f6e3f22fcbafe3aae2512ac36cf9e2a417 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-01Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "openstack: nova_utils_tests: Use API timeout argument instead of sleep()" - openstack: nova_utils_tests: Use API timeout argument instead of sleep() On slow environments, time.sleep(10) is not enough for attach/detach API calls to propage properly leading to failures like the following one (reduced api_check test) 2018-01-31 18:53:19,297 - functest.ci.run_tests - INFO - Running test case 'api_check'... 2018-01-31 18:54:27,434 - functest.ci.run_tests - INFO - Test result: +-------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+------------------+------------------+----------------+ | api_check | functest | 01:07 | FAIL | +-------------------+------------------+------------------+----------------+ We can workaround this by using the nova_utils.{de,at}tach_volume} 'timeout' argument to wait up to 2 minutes for the attach/detach call to complete. This doesn't affect normal exception whilst it helps get the test going on slow systems. WIth this change, the api_check (reduced test) passes as follows: 2018-01-31 18:48:35,469 - functest.ci.run_tests - INFO - Running test case 'api_check'... 2018-01-31 18:50:56,705 - functest.ci.run_tests - INFO - Test result: +-------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+------------------+------------------+----------------+ | api_check | functest | 02:20 | PASS | +-------------------+------------------+------------------+----------------+ Change-Id: I2245adb84d0e6d4e3350d17d0c2e44baf5202d51 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-02-01Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/snaps from branch 'master' - Remove a wrong @property Else OSCreds.__str__() simply doesn't work. Change-Id: I0a0147862ad3015dc9cf284c61429f1534a47d61 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-31Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Changed invalid gateway IP to ensure fails with all OS configurations." - Changed invalid gateway IP to ensure fails with all OS configurations. Change-Id: I35374ea5fa79974c43c2a474e43ff275b26dfc02 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-31Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Changed the way floating IPs are getting assigned to VMs as the previous means was not compatible with python-novaclient==10.0.0" - Changed the way floating IPs are getting assigned to VMs as the previous means was not compatible with python-novaclient==10.0.0 JIRA: SNAPS-258 Change-Id: I56f7a8341c81e0ae5596f67d4d15ef6c26e0e680 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-30Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Changed network and keypair naming to be dynamic Change-Id: I227433e92fc7f42924fa9404ff3c394c79500a1b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-30Update git submodulesGeorg Kunz1-0/+0
* Update docs/submodules/snaps from branch 'master' - Avoid checking Keystone v3 domains when using API v2.0 Introducing a version check to avoid checking keystone domains, which are an auth API v3 feature, when only auth API v2.0 is being used. Change-Id: I220c6637e5f65124e5dbe7d5246490c3986b7a66 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-01-23Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Nova 10 breaks the lib Change-Id: Iadb5e44836258e5d9a89090c4b0302d2689a40c5 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-23Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Added password support for SSH and Ansible Additional protections when initializing network resources Enhanced playbook runner variable support" - Added password support for SSH and Ansible Additional protections when initializing network resources Enhanced playbook runner variable support Change-Id: Id897c4ece1de706afbc52d0a034ca3bfb68fdce3 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-19Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Fix Malformed Table in Integration Tests doc" - Fix Malformed Table in Integration Tests doc Change-Id: Idd2efdb04d7ee1972f1189576c3a2cb9bf834aef Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>