RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1500961 - unable to install system container when /var is used as a mount point
Summary: unable to install system container when /var is used as a mount point
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: atomic
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Brent Baude
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-11 20:55 UTC by Micah Abbott
Modified: 2017-10-26 16:30 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-26 16:30:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:3076 0 normal SHIPPED_LIVE atomic bug fix update 2017-10-26 20:30:42 UTC

Description Micah Abbott 2017-10-11 20:55:49 UTC
In RHELAH 7.4.2, we have the ability to specify /var as a discrete mount point when installing.

In this configuration, I've found that installing a system container blows up like so:

# atomic --debug install --system registry.access.redhat.com/rhel7/etcd
Namespace(_class=<class 'Atomic.install.Install'>, args=[], assumeyes=False, debug=True, display=False, func='install', ignore=False, image='registry.access.redhat.com/rhel7/etcd', name=None, opt1=None, opt2=None, opt3=None, profile=False, remote=None, setvalues=None, storage=None, system=True, system_package='auto', user=False)
Extracting to /var/lib/containers/atomic/etcd.0
Warning: /exports directory not found.  Default config files will be generated.
Warning: You may want to modify `/sysroot/ostree/deploy/rhel-atomic-host/var/lib/containers/atomic/etcd.0/config.json` before starting the service
[Errno 2] No such file or directory
Traceback (most recent call last):
  File "/bin/atomic", line 185, in <module>
    sys.exit(_func())
  File "/usr/lib/python2.7/site-packages/Atomic/install.py", line 132, in install
    return be.install(self.image, self.name)
  File "/usr/lib/python2.7/site-packages/Atomic/backends/_ostree.py", line 128, in install
    return self.syscontainers.install(image, name)
  File "/usr/lib/python2.7/site-packages/Atomic/syscontainers.py", line 270, in install
    return_value = self._install(image, name)
  File "/usr/lib/python2.7/site-packages/Atomic/syscontainers.py", line 412, in _install
    self._checkout(repo, name, image, 0, False, values=values, remote=self.args.remote, system_package=self.args.system_package)
  File "/usr/lib/python2.7/site-packages/Atomic/syscontainers.py", line 551, in _checkout
    raise e
OSError: [Errno 2] No such file or directory



# rpm-ostree status             
State: idle                                         
Deployments:                                                                                             
● rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard
                   Version: 7.4.2 (2017-10-04 02:35:38)
                    Commit: 408c3cc96af3444733fc00068bcf0c43aa6c640156b089ed3e596cb7d68a5b01
              GPGSignature: Valid signature by 567E347AD0044ADE55BA8A5F199E2F91FD431D51

# rpm -q atomic ostree skopeo   
atomic-1.19.1-3.gitb39a783.el7.x86_64               
ostree-2017.11-1.el7.x86_64                         
skopeo-0.1.23-1.git1bbd87f.el7.x86_64

Comment 2 Giuseppe Scrivano 2017-10-11 21:52:30 UTC
PR (still work in progress):

https://github.com/projectatomic/atomic/pull/1115

Comment 3 Giuseppe Scrivano 2017-10-11 21:56:18 UTC
Nevermind the last comment, the bug is being addressed in: https://github.com/projectatomic/atomic/pull/1114

Comment 6 Giuseppe Scrivano 2017-10-12 17:56:21 UTC
I could reproduce the issue locally and I confirm that https://github.com/projectatomic/atomic/pull/1114 solves the issue for me.

Comment 7 Micah Abbott 2017-10-13 18:08:43 UTC
This is fixed in atomic-1.19.1-5.git48c224b.el7.x86_64

Comment 10 Alex Jia 2017-10-24 00:33:22 UTC
This bug has been verified in atomic-1.19.1-5.git48c224b.el7.x86_64.

Comment 12 errata-xmlrpc 2017-10-26 16:30:55 UTC
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://access.redhat.com/errata/RHBA-2017:3076


Note You need to log in before you can comment on or make changes to this bug.