[Spacewalk-list] satellite-sync is not working ( /SAT-DUMP 404 not found)

Rene Trippen rene.trippen at gmail.com
Mon Sep 19 15:10:07 UTC 2016


it is necessary to set the ISS_PARENT, tried to to this in rhn.conf, but 
still was not set when I checked with satellite-sync -p

So, when setting the iss_parent as option to the satellite-sync tool, 
(--iss-parent), the sync process is working


On 14.09.2016 21:10, Rene Trippen wrote:
> No, it is f4s-dev-swms01.<thecompany>.de
>
> RHN_PARENT = f4s-dev-swms01.<thecompany>.de
>
> Is it necessary to set ISS_PARENT?
>
>
>
> On 14.09.2016 18:23, Konstantin Raskoshnyi wrote:
>> What is "server.domain.internal"? Is that your actual fqdn?
>>
>>
>> On Wed, Sep 14, 2016 at 7:26 AM, Rene Trippen <rene.trippen at gmail.com
>> <mailto:rene.trippen at gmail.com>> wrote:
>>
>>     Hi,
>>
>>     I´ve got a strange problem:
>>     I did a spacewalk-sync-setup and wanted to sync the custom-channels,
>>     but I don´t even get a list of the channels.
>>
>>
>>     ###### satellite-sync -p ##########
>>
>>     CA_CHAIN             = /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
>>     HTTP_PROXY           =
>>     HTTP_PROXY_PASSWORD  =
>>     HTTP_PROXY_USERNAME  =
>>     ISS_CA_CHAIN         =
>>     /usr/share/rhn/f4s-dev-swms01_RHN-ORG-TRUSTED-SSL-CERT
>>     ISS_PARENT           =
>>     RHN_PARENT           = spacewalk-parent
>>     TRACEBACK_MAIL       = root at localhost
>>     buffer_size          = 16384
>>     cache_refresh_count_max = 5
>>     cache_refresh_level  = 2
>>     checksum_priority_list = ['sha512', 'sha384', 'sha256', 'sha1',
>> 'md5']
>>     client_auth_timeout  = 3600.0
>>     compress_headers     = 1
>>     db_backend           = postgresql
>>     db_host              = localhost
>>     db_name              = rhnschema
>>     db_password          = rhnpw
>>     db_port              = 5432
>>     db_ssl_enabled       =
>>     db_sslrootcert       = /etc/rhn/postgresql-db-root-ca.cert
>>     db_user              = rhnuser
>>     debug                = 1
>>     disable_iss          = 0
>>     disallow_user_creation = 1
>>     disallowed_suffixes  =
>>     disconnected         = 0
>>     enable_nvrea         = 1
>>     enable_snapshots     = 1
>>     encrypted_passwords  = 1
>>     force_package_upload = 0
>>     freeloader_throttle_end = 21
>>     freeloader_throttle_start = 9
>>     grace_no_throttle    = 0
>>     jabber_server        = spacewalk-slave
>>     join_rhn             = 0
>>     kickstart_mount_point = /var/satellite
>>     log_file             = /var/log/rhn/rhn_server_satellite.log
>>     max_email_len        = 128
>>     max_passwd_len       = 32
>>     max_user_len         = 64
>>     maximum_config_file_size = 131072
>>     message_to_all       = /etc/rhn/message_to_all.txt
>>     min_passwd_len       = 5
>>     min_user_len         = 3
>>     mount_point          = /var/satellite
>>     nls_lang             = english.UTF8
>>     pam_auth_service     =
>>     pkg_list_dir         = /var/up2date/list
>>     prepended_dir        = redhat
>>     product_name         = Spacewalk
>>     proxy_auth_timeout   = 21600.0
>>     qos                  = 0
>>     quiet_mail           = 15
>>     refer_to_www         = 0
>>     repomd_cache_mount_point = /var/cache
>>     repomd_path_prefix   = rhn/repodata
>>     reset_base_channel   = 0
>>     rhn_iss_metadata_handler = /SAT-DUMP-INTERNAL
>>     rhn_metadata_handler = /SAT-DUMP
>>     rhn_xmlrpc_handler   = /SAT
>>     satellite            = 1
>>     secret_key           =
>>     07514936c58302da1e41c45932a8df77f5c4b6b50ed07c60eae8b0ec4ade337e
>>     send_eol_mail        = 0
>>     send_message_to_all  = 0
>>     session_lifetime     = 1800
>>     session_secret_1     =
>>     6dbed8cf2408efedfb8615e27ef260ddbcae9d7502c4f9ca3861e43a3eb13f24
>>     session_secret_2     =
>>     cbe155519f6b37c078bd0f81c8f391edbdaee366c916c6b9b0bb0b2084d9aab8
>>     session_secret_3     =
>>     da48412892343a07cb9c2a388536433d24297dd12329df9e94364bcde1946415
>>     session_secret_4     =
>>     d3aee7fb7513782a206b6041a811f1d35a9ac0192f369ea0388abc6b360bf624
>>     sync_cache_dir       = /var/cache/rhn/
>>     throttle             = 0
>>     throttle_freeloaders = 0
>>     throttle_grace_period = 168.0
>>     timeout              = 120
>>     use_taskomatic_repomd = 1
>>     xml_dump_version     = 3.5
>>
>>     ################################
>>
>>
>>     This is the error message I get:
>>
>>     #### Error message #####
>>
>>     # satellite-sync -l --no-ssl --debug-level=4
>>     --include-custom-channels --no-packages -s server.domain.internal
>>     16:15:04 Spacewalk - live synchronization
>>     16:15:04    url: http://server.domain.internal
>>     16:15:04    debug/output level: 4
>>     16:15:04    +++ Satellite synchronization tool checking in.
>>     16:15:04    +++ Entitled satellite validated.
>>     16:15:04    db:  rhnuser/<password>@rhnschema
>>     16:15:04 Action list/commandline toggles: ['channels', 'no-ssl',
>>     'no-packages', 'list-channels', 'channel-families']
>>     16:15:04
>>     16:15:04 Retrieving / parsing channel-families data
>>     16:15:04 ERROR: server.dump.channel_families('<the systemid>',):
>>     <ProtocolError for server.domain.internal /SAT-DUMP: 404 Not Found>
>>     +++ sending log as an email +++
>>
>>     SYNC ERROR:
>>
>>     (Check logs/email for potentially more detail)
>>
>>     RhnSyncException("ERROR: server.dump.channel_families('<the
>>     systemid>',): <ProtocolError for server.domain.internal /SAT-DUMP:
>>     404 Not Found>",)
>>     ERROR: server.dump.channel_families('<the systemid>',):
>>     <ProtocolError for server.domain.internal /SAT-DUMP: 404 Not Found>
>>
>>     ########################
>>
>>     Any idea what the problem could be?
>>
>>     Best regards,
>>     Rene
>>
>>
>>
>>
>>
>>     _______________________________________________
>>     Spacewalk-list mailing list
>>     Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
>>     https://www.redhat.com/mailman/listinfo/spacewalk-list
>>     <https://www.redhat.com/mailman/listinfo/spacewalk-list>
>>
>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list