Skip to content

progress.service crashlooping with usage error #470

@sjenning

Description

@sjenning

Caused by #459. Missing -f in the oc create command.

Oct 16 02:57:18 dev-bootstrap systemd[1]: Starting Report the completion of the cluster bootstrap process...
Oct 16 02:57:18 dev-bootstrap systemd[1]: Started Report the completion of the cluster bootstrap process.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: Reporting install progress...
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: Error: required flag(s) "filename" not set
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: Usage:
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: oc create -f FILENAME [flags]
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: Examples:
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: # Create a pod using the data in pod.json.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: oc create -f pod.json
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: # Create a pod based on the JSON passed into stdin.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: cat pod.json | oc create -f -
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: Available Commands:
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: clusterresourcequota Create cluster resource quota resource.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: clusterrole          Create a ClusterRole.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: clusterrolebinding   Create a ClusterRoleBinding for a particular ClusterRole
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: configmap            Create a configmap from a local file, directory or literal value
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: deployment           Create a deployment with the specified name.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: deploymentconfig     Create deployment config with default options that uses a given image.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: identity             Manually create an identity (only needed if automatic creation is disabled).
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: imagestream          Create a new empty image stream.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: imagestreamtag       Create a new image stream tag.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: job                  Create a job with the specified name.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: namespace            Create a namespace with the specified name
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: poddisruptionbudget  Create a pod disruption budget with the specified name.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: priorityclass        Create a priorityclass with the specified name.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: quota                Create a quota with the specified name.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: role                 Create a role with single rule.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: rolebinding          Create a RoleBinding for a particular Role or ClusterRole
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: route                Expose containers externally via secured routes
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: secret               Create a secret using specified subcommand
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: service              Create a service using specified subcommand.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: serviceaccount       Create a service account with the specified name
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: user                 Manually create a user (only needed if automatic creation is disabled).
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: useridentitymapping  Manually map an identity to a user.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: Options:
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: --allow-missing-template-keys=true: If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.
Oct 16 02:57:18 dev-bootstrap systemd[1]: progress.service: main process exited, code=exited, status=1/FAILURE
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: --dry-run=false: If true, only print the object that would be sent, without sending it.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: --edit=false: Edit the API resource before creating
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: -f, --filename=[]: Filename, directory, or URL to files to use to create the resource
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: -o, --output='': Output format. One of: json|yaml|name|templatefile|template|go-template|go-template-file|jsonpath|jsonpath-file.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: --raw='': Raw URI to POST to the server.  Uses the transport specified by the kubeconfig file.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: --record=false: Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: -R, --recursive=false: Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: --save-config=false: If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: -l, --selector='': Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: --template='': Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: --validate=false: If true, use a schema to validate the input before sending it
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: --windows-line-endings=false: Only relevant if --edit=true. Defaults to the line ending native to your platform.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: Use "oc <command> --help" for more information about a given command.
Oct 16 02:57:18 dev-bootstrap report-progress.sh[4002]: Use "oc options" for a list of global command-line options (applies to all commands).
Oct 16 02:57:18 dev-bootstrap systemd[1]: Unit progress.service entered failed state.
Oct 16 02:57:18 dev-bootstrap systemd[1]: progress.service failed.

@crawford

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions