Commit graph

107928 commits

Author SHA1 Message Date
Mike Place
d453ea94e9 Port #50078 to master 2020-05-08 18:51:31 -07:00
Sébastien Santoro
716698ec8e Port #50098 to master 2020-05-08 18:50:58 -07:00
Bo Maryniuk
239e5fa02e Port #50353 to master 2020-05-08 18:50:18 -07:00
Jorge Schrauwen
6e0f83f6c7 Port #50338 to master 2020-05-08 18:49:39 -07:00
cmcmarrow
b9ba491091 add test 2020-05-08 18:48:34 -07:00
cmcmarrow
0e79180341 fix prereq 2020-05-08 18:48:34 -07:00
Pedro Algarvio
1597940122 Upgrade to boto3>=1.13.5
While testing running the test suite under Py3.7 on windows we hit an
issue installing botocore at the version it was at.
With this newer version of boto3 which also pulls in a newer version of
botocore we got past the issue.
2020-05-08 14:41:23 -07:00
Emil 'Skeen' Madsen
b24b89debf Fix a typo within salt/transport/tcp.py
Fix underylying --> underlying
2020-05-08 09:41:19 -07:00
Wayne Werner
24cec5b2cf Add arpcheck to RH8 IP
In #20602 we added the ability to change ARPCHECK in network settings.
This was missing and later added in RH7, but was missing from RH8, since
RH8 support was added before we updated the RH7 support.

This fixes #57047
2020-05-08 09:40:46 -07:00
Jorge Schrauwen
0f27c9f54f Update changelog 2020-05-08 09:39:58 -07:00
Jorge Schrauwen
3a0328dd04 Update pdbedit so it passes the updated tests 2020-05-08 09:39:58 -07:00
Jorge Schrauwen
2065fa15f0 Update pdbedit tests to handle debian versions
Debian seems to prepend `-Debian` behind the version, we should test those too.
Also lower the requirement to 4.5.0 as apparently that version is new enough according to
https://github.com/saltstack/salt/issues/55185#issuecomment-625285808
2020-05-08 09:39:58 -07:00
MKelley80
d8314b5897 Port #49612 to master 2020-05-08 09:36:53 -07:00
Christian McHugh
d4bb81df2e tighten up test validation 2020-05-08 00:45:00 -07:00
Christian McHugh
e5b7f76b66 tighten up test object copies 2020-05-08 00:45:00 -07:00
Christian McHugh
9b5562c7a2 correct list comparision test for some python vers 2020-05-08 00:45:00 -07:00
Christian McHugh
ac239f50a9 attempt to support windows paths 2020-05-08 00:45:00 -07:00
Christian McHugh
1a24a64924 Support session only storge through master config 2020-05-08 00:45:00 -07:00
Christian McHugh
2c167e8551 revert _minion_runner correction for PR submission 2020-05-08 00:45:00 -07:00
Christian McHugh
fc8189928a add release note 2020-05-08 00:45:00 -07:00
Christian McHugh
075fef3b3d Add unit tests for vault util 2020-05-08 00:45:00 -07:00
Christian McHugh
ca7cbd1aa5 passing runner test 2020-05-08 00:45:00 -07:00
Christian McHugh
81f7d667ef Lookups, caching, and configs working 2020-05-08 00:45:00 -07:00
Christian McHugh
74ce1ae92a working version of file cache 2020-05-08 00:45:00 -07:00
Christian McHugh
f6cdc9956b not done 2020-05-08 00:45:00 -07:00
Christian McHugh
fc1f382c29 slightly more working 2020-05-08 00:45:00 -07:00
Christian McHugh
b8b55e978f fix master.py to allow vault connections 2020-05-08 00:45:00 -07:00
Christian McHugh
abb7b8b1d8 remove printstring 2020-05-08 00:45:00 -07:00
Christian McHugh
acf41dfe2c remove print 2020-05-08 00:45:00 -07:00
Christian McHugh
06b51f9d4e Initial port of 54094 2020-05-08 00:45:00 -07:00
Prabhu Subramanian
8a2c331a47 Add ShiftLeft Scan to the pipeline 2020-05-07 17:00:27 -07:00
Erik Johnson
bb03f4a0ee Update scripts/* to explicitly reference Python 3
Since the master branch no longer supports Python 2, and many distros
still default /usr/bin/python to Python 2, this commit changes the
scripts to explicitly call Python 3.
2020-05-07 16:58:40 -07:00
Firefly
680abe924c improve boot parameter documentation 2020-05-07 16:57:39 -07:00
Eduardo Speroni
442553e2c8 Port #51134 to master 2020-05-07 16:25:57 -07:00
ch3ll
df480e37c0 update pydir call and fix format 2020-05-07 16:22:31 -07:00
ch3ll
c87642181e add towncrier to manage changelog 2020-05-07 16:22:31 -07:00
Joe Eacott
d2688ae80e add tests 2020-05-07 16:21:43 -07:00
Joe Eacott
6b9c3faf11 add simple test to checking sys var 2020-05-07 16:21:43 -07:00
Joe Eacott
c760a9d21b Add False as return to not throw attr error 2020-05-07 16:21:43 -07:00
Joe Eacott
adbec88f1a change logic to check whether app is from source or bundled 2020-05-07 16:21:43 -07:00
Joe Eacott
f6c35856c9 add Path to determine system executable and add edge case 2020-05-07 16:21:43 -07:00
Joe Eacott
158762bd5e Return pip binary without -m flag when not using python 2020-05-07 16:21:43 -07:00
Mike Place
10d4f8b1a7 Port #50946 to master 2020-05-07 16:20:37 -07:00
Kenn Leth Hansen
656c9f82e1 Port #50930 to master 2020-05-07 16:19:21 -07:00
ch3ll
5d280eee1e Update test paths to include windows 2020-05-07 16:16:31 -07:00
ch3ll
cdd470c76e Add auto_detect feature to ssh_ext_alternatives 2020-05-07 16:16:31 -07:00
Cédric Bosdonnat
7d18001dba virt.update properly handle removable devices
Live attaching / detaching removable devices results in failures.
To change the source of those, we need to call updateDeviceFlags instead.
2020-05-07 16:15:03 -07:00
Cédric Bosdonnat
73438d43d8 virt: handle cdrom remote images
Libvirt allows to use network images for cdroms. Use them if the image
is a remote URL for a cdrom device.
2020-05-07 16:15:03 -07:00
Cédric Bosdonnat
734ae1a3a4 virt: fix VM creating with disk volume
Since volumes in a virtual storage pool of type 'disk' are partitions,
then need to be named after the disk name with sequential numbers rather
than using the VM and disk names.

Also, the format passed by the user is the one used when creating the volume.
However in the VM definition for logical and disk volumes, the format should
be set to raw.
2020-05-07 16:15:03 -07:00
Cédric Bosdonnat
5ecea2bac1 Handle RBD volumes as network disks in VM definition
libvirt doesn't support attaching RBD storage pool volumes to a VM.
For instance, a disk with such a source is invalid:

    <source pool='rbd-pool' volume='rbd-volume'/>

And needs to be replaced with:

    <source protocol="rbd" name="rbd-pool-name/rbd-volume">
      <host name="hostname" port="7000"/>
      <auth username='myuser'>
        <secret type='ceph' usage='mypassid'/>
      </auth>
    </source>

This means that we need to fetch the connection data from the pool
definition and convert the volume disk definition into a network one
when creating the VM.

This also means that when purging the VM we need to search for the
pool by looking in every pool's XML to delete the volume.
2020-05-07 16:15:03 -07:00