Skip to content

Instantly share code, notes, and snippets.

View jdob's full-sized avatar
👾

Jason Dobies jdob

👾
  • SUSE
  • New Jersey
View GitHub Profile
+----------------------------------------------------------------------+
Consumers
+----------------------------------------------------------------------+
Id: jortel
Display Name: jortel-lt
Description: None
Bindings:
Confirmed: jeff, xxx
Unconfirmed: roy
# -*- coding: utf-8 -*-
# Copyright (c) 2012 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public
# License as published by the Free Software Foundation; either version
# 2 of the License (GPLv2) or (at your option) any later version.
# There is NO WARRANTY for this software, express or implied,
# including the implied warranties of MERCHANTABILITY,
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
# have received a copy of GPLv2 along with this software; if not, see
Dependencies Resolved
==========================================================================================
Package Arch Version Repository Size
==========================================================================================
Installing:
pulp-admin-client noarch 2.1.0-2 pulp-jdob 73 k
replacing pulp-admin.noarch 1.1.14-1.fc17
pulp-puppet-plugins noarch 2.1.0-2 pulp-jdob 42 k
pulp-rpm-plugins noarch 2.1.0-2 pulp-jdob 210 k
Transaction Check Error:
file /usr/share/pulp/selinux/server/enable.sh from install of pulp-selinux-2.1.0-2.noarch conflicts with file from package pulp-selinux-server-1.1.14-1.fc17.noarch
file /usr/share/pulp/selinux/server/relabel.sh from install of pulp-selinux-2.1.0-2.noarch conflicts with file from package pulp-selinux-server-1.1.14-1.fc17.noarch
file /usr/share/selinux/targeted/pulp-server.pp from install of pulp-selinux-2.1.0-2.noarch conflicts with file from package pulp-selinux-server-1.1.14-1.fc17.noarch
[root@base-f17-64 ~]# pulp-v1-upgrade --help
Usage: pulp-v1-upgrade [options]
Options:
-h, --help show this help message and exit
--skip-files skip the filesystem portion of the upgrade
--skip-db skip the database portion of the upgrade
--skip-install generates the v2 database to a temporary database but does
not replace the production database with it
--backup-v1-db if specified, the v1 database will be saved as
lrwxrwxrwx. 1 apache apache 191 Jan 24 14:53 python-rhsm-debuginfo-1.8.0-1.pulp.fc17.x86_64.rpm -> /var/lib/pulp/content/rpm/.//python-rhsm-debuginfo/1.8.0/1.pulp.fc17/x86_64/20976f4c134e7e5ef0140ac2afc980122cdf14aa40b4785a0888afca461fde26/python-rhsm-debuginfo-1.8.0-1.pulp.fc17.x86_64.rpm
lrwxrwxrwx. 1 apache apache 161 Jan 24 14:53 python-webpy-0.32-9.fc17.noarch.rpm -> /var/lib/pulp/content/rpm/.//python-webpy/0.32/9.fc17/noarch/bdbbd4426fb6ceb075b0b43727e00adc8708d81323a5f506277b735c84dc49b9/python-webpy-0.32-9.fc17.noarch.rpm
[root@base-f17-64 x86_64]# pwd
/var/lib/pulp/published/https/repos/repos/pulp/pulp/v2/stable/fedora-17/x86_64
╭─[jdob]─[hinterlands]─[/etc/sysconfig/network-scripts]─[]─●
╰─➤ cat ifcfg-br0
DEVICE=br0
TYPE=Bridge
ONBOOT=yes
DELAY=0
BOOTPROTO=static
DNS1=192.168.0.1
GATEWAY=192.168.0.1
IPADDR=192.168.0.201
╭─[jdob]─[hinterlands]─[/etc/sysconfig/network-scripts]─[]─●
╰─➤ cat ifcfg-p18p1
UUID="12e5b2b1-b8b1-4f24-a091-f0d6bee64180"
DEVICE="p18p1"
ONBOOT=yes
BRIDGE=br0
[root@base-f17-64 content]# cd distributions/
[root@base-f17-64 distributions]# ll
total 4
drwxr-xr-x. 2 apache apache 4096 Jan 25 10:25 ks-TestFamily-TestVariant-16-x86_64
[root@base-f17-64 distributions]# tree
.
└── ks-TestFamily-TestVariant-16-x86_64
├── fileA.txt
├── fileB.txt
└── fileC.iso
2013-01-25 10:40:47,956 pulp.server.dispatch.task:INFO: SUCCESS: Task d0085227-b81f-483a-bcdf-6cfdac2f45fe: CallRequest: RepoPublishManager.publish(u'cdn-1', 'yum_distributor', publish_config_override={'http': False, 'https': True, 'relative_url': 'content/test-pulp-repo/x86_64/os'})
2013-01-25 10:40:48,083 pulp.plugins.conduits.mixins:ERROR: Error setting scratchpad for repository [distro-repo]
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pulp/plugins/conduits/mixins.py", line 296, in set_scratchpad
distributor_manager.set_distributor_scratchpad(self.repo_id, self.distributor_id, value)
File "/usr/lib/python2.7/site-packages/pulp/server/managers/repo/distributor.py", line 435, in set_distributor_scratchpad
distributor_coll.save(repo_distributor, safe=True)
File "/usr/lib/python2.7/site-packages/pulp/server/db/connection.py", line 80, in retry
return method(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line 237, in save