rancheros-install cannot work

175 views
Skip to first unread message

Henry Huang

unread,
Mar 16, 2015, 1:46:07 AM3/16/15
to ranc...@googlegroups.com
Hi, All

I have met one problem when taking "rancheros-install" to my disk volume.
Error Message:

+ docker start udev
Error response from daemon: No such container: udev
FATA[0000] Error: failed to start one or more containers 

Could you please help me on this problem?

__Full trace__

[root@localhost ~]# ./rancheros-install -d /dev/sdb -c ./cloud_data.yml -v v0.1.2 -t generic 
+ set -e
+ PARTITION_FLAG=false
+ INSTALLER_VERSION=latest
+ EXTRA_ARGS=
+ getopts c:d:ft:v:h OPTION
+ case $OPTION in
+ DEVICE=/dev/sdb
+ getopts c:d:ft:v:h OPTION
+ case $OPTION in
+ CLOUD_CONFIG=./cloud_data.yml
+ getopts c:d:ft:v:h OPTION
+ case $OPTION in
+ INSTALLER_VERSION=v0.1.2
+ getopts c:d:ft:v:h OPTION
+ case $OPTION in
+ INSTALL_TYPE=generic
+ getopts c:d:ft:v:h OPTION
++ whoami
+ '[' root '!=' root ']'
+ [[ -z generic ]]
+ '[' -z ./cloud_data.yml ']'
+ '[' generic == generic ']'
+ PARTITION_FLAG=true
+ [[ ! -z ./cloud_data.yml ]]
+ cp ./cloud_data.yml /opt/user_config.yml
+ EXTRA_ARGS='-c /opt/user_config.yml'
+ '[' '' '!=' true ']'
+ '[' generic '!=' rancher-upgrade ']'
+ echo 'All data will be wiped from this device'
All data will be wiped from this device
+ printf 'Partition: true\nDEVICE: /dev/sdb\n'
Partition: true
DEVICE: /dev/sdb
+ read -p 'Are you sure you want to continue? [yN]' -n 1 -r confirmation
Are you sure you want to continue? [yN]y+ '[' y '!=' y ']'
+ '[' true == true ']'
+ docker run --net=host -it --privileged --entrypoint=/scripts/set-disk-partitions rancher/os-installer:v0.1.2 /dev/sdb


+ DEVICE=/dev/sdb
+ [[ -z /dev/sdb ]]
++ wc -l
+++ cut -d / -f3
+++ echo /dev/sdb
++ grep sdb /proc/partitions
+ PARTITION_COUNT=1
+ '[' 1 -gt 1 ']'
+ fdisk /dev/sdb

Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x5b287ded.

Command (m for help): Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-104857599, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-104857599, default 104857599): 
Created a new partition 1 of type 'Linux' and of size 50 GiB.

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

+ docker start udev
Error response from daemon: No such container: udev
FATA[0000] Error: failed to start one or more containers 

Thanks
Henry

Denise Schannon

unread,
Jul 6, 2015, 7:57:32 PM7/6/15
to ranc...@googlegroups.com, henry....@gmail.com
Hi Henry, 

Sorry for the late response. With v0.3.3, rancheros-install should be working with no issues.

Please feel free to try again. If you have any issues, please open an issue in either Github (https://github.com/rancherio/os/issues) or start a topic in forums.rancher.com

Thanks,
Denise
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages