Dan_Sk
July 27, 2017, 12:13pm
#1
Hi all, I found strange behaviour in katello 3.4 + foreman 1.15.2.
After delete of (RedHat) manifest all other subscriptions (e.g. CentOS, Epel, Fedora, Katello) are lost.
[root@pr0mgm02 ~]# hammer subscription upload --file ./manifest.zip --organization Corp
[…] [100%]
[root@pr0mgm02 ~]# hammer subscription refresh-manifest --organization Corp
[…] [100%]
[root@pr0mgm02 ~]# hammer subscription list --organization Corp
—|----------------------------------|--------------------------------------------------------------------------------|----------|----------|---------|----------|---------------------|-----------|---------
ID
UUID
NAME
TYPE
CONTRACT
ACCOUNT
SUPPORT
END DATE
QUANTITY
CONSUMED
15
2c9b89285d7b7ea9015d83e334120369
Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)
Physical
x
x
Standard
2019/11/21 04:59:59
4
0
16
2c9b89285d7b7ea9015d83e33484036d
Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes) (L3 Only)
Physical
x
x
Premium
2021/10/18 03:59:59
4
0
17
2c9b89285d7b7ea9015d83e334e40371
Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)
Physical
x
x
Standard
2022/02/09 04:59:59
2
0
18
2c9b89285d7b7ea9015d83e3354a0375
Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes)
Physical
x
x
Premium
2021/10/24 03:59:59
4
0
19
2c9b89285d7b7ea9015d83e3d47d0381
CentOS3
Physical
2047/07/20 11:52:12
Unlimited
0
—
----------------------------------
--------------------------------------------------------------------------------
----------
----------
---------
----------
---------------------
-----------
---------
[root@pr0mgm02 ~]# hammer subscription delete-manifest --organization Corp
[…] [100%]
[root@pr0mgm02 ~]# hammer subscription list --organization Corp
—|------|------|------|----------|---------|---------|----------|----------|---------
ID
UUID
NAME
TYPE
CONTRACT
ACCOUNT
SUPPORT
END DATE
QUANTITY
CONSUMED
[root@pr0mgm02 ~]#
Is it the right behaviour, that manifest affects all subscriptions?
Thanks.
Daniel Slezak
Hey Dan,
This issue has been reported and has been fixed in candlepin. There is a
workaround here Bug #19750: Custom Subscriptions gone after remove the manifest - Katello - Foreman
-John
John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch
···
On Thu, Jul 27, 2017 at 8:13 AM, Dan Sk wrote:
Hi all, I found strange behaviour in katello 3.4 + foreman 1.15.2.
After delete of (RedHat) manifest all other subscriptions (e.g. CentOS, Epel, Fedora, Katello) are lost.
[root@pr0mgm02 ~]# hammer subscription upload --file ./manifest.zip --organization Corp
[…] [100%]
[root@pr0mgm02 ~]# hammer subscription refresh-manifest --organization Corp
[…] [100%]
[root@pr0mgm02 ~]# hammer subscription list --organization Corp
—|----------------------------------|--------------------------------------------------------------------------------|----------|----------|---------|----------|---------------------|-----------|---------
ID
UUID
NAME
TYPE
CONTRACT
ACCOUNT
SUPPORT
END DATE
QUANTITY
CONSUMED
15
2c9b89285d7b7ea9015d83e334120369
Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)
Physical
x
x
Standard
2019/11/21 04:59:59
4
0
16
2c9b89285d7b7ea9015d83e33484036d
Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes) (L3 Only)
Physical
x
x
Premium
2021/10/18 03:59:59
4
0
17
2c9b89285d7b7ea9015d83e334e40371
Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)
Physical
x
x
Standard
2022/02/09 04:59:59
2
0
18
2c9b89285d7b7ea9015d83e3354a0375
Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes)
Physical
x
x
Premium
2021/10/24 03:59:59
4
0
19
2c9b89285d7b7ea9015d83e3d47d0381
CentOS3
Physical
2047/07/20 11:52:12
Unlimited
0
—
----------------------------------
--------------------------------------------------------------------------------
----------
----------
---------
----------
---------------------
-----------
---------
[root@pr0mgm02 ~]# hammer subscription delete-manifest --organization Corp
[…] [100%]
[root@pr0mgm02 ~]# hammer subscription list --organization Corp
—|------|------|------|----------|---------|---------|----------|----------|---------
ID
UUID
NAME
TYPE
CONTRACT
ACCOUNT
SUPPORT
END DATE
QUANTITY
CONSUMED
[root@pr0mgm02 ~]#
Is it the right behaviour, that manifest affects all subscriptions?
Thanks.
Daniel Slezak
–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com .
To post to this group, send email to foreman-users@googlegroups.com .
Visit this group at https://groups.google.com/group/foreman-users .
For more options, visit https://groups.google.com/d/optout .
Dan_Sk
July 27, 2017, 2:11pm
#3
Hi John, thanks for prompt solution.
Regards,
D.S.