Closed tjyang closed 3 years ago
Your salt version is 3003rc1
, not 3004rc1 as the report title says.
@dkacar-oradian , yuck. pardon my mistake. will report after I install 3004RC1.
@dkacar-oradian , same error message after the correct 3004RC1 got installed by overwriting it in place.
sudo sh install_salt.sh -P -x python3 git v3004rc1
sudo sh install_salt.sh -P -M -N -x python3 git v3004rc1
sudo systemctl restart salt-minion && sudo systemctl restart salt-master
It seems in 3004 the prefix of the Ansible modules is not needed anymore. So you should use the module name, in this case "ping".
[root@ec5228c50ff5 /]# salt-call --local grains.get saltversion
local:
3004rc1
[root@ec5228c50ff5 /]# salt-call --local ansible.system.ping
'ansible.system.ping' is not available.
[root@ec5228c50ff5 /]# salt-call --local ansible.ping
local:
----------
ping:
pong
This behavior seems caused by latest changes on Ansiblegate module for 3004: https://github.com/saltstack/salt/pull/60208
Hth!
In any case, if Salt 3004 is expected to change the way the user can reference Ansible modules, then I think we should indicate this deprecation somehow.
Thanks guys for your response. Looking forward for the 3004 final release.
"sudo salt-call --local ansible.list" should be able to see the change from "ansible.system.ping" to "ansible.ping".
This issue can be resolved if DOC work is done or not needed. ie update salt.states.ansiblegate.html to reflect the new changes.
I am closing this issue and open new one to address doc issue at https://docs.saltproject.io/en/latest/ref/states/all/salt.states.ansiblegate.html
Description ansiblegate is targed to fixed in 3004. So I created a rocky linux 8.4 VM just to ansiblegate on 3004RC1 rocky8t01 is served as both client and server.
Setup
Steps to Reproduce the behavior
[me@rocky8t01 ~]$ sudo ansible rocky8t01 -m ping [me@rocky8t01 ~]$ sudo salt-call --local ansible.list [me@rocky8t01 ~]$ sudo salt rocky8t01 test.version
[DEBUG ] Could not LazyLoad boto3.assign_funcs: 'boto3.assign_funcs' is not available.
[me@rocky8t01 ~]$ salt --versions-report Salt Version: Salt: 3003rc1
Dependency Versions: cffi: 1.11.5 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: Not Installed Mako: Not Installed msgpack: 1.0.2 msgpack-pure: Not Installed mysql-python: Not Installed pycparser: 2.14 pycrypto: Not Installed pycryptodome: 3.11.0 pygit2: Not Installed Python: 3.6.8 (default, Sep 21 2021, 18:40:00) python-gnupg: Not Installed PyYAML: 6.0 PyZMQ: 22.3.0 smmap: Not Installed timelib: Not Installed Tornado: 4.5.3 ZMQ: 4.3.4
System Versions: dist: rocky 8.4 Green Obsidian locale: UTF-8 machine: x86_64 release: 4.18.0-305.19.1.el8_4.x86_64 system: Linux version: Rocky Linux 8.4 Green Obsidian
[me@rocky8t01 ~]$