Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Exception getting pillar TypeError: string indices must be integers #66872

Open
rimskij opened this issue Sep 4, 2024 · 0 comments
Open
Labels
Bug broken, incorrect, or confusing behavior needs-triage

Comments

@rimskij
Copy link

rimskij commented Sep 4, 2024

[DEBUG ] Closing AsyncReqChannel instance
[ERROR ] Exception getting pillar:
Traceback (most recent call last):
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/pillar/init.py", line 265, in compile_pillar
ret_pillar = yield self.channel.crypted_transfer_decode_dictentry(
File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 767, in run
value = future.result()
File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 786, in run
yielded = self.gen.send(value)
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/channel/client.py", line 230, in crypted_transfer_decode_dictentry
aes = cipher.decrypt(ret["key"])
TypeError: string indices must be integers
[DEBUG ] Closing _TCPPubServerPublisher instance
[DEBUG ] Closing AsyncReqChannel instance
[ERROR ] Error while bringing up minion for multi-master. Is master at haproxy-salt responding? The error message was Exception getting pillar.
Traceback (most recent call last):
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/pillar/init.py", line 265, in compile_pillar
ret_pillar = yield self.channel.crypted_transfer_decode_dictentry(
File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 767, in run
value = future.result()
File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 786, in run
yielded = self.gen.send(value)
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/channel/client.py", line 230, in crypted_transfer_decode_dictentry
aes = cipher.decrypt(ret["key"])
TypeError: string indices must be integers

Traceback (most recent call last):
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/minion.py", line 1146, in _connect_minion
await minion.connect_master(failed=failed)
File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 780, in run
yielded = self.gen.throw(exc)
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/minion.py", line 1404, in connect_master
yield self._post_master_init(master)
File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 767, in run
value = future.result()
File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 780, in run
yielded = self.gen.throw(exc)
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/minion.py", line 1439, in _post_master_init
self.opts["pillar"] = yield async_pillar.compile_pillar()
File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 767, in run
value = future.result()
File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 780, in run
yielded = self.gen.throw(exc)
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/pillar/init.py", line 278, in compile_pillar
raise SaltClientError("Exception getting pillar.")
salt.exceptions.SaltClientError: Exception getting pillar.

@rimskij rimskij added Bug broken, incorrect, or confusing behavior needs-triage labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant