Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.9.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Agent
    • Story Points:
      1
    • Sprint:
      AP 2017-01-11, AP 2017-01-25
    • Release Notes:
      Deprecation
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      Low risk; covered in unit

      Description

      The status face could possibly be useful, but the usability of it is so atrocious we are better removing it and revisiting it later.

      The user is first presented with a help output that claims:

        destroy    Invalid for this subcommand.
        find       Check status of puppet master server.
        info       Print the default terminus class for this face.
        save       Invalid for this subcommand.
        search     Invalid for this subcommand.
      

      So after a bit of a scare and confusion, they decide to try find:

      > puppet status find
      Error: puppet status find takes 1 argument, but you gave 0
      Error: Try 'puppet help status find' for usage
      

      Following along dutifully they try puppet help status find

      USAGE: puppet status [--terminus TERMINUS] [--extra HASH] <dummy_text>
       
      Checks whether a Puppet server is properly receiving and processing HTTP
      requests. Due to a known bug, this action requires a dummy argument, the
      content of which is irrelevant. This action is only useful when used with
      '--terminus rest', and will always return true when invoked locally.
      

      <dummy_text>??? Huh?

      So after a quick read they try out puppet status find doesnotmatter and get

      {"is_alive":true,"version":"3.3.2"}
      

      That is odd...the server isn't actually running. Oh! "This action is only useful when used with '--terminus rest', and will always return true when invoked locally.". Well, in that case

      > puppet status find doesnotmatter --terminus rest
      Error: Could not call 'find' on 'status': Neither PUB key nor PRIV key:: header too long
      Error: Could not call 'find' on 'status': Neither PUB key nor PRIV key:: header too long
      Error: Try 'puppet help status find' for usage
      

      I don't know....I give up.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andy Andrew Parker
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support