Turns out that this was user error. I hadn't edited the server line in the /etc/pulp/.../consumer.conf file, but I had in the /root/.pulp/consumer.conf file. The yum plugin only reads the one from /etc/.../. However, I do think we have an issue here in reporting problems to users. Note the printout in the middle here about the peer certificate commonName not matching:
rbarlow@guava ~/d/p/pulp_rpm> (pulp_rpm) sudo yum install grinder_test_package-4.0
Loaded plugins: langpacks, pulp-profile-update
Resolving Dependencies
--> Running transaction check
---> Package grinder_test_package.noarch 0:3.0-1.fc14 will be updated
---> Package grinder_test_package.noarch 0:4.0-1.fc14 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================
Package Arch Version Repository Size
====================================================================================================================
Updating:
grinder_test_package noarch 4.0-1.fc14 test-errata-install 1.6 k
Transaction Summary
====================================================================================================================
Upgrade 1 Package
Total download size: 1.6 k
Is this ok [y/d/N]: y
Downloading packages:
grinder_test_package-4.0-1.fc14.noarch.rpm | 1.6 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : grinder_test_package-4.0-1.fc14.noarch 1/2
Cleanup : grinder_test_package-3.0-1.fc14.noarch 2/2
Peer certificate commonName does not match host, expected localhost.localdomain, got guava.rdu.redhat.com
Peer certificate commonName does not match host, expected localhost.localdomain, got guava.rdu.redhat.com
Verifying : grinder_test_package-4.0-1.fc14.noarch 1/2
Verifying : grinder_test_package-3.0-1.fc14.noarch 2/2
Updated:
grinder_test_package.noarch 0:4.0-1.fc14
Complete!
I think it would be best if we could make that error message more obviously tell the user that the plugin failed to report the profile to Pulp. I didn't even notice it was an error at all when I first ran it. It would have been better if it said something like "Error in reporting profile to Pulp: <error_message_here>".
I'm lowering the severity since it turns out that nothing is really broken.
+ This comment was cloned from Bugzilla #1097906 comment 3 +