Created
July 16, 2015 16:58
-
-
Save rsmitty/64a448a0595bcb790ed9 to your computer and use it in GitHub Desktop.
rancheros-install error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[rancher@rancher ~]$ sudo rancheros-install -c cloud-config.yml -d /dev/sda | |
No install type specified...defaulting to generic | |
All data will be wiped from this device | |
Partition: true | |
DEVICE: /dev/sda | |
Are you sure you want to continue? [yN]y+ DEVICE=/dev/sda | |
+ [[ -z /dev/sda ]] | |
++ wc -l | |
+++ cut -d / -f3 | |
+++ echo /dev/sda | |
++ grep sda /proc/partitions | |
+ PARTITION_COUNT=1 | |
+ '[' 1 -gt 1 ']' | |
+ fdisk /dev/sda | |
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. | |
Command (m for help): Partition type | |
p primary (1 primary, 0 extended, 3 free) | |
e extended (container for logical partitions) | |
Select (default p): Partition number (2-4, default 2): Value out of range. | |
Partition number (2-4, default 2): | |
No free sectors available. | |
Command (m for help): | |
Command (m for help): Re-reading the partition table failed.: Success | |
The partition table has been altered. | |
Calling ioctl() to re-read partition table. | |
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8). | |
Syncing disks. | |
udev | |
+ getopts i:f:c:d:t:r:o:p: OPTION | |
+ case $OPTION in | |
+ DEVICE=/dev/sda | |
+ getopts i:f:c:d:t:r:o:p: OPTION | |
+ case $OPTION in | |
+ ENV=generic | |
+ getopts i:f:c:d:t:r:o:p: OPTION | |
+ case $OPTION in | |
+ CLOUD_CONFIG=/opt/user_config.yml | |
+ getopts i:f:c:d:t:r:o:p: OPTION | |
+ DIST=/dist | |
+ BASE_DIR=/mnt/new_img | |
+ PARTITION=/dev/sda1 | |
+ KERNEL_ARGS= | |
+ '[' -n generic ']' | |
+ case ${ENV} in | |
+ format_and_mount | |
+ format_device | |
+ device_defined /dev/sda | |
+ [[ -z /dev/sda ]] | |
+ mkfs.ext4 -F -i 4096 -L RANCHER_STATE /dev/sda1 | |
mke2fs 1.42.12 (29-Aug-2014) | |
The file /dev/sda1 does not exist and no size was specified. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DID YOU EVER FIGURE THIS OUT?