-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
DeprecationWarning: The "osmajorrelease" will be a type of an integer. #35972
Comments
+1 I'm running into this, too. I am filtering on the grain 'osmajorrelease' in several of my states but do not see that being the issue here. My minion and saltmaster are running the same versions.
|
Hi, I'm seeing this messages as well. I certainly do not use this grain in my environment and still get this message. Is this "works as designed" then? |
Same here. I believe version 2016.3.3 always shows this warning whenever the grains data is compiled. The warning already got removed in 45a12cc. Would be really great if this could be back-ported to 2016.3. |
Looks like we need to remove this warning in 2016 as well since it will be included in the release notes for nitrogen. Thanks for the heads up guys. |
+1 for realeasing under 2016.3. |
It will be in the next release of 2016.3. Thanks all. |
Thanks for the quick remedy. |
Description of Issue/Question
I am seeing this warning message after 6.3.2 to 6.3.3 upgrade
Setup
salt-run -t 60 manage.down
Steps to Reproduce Issue
[root@salt01 ~]# salt-run -t 60 manage.down
[WARNING ] /usr/lib/python2.7/site-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.
Versions Report
Salt Version:
Salt: 2016.3.3
Dependency Versions:
cffi: 0.8.6
cherrypy: 3.2.2
dateutil: 1.5
gitdb: 0.6.4
gitpython: 1.0.1
ioflo: 1.3.8
Jinja2: 2.8
libgit2: 0.21.0
libnacl: 1.4.3
M2Crypto: 0.21.1
Mako: 0.8.1
msgpack-pure: Not Installed
msgpack-python: 0.4.7
mysql-python: 1.2.3
pycparser: 2.14
pycrypto: 2.6.1
pygit2: 0.21.4
Python: 2.7.5 (default, Nov 20 2015, 02:00:19)
python-gnupg: 0.3.8
PyYAML: 3.11
PyZMQ: 15.3.0
RAET: Not Installed
smmap: 0.9.0
timelib: 0.2.4
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: centos 7.2.1511 Core
machine: x86_64
release: 3.10.0-327.28.2.el7.x86_64
system: Linux
version: CentOS Linux 7.2.1511 Core
The text was updated successfully, but these errors were encountered: