Bug 1439816 - lots of container-storage-setup command not found errors
Summary: lots of container-storage-setup command not found errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: container-storage-setup
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lokesh Mandvekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-06 14:58 UTC by Dusty Mabe
Modified: 2017-04-07 21:25 UTC (History)
5 users (show)

Fixed In Version: container-storage-setup-0.2.0-2.fc26
Clone Of:
Environment:
Last Closed: 2017-04-07 21:25:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dusty Mabe 2017-04-06 14:58:43 UTC
Description of problem:

Carrying this from https://bugzilla.redhat.com/show_bug.cgi?id=1436777#c5

We finally got the config generated by docker rpm fixed for atomic host:

```
[root@cloudhost ~]# cat /etc/sysconfig/docker-storage-setup 
# Edit this file to override any configuration options specified in
# /usr/share/container-storage-setup/container-storage-setup.
#
# For more details refer to "man container-storage-setup"
STORAGE_DRIVER=overlay2
CONTAINER_ROOT_LV_NAME=docker-root-lv
CONTAINER_ROOT_LV_MOUNT_PATH=/var/lib/docker
GROWPART=true
```

but the docker-storage-setup service barfs:

```
[root@cloudhost ~]# journalctl -u docker-storage-setup.service -o cat
Starting Docker Storage Setup...
CHANGED: partition=2 start=616448 old: size=20355072 end=20971520 new: size=41326592,end=41943040
  Physical volume "/dev/sda2" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized
/usr/bin/container-storage-setup: line 972: Fatal: command not found
/usr/bin/container-storage-setup: line 974: check_data_size_syntax: command not found
/usr/bin/container-storage-setup: line 975: Fatal: command not found
  Invalid argument for --size: docker-root-lv
  Error during parsing of command line.
/usr/bin/container-storage-setup: line 941: Fatal: command not found
Error accessing specified device /dev/atomicos/docker-root-lv: No such file or directory
Usage: mkfs.xfs
/* blocksize */         [-b log=n|size=num]
/* metadata */          [-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1]
/* data subvol */       [-d agcount=n,agsize=n,file,name=xxx,size=num,
                            (sunit=value,swidth=value|su=num,sw=num|noalign),
                            sectlog=n|sectsize=num
/* force overwrite */   [-f]
/* inode size */        [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
                            projid32bit=0|1,sparse=0|1]
/* no discard */        [-K]
/* log subvol */        [-l agnum=n,internal,size=num,logdev=xxx,version=n
                            sunit=value|su=num,sectlog=n|sectsize=num,
                            lazy-count=0|1]
/* label */             [-L label (maximum 12 characters)]
/* naming */            [-n log=n|size=num,version=2|ci,ftype=0|1]
/* no-op info only */   [-N]
/* prototype file */    [-p fname]
/* quiet */             [-q]
/* realtime subvol */   [-r extsize=num,size=num,rtdev=xxx]
/* sectorsize */        [-s log=n|size=num]
/* version */           [-V]
                        devicename
<devicename> is required unless -d name=xxx is given.
<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
      xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
<value> is xxx (512 byte blocks).
/usr/bin/container-storage-setup: line 945: Fatal: command not found
mount: special device /dev/atomicos/docker-root-lv does not exist
/usr/bin/container-storage-setup: line 949: Fatal: command not found
Started Docker Storage Setup.
```

VERSIONS:
```
[root@cloudhost ~]# rpm -q docker container-storage-setup 
docker-1.13.1-6.git5be1549.fc26.x86_64
container-storage-setup-0.1.0-2.fc26.noarch
```

Steps to Reproduce:
Boot https://dustymabe.fedorapeople.org/8f93026a-b6b2-48bf-a578-1521d5adc806.body.qcow2

Comment 1 Fedora Update System 2017-04-06 15:30:43 UTC
container-storage-setup-0.2.0-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b445dbe5e7

Comment 2 Fedora Update System 2017-04-07 21:25:34 UTC
container-storage-setup-0.2.0-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


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