Bug 1159900 - can't see the effect of -v option for docker upload
Summary: can't see the effect of -v option for docker upload
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: docker-support
Version: 2.5
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: Irina Gulina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-03 14:50 UTC by Irina Gulina
Modified: 2015-02-28 22:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 22:42:54 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 604 0 None None None Never

Description Irina Gulina 2014-11-03 14:50:24 UTC
Description of problem:

I didn't notice any extra information about the upload process, which -v option is claimed to display

Version-Release number of selected component (if applicable):

pulp-server-2.5.0-0.14.beta.fc20.noarch

docker-io-1.3.0-1.fc20.x86_64
pulp-docker-plugins-0.2.1-0.2.beta.fc20.noarch
python-pulp-docker-common-0.2.1-0.2.beta.fc20.noarch
pulp-docker-admin-extensions-0.2.1-0.2.beta.fc20.noarch


How reproducible:
always

Steps to Reproduce:
>> pulp-admin docker repo uploads upload --help
Command: upload
Description: uploads one or more units into a repository

Available Arguments:

  --bg          - if specified, the client process will end immediately (the
                  task will continue to run on the server)
  --repo-id     - (required) unique identifier; only alphanumeric, ., -, and _
                  allowed
  --file, -f    - full path to a file to upload; may be specified multiple times
                  for multiple files
  --dir, -d     - full path to a directory containing files to upload; may be
                  specified multiple times for multiple directories
  -v            - display extra information about the upload process
  --mask-id, -m - image id of an ancestor image that should not be added to the
                  repository. The masked ancestor and any ancestors of that
                  image will be skipped from importing into the repository.

>> pulp-admin docker repo create --repo-id funtik
Repository [funtik] successfully created

>> pulp-admin docker repo uploads upload --repo-id funtik -f /root/fedora.tar
+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: fedora.tar
... completed

Creating upload requests on the server...
[==================================================] 100%
Initializing: fedora.tar
... completed

Starting upload of selected units. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
cancelled entirely using the cancel command.

Uploading: fedora.tar
[==================================================] 100%
385859072/385859072 bytes
... completed

Importing into the repository...
This command may be exited via ctrl+c without affecting the request.


[\]
Running...

Task Succeeded


Deleting the upload request...
... completed

>> pulp-admin docker repo create --repo-id belladonna
Repository [belladonna] successfully created

>> pulp-admin docker repo uploads upload --repo-id belladonna -v -f /root/fedora.tar
+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: fedora.tar
... completed

Files to be uploaded:
  fedora.tar

Creating upload requests on the server...
[==================================================] 100%
Initializing: fedora.tar
... completed

Starting upload of selected units. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
cancelled entirely using the cancel command.

Uploading: fedora.tar
[==================================================] 100%
385859072/385859072 bytes
... completed

Importing into the repository...
This command may be exited via ctrl+c without affecting the request.


[\]
Running...

Task Succeeded


Deleting the upload request...
... completed

>> pulp-admin docker repo create --repo-id mokus
Repository [mokus] successfully created

>> pulp-admin docker repo uploads upload --repo-id belladonna -f /root/fedora.tar -v
+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: fedora.tar
... completed

Files to be uploaded:
  fedora.tar

Creating upload requests on the server...
[==================================================] 100%
Initializing: fedora.tar
... completed

Starting upload of selected units. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
cancelled entirely using the cancel command.

Uploading: fedora.tar
[==================================================] 100%
385859072/385859072 bytes
... completed

Importing into the repository...
This command may be exited via ctrl+c without affecting the request.


[\]
Running...

Task Succeeded


Deleting the upload request...
... completed

Comment 1 Brian Bouterse 2015-02-28 22:42:54 UTC
Moved to https://pulp.plan.io/issues/604


Note You need to log in before you can comment on or make changes to this bug.