[Bug 1012166] New: salt-ssh cannot be used against openSUSE 42.2 JeOS systems
http://bugzilla.suse.com/show_bug.cgi?id=1012166 Bug ID: 1012166 Summary: salt-ssh cannot be used against openSUSE 42.2 JeOS systems Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: fcastelli@suse.com QA Contact: bmaryniuk@suse.com Found By: --- Blocker: --- I've installed the official openSUSE 42.2 JeOS image to my raspberry pi 3 (https://en.opensuse.org/HCL:Raspberry_Pi3) and then I tried to run salt-ssh against it. Unfortunately several issues emerged, they all seem to be caused by missing packages inside of the JeOS. In the beginning I had a ssl related failure that was easily solved by the installation of python-pyOpenSSL on the target machine. Then package installation failed with the following error: Reason: 'pkg' __virtual__ returned False After some digging I realized "rpm-python" and "zypp-plugin-python" were missing too. Unfortunately even when installed nothing changed. I then called: salt-ssh 'piratebus' pkg.install pkgs='["tmux"]' and I got the following message: pi3: ---------- retcode: 0 stderr: [CRITICAL] Unable to import msgpack or msgpack_pure python modules 'pkg.install' is not available. stdout: Installing "python-msgpack-python" solved the first error, but 'pkg.install' was left undefined. I also tried to manually force the pkg provider by extending my roster file in this way: piratebus: host: piratebus-ng.in.da.house providers: - pkg: zypper This didn't work, but I guess I'm just putting the information in the wrong place... These are the grains available on the system, apparently everything looks like a regular openSUSE (os_family name and such): piratebus: ---------- SSDs: - mmcblk0 cpu_flags: - fp - asimd - evtstrm - crc32 cpu_model: Unknown cpuarch: aarch64 disks: domain: in.da.house fqdn: piratebus-ng.in.da.house fqdn_ip4: - 192.168.2.226 fqdn_ip6: gpus: host: piratebus-ng hwaddr_interfaces: ---------- lo: 00:00:00:00:00:00 wlan0: b8:27:eb:c7:0b:b5 id: piratebus init: systemd ip4_interfaces: ---------- lo: - 127.0.0.1 wlan0: - 192.168.2.226 ip6_interfaces: ---------- lo: - ::1 wlan0: - fe80::ba27:ebff:fec7:bb5 ip_interfaces: ---------- lo: - 127.0.0.1 - ::1 wlan0: - 192.168.2.226 - fe80::ba27:ebff:fec7:bb5 ipv4: - 127.0.0.1 - 192.168.2.226 ipv6: - ::1 - fe80::ba27:ebff:fec7:bb5 kernel: Linux kernelrelease: 4.4.27-2-default locale_info: ---------- defaultencoding: UTF-8 defaultlanguage: en_US detectedencoding: UTF-8 localhost: piratebus-ng lsb_distrib_codename: openSUSE Leap 42.2 lsb_distrib_id: openSUSE Leap lsb_distrib_release: 42.2 machine_id: 3135ad70eb7b4ef03bbf2f885823c044 master: salt mem_total: 785 nodename: piratebus-ng num_cpus: 4 num_gpus: 0 os: openSUSE Leap os_family: Suse osarch: aarch64 oscodename: openSUSE Leap 42.2 osfullname: openSUSE Leap osrelease: 42.2 osrelease_info: - 42 - 2 path: /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ps: ps -efH pythonexecutable: /usr/bin/python2.7 pythonpath: - /tmp/.root_ae53f5_salt - /usr/lib/python27.zip - /usr/lib64/python2.7 - /usr/lib64/python2.7/plat-linux2 - /usr/lib64/python2.7/lib-tk - /usr/lib64/python2.7/lib-old - /usr/lib64/python2.7/lib-dynload - /usr/lib64/python2.7/site-packages - /usr/local/lib64/python2.7/site-packages - /usr/local/lib/python2.7/site-packages - /usr/lib/python2.7/site-packages pythonversion: - 2 - 7 - 12 - final - 0 saltpath: /tmp/.root_ae53f5_salt/salt saltversion: 2015.8.10 saltversioninfo: - 2015 - 8 - 10 - 0 server_id: 803848542 shell: /bin/bash systemd: ---------- features: +PAM -AUDIT +SELINUX -IMA +APPARMOR -SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN version: 228 virtual: physical -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1012166
Klaus Kämpf
http://bugzilla.suse.com/show_bug.cgi?id=1012166
http://bugzilla.suse.com/show_bug.cgi?id=1012166#c1
--- Comment #1 from Marcus Rückert
http://bugzilla.suse.com/show_bug.cgi?id=1012166
Theo Chatzimichos
http://bugzilla.suse.com/show_bug.cgi?id=1012166
Bo Maryniuk
http://bugzilla.suse.com/show_bug.cgi?id=1012166
http://bugzilla.suse.com/show_bug.cgi?id=1012166#c2
--- Comment #2 from Flavio Castelli
http://bugzilla.suse.com/show_bug.cgi?id=1012166
http://bugzilla.suse.com/show_bug.cgi?id=1012166#c3
--- Comment #3 from Flavio Castelli
http://bugzilla.suse.com/show_bug.cgi?id=1012166
http://bugzilla.suse.com/show_bug.cgi?id=1012166#c4
Bo Maryniuk
http://bugzilla.suse.com/show_bug.cgi?id=1012166
http://bugzilla.suse.com/show_bug.cgi?id=1012166#c5
--- Comment #5 from Bo Maryniuk
participants (1)
-
bugzilla_noreply@novell.com