Bug 1275597
Summary: | while subscribe sku in rhevh: "IOError: [Errno 30] Read-only file system: '/var/lib/rhsm/branded_name'" | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Liushihui <shihliu> |
Component: | ovirt-node | Assignee: | Ryan Barry <rbarry> |
Status: | CLOSED ERRATA | QA Contact: | Huijuan Zhao <huzhao> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.5.0 | CC: | bgraveno, cshao, cwu, dfediuck, fdeutsch, gklein, gxing, hsun, huiwa, huzhao, leiwang, lsurette, sgao, shihliu, yaniwang, ycui, ykaul |
Target Milestone: | ovirt-3.6.1 | ||
Target Release: | 3.6.1 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ovirt-node-3.6.0-0.22.20151126git72acbb2.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-03-09 14:41:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Liushihui
2015-10-27 10:02:29 UTC
Register rhevh to satellite6.1 with active key also has the same problem. However, it hasn't this problem if register rhevh with username and password [root@hp-z220-05 ~]# subscription-manager register --org="Default_Organization" --activationkey="testkey" The system has been registered with ID: 02e0f289-3c4c-4358-bcd7-f16134bba428 [Errno 30] Read-only file system: '/var/lib/rhsm/branded_name' [root@hp-z220-05 ~]# subscription-manager register --username=admin --password=admin Registering to: intel-waimeabay-hedt-01.ml3.eng.bos.redhat.com:443/rhsm The system has been registered with ID: 02420c25-cdd3-4997-97d6-0baed19f1d10 I have to reproduce this bug on rhev-hypervisor7-7.2-20151009.0 test Version-Release number of selected component (if applicable): rhev-hypervisor7-7.2-20151009.0 subscription-manager-1.15.9-14.el7.x86_64 python-rhsm-1.15.4-5.el7.x86_64 vdsm-4.17.8-1.el7ev.noarch Steps to Reproduce: 1. Add rhev-hypervisor7-7.2-20151009.0 to rhevm-3.6.0 2. Register rhevh to satellite6.1.0(need to register via commend line) 3. In rhevh command line: #vi /etc/hosts #add Satellite_sercer_ip:Satellite_sercer_hostname in the End #wget http://ip/xx/sam-virtwho/sam_ca/katello-server-ca.pem to /etc/rhsm/ca #vi /etc/rhsm/rhsm.conf #edit: hostname=Satellite hostname, profile=/rhsm, baseurl=https://hostname/pulp/repos, repo_ca_cert=%(ca_cert_dir)skatello-server-ca.pem 4.#subscription-manager register --username=xx --password=xx 5.#subscription-manager attach --pool=8a90c20exxxxxxxxxxxxxxxxxxx103 Successfully attached a subscription for: Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes) [Errno 30] Read-only file system: '/var/lib/rhsm/branded_name' 6.Check the rhsm log:# tail -f /var/log/rhsm/rhsm.log I can reproduce this bug on rhev-hypervisor7-7.2-20151009.0. Test version: subscription-manager-1.10.14-10.el7.x86_64 python-rhsm-1.13.2-1.el7.x86_64 vdsm-4.17.13-1.el7ev.noarch RHEV-H 7.2-20151210.1.el7ev ovirt-node-3.6.0-0.24.20151209gitc0fa931.el7ev.noarch Steps to Reproduce: 1. Add rhev-hypervisor7-7.2-20151009.0 to rhevm-3.6.0 2. Register rhevh to satellite6.1.0(need to register via commend line) 3. In rhevh command line: #vi /etc/hosts #add Satellite_sercer_ip:Satellite_sercer_hostname in the End #wget http://ip/xx/sam-virtwho/sam_ca/katello-server-ca.pem to /etc/rhsm/ca #vi /etc/rhsm/rhsm.conf #edit: hostname = Satellite hostname, profix = /rhsm, baseurl = https://hostname/pulp/repos, repo_ca_cert=%(ca_cert_dir)skatello-server-ca.pem 4.#subscription-manager register --username=xx --password=xx 5.#subscription-manager attach --pool=XX Test result: After step5,output info: Successfully attached a subscription for: Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes) So the bug is fixed on ovirt-node-3.6.0-0.22.20151126git72acbb2.el7, change bug status to VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0378.html |