|
|
d88f46 |
diff --git a/rel-eng/packages/subscription-manager b/rel-eng/packages/subscription-manager
|
|
|
d88f46 |
index b7ea50a..3d3b701 100644
|
|
|
d88f46 |
--- a/rel-eng/packages/subscription-manager
|
|
|
d88f46 |
+++ b/rel-eng/packages/subscription-manager
|
|
|
d88f46 |
@@ -1 +1 @@
|
|
|
d88f46 |
-1.15.9-4 ./
|
|
|
d88f46 |
+1.15.9-5 ./
|
|
|
d88f46 |
diff --git a/src/subscription_manager/entcertlib.py b/src/subscription_manager/entcertlib.py
|
|
|
d88f46 |
index 48b37fc..6ecf74c 100644
|
|
|
d88f46 |
--- a/src/subscription_manager/entcertlib.py
|
|
|
d88f46 |
+++ b/src/subscription_manager/entcertlib.py
|
|
|
d88f46 |
@@ -273,6 +273,10 @@ class EntCertUpdateAction(object):
|
|
|
d88f46 |
rogue_count) % rogue_count
|
|
|
d88f46 |
self.ent_dir.refresh()
|
|
|
d88f46 |
|
|
|
d88f46 |
+ def delete_by_serial(self, serial):
|
|
|
d88f46 |
+ for ent in self.entitlement_dir.list():
|
|
|
d88f46 |
+ if str(ent.serial == selection['serial']):
|
|
|
d88f46 |
+ ent.delete()
|
|
|
d88f46 |
|
|
|
d88f46 |
class EntitlementCertBundlesInstaller(object):
|
|
|
d88f46 |
"""Install a list of entitlement cert bundles.
|
|
|
d88f46 |
diff --git a/src/subscription_manager/gui/data/ui/allsubs.ui b/src/subscription_manager/gui/data/ui/allsubs.ui
|
|
|
d88f46 |
index b2b0a68..f1b60bb 100644
|
|
|
d88f46 |
--- a/src/subscription_manager/gui/data/ui/allsubs.ui
|
|
|
d88f46 |
+++ b/src/subscription_manager/gui/data/ui/allsubs.ui
|
|
|
d88f46 |
@@ -27,9 +27,9 @@
|
|
|
d88f46 |
<object class="GtkLabel" id="label1">
|
|
|
d88f46 |
<property name="visible">True</property>
|
|
|
d88f46 |
<property name="can_focus">False</property>
|
|
|
d88f46 |
- <property name="xalign">0</property>
|
|
|
d88f46 |
<property name="label" translatable="yes"><b>Show subscriptions active on:</b></property>
|
|
|
d88f46 |
<property name="use_markup">True</property>
|
|
|
d88f46 |
+ <property name="xalign">0</property>
|
|
|
d88f46 |
</object>
|
|
|
d88f46 |
<packing>
|
|
|
d88f46 |
<property name="expand">False</property>
|
|
|
d88f46 |
@@ -74,8 +74,8 @@
|
|
|
d88f46 |
<object class="GtkLabel" id="applied_filters_label">
|
|
|
d88f46 |
<property name="visible">True</property>
|
|
|
d88f46 |
<property name="can_focus">False</property>
|
|
|
d88f46 |
- <property name="xalign">1</property>
|
|
|
d88f46 |
<property name="label" translatable="yes">label</property>
|
|
|
d88f46 |
+ <property name="xalign">1</property>
|
|
|
d88f46 |
</object>
|
|
|
d88f46 |
<packing>
|
|
|
d88f46 |
<property name="expand">True</property>
|
|
|
d88f46 |
@@ -120,21 +120,22 @@
|
|
|
d88f46 |
<object class="GtkLabel" id="edit_quantity_label">
|
|
|
d88f46 |
<property name="visible">True</property>
|
|
|
d88f46 |
<property name="can_focus">False</property>
|
|
|
d88f46 |
- <property name="xalign">0.99000000953674316</property>
|
|
|
d88f46 |
- <property name="yalign">1</property>
|
|
|
d88f46 |
<property name="label" translatable="yes">* Click to Adjust Quantity</property>
|
|
|
d88f46 |
<property name="use_markup">True</property>
|
|
|
d88f46 |
+ <property name="xalign">0.99000000953674316</property>
|
|
|
d88f46 |
+ <property name="yalign">1</property>
|
|
|
d88f46 |
</object>
|
|
|
d88f46 |
<packing>
|
|
|
d88f46 |
- <property name="expand">True</property>
|
|
|
d88f46 |
- <property name="fill">True</property>
|
|
|
d88f46 |
+ <property name="expand">False</property>
|
|
|
d88f46 |
+ <property name="fill">False</property>
|
|
|
d88f46 |
+ <property name="pack_type">end</property>
|
|
|
d88f46 |
<property name="position">0</property>
|
|
|
d88f46 |
</packing>
|
|
|
d88f46 |
</child>
|
|
|
d88f46 |
</object>
|
|
|
d88f46 |
<packing>
|
|
|
d88f46 |
- <property name="expand">True</property>
|
|
|
d88f46 |
- <property name="fill">True</property>
|
|
|
d88f46 |
+ <property name="expand">False</property>
|
|
|
d88f46 |
+ <property name="fill">False</property>
|
|
|
d88f46 |
<property name="position">2</property>
|
|
|
d88f46 |
</packing>
|
|
|
d88f46 |
</child>
|
|
|
d88f46 |
@@ -146,9 +147,6 @@
|
|
|
d88f46 |
</packing>
|
|
|
d88f46 |
</child>
|
|
|
d88f46 |
<child>
|
|
|
d88f46 |
- <placeholder/>
|
|
|
d88f46 |
- </child>
|
|
|
d88f46 |
- <child>
|
|
|
d88f46 |
<object class="GtkPaned" id="subs_vpane">
|
|
|
d88f46 |
<property name="visible">True</property>
|
|
|
d88f46 |
<property name="can_focus">True</property>
|
|
|
d88f46 |
@@ -186,7 +184,7 @@
|
|
|
d88f46 |
<packing>
|
|
|
d88f46 |
<property name="expand">True</property>
|
|
|
d88f46 |
<property name="fill">True</property>
|
|
|
d88f46 |
- <property name="position">2</property>
|
|
|
d88f46 |
+ <property name="position">1</property>
|
|
|
d88f46 |
</packing>
|
|
|
d88f46 |
</child>
|
|
|
d88f46 |
<child>
|
|
|
d88f46 |
@@ -230,12 +228,9 @@
|
|
|
d88f46 |
<packing>
|
|
|
d88f46 |
<property name="expand">False</property>
|
|
|
d88f46 |
<property name="fill">False</property>
|
|
|
d88f46 |
- <property name="position">3</property>
|
|
|
d88f46 |
+ <property name="position">2</property>
|
|
|
d88f46 |
</packing>
|
|
|
d88f46 |
</child>
|
|
|
d88f46 |
- <child>
|
|
|
d88f46 |
- <placeholder/>
|
|
|
d88f46 |
- </child>
|
|
|
d88f46 |
</object>
|
|
|
d88f46 |
</child>
|
|
|
d88f46 |
</object>
|
|
|
d88f46 |
diff --git a/src/subscription_manager/gui/managergui.py b/src/subscription_manager/gui/managergui.py
|
|
|
d88f46 |
index 67e9b36..2aae80e 100644
|
|
|
d88f46 |
--- a/src/subscription_manager/gui/managergui.py
|
|
|
d88f46 |
+++ b/src/subscription_manager/gui/managergui.py
|
|
|
d88f46 |
@@ -268,6 +268,7 @@ class MainWindow(widgets.SubmanBaseWidget):
|
|
|
d88f46 |
|
|
|
d88f46 |
def _on_cert_check_timer(self):
|
|
|
d88f46 |
self.backend.on_cert_check_timer()
|
|
|
d88f46 |
+ return True
|
|
|
d88f46 |
|
|
|
d88f46 |
def _on_sla_back_button_press(self):
|
|
|
d88f46 |
self._perform_unregister()
|
|
|
d88f46 |
diff --git a/src/subscription_manager/gui/mysubstab.py b/src/subscription_manager/gui/mysubstab.py
|
|
|
d88f46 |
index adc471c..bdc2622 100644
|
|
|
d88f46 |
--- a/src/subscription_manager/gui/mysubstab.py
|
|
|
d88f46 |
+++ b/src/subscription_manager/gui/mysubstab.py
|
|
|
d88f46 |
@@ -150,7 +150,7 @@ class MySubscriptionsTab(widgets.SubscriptionManagerTab):
|
|
|
d88f46 |
self.async_bind.unbind(serial, selection, self._unsubscribe_callback, self._handle_unbind_exception)
|
|
|
d88f46 |
else:
|
|
|
d88f46 |
# unregistered, just delete the certs directly
|
|
|
d88f46 |
- self.backend.entcertlib.delete([serial])
|
|
|
d88f46 |
+ self.backend.entcertlib.delete_by_serial(serial)
|
|
|
d88f46 |
self.backend.cs.force_cert_check()
|
|
|
d88f46 |
|
|
|
d88f46 |
def unsubscribe_button_clicked(self, widget):
|
|
|
d88f46 |
diff --git a/src/subscription_manager/managercli.py b/src/subscription_manager/managercli.py
|
|
|
d88f46 |
index 706a353..ba1c4d9 100644
|
|
|
d88f46 |
--- a/src/subscription_manager/managercli.py
|
|
|
d88f46 |
+++ b/src/subscription_manager/managercli.py
|
|
|
d88f46 |
@@ -1118,8 +1118,11 @@ class RegisterCommand(UserPassCommand):
|
|
|
d88f46 |
if 'serviceLevel' not in consumer and self.options.service_level:
|
|
|
d88f46 |
system_exit(os.EX_UNAVAILABLE, _("Error: The --servicelevel option is not supported "
|
|
|
d88f46 |
"by the server. Did not complete your request."))
|
|
|
d88f46 |
- autosubscribe(self.cp, consumer['uuid'],
|
|
|
d88f46 |
- service_level=self.options.service_level)
|
|
|
d88f46 |
+ try:
|
|
|
d88f46 |
+ autosubscribe(self.cp, consumer['uuid'],
|
|
|
d88f46 |
+ service_level=self.options.service_level)
|
|
|
d88f46 |
+ except connection.RestlibException, re:
|
|
|
d88f46 |
+ print(re.msg)
|
|
|
d88f46 |
|
|
|
d88f46 |
if (self.options.consumerid or self.options.activation_keys or self.autoattach):
|
|
|
d88f46 |
log.info("System registered, updating entitlements if needed")
|
|
|
d88f46 |
diff --git a/subscription-manager.spec b/subscription-manager.spec
|
|
|
d88f46 |
index c762947..c45672a 100644
|
|
|
d88f46 |
--- a/subscription-manager.spec
|
|
|
d88f46 |
+++ b/subscription-manager.spec
|
|
|
d88f46 |
@@ -49,7 +49,7 @@
|
|
|
d88f46 |
|
|
|
d88f46 |
Name: subscription-manager
|
|
|
d88f46 |
Version: 1.15.9
|
|
|
d88f46 |
-Release: 4%{?dist}
|
|
|
d88f46 |
+Release: 5%{?dist}
|
|
|
d88f46 |
Summary: Tools and libraries for subscription and repository management
|
|
|
d88f46 |
Group: System Environment/Base
|
|
|
d88f46 |
License: GPLv2
|
|
|
d88f46 |
@@ -123,6 +123,8 @@ platform.
|
|
|
d88f46 |
Summary: A plugin for handling OSTree content.
|
|
|
d88f46 |
Group: System Environment/Base
|
|
|
d88f46 |
|
|
|
d88f46 |
+# ostree package also includes the gobject info for pygobject
|
|
|
d88f46 |
+Requires: ostree
|
|
|
d88f46 |
Requires: pygobject3-base
|
|
|
d88f46 |
# plugin needs a slightly newer version of python-iniparse for 'tidy'
|
|
|
d88f46 |
Requires: python-iniparse >= 0.4
|
|
|
d88f46 |
@@ -542,6 +544,15 @@ fi
|
|
|
d88f46 |
%endif
|
|
|
d88f46 |
|
|
|
d88f46 |
%changelog
|
|
|
d88f46 |
+* Wed Aug 12 2015 Chris Rog <crog@redhat.com> 1.15.9-5
|
|
|
d88f46 |
+- 1141128: Imported certificate in detatched scenario not getting deleted
|
|
|
d88f46 |
+ (wpoteat@redhat.com)
|
|
|
d88f46 |
+- 1221273: Auto-attach failure should not short-circuit other parts of
|
|
|
d88f46 |
+ registration (wpoteat@redhat.com)
|
|
|
d88f46 |
+- 1185958: Make ostree plugin depend on ostree. (alikins@redhat.com)
|
|
|
d88f46 |
+- 1240553: Fix detection of cert dir changes (alikins@redhat.com)
|
|
|
d88f46 |
+- Fixing All Subscriptions layout issues (mstead@redhat.com)
|
|
|
d88f46 |
+
|
|
|
d88f46 |
* Thu Aug 06 2015 Chris Rog <crog@redhat.com> 1.15.9-4
|
|
|
d88f46 |
- Fix spec file build errors (alikins@redhat.com)
|
|
|
d88f46 |
- Require initial-setup >= 0.3.9.24, no fb on el7 (alikins@redhat.com)
|