Public bug reported:

When using the available packages for salt-master in the ubuntu repos, I
get this error on the minions.  It doesn't download the file, it just
fails.  This is the output.


[WARNING ] Data transport is broken, got: b'', type: bytes, exception: byte 
indices must be integers or slices, not str, attempt 1 of 3
[WARNING ] Data transport is broken, got: b'', type: bytes, exception: byte 
indices must be integers or slices, not str, attempt 2 of 3
[WARNING ] Data transport is broken, got: b'', type: bytes, exception: byte 
indices must be integers or slices, not str, attempt 3 of 3
[WARNING ] Data transport is broken, got: b'', type: bytes, exception: byte 
indices must be integers or slices, not str, attempt 4 of 3
[ERROR   ] Data transport is broken, got: b'', type: bytes, exception: byte 
indices must be integers or slices, not str, retry attempts exhausted
[ERROR   ] Unable to cache file 
'salt://vmware/VMware-Workstation-Full-14.1.1-7528167.x86_64.bundle' from 
saltenv 'prod'.
[ERROR   ] Source file 
'salt://vmware/VMware-Workstation-Full-14.1.1-7528167.x86_64.bundle' not found

----------
          ID: /root/VMware-Workstation-Full-14.1.1-7528167.x86_64.bundle
    Function: file.managed
      Result: False
     Comment: Source file 
'salt://vmware/VMware-Workstation-Full-14.1.1-7528167.x86_64.bundle' not found
     Started: 10:26:29.076656
    Duration: 4677.208 ms
     Changes:   


This is the relevant state:

/root/VMware-Workstation-Full-14.1.1-7528167.x86_64.bundle:
  file.managed:
    - source:
      - salt://vmware/VMware-Workstation-Full-14.1.1-7528167.x86_64.bundle
    - user: root
    - group: root
    - mode: '775'

This works fine when using version 2018.3.0 installing from the
bootstrap.saltstack.com repo.

Metadata

Description:    Ubuntu 18.04 LTS
Release:        18.04

salt-master:
  Installed: 2017.7.4+dfsg1-1

** Affects: salt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769947

Title:
  file.managed doesn't copy files in 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/salt/+bug/1769947/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to