{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/47258","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/47258/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/47258/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/47258/events","html_url":"https://github.com/saltstack/salt/issues/47258","id":317011419,"number":47258,"title":"service state no longer working after kernel upgrade","user":{"login":"drewmat","id":2158739,"avatar_url":"https://avatars3.githubusercontent.com/u/2158739?v=4","gravatar_id":"","url":"https://api.github.com/users/drewmat","html_url":"https://github.com/drewmat","followers_url":"https://api.github.com/users/drewmat/followers","following_url":"https://api.github.com/users/drewmat/following{/other_user}","gists_url":"https://api.github.com/users/drewmat/gists{/gist_id}","starred_url":"https://api.github.com/users/drewmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewmat/subscriptions","organizations_url":"https://api.github.com/users/drewmat/orgs","repos_url":"https://api.github.com/users/drewmat/repos","events_url":"https://api.github.com/users/drewmat/events{/privacy}","received_events_url":"https://api.github.com/users/drewmat/received_events","type":"User","site_admin":false},"labels":[{"id":864901542,"url":"https://api.github.com/repos/saltstack/salt/labels/2017.7.6","name":"2017.7.6","color":"fbca04","default":false},{"id":853105682,"url":"https://api.github.com/repos/saltstack/salt/labels/2018.3.1","name":"2018.3.1","color":"fbca04","default":false},{"id":143273337,"url":"https://api.github.com/repos/saltstack/salt/labels/Blocker","name":"Blocker","color":"e11d21","default":false},{"id":41387723,"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":67288742,"url":"https://api.github.com/repos/saltstack/salt/labels/Critical","name":"Critical","color":"e95800","default":false},{"id":41389957,"url":"https://api.github.com/repos/saltstack/salt/labels/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestone/13","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars0.githubusercontent.com/u/507599?v=4","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2237,"closed_issues":7361,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2018-05-21T23:20:01Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-04-23T22:56:10Z","updated_at":"2018-05-22T01:30:45Z","closed_at":"2018-04-25T14:48:35Z","author_association":"NONE","body":"### Description of Issue/Question\r\nservice state is no longer working after kernel upgrade in Amazon Linux\r\n\r\n### Setup\r\nEnable tomcat service:\r\n  service.running:\r\n    - name: tomcat7\r\n    - enable: True\r\n    - watch:\r\n      - /etc/tomcat7/tomcat7.conf\r\n      - /etc/tomcat7/server.xml\r\n      - /etc/tomcat7/catalina.properties\r\n      - /etc/tomcat7/context.xml\r\n      - /etc/tomcat7/logging.properties\r\n      - /etc/tomcat7/web.xml\r\n      - /etc/tomcat7/tomcat-users.xml\r\n\r\n### Steps to Reproduce Issue\r\nrun:\r\nsalt <tomcat minion> state.apply\r\nresults:\r\n...\r\n----------\r\n          ID: Enable tomcat service\r\n    Function: service.running\r\n        Name: tomcat7\r\n      Result: False\r\n     Comment: State 'service.running' was not found in SLS 'tomcat'\r\n              Reason: 'service' __virtual__ returned False: No service execution module loaded: check support for service management on Amazon Linux AMI-2018\r\n     Changes:   \r\n...\r\n\r\n### Versions Report\r\n[root@salt-master ~]# salt --versions-report\r\nSalt Version:\r\n           Salt: 2018.3.0\r\n \r\nDependency Versions:\r\n           cffi: 1.11.5\r\n       cherrypy: 3.2.2\r\n       dateutil: 2.1\r\n      docker-py: Not Installed\r\n          gitdb: 2.0.3\r\n      gitpython: 2.1.8\r\n          ioflo: Not Installed\r\n         Jinja2: 2.7.2\r\n        libgit2: Not Installed\r\n        libnacl: Not Installed\r\n       M2Crypto: Not Installed\r\n           Mako: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.6\r\n   mysql-python: Not Installed\r\n      pycparser: 2.18\r\n       pycrypto: 2.6.1\r\n   pycryptodome: Not Installed\r\n         pygit2: Not Installed\r\n         Python: 2.7.13 (default, Jan 31 2018, 00:17:36)\r\n   python-gnupg: Not Installed\r\n         PyYAML: 3.10\r\n          PyZMQ: 14.5.0\r\n           RAET: Not Installed\r\n          smmap: 2.0.3\r\n        timelib: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.0.5\r\n \r\nSystem Versions:\r\n           dist:   \r\n         locale: UTF-8\r\n        machine: x86_64\r\n        release: 4.14.26-46.32.amzn1.x86_64\r\n         system: Linux\r\n        version: Not Installed\r\n\r\n#### \r\n[root@salt-master ~]# salt demo-tc grains.items\r\ndemo-tc:\r\n    ----------\r\n    SSDs:\r\n        - xvda\r\n    biosreleasedate:\r\n        08/24/2006\r\n    biosversion:\r\n        4.2.amazon\r\n    cpu_flags:\r\n        - fpu\r\n        - vme\r\n        - de\r\n        - pse\r\n        - tsc\r\n        - msr\r\n        - pae\r\n        - mce\r\n        - cx8\r\n        - apic\r\n        - sep\r\n        - mtrr\r\n        - pge\r\n        - mca\r\n        - cmov\r\n        - pat\r\n        - pse36\r\n        - clflush\r\n        - mmx\r\n        - fxsr\r\n        - sse\r\n        - sse2\r\n        - ht\r\n        - syscall\r\n        - nx\r\n        - rdtscp\r\n        - lm\r\n        - constant_tsc\r\n        - rep_good\r\n        - nopl\r\n        - xtopology\r\n        - cpuid\r\n        - pni\r\n        - pclmulqdq\r\n        - ssse3\r\n        - fma\r\n        - cx16\r\n        - pcid\r\n        - sse4_1\r\n        - sse4_2\r\n        - x2apic\r\n        - movbe\r\n        - popcnt\r\n        - tsc_deadline_timer\r\n        - aes\r\n        - xsave\r\n        - avx\r\n        - f16c\r\n        - rdrand\r\n        - hypervisor\r\n        - lahf_lm\r\n        - abm\r\n        - cpuid_fault\r\n        - invpcid_single\r\n        - pti\r\n        - fsgsbase\r\n        - bmi1\r\n        - avx2\r\n        - smep\r\n        - bmi2\r\n        - erms\r\n        - invpcid\r\n        - xsaveopt\r\n    cpu_model:\r\n        Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz\r\n    cpuarch:\r\n        x86_64\r\n    disks:\r\n    dns:\r\n        ----------\r\n        domain:\r\n        ip4_nameservers:\r\n            - 172.31.0.2\r\n        ip6_nameservers:\r\n        nameservers:\r\n            - 172.31.0.2\r\n        options:\r\n            - timeout:2\r\n        search:\r\n            - ec2.internal\r\n            - 2phase.net\r\n        sortlist:\r\n    domain:\r\n        ec2.internal\r\n    fqdn:\r\n        ip-172-31-36-244.ec2.internal\r\n    fqdn_ip4:\r\n        - 172.31.36.244\r\n    fqdn_ip6:\r\n    gid:\r\n        0\r\n    gpus:\r\n        |_\r\n          ----------\r\n          model:\r\n              GD 5446\r\n          vendor:\r\n              unknown\r\n    groupname:\r\n        root\r\n    host:\r\n        ip-172-31-36-244\r\n    hwaddr_interfaces:\r\n        ----------\r\n        eth0:\r\n            06:d1:34:5f:40:70\r\n        lo:\r\n            00:00:00:00:00:00\r\n    id:\r\n        demo-tc\r\n    init:\r\n        upstart\r\n    ip4_gw:\r\n        172.31.32.1\r\n    ip4_interfaces:\r\n        ----------\r\n        eth0:\r\n            - 172.31.36.244\r\n        lo:\r\n            - 127.0.0.1\r\n    ip6_gw:\r\n        False\r\n    ip6_interfaces:\r\n        ----------\r\n        eth0:\r\n            - fe80::4d1:34ff:fe5f:4070\r\n        lo:\r\n            - ::1\r\n    ip_gw:\r\n        True\r\n    ip_interfaces:\r\n        ----------\r\n        eth0:\r\n            - 172.31.36.244\r\n            - fe80::4d1:34ff:fe5f:4070\r\n        lo:\r\n            - 127.0.0.1\r\n            - ::1\r\n    ipv4:\r\n        - 127.0.0.1\r\n        - 172.31.36.244\r\n    ipv6:\r\n        - ::1\r\n        - fe80::4d1:34ff:fe5f:4070\r\n    kernel:\r\n        Linux\r\n    kernelrelease:\r\n        4.14.33-51.34.amzn1.x86_64\r\n    kernelversion:\r\n        #1 SMP Fri Apr 13 18:18:26 UTC 2018\r\n    locale_info:\r\n        ----------\r\n        defaultencoding:\r\n            UTF-8\r\n        defaultlanguage:\r\n            en_US\r\n        detectedencoding:\r\n            UTF-8\r\n    localhost:\r\n        demo-tc.2phase.net\r\n    lsb_distrib_codename:\r\n        Amazon Linux AMI 2018.03\r\n    lsb_distrib_id:\r\n        Amazon Linux AMI\r\n    lsb_distrib_release:\r\n        2018.03\r\n    machine_id:\r\n        e49ddaf535ec4fdd962883f75a57eafa\r\n    manufacturer:\r\n        Xen\r\n    master:\r\n        salt-master.2phase.net\r\n    mdadm:\r\n    mem_total:\r\n        3947\r\n    nodename:\r\n        demo-tc.2phase.net\r\n    num_cpus:\r\n        2\r\n    num_gpus:\r\n        1\r\n    os:\r\n        Amazon\r\n    os_family:\r\n        RedHat\r\n    osarch:\r\n        x86_64\r\n    oscodename:\r\n        Amazon Linux AMI 2018.03\r\n    osfinger:\r\n        Amazon Linux AMI-2018\r\n    osfullname:\r\n        Amazon Linux AMI\r\n    osmajorrelease:\r\n        2018\r\n    osrelease:\r\n        2018.03\r\n    osrelease_info:\r\n        - 2018\r\n        - 3\r\n    path:\r\n        /sbin:/usr/sbin:/bin:/usr/bin\r\n    pid:\r\n        2792\r\n    productname:\r\n        HVM domU\r\n    ps:\r\n        ps -efHww\r\n    pythonexecutable:\r\n        /usr/bin/python2.7\r\n    pythonpath:\r\n        - /usr/bin\r\n        - /usr/lib/python27.zip\r\n        - /usr/lib64/python2.7\r\n        - /usr/lib64/python2.7/plat-linux2\r\n        - /usr/lib64/python2.7/lib-tk\r\n        - /usr/lib64/python2.7/lib-old\r\n        - /usr/lib64/python2.7/lib-dynload\r\n        - /usr/local/lib64/python2.7/site-packages\r\n        - /usr/local/lib/python2.7/site-packages\r\n        - /usr/lib64/python2.7/site-packages\r\n        - /usr/lib/python2.7/site-packages\r\n        - /usr/lib64/python2.7/dist-packages\r\n        - /usr/lib64/python2.7/dist-packages/PIL\r\n        - /usr/lib/python2.7/dist-packages\r\n    pythonversion:\r\n        - 2\r\n        - 7\r\n        - 13\r\n        - final\r\n        - 0\r\n    saltpath:\r\n        /usr/lib/python2.7/dist-packages/salt\r\n    saltversion:\r\n        2018.3.0\r\n    saltversioninfo:\r\n        - 2018\r\n        - 3\r\n        - 0\r\n        - 0\r\n    selinux:\r\n        ----------\r\n        enabled:\r\n            False\r\n        enforced:\r\n            Disabled\r\n    serialnumber:\r\n        ec2e8b41-fb5a-e703-a1f2-5bd7c0dd1881\r\n    server_id:\r\n        1030780186\r\n    shell:\r\n        /bin/sh\r\n    swap_total:\r\n        0\r\n    uid:\r\n        0\r\n    username:\r\n        root\r\n    uuid:\r\n        ec2e8b41-fb5a-e703-a1f2-5bd7c0dd1881\r\n    virtual:\r\n        xen\r\n    virtual_subtype:\r\n        Xen PV DomU\r\n    zfs_support:\r\n        False\r\n    zmqversion:\r\n        4.0.5\r\n\r\n\r\nAny help would be appreciated. Thanks!"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/390834324","html_url":"https://github.com/saltstack/salt/issues/47258#issuecomment-390834324","issue_url":"https://api.github.com/repos/saltstack/salt/issues/47258","id":390834324,"user":{"login":"gtmanfred","id":732321,"avatar_url":"https://avatars0.githubusercontent.com/u/732321?v=4","gravatar_id":"","url":"https://api.github.com/users/gtmanfred","html_url":"https://github.com/gtmanfred","followers_url":"https://api.github.com/users/gtmanfred/followers","following_url":"https://api.github.com/users/gtmanfred/following{/other_user}","gists_url":"https://api.github.com/users/gtmanfred/gists{/gist_id}","starred_url":"https://api.github.com/users/gtmanfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtmanfred/subscriptions","organizations_url":"https://api.github.com/users/gtmanfred/orgs","repos_url":"https://api.github.com/users/gtmanfred/repos","events_url":"https://api.github.com/users/gtmanfred/events{/privacy}","received_events_url":"https://api.github.com/users/gtmanfred/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T01:30:45Z","updated_at":"2018-05-22T01:30:45Z","author_association":"MEMBER","body":"The service state module uses whichever virtual module is used for your system, if it is booted with systemd, it will load systemd as service for the execution module.\r\nThen the service state just uses that to handle the services.\r\n\r\nThere is no need to deprecate anything."}}
{"actor":{"display_login":"gtmanfred"}}