saltstack-formulas / devstack-formula

Deployment lifecycle for Openstack Devstack via Salt. Good OSC CLI Support.
Other
4 stars 2 forks source link

salt cmd.run segmentation fault on Centos7 VM #13

Open noelmcloughlin opened 6 years ago

noelmcloughlin commented 6 years ago

Getting consistent Salt segfault on Cent7 when running devstack formula.

          ID: openstack-devstack configure local_conf and run stack
    Function: cmd.run
        Name: /opt/opensds-linux-amd64-devstack/stack.sh
      Result: False
     Comment: Command "/opt/opensds-linux-amd64-devstack/stack.sh" run
     Started: 14:20:15.905394
    Duration: 139683.212 ms
     Changes:   
              ----------
              pid:
                  31267
              retcode:
                  1

Note: Salt can have "segmentation fault" when OS has not enough compute resources. This looks different as works on Ubuntu.

noelmcloughlin commented 5 years ago

Migrated from https://github.com/saltstack-formulas/opensds-formula/issues/18

Bug:

Workarounds:

[ERROR   ] retcode: 128
./install.sh: line 137: 18741 Segmentation fault      salt-call state.highstate --local ${DEBUGG_ON}

[root@localhost salt]# salt-call --versions
Salt Version:
           Salt: 2018.3.3

Dependency Versions:
           cffi: 1.11.5
       cherrypy: 5.6.0
       dateutil: 2.7.5
      docker-py: 3.6.0
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.10
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: Not Installed
           Mako: 1.0.7
   msgpack-pure: Not Installed
 msgpack-python: 0.6.0
   mysql-python: Not Installed
      pycparser: 2.19
       pycrypto: 2.6.1
   pycryptodome: Not Installed
         pygit2: Not Installed
         Python: 2.7.5 (default, Oct 30 2018, 23:45:53)
   python-gnupg: Not Installed
         PyYAML: 3.13
          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.5.1804 Core
         locale: UTF-8
        machine: x86_64
        release: 3.10.0-862.14.4.el7.x86_64
         system: Linux
        version: CentOS Linux 7.5.1804 Core
noelmcloughlin commented 5 years ago

Not seen on OpenSUSE 15