pkg.group_installed infinite loop GNOME Desktop
When trying to install GNOME Desktop using group_installed, the state never finishes instead loops through all subgroups.
[INFO ] Loading fresh modules for state activity
[INFO ] Fetching file from saltenv 'base', ** done ** u'packages/basepkgadd_desktop.sls'
[INFO ] Running state [GNOME Desktop] at time 10:09:11.727347
[INFO ] Executing state pkg.group_installed for GNOME Desktop
[INFO ] Executing command ['rpm', '-qa', '--queryformat', '%{NAME}_|-%{VERSION}_|-%{RELEASE}_|-%{ARCH}_|-(none)\n'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'GNOME Desktop'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'base'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'core'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'desktop-debugging'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'dial-up'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'directory-client'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'fonts'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'gnome-desktop'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'base'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'core'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'desktop-debugging'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'dial-up'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'directory-client'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'fonts'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'gnome-desktop'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'base'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'core'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'desktop-debugging'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'dial-up'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'directory-client'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'fonts'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'gnome-desktop'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'base'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'core'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'desktop-debugging'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'dial-up'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'directory-client'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'fonts'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'gnome-desktop'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'base'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'core'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'desktop-debugging'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'dial-up'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'directory-client'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'fonts'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'gnome-desktop'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'base'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'core'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'desktop-debugging'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'dial-up'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'groupinfo', 'directory-client'] in directory '/root'
GNOME Desktop:
pkg.group_installed
salt-call --versions-report
Salt Version:
Salt: 2015.8.5
Dependency Versions:
Jinja2: 2.8
M2Crypto: Not Installed
Mako: Not Installed
PyYAML: 3.10
PyZMQ: 14.3.1
Python: 2.7.5 (default, Jun 17 2014, 18:11:42)
RAET: Not Installed
Tornado: 4.2.1
ZMQ: 3.2.5
cffi: Not Installed
cherrypy: Not Installed
dateutil: 1.5
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
libgit2: Not Installed
libnacl: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.4
mysql-python: 1.2.3
pycparser: Not Installed
pycrypto: 2.6.1
pygit2: Not Installed
python-gnupg: Not Installed
smmap: Not Installed
timelib: Not Installed
System Versions:
dist: centos 7.1.1503 Core
machine: x86_64
release: 3.10.0-229.el7.x86_64
system: CentOS Linux 7.1.1503 Core
@jmiller0, thanks for reporting.
I'm getting the same problem on Fedora 25 (master and minion) trying to install "Basic Desktop" group.
Hi all, We have the same problem on centos-7 with a minion v2016.11 Any work around to get Gnome desktop installed ?
Salt Version:
Salt: 2016.11.3
Dependency Versions:
cffi: 1.6.0
cherrypy: Not Installed
dateutil: 1.5
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.7.2
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: 0.8.1
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: 2.14
pycrypto: 2.6.1
pygit2: Not Installed
Python: 2.7.5 (default, Nov 6 2016, 00:28:07)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.3.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: centos 7.3.1611 Core
machine: x86_64
release: 3.10.0-514.10.2.el7.x86_64
system: Linux
version: CentOS Linux 7.3.1611 Core
@samson-jerome use "cmd.run"
Getting the same issue while trying to install "Server with GUI" on the following setup:
Salt Version:
Salt: 2016.11.4
Dependency Versions:
cffi: 1.6.0
cherrypy: Not Installed
dateutil: 1.5
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.7.2
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: 0.8.1
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: 2.14
pycrypto: Not Installed
pycryptodome: 3.4.3
pygit2: Not Installed
Python: 2.7.5 (default, Nov 6 2016, 00:28:07)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.3.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: centos 7.3.1611 Core
machine: x86_64
release: 3.10.0-514.el7.x86_64
system: Linux
version: CentOS Linux 7.3.1611 Core
The "cmd.run" workaround worked like a charm.
Interestingly, this just worked for me on RHEL7 (2016.11.3 master, 2016.11.4 minion):
sap-pkggroup-ecc:
pkg.group_installed:
- names:
- Large Systems Performance
- Network File System Client
- Performance Tools
- Compatibility Libraries
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
this issue is still valid, current workaround:
yum -y groups install 'GNOME Desktop':
cmd.run:
- unless: yum -q groups list installed 'GNOME Desktop' | grep 'GNOME'
Thank you for updating this issue. It is no longer marked as stale.
I am having the same problem too on 2019.2.2 on centos 7
Closing this due to age, the old version of Salt. Can you retest this with the latest release of Salt 3006.2 and if still an issue, please open a new issue, which will have metrics in tracking issues.