[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] Missing error message in repo create/update



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

https://bugzilla.redhat.com/show_bug.cgi?id=683861

This is a regression. It used to be that when you forget the type part
of the feed it told you that was the case and said valid values for it
(yum, rhn, local). Now it just says "error" and you have to look at the
server logs:

# Missing type in feed
$ pulp-admin repo create --id pulp-32 --feed
http://repos.fedorapeople.org/repos/pulp/pulp/fedora-13/i386
error: operation failed:

# Next command specified the feed type
$ pulp-admin repo create --id pulp-32 --feed
yum:http://repos.fedorapeople.org/repos/pulp/pulp/fedora-13/i386
Successfully created repository [ pulp-32 ]

$ tail -1 /var/log/pulp/pulp.log
PulpException: "Invalid type.  valid types are ['yum', 'local', 'rhn']"



I think this should be pretty important since that type syntax is not
that intuitive, especially to new users (I still forget to add it, which
is why I stumbled across this).

Has anyone been in that area that can take a look at this? IMO we really
should try to get it fixed before the Community Release - I think it's
going to be common for new users to not know to indicate a type or what
the type values are and I really don't want their first experience to
not even be able to create a repo.

- -- 
Jay Dobies
RHCE# 805008743336126
Freenode: jdob
http://pulpproject.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNeOfaAAoJEOMmcTqOSQHCbKMIAJ3M64uurQumrvaJcxrRZ7Yl
1oXNSp4dexuj2fhAVOlELCm1VzOD7AngNsq0JZdsOJ5q9zR3YJs85FMRKTTp2oGL
D7eUxLMqYYItDRJlMMUJ/HvZvGmT79kl5E9n+lVcx8x1dB/FKqaxRyI/Z1lDL8Xg
nOVLlzp+IssoAjCcTQQhzVjdGqD3CX6M5pXSDTDYNLP//jIbPhE/+TOBFrc0IL2Y
ylbwTZocXfzQC4YSdbcKxOl2VR/CvQrPcDHr0n54/Q2UbxUz4onNRslgJM3U8ksc
zqa8fS6+8h/EiT35nyXU7Ch+XEK1LxG7XAyLrmQ/mVZJk5ayNsIi47u+JNkpkLU=
=SaxL
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]