--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Salt should run on any Unix-like platform so long as the dependencies are met.
David,
Here is the debug output I promised in my earlier post
Ubuntu - Master startup in debug mode
(saltstack-wsadmin)wsadmin@ubuntu-saltsvr1:/apps/Tools/saltstack-wsadmin$
salt-master -c ./etc/salt -l debug
[DEBUG ] Reading
configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[DEBUG ] Configuration
file path: /apps/Tools/saltstack-wsadmin/etc/salt/master
[INFO ] Setting up
the Salt Master
[DEBUG ] Loaded master
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/master.pem
[INFO ] Preparing
the wsadmin key for local communication
[DEBUG ] Removing stale
keyfile: /apps/Tools/saltstack-wsadmin/var/cache/salt/.wsadmin_key
[DEBUG ] Created
pidfile: /apps/Tools/saltstack-wsadmin/var/run/salt-master.pid
[DEBUG ] Chowned
pidfile: /apps/Tools/saltstack-wsadmin/var/run/salt-master.pid to user: wsadmin
[DEBUG ] loading
fileserver in
['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/fileserver',
'/apps/Tools/saltstack-wsadmin/local/lib/python2.7/site-packages/salt/fileserver']
[DEBUG ] Skipping
/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/fileserver, it is not a
directory
[INFO ]
salt-master is starting as user 'wsadmin'
[INFO ] Current
values for max open files soft/hard setting: 1024/4096
[INFO ] The value
for the 'max_open_files' setting, 100000, is higher than what the user running
salt is allowed to raise to, 4096. Defaulting to 4096.
[INFO ] Raising
max open files value to 4096
[INFO ] New values
for max open files soft/hard values: 4096/4096
[INFO ] Setting up
the master communication server
[INFO ] Starting
the Salt Publisher on tcp://0.0.0.0:4505
[DEBUG ] Reading
configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[INFO ] Starting
Salt worker process 0
[INFO ] Starting
Salt worker process 1
[INFO ] Starting
Salt worker process 2
[INFO ] Starting
Salt worker process 3
[DEBUG ] MasterEvent PUB
socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ] MasterEvent
PULL socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ] Reading
configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[DEBUG ] MasterEvent PUB
socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ] MasterEvent PUB
socket URI: ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ] MasterEvent
PULL socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ] Reading
configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[INFO ] Starting
Salt worker process 4
[DEBUG ] MasterEvent
PULL socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ] Reading
configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[DEBUG ] MasterEvent PUB
socket URI: ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ] MasterEvent PUB
socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ] MasterEvent
PULL socket URI: ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ] Reading
configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
.
.
.
(see master_debug.out file attachment for all output)
AIX - Minion startup in debug mode
(saltstack-wsadmin)wsadmin@aixda051:/apps/Tools/saltstack-wsadmin
$ salt-minion -c ./etc/salt -l
debug
[DEBUG ] Reading
configuration from /apps/Tools/saltstack-wsadmin/etc/salt/minion
[DEBUG ] Configuration
file path: /apps/Tools/saltstack-wsadmin/etc/salt/minion
[INFO ] Setting up
the Salt Minion "aixdev71"
[DEBUG ] Created
pidfile: /apps/Tools/saltstack-wsadmin/var/run/salt-minion.pid
[DEBUG ] Chowned
pidfile: /apps/Tools/saltstack-wsadmin/var/run/salt-minion.pid to user: wsadmin
[DEBUG ] Reading configuration
from /apps/Tools/saltstack-wsadmin/etc/salt/minion
[DEBUG ] loading grain
in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/grains',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/grains']
[DEBUG ] Skipping
/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/grains, it is not a
directory
[WARNING ] The tools
'dmidecode', 'lspci' and 'dmesg' failed to execute because they do not exist on
the system of the user running this instance or the user does not have the necessary
permissions to execute them. Grains output might not be accurate.
[DEBUG ] Attempting to
authenticate with the Salt Master at 10.14.244.231
[INFO ] Generating
keys: /apps/Tools/saltstack-wsadmin/etc/salt/pki
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The Salt Master
has cached the public key for this node, this salt minion will wait for 10
seconds before attempting to re-authenticate
[INFO ] Waiting
for minion key to be accepted by the master.
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[DEBUG ] Decrypting the
current master AES key
[DEBUG ] Loaded minion
key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
Illegal instruction(coredump)
(saltstack-wsadmin)wsadmin@aixda051:/apps/Tools/saltstack-wsadmin
$
(see minion_debug.out file attachment for all output)
Please let me know if you have any questions or need any additional information from me such as the core file created to debug this issue. I will continue looking over things and see if something new comes up that I may have overlooked before in regards to the problem.
Best Regards,
Robert Murley
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$ salt-minion
-c ./etc/salt -l debug
(skipping to the end of pdb output just before the coredump)
.
.
.
>
/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-aix-7.1.egg/M2Crypto/RSA.py(28)__init__()
->
self._pyfree = _pyfree
(Pdb)
--Call--
>
/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-aix-7.1.egg/M2Crypto/RSA.py(268)__setattr__()
-> def
__setattr__(self, name, value):
(Pdb)
>
/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-aix-7.1.egg/M2Crypto/RSA.py(269)__setattr__()
-> if name
in ['e', 'n']:
(Pdb)
>
/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-aix-7.1.egg/M2Crypto/RSA.py(273)__setattr__()
->
self.__dict__[name] = value
(Pdb)
--Return--
> /apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-aix-7.1.egg/M2Crypto/RSA.py(273)__setattr__()->None
->
self.__dict__[name] = value
(Pdb)
--Return--
>
/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-aix-7.1.egg/M2Crypto/RSA.py(28)__init__()->None
->
self._pyfree = _pyfree
(Pdb)
--Return--
>
/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-aix-7.1.egg/M2Crypto/RSA.py(423)load_pub_key_bio()-><M2Crypto.RSA...at
0x30cf51e8>
-> return
RSA_pub(rsa, 1)
(Pdb)
--Return--
>
/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7-aix-7.1.egg/M2Crypto/RSA.py(406)load_pub_key()-><M2Crypto.RSA...at
0x30cf51e8>
-> return
load_pub_key_bio(bio)
(Pdb)
>
/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/crypt.py(209)decrypt_aes()
-> digest =
hashlib.sha256(key_str).hexdigest()
(Pdb)
Illegal
instruction(coredump)
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$
I hope this Python debugger information helps and I will continue to investigate on my side. Please let me know if you have any questions or concerns.
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$ python -m
hashlib
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$ python -m
_hashlib
/apps/Tools/saltstack-wsadmin/bin/python:
No code object available for _hashlib
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt
$ view crypt.py
"crypt.py"
457 lines, 16112 characters
'''
The crypt
module manages all of the cryptography functions for minions and
masters,
encrypting and decrypting payloads, preparing messages, and
authenticating
peers
'''
# Import python
libs
import os
import sys
import time
import hmac
import shutil
import hashlib
import logging
# Import third
party libs
from M2Crypto
import RSA
from
Crypto.Cipher import AES
# Import salt
libs
import
salt.utils
import
salt.payload
import
salt.utils.verify
import
salt.version
from
salt.exceptions import (
AuthenticationError, SaltClientError, SaltReqTimeoutError
)
log =
logging.getLogger(__name__)
wsadmin@aixdev71:/apps/Tools/python-2.7.5
$ ls
bin
include lib share
wsadmin@aixdev71:/apps/Tools/python-2.7.5
$ export
LIBPATH=/apps/Tools/python-2.7.5/lib
wsadmin@aixdev71:/apps/Tools/python-2.7.5
$ ./bin/python
-V
Python 2.7.5
wsadmin@aixdev71:/apps/Tools/python-2.7.5
$ ./bin/python
Python 2.7.5
(default, Aug 15 2013, 17:52:56)
[GCC 4.7.2] on
aix7
Type
"help", "copyright", "credits" or
"license" for more information.
>>>
import hashlib
>>>
hashlib.sha256(b"x"*200000).hexdigest()
'91e3faafd322bcdf160f3f0ce886acb092b9b9e2a1e8526b40f21a8898a8700b'
>>>
import sys
>>>
print("%x" % sys.maxsize, sys.maxsize > 2**32)
('7fffffff',
False)
>>>
print("%x" % sys.maxsize, sys.maxsize > 1**32)
('7fffffff',
True)
>>>
quit()
wsadmin@aixdev71:/apps/Tools/python-2.7.5
$
I had a few issues I had to work through with getting a complete 32-bit build of the Python 2.7.5 source on AIX that I will open with an issue at http://bugs.python.org for validation/documentation purposes. I would also like to complete a full 64-bit build from source on AIX as well that I will open an issue for in the near future, but the 32-bit build is fine for now. Please let me know if you have any questions or concerns.
Best Regards,
Robert Murley
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$ pip list
Jinja2 (2.7.1)
M2Crypto
(0.21.1)
MarkupSafe
(0.18)
msgpack-python
(0.3.0)
pip (1.4.1)
pycrypto (2.6)
PyYAML (3.10)
pyzmq (13.1.0)
salt (0.16.2)
setuptools
(0.9.8)
wsgiref (0.1.2)
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$
(Master startup on AIX 7.1 in debug mode)
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$ salt-master -c
./etc/salt -l debug
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[DEBUG ]
Configuration file path: /apps/Tools/saltstack-wsadmin/etc/salt/master
[INFO ]
Setting up the Salt Master
[DEBUG ]
Loaded master key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/master.pem
[INFO ]
Preparing the wsadmin key for local communication
[DEBUG ]
Removing stale keyfile:
/apps/Tools/saltstack-wsadmin/var/cache/salt/.wsadmin_key
[DEBUG ]
Created pidfile: /apps/Tools/saltstack-wsadmin/var/run/salt-master.pid
[DEBUG ] Chowned
pidfile: /apps/Tools/saltstack-wsadmin/var/run/salt-master.pid to user: wsadmin
[DEBUG ]
loading fileserver in
['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/fileserver',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/fileserver']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/fileserver, it is
not a directory
[INFO ]
salt-master is starting as user 'wsadmin'
[INFO ]
Current values for max open files soft/hard setting: 6000/6000
[INFO ]
The value for the 'max_open_files' setting, 100000, is higher than what the
user running salt is allowed to raise to, 6000. Defaulting to 6000.
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[INFO ]
Starting the Salt Publisher on tcp://0.0.0.0:4505
[DEBUG ]
loading grain in
['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/grains',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/grains']
[INFO ]
Setting up the master communication server
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/grains, it is not
a directory
[INFO ]
Starting Salt worker process 0
[INFO ]
Starting Salt worker process 1
[INFO ]
Starting Salt worker process 2
[INFO ]
Starting Salt worker process 3
[INFO ]
Starting Salt worker process 4
[DEBUG ]
MasterEvent PUB socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ]
MasterEvent PULL socket URI: ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
MasterEvent PUB socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ]
MasterEvent PULL socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[DEBUG ]
MasterEvent PUB socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ]
MasterEvent PULL socket URI: ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
MasterEvent PUB socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ]
MasterEvent PULL socket URI: ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
MasterEvent PUB socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[DEBUG ]
MasterEvent PULL socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
Missing configuration file: /home/wsadmin/.salt
[DEBUG ]
Missing configuration file: /home/wsadmin/.salt
[DEBUG ]
LocalClientEvent PUB socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[WARNING ] The tools
'dmidecode', 'lspci' and 'dmesg' failed to execute because they do not exist on
the system of the user running this instance or the user does not have the
necessary permissions to execute them. Grains output might not be accurate.
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/master
[DEBUG ]
LocalClientEvent PULL socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
Missing configuration file: /home/wsadmin/.salt
[DEBUG ]
Missing configuration file: /home/wsadmin/.salt
[DEBUG ]
LocalClientEvent PUB socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ]
LocalClientEvent PULL socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
loading auth in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/auth']
[DEBUG ]
LocalClientEvent PUB socket URI: ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth, it is not a
directory
[DEBUG ]
LocalClientEvent PULL socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
loading auth in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/auth']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth, it is not a
directory
[DEBUG ]
loading auth in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/auth']
[DEBUG ]
LocalClientEvent PUB socket URI: ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth, it is not a
directory
[DEBUG ]
LocalClientEvent PULL socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
loading auth in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/auth']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth, it is not a
directory
[DEBUG ]
Missing configuration file: /home/wsadmin/.salt
[DEBUG ]
LocalClientEvent PUB socket URI:
ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pub.ipc
[DEBUG ]
LocalClientEvent PULL socket URI: ipc:///apps/Tools/saltstack-wsadmin/tmp/salt-unix/master_event_pull.ipc
[DEBUG ]
loading auth in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/auth']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/auth, it is not a
directory
[DEBUG ]
loading module in
['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/modules',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/modules']
.
. (only showing a snippet of the debug output)
.
[DEBUG ] This
salt-master instance has accepted 1 minion keys.
[INFO ]
Authentication request from aixdev71
[INFO ]
Authentication accepted from aixdev71
[INFO ]
AES payload received with command _pillar
[DEBUG ]
loading module in
['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/modules',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/modules']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/modules, it is
not a directory
[DEBUG ]
Loaded localemod as virtual locale
[DEBUG ]
Loaded sysmod as virtual sys
[DEBUG ]
Loaded parted as virtual partition
[DEBUG ]
KeyError when loading rpm
Traceback (most
recent call last):
File
"/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/loader.py",
line 699, in gen_functions
virtual
= mod.__virtual__()
File
"/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/modules/rpm.py",
line 26, in __virtual__
os_major = int(__grains__['osrelease'].split('.')[0])
KeyError: 'osrelease'
[DEBUG ]
Loaded cmdmod as virtual cmd
[DEBUG ]
Loaded djangomod as virtual django
[DEBUG ]
loading render in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/renderers',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/renderers']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/renderers, it is
not a directory
[DEBUG ]
loading pillar in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/pillar',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/pillar']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/pillar, it is not
a directory
[INFO ]
AES payload received with command _minion_event
[INFO ]
Clear payload received with command _auth
[DEBUG ] This
salt-master instance has accepted 1 minion keys.
[INFO ]
Authentication request from aixdev71
[INFO ]
Authentication accepted from aixdev71
[INFO ]
AES payload received with command _mine
[INFO ]
Clear payload received with command publish
[INFO ]
User wsadmin Published command test.ping with jid 20130820182444175978
[DEBUG ]
Published command details {'tgt_type': 'glob', 'jid': '20130820182444175978', 'tgt':
'*', 'ret': '', 'user': 'wsadmin', 'arg': [], 'fun': 'test.ping'}
[INFO ]
AES payload received with command _return
[INFO ]
Got return from aixdev71 for job 20130820182444175978
[INFO ]
Clear payload received with command publish
[INFO ]
User wsadmin Published command test.ping with jid 20130820182455824197
[DEBUG ]
Published command details {'tgt_type': 'glob', 'jid': '20130820182455824197',
'tgt': 'aixdev71', 'ret': '', 'user': 'wsadmin', 'arg': [], 'fun': 'test.ping'}
[INFO ]
AES payload received with command _return
[INFO ]
Got return from aixdev71 for job 20130820182455824197
[INFO ]
Clear payload received with command publish
[INFO ]
User wsadmin Published command cmd.run with jid 20130820182500424856
[DEBUG ]
Published command details {'tgt_type': 'glob', 'jid': '20130820182500424856',
'tgt': 'aixdev71', 'ret': '', 'user': 'wsadmin', 'arg': ['oslevel -s'], 'fun':
'cmd.run'}
[INFO ]
AES payload received with command _return
[INFO ]
Got return from aixdev71 for job 20130820182500424856
(Minion startup on AIX 7.1 in debug mode)
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$ salt-minion -c
./etc/salt -l debug
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/minion
[DEBUG ]
Configuration file path: /apps/Tools/saltstack-wsadmin/etc/salt/minion
[INFO ]
Setting up the Salt Minion "aixdev71"
[DEBUG ]
Created pidfile: /apps/Tools/saltstack-wsadmin/var/run/salt-minion.pid
[DEBUG ]
Chowned pidfile: /apps/Tools/saltstack-wsadmin/var/run/salt-minion.pid to user:
wsadmin
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/minion
[DEBUG ]
loading grain in
['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/grains',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/grains']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/grains, it is not
a directory
[WARNING ] The tools
'dmidecode', 'lspci' and 'dmesg' failed to execute because they do not exist on
the system of the user running this instance or the user does not have the
necessary permissions to execute them. Grains output might not be accurate.
[DEBUG ]
Attempting to authenticate with the Salt Master at 10.14.81.67
[DEBUG ]
Loaded minion key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The
Salt Master has cached the public key for this node, this salt minion will wait
for 10 seconds before attempting to re-authenticate
[INFO ]
Waiting for minion key to be accepted by the master.
[DEBUG ]
Loaded minion key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[ERROR ] The
Salt Master has cached the public key for this node, this salt minion will wait
for 10 seconds before attempting to re-authenticate
[INFO ]
Waiting for minion key to be accepted by the master.
[DEBUG ]
Loaded minion key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[DEBUG ]
Decrypting the current master AES key
[DEBUG ]
Loaded minion key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[INFO ]
Authentication with master successful!
[DEBUG ]
Loaded minion key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[DEBUG ]
Decrypting the current master AES key
[DEBUG ]
Loaded minion key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[DEBUG ]
Loaded minion key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[DEBUG ]
Reading configuration from /apps/Tools/saltstack-wsadmin/etc/salt/minion
[DEBUG ]
loading grain in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/grains',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/grains']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/grains, it is not
a directory
[WARNING ] The tools
'dmidecode', 'lspci' and 'dmesg' failed to execute because they do not exist on
the system of the user running this instance or the user does not have the
necessary permissions to execute them. Grains output might not be accurate.
[DEBUG ]
loading module in ['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/modules',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/modules']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/modules, it is
not a directory
[DEBUG ]
Loaded localemod as virtual locale
[DEBUG ]
Loaded sysmod as virtual sys
[DEBUG ]
Loaded parted as virtual partition
[DEBUG ]
KeyError when loading rpm
Traceback (most
recent call last):
File
"/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/loader.py",
line 699, in gen_functions
virtual
= mod.__virtual__()
File
"/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/modules/rpm.py",
line 26, in __virtual__
os_major = int(__grains__['osrelease'].split('.')[0])
KeyError: 'osrelease'
[DEBUG ]
Loaded cmdmod as virtual cmd
[DEBUG ]
Loaded djangomod as virtual django
[DEBUG ]
loading returner in
['/apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/returners',
'/apps/Tools/saltstack-wsadmin/lib/python2.7/site-packages/salt/returners']
[DEBUG ]
Skipping /apps/Tools/saltstack-wsadmin/var/cache/salt/extmods/returners, it is
not a directory
[DEBUG ]
Loaded syslog_return as virtual syslog
[DEBUG ]
Loaded carbon_return as virtual carbon
[INFO ]
Minion is starting as user 'wsadmin'
[DEBUG ]
Minion "aixdev71" trying to tune in
[DEBUG ]
Minion PUB socket URI:
ipc:///apps/Tools/saltstack-wsadmin/var/run/salt/minion/minion_event_2505f10f66c3b3f4755a175bfbc722c7_pub.ipc
[DEBUG ]
Minion PULL socket URI: ipc:///apps/Tools/saltstack-wsadmin/var/run/salt/minion/minion_event_2505f10f66c3b3f4755a175bfbc722c7_pull.ipc
[DEBUG ]
Setting zmq_reconnect_ivl to '100ms'
[DEBUG ]
Setting zmq_reconnect_ivl_max to '5100ms'
[DEBUG ]
Running scheduled job: __mine_interval
[DEBUG ]
Loaded minion key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[DEBUG ]
Decrypting the current master AES key
[DEBUG ]
Loaded minion key: /apps/Tools/saltstack-wsadmin/etc/salt/pki/minion.pem
[INFO ]
User wsadmin Executing command test.ping with jid 20130820182444175978
[DEBUG ]
Command details {'tgt_type': 'glob', 'jid': '20130820182444175978', 'tgt': '*',
'ret': '', 'user': 'wsadmin', 'arg': [], 'fun': 'test.ping'}
[INFO ]
Returning information for job: 20130820182444175978
[INFO ]
User wsadmin Executing command test.ping with jid 20130820182455824197
[DEBUG ]
Command details {'tgt_type': 'glob', 'jid': '20130820182455824197', 'tgt':
'aixdev71', 'ret': '', 'user': 'wsadmin', 'arg': [], 'fun': 'test.ping'}
[INFO ]
Returning information for job: 20130820182455824197
[INFO ]
User wsadmin Executing command cmd.run with jid 20130820182500424856
[DEBUG ]
Command details {'tgt_type': 'glob', 'jid': '20130820182500424856', 'tgt':
'aixdev71', 'ret': '', 'user': 'wsadmin', 'arg': ['oslevel -s'], 'fun':
'cmd.run'}
[INFO ]
Executing command 'oslevel -s' in directory '/home/wsadmin'
[DEBUG ]
output: 7100-02-01-1245
[INFO ]
Returning information for job: 20130820182500424856
(Minion key acceptance on AIX 7.1)
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$ salt-key -c
./etc/salt -L
Accepted Keys:
Unaccepted Keys:
aixdev71
Rejected Keys:
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$ salt-key -c
./etc/salt -A
The following keys
are going to be accepted:
Unaccepted Keys:
aixdev71
Proceed? [n/Y] Y
Key for minion
aixdev71 accepted.
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$ salt-key -c
./etc/salt -L
Accepted Keys:
aixdev71
Unaccepted Keys:
Rejected Keys:
(saltstack-wsadmin)wsadmin@aixdev71:/apps/Tools/saltstack-wsadmin
$
(Minion tests/commands on AIX 7.1)
Best Regards,
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
This is fantastic! Looking forward to your grains additions.Does AIX have a package manager? Or do you have to manually install rpms?
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Antoine,Yes, the Bull freeware install from RPM for 2.7.5 is a 32-bit build shown below:wsadmin@aixdev71:/home/wsadmin$ python -c "import sys; print sys.maxsize"wsadmin@aixdev71:/home/wsadmin$ pythonPython 2.7.5 (default, Jul 15 2013, 16:52:51) [C] on aix6Type "help", "copyright", "credits" or "license" for more information.>>> import hashlib>>> hashlib.sha256(b"x"*200000).hexdigest()Illegal instruction(coredump)wsadmin@aixdev71:/home/wsadmin$
--
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
... as well where you need to specify the configuration file location option (-c <path>) with the Salt commands
Seems like the files transfered from the aix5.3 minion to the linux master gets corrupted. Transferring from the master to an aix 7.1 minion works fine though. Note that this is only for a single file too, not both of them. I couldn't get zeromq to compile on 5.3, so I used binaries compiled on 6.1 instead. Could be the cause. Some of the output has been censored, fyi.
I think this is a big unrelated to aix. I believe this has been fixed in git just a day or two ago
--
I think this is a big unrelated to aix. I believe this has been fixed in git just a day or two ago
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.