file.managed doesn't copy files in 18.04

Bug #1769947 reported by Bryce Larson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
salt (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.