Thanks for the reply!! Here's what I get on CentOS 6.3:
katello> version
Katello 1.2.2-1.el6
katello> repo list
---------------------------------------------------------------------------------------------------------
Repo List For Org CollMedia Environment
Library
Id Name Label Package Count Last
Sync
---------------------------------------------------------------------------------------------------------
3 CentOS 6.3 x86_64 2013 Q1 CentOS-63-x86_64-2013q1 3887 2013/03/22
11:11:53
katello> repo info --id=3
---------------------------------------------------------------------------------------------------------
Information About Repo 3
---------------------------------------------------------------------------------------------------------
Id : 3
Name : CentOS 6.3 x86_64 2013 Q1
Package Count : 3887
Arch : noarch
Url : file:///mnt
Last Sync : 2013/03/22 11:11:53
Progress : Not synced
GPG key :
katello> repo synchronize --id=3
Progress: [################################################# ]
99.5%Traceback (most recent call last):\n File
\"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py\",
line 48, in report_error\n return method(self, *args, **kwargs)\n
File
\"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py\",
line 127, in _auth_decorator\n value = method(self, *args,
**kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/tasks.py\",
line 129, in GET\n return self.ok(serialized_tasks)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/base.py\",
line 156, in ok\n return self._output(data)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/base.py\",
line 131, in _output\n body = json.dumps(data,
default=json_util.default)\n File
\"/usr/lib64/python2.6/site-packages/simplejson/__init__.py\", line 237,
in dumps\n **kw).encode(obj)\n File
\"/usr/lib64/python2.6/site-packages/simplejson/encoder.py\", line 200,
in encode\n chunks = self.iterencode(o, _one_shot=True)\n File
\"/usr/lib64/python2.6/site-packages/simplejson/encoder.py\", line 260,
in iterencode\n return _iterencode(o, 0)\n File
\"/usr/lib64/python2.6/site-packages/bson/json_util.py\", line 133, in
default\n raise TypeError(\"%r is not JSON serializable\" %
obj)\nTypeError: <pulp.server.util.Package instance at 0x7fe3f27e1680>
is not JSON serializable\n
katello> repo info --id=3
----------------------------------------------------------------------------------
Information About Repo 3
----------------------------------------------------------------------------------
Id : 3
Name : CentOS 6.3 x86_64 2013 Q1
Package Count : 3887
Arch : noarch
Url : file:///mnt
Last Sync : 2013/03/22 11:11:53
Progress : Not synced
GPG key :
Any thoughts/advice are/is greatly appreciated!
Thanks again,
Guy
On 03/22/2013 11:41 AM, Mike McCune wrote:
What version of Katello are you using? I just tested with 1.2 and it
worked fine:
https://gist.github.com/mccun934/5222251
file:///mnt is the correct URL as well.
On 03/22/2013 08:07 AM, Guy Matz wrote:
> Sorry! I should have mentioned that I tried it, but it didn't work.
> Nothing showed up in my grinder log, but I'm not sure if that's because
> the file URL doesn't work or if my setup is misconfigured in some way.
>
> Thanks again!
> Guy
>
> On 03/22/2013 11:05 AM, Guy Matz wrote:
>> Hello!
>> For now, my katello server is on a network that does not have direct
>> access to the internets . . . I do have a repo on DVD though, so I'm
>> wondering if it's possible to "repo sync" from a file URL instead
of
>> http? e.g. file:///mnt ?
>>
>> Thanks a lot,
>> Guy Matz
>> _______________________________________________
>> katello mailing list
>> katello(a)lists.fedorahosted.org
>>
https://lists.fedorahosted.org/mailman/listinfo/katello
>
> _______________________________________________
> katello mailing list
> katello(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/katello