Skip to content
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

salt cmd.run segmentation fault on Centos7 VM #13

Open
noelmcloughlin opened this issue Sep 26, 2018 · 2 comments · Fixed by #18
Open

salt cmd.run segmentation fault on Centos7 VM #13

noelmcloughlin opened this issue Sep 26, 2018 · 2 comments · Fixed by #18
Labels
bug Something isn't working

Comments

@noelmcloughlin
Copy link
Member

noelmcloughlin commented Sep 26, 2018

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
Copy link
Member Author

Migrated from saltstack-formulas/opensds-formula#18

Bug:

  • devstack.init throws segfault on stack.sh completion.

Workarounds:

  • Run highstate with -ldebug parameter that works.
    OR
  • Run devstack.init again
[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
Copy link
Member Author

Not seen on OpenSUSE 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant