Skip to content

static output also returns normal output #24363

Closed

Description

@halfgaar

salt-master 2015.5.0+ds-1precise1
Ubuntu 12.04

When used to do salt --static --out json, I received one json object with multiple key-value pairs:

{
    "host1" : "value",
    "host2" : "value"
}

I still do, but when that is complete, I still gradually receive single objects like this:

{
    "host2" : "value"
}
{
    "host2" : "value"
}

Because they come in so slowly after the combined object has already arrived, it looks as though it's running the command twice.

Activity

  1. derBroBro commented on Jun 5, 2015

    @derBroBro
    Contributor

    Hello,

    looks like fixed here: 4ee3679

    As workarround you can use "-b 100%" like:
    salt "*" test.ping --static --out=json --static -b 100%

    Malte

  2. added
    bug
    severity-medium
    fixed-pls-verify
    Core
    P4
    on Jun 9, 2015
  3. added this to the Approved milestone on Jun 9, 2015
  4. jfindlay commented on Jun 9, 2015

    @jfindlay
    Contributor

    @halfgaar, thanks for the report. This should be fixed in #23380 as @derBroBro indicates.

  5. rallytime commented on Sep 9, 2015

    @rallytime
    Contributor

    I just tested this on 2015.5.3 and this is indeed fixed. As such, I am closing this issue. See #23380, #25154, #25153, and #25722 for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreP4Returnersbugfixed-pls-verifyseverity-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions