Bug 923406 - Recursive unit copy can never run
Summary: Recursive unit copy can never run
Keywords:
Status: CLOSED DUPLICATE of bug 928964
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: 2.0.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2.1.1
Assignee: Randy Barlow
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-19 18:44 UTC by Jay Dobies
Modified: 2013-09-09 16:28 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-01 13:57:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2013-03-19 18:44:13 UTC
In the bindings for unit copy:

if 'resursive' in kwargs and kwargs['recursive']:

Comment 1 Sayli Karmarkar 2013-03-19 19:57:30 UTC
Fixed typo.

Comment 2 Preethi Thomas 2013-03-28 20:00:12 UTC
fails-qa

[root@mgmt8 ~]# rpm -q pulp-server
pulp-server-2.1.0-0.26.beta.noarch
[root@mgmt8 ~]# 

See Repo1 has 

[root@mgmt8 ~]# pulp-admin rpm repo content rpm --repo-id Repo1 --str-eq 'name=pulp-agent'
Arch:         noarch
Buildhost:    localhost
Checksum:     26d8c8bf63e18d3a3d98641aa8afce560440c8876a89d8682d2393a497829b66
Checksumtype: sha256
Description:  The pulp agent, used to provide remote command & control and
              scheduled actions such as reporting installed content profiles on
              a defined interval.
Epoch:        0
Filename:     pulp-agent-2.1.0-0.26.beta.noarch.rpm
License:      GPLv2
Name:         pulp-agent
Provides:     [[u'pulp-agent', u'EQ', [u'0', u'2.1.0', u'0.26.beta']],
              [u'config(pulp-agent)', u'EQ', [u'0', u'2.1.0', u'0.26.beta']]]
Release:      0.26.beta
Requires:     [[u'python-pulp-bindings', u'EQ', [u'0', u'2.1.0', u'0.26.beta']],
              [u'python-pulp-agent-lib', u'EQ', [u'0', u'2.1.0', u'0.26.beta']],
              [u'pulp-consumer-client', u'EQ', [u'0', u'2.1.0', u'0.26.beta']],
              [u'gofer', u'GE', [u'0', u'0.74', None]]]
Vendor:       
Version:      2.1.0

[root@mgmt8 ~]# pulp-admin rpm repo copy rpm  --from-repo-id Repo1 --to-repo-id Repo3 --str-eq 'name=pulp-agent' -r 
Progress on this task can be viewed using the commands under "repo tasks".

[root@mgmt8 ~]# pulp-admin rpm repo content rpm --repo-id Repo3
Arch:         noarch
Buildhost:    localhost
Checksum:     26d8c8bf63e18d3a3d98641aa8afce560440c8876a89d8682d2393a497829b66
Checksumtype: sha256
Description:  The pulp agent, used to provide remote command & control and
              scheduled actions such as reporting installed content profiles on
              a defined interval.
Epoch:        0
Filename:     pulp-agent-2.1.0-0.26.beta.noarch.rpm
License:      GPLv2
Name:         pulp-agent
Provides:     [[u'pulp-agent', u'EQ', [u'0', u'2.1.0', u'0.26.beta']],
              [u'config(pulp-agent)', u'EQ', [u'0', u'2.1.0', u'0.26.beta']]]
Release:      0.26.beta
Requires:     [[u'python-pulp-bindings', u'EQ', [u'0', u'2.1.0', u'0.26.beta']],
              [u'python-pulp-agent-lib', u'EQ', [u'0', u'2.1.0', u'0.26.beta']],
              [u'pulp-consumer-client', u'EQ', [u'0', u'2.1.0', u'0.26.beta']],
              [u'gofer', u'GE', [u'0', u'0.74', None]]]
Vendor:       
Version:      2.1.0


[root@mgmt8 ~]# 


[root@mgmt8 ~]# pulp-admin rpm repo list
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+


Id:                  Repo1
Display Name:        Repo1
Description:         None
Content Unit Counts: 
  Package Group: 3
  Rpm:           41

Id:                  Repo2
Display Name:        Repo2
Description:         None
Content Unit Counts: 
  Rpm: 41

Id:                  Repo3
Display Name:        Repo3
Description:         None
Content Unit Counts: 
  Rpm: 1

Comment 3 Preethi Thomas 2013-03-28 20:05:32 UTC
[root@mgmt8 ~]# pulp-admin rpm repo copy rpm  --from-repo-id Repo1 --to-repo-id Repo3 --str-eq 'name=pulp-agent' --recursive
Progress on this task can be viewed using the commands under "repo tasks".

[root@mgmt8 ~]# pulp-admin rpm repo list
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+


Id:                  Repo1
Display Name:        Repo1
Description:         None
Content Unit Counts: 
  Package Group: 3
  Rpm:           41

Id:                  Repo2
Display Name:        Repo2
Description:         None
Content Unit Counts: 
  Rpm: 41

Id:                  Repo3
Display Name:        Repo3
Description:         None
Content Unit Counts: 
  Rpm: 1


[root@mgmt8 ~]# rpm -q pulp-server
pulp-server-2.1.0-0.26.beta.noarch

Comment 4 Jay Dobies 2013-04-01 13:55:33 UTC
Randy - Can you investigate if this is a plugin-side problem as well? We need this for the Sat6 tech preview.

Comment 5 Jay Dobies 2013-04-01 13:57:43 UTC
Randy - Nevermind, this is a duplicate of: 928964

*** This bug has been marked as a duplicate of bug 928964 ***


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