-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
Description
Description
After a previously successful run of a boto_route53 state, which installs the python module boto, any subsequent attempts will fail due to the virtual returning false. This continues until the salt minion is restarted.
Setup
route53_record:
pip.installed:
- name: boto
boto_route53.present:
- name: {{ grains.id.split('.')[-1] ~ "abc.gdn" }}
- value: {{ salt['network.get_route'](grains['ip4_gw'])['source'] }}
- zone: abc.gdn.
- record_type: A
- wait_for_sync: false
- keyid: {{ pillar['passwords']['route53']['keyid'] }}
- key: {{ pillar['passwords']['route53']['key'] }}
- require:
- pip: route53_record
Confirmed on:
- Alma 8.4 bare metal, Salt-minion 3003.3
- Alma 8.3 VM, Salt-minion 3003.1
Steps to Reproduce the behavior
- Apply the state above once (Correct credentials aren't required)
- Apply it a second time
Expected behavior
The boto_route53 module should continue to work after the first time without necessitating a salt-minion restart
Versions Report
salt --versions-report / pip3 list installed
BEFORE FIRST RUN
---------- Salt Output ----------
Salt Version:
Salt: 3003.1
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.6.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 2.10.1
libgit2: Not Installed
M2Crypto: 0.35.2
Mako: Not Installed
msgpack: 0.6.2
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: Not Installed
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.6.8 (default, May 24 2021, 08:40:28)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 19.0.0
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.4
System Versions:
dist: almalinux 8.4 Electric Cheetah
locale: UTF-8
machine: x86_64
release: 4.18.0-305.7.1.el8_4.x86_64
system: Linux
version: AlmaLinux 8.4 Electric Cheetah
---------- Pip Output ----------
Babel (2.5.1)
chardet (3.0.4)
configobj (5.0.6)
contextvars (2.4)
dbus-python (1.2.4)
decorator (4.2.1)
distro (1.4.0)
gpg (1.13.1)
idna (2.5)
immutables (0.15)
Jinja2 (2.10.1)
M2Crypto (0.35.2)
MarkupSafe (0.23)
msgpack (0.6.2)
nftables (0.1)
perf (0.1)
pip (9.0.3)
psutil (5.4.3)
pycurl (7.43.0.2)
pygobject (3.28.3)
PySocks (1.6.8)
python-dateutil (2.6.1)
python-dmidecode (3.12.2)
python-linux-procfs (0.6.3)
pytz (2017.2)
pyudev (0.21.0)
PyYAML (3.12)
pyzmq (19.0.0)
requests (2.20.0)
rpm (4.14.3)
salt (3003.1)
schedutils (0.6)
selinux (2.9)
setuptools (39.2.0)
six (1.11.0)
slip (0.6.4)
slip.dbus (0.6.4)
syspurpose (1.28.13)
urllib3 (1.24.2)
AFTER FIRST RUN
---------- Salt Output ----------
Salt Version:
Salt: 3003.1
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.6.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 2.10.1
libgit2: Not Installed
M2Crypto: 0.35.2
Mako: Not Installed
msgpack: 0.6.2
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: Not Installed
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.6.8 (default, May 24 2021, 08:40:28)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 19.0.0
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.4
System Versions:
dist: almalinux 8.4 Electric Cheetah
locale: UTF-8
machine: x86_64
release: 4.18.0-305.7.1.el8_4.x86_64
system: Linux
version: AlmaLinux 8.4 Electric Cheetah
---------- Pip Output ----------
Babel (2.5.1)
boto (2.49.0)
chardet (3.0.4)
configobj (5.0.6)
contextvars (2.4)
dbus-python (1.2.4)
decorator (4.2.1)
distro (1.4.0)
gpg (1.13.1)
idna (2.5)
immutables (0.15)
Jinja2 (2.10.1)
M2Crypto (0.35.2)
MarkupSafe (0.23)
msgpack (0.6.2)
nftables (0.1)
perf (0.1)
pip (9.0.3)
psutil (5.4.3)
pycurl (7.43.0.2)
pygobject (3.28.3)
PySocks (1.6.8)
python-dateutil (2.6.1)
python-dmidecode (3.12.2)
python-linux-procfs (0.6.3)
pytz (2017.2)
pyudev (0.21.0)
PyYAML (3.12)
pyzmq (19.0.0)
requests (2.20.0)
rpm (4.14.3)
salt (3003.1)
schedutils (0.6)
selinux (2.9)
setuptools (39.2.0)
six (1.11.0)
slip (0.6.4)
slip.dbus (0.6.4)
syspurpose (1.28.13)
urllib3 (1.24.2)
Reactions are currently unavailable