summaryrefslogtreecommitdiffstats
path: root/docs/submodules/snaps
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-01-18Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Change exception message. Change-Id: I120faaa8695db5f83e39b521aaa6c1ab68e7fcc1 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-16Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added post processing task after application of an Ansible playbook. The only task currently supported is reboot. Change-Id: I9089c593af30db071508a47667381238fe91e44e Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-11Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Fixed vm instance instantiation from Heat when using nested resources * Simplified the configuration of file resources * Added integration test JIRA: SNAPS-255 Change-Id: I1065d9352865d7a9f946a5d9947e32e7340f20bc Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-10Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added port security flag support to ports. Change-Id: Ib66607b7656093c5f0cd0e2cb4c0aa9c3b9c661a Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-09Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Added support for Heat resource files." - Added support for Heat resource files. Change-Id: I936c0ef5570b5b417e4649504a817f0ca216812f Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-03Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Support network configuration overridden" - Support network configuration overridden When the network_type is vlan, the params physical_network and segmentation_id should be accepted as arguments when creating network. JIRA: SNAPS-252 Change-Id: I3a7bec8a592ede65b97eff0911d09a8154349385 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-01-03Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added new configuration option for OpenStackVmInstance for cloud-init Added cloud_init_timeout to VM instance configuration to override the default timeout value hardcoded @ 120 seconds. This patch not only expands the default value to 300, but also allows the client to override this value as cloud-init can take quite some time depending on what is being requested. Change-Id: Ia4d0a54ce853a93748b16945f5ddd4d5887feb7d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-03Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Enhancements to the SNAPS orchestrator/launcher" - Enhancements to the SNAPS orchestrator/launcher Added support for more Ansible substitution values extracted from OpenStack instances (i.e. subnet broadcast address, router external IP for gateway configuration, CIDR IP, netmask, etc.) Removed most try/except blocks to ensure processing does not continue when a problem should arise Added the ability to know when cloud-init has completed Removed nic configuration from OpenStackVmInstance as userdata/ cloud-init/cloud-config should be performing that functionality Fixed some logging messages Misc launcher bug fixes Change-Id: I73e7607ee158cce3d16f9c1c1fc7c32ef5899a1d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-02Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/snaps from branch 'master' - Configure physical_network when creating network When the network_type is vlan, configuring physical_network and segmentation_id should be supported by snaps. Here only testcase test_check_vm_ip_dhcp is changed, which is consumed by functest. JIRA: SNAPS-252 Change-Id: I12ae12f62f73f2ae66fe7ee12a49abf0394669cd Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-21Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added substitution variable support. Change-Id: I57e10be315c288d75d61b014940cd02c0c0134fa Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-20Update git submodulesManuel Buil1-0/+0
* Update docs/submodules/snaps from branch 'master' - Return the floating ip object Sometimes it might be useful to have the floating ip object which was assigned Change-Id: I883ec2af448cd38dad2e0d24843c92e7ab495c2f Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-12-19Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Refactored VmInst domain class for Ports. Removed network dict and replaced with a list of Port domain objects. The old network member was directly copied into the VmInst object from neutron meaning that Neutron implementation details were leaking through. This refactor not only makes VmInst objects easier to use, it also ensures that future Neutron API changes will not break the library. JIRA: SNAPS-251 Change-Id: I3e5e811e433bf7670ecd80405186ac2ac0739def Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-15Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added utility function to retrieve the names of all hosts with a hypervisor. Change-Id: I25b91c6eee78ebf35785c4884dded7c9ab2cc412 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-11Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/snaps from branch 'master' - Set the ram of flavor to 1024 The setting of hw:mem_page_size=large indicates larger page sizes for guest RAM, eg., either 2MB or 1GB on x86. When tested on compass, 1GB is required Change-Id: I22d2fcab190e465dd1c36bc4264c75c724c6f64d Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-05Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added the ability to reboot OpenStack server instances JIRA: SNAPS-243 Change-Id: I7232ee14cac81d39d86e7391a4e006b8276ed536 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-04Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Added ability to add a floating IP to an existing instance" - Added ability to add a floating IP to an existing instance Patch includes: 1. Ability to easily retrive an initialized OpenStackVmInstance object 2. Added method to OpenStackVmInstance named "add_floating_ip" 3. Tests to ensure floating IPs added after initialization actually work JIRA: SNAPS-241, SNAPS-242 Change-Id: I1f413645a752c17fd624ecff26e851068bb77e3f Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-01Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Move CreateInstanceIPv6NetworkTests from staging to integration. Change-Id: Icf381661c56ecf19311ebc95210686bc20eb124e Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-01Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Deactivated test heat template's volume encryption." - Deactivated test heat template's volume encryption. Removed volume encryption from the test volume heat template as it is no longer operating properly against a Pike pod. Created the ticket SNAPS-245 to address this issue sometime in the future. JIRA: SNAPS-240 Change-Id: I610dbba4ebadd5dfb360a665b7a543be6ef5fb1c Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-01Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added exception handling around adding security groups. When a VM instance has a security group associated with it and the client attempts to add the same security group, a Pike pod now raises a ClientException where previous releases simply return None. This patch adds the appropriate exception handling that allows several existing tests to pass not only with Pike but also with all OpenStack versions. JIRA: SNAPS-239 Change-Id: I282df5a2b516dab415ba5e2e7208176f2ba3f270 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-29Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Cluster template cleanup Removal of negative tests where an invalid keypair is being configured. This test was not operating consistently between pods Update testing documentation Updated some invalid class names in pydoc Change-Id: I7a392e9ed993450de40a20457044ba8294d45044 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-29Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Added cluster template creator/state machine class. Created class and tests for creating and managing cluster templates. JIRA: SNAPS-235 Change-Id: Ia91aef9507fc39d1814dce03169aab0b784721a6 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-27Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Expanded the tests for ClusterTypes JIRA: SNAPS-233 Change-Id: Ibba9b7046b95b5523cde525c4a4ed971f463a19d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-27Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Updated comments for ID version 2 vs. 3 Change-Id: Ib51076cb9fa1c3f52c619a5682ae4a11f64580a9 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-27Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Implemented the ability to create Magnum Cluster Type objects. This patch is the second of several necessary for the addition of Magnum support. This one implements a create and delete function to magnum_utils.py as well as the necessary config and domain classes for sending and receiving Cluster Type data to OpenStack. JIRA: SNAPS-233 Change-Id: Iad1959b98eaabc4ef5f41b70a23f6b1306259650 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-21Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Refactoring of SecurityGroupSettings to extend SecurityGroupConfig SecurityGroupSettings, SecurityGroupSettings and neutron_utils have a runtime cyclical dependency. This patch reduces this dependency and deprecates the SecurityGroupSettings and SecurityGroupRuleSettings class with snaps.config.security_group SecurityGroupConfig and SecurityGroupRuleConfg classes JIRA: SNAPS-224 Change-Id: I6cd82ed5be31f4a24449be767b203e86489b1962 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-21Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Refactoring of VmInstanceSettings to extend VmInstanceConfig VmInstanceSettings, FloatingIPSettings and nova_utils have a runtime cyclical dependency. This patch reduces this dependency and deprecates the VmInstanceSettings and FloatingIPSettings class with snaps.config.vm_inst VmInstanceConfig and FloatingIpConfg classes JIRA: SNAPS-218 Change-Id: I95688130256bca1df4a5c347bdb741019ae0937e Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-20Update git submodulesSteven Pisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Merge "Supporting the protocol string value of 'any' for security group rules." - Supporting the protocol string value of 'any' for security group rules. This issue had been found by Stuart Mackie when using OpenContrail. Change-Id: I5b57773e19c20028ac736521d461d49341c78cb0 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-20Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Refactoring of NetworkSettings to extend NetworkConfig This also includes SubnetSettings extending to SubnetConfig and PortSettings extenting to Portconfig and neutron_utils have a runtime cyclical dependency. This patch reduces this dependency and deprecates the NetworkSettings, SubnetSettings, and PortSettings classes. JIRA: SNAPS-220 Change-Id: I996d73d9b910c075a6511a423f01d966f5b6fb74 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-20Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Refactoring of VolumeSettings to extend VolumeConfig VolumeSettings and cinder_utils have a runtime cyclical dependency. This patch reduces this dependency and deprecates the VolumeSettings class. JIRA: SNAPS-227 Change-Id: I3f93702ff836af365c811d44bfd0e59b76c3f1f5 Signed-off-by: spisarski <s.pisarski@cablelabs.com>