Bug 1179333
Summary: | spacecmd configchannel_import fails with 'Invalid argument(s): contents' exception | |||
---|---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Slava <volga629> | |
Component: | Server | Assignee: | Ondrej Gajdusek <ogajduse> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Hutař <jhutar> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 2.2 | CC: | eherget, galtukho, jhutar, ogajduse, tlestach | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1395883 1395884 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-27 18:58:49 UTC | Type: | Bug | |
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: | 1395883, 1395884, 1484117 |
Description
Slava
2015-01-06 15:04:23 UTC
repaired in commit: 26ba75d31fb7aa5bed167245a891ad28d508facb Used this file for testing: https://bugzilla.redhat.com/attachment.cgi?id=990404&action=edit # spacecmd -u <user> -p <pass> -- configchannel_import db-postgresql-wal-el7.json INFO: Spacewalk Username: <user> INFO: Connected to https://<fqdn>/rpc/api as admin INFO: Importing config channel Database PostgreSQL WAL EL7 INFO: Found file /var/lib/pgsql/data/postgresql.conf for cc Database PostgreSQL WAL EL7 INFO: Found directory /var/lib/pgsql/data/wal-archive for cc Database PostgreSQL WAL EL7 Import worked and on webUI I can see 1 file and 1 directory in the created config channel. I have tested on both SWnightly@OracleXE10@RHEL6 and SWnightly@PostgreSQL@RHEL7 (spacecmd-2.6.16-1.el6). Spacewalk 2.7 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27 |