Bug 170672
Summary: | rhn-satellite-exporter needs a --channel option | ||
---|---|---|---|
Product: | [Retired] Red Hat Network | Reporter: | John Wregglesworth <wregglej> |
Component: | RHN/Backend | Assignee: | John Wregglesworth <wregglej> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fanny Augustin <fmoquete> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rhn410 | CC: | rhn-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rhn405 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-01-25 05:53:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 128866 |
Description
John Wregglesworth
2005-10-13 17:34:58 UTC
Test Plan: 1. Try exporting stuff without including either -c or --channel. You should get a an error like this: --channel not included! rhn-satellite-exporter --dir=test3 2. Try exporting a non-existant channel. You should get a message that looks like this: 11:55:11 Error: Channel foo not found. rhn-satellite-exporter --dir=test3 -cfoo 3. Try exporting a channel for real this time. After it is exported verify that the channel you said to export is actually the channel that was exported. You can do that by cd'ing into the channels directory in the export directory and making sure it contains a directory for the channel that you exported. Additionally, you can open up the channel.xml file in that directory and verify that the 'label' attribute of the rhn-channel tag points to the correct channel. rhn-satellite-exporter --dir=test3 -crhn-tools 4. Try exporting more than one channel. After they have been exported, verify that the channels you said to export are actually the channels that were exported. You can do that by cd'ing into the channels directory in the export directory and making sure it contains directories for both of the channels that you exported. Additionally, you can open up the channel.xml file in both of those directories and verify that the 'label' attribute of the rhn-channel tag points to the correct channels. The tool is broken. Please see the two tracebacks below: [root@rlx-3-14 ~]# rhn-satellite-exporter --channel=rhel-i386-as-4 --dir=myexports Traceback (most recent call last): File "/usr/bin/rhn-satellite-exporter", line 5, in ? from satellite_tools.intersat_sync import iss File "/usr/share/rhn/satellite_tools/intersat_sync/iss.py", line 8, in ? import dumper File "/usr/share/rhn/satellite_tools/intersat_sync/dumper.py", line 20, in ? from string_buffer import StringBuffer ImportError: No module named string_buffer [root@rlx-3-14 ~]# rhn-satellite-exporter --help Traceback (most recent call last): File "/usr/bin/rhn-satellite-exporter", line 5, in ? from satellite_tools.intersat_sync import iss File "/usr/share/rhn/satellite_tools/intersat_sync/iss.py", line 8, in ? import dumper File "/usr/share/rhn/satellite_tools/intersat_sync/dumper.py", line 20, in ? from string_buffer import StringBuffer ImportError: No module named string_buffer ISO: rhn-satellite-4.0.5-2-redhat-linux-as-i386-4-embedded-oracle.iso The reason it failed was because I missed a file in the Makefile and spec file. string_buffer.py has been added and the rhns packages rebuilt. The changes are in the 4.0.5-28 or later rhns-satellite-tools package. Looks good on QA Released. |