[Starlingx-discuss] Deploy AIO-SX
Dear StarlingXer, I am attempts to setup a quicklab using "pybox" from this link https://opendev.org/starlingx/tools/src/branch/master/deployment/virtualbox/... , but I have got an error message: "Error stdout: b'0%...\nProgress state: VBOX_E_IPRT_ERROR\nVBoxManage: error: Failed to create medium\nVBoxManage: error: Could not create the directory \'/home/sharkyjobbo/vbox_disks\' (VERR_NOT_SUPPORTED)\nVBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component VirtualBoxWrap, interface IVirtualBox\nVBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg *)" at line 510 of file VBoxManageDisk.cpp\n' stderr: None" I am using VirtualBox 6.1.12 r139181 (Qt5.6.3). Please guide me how to fixed this issue. (base) AGC-FVFY80CTHV2H:pybox sharkyjobbo$ ./install_vbox.py --setup-type AIO-SX --iso-location "/Users/sharkyjobbo/Workspace/StarlingX/tools/deployment/virtualbox/bootimage.iso" --labname stx-lab --install-mode serial --config-files-dir /Users/sharkyjobbo/Workspace/StarlingX/tools/deployment/virtualbox/pybox/configs/aio-sx/ --config-controller-ini /Users/sharkyjobbo/Workspace/StarlingX/tools/deployment/virtualbox/pybox/configs/aio-sx/stx_config.ini_centos --vboxnet-name vboxnet0 --controller0-ip 10.10.10.8 --ini-oam-cidr ' 10.10.10.0/24' 2020-07-22 22:48:43,899: Logging to directory: /Users/sharkyjobbo/vbox_installer_logs/stx-lab/2020_7_22_22_48_43/ 2020-07-22 22:48:43,900: Install manages: 1 controllers, 0 workers, 0 storages. 2020-07-22 22:48:43,900: Executing 7 stage(s): ['create-lab', 'install-controller-0', 'config-controller', 'rsync-config', 'lab-setup1', 'unlock-controller-0', 'lab-setup2']. 2020-07-22 22:48:43,900: ######## (1/7) Entering stage create-lab ######## 2020-07-22 22:48:44,051: #### We will create the following nodes: ['stx-lab-controller-0'] 2020-07-22 22:48:44,052: #### Creating node: stx-lab-controller-0 2020-07-22 22:48:44,052: Creating VM stx-lab-controller-0 2020-07-22 22:48:44,162: Creating sata storage controller on VM stx-lab-controller-0 2020-07-22 22:48:44,278: ['vboxmanage', 'modifyvm', 'stx-lab-controller-0', '--cpus', '8', '--memory', '20000', '--nicbootprio2', '1', '--boot4', 'net'] 2020-07-22 22:48:44,278: Updating VM stx-lab-controller-0 configuration 2020-07-22 22:48:44,411: Creating disk /home/sharkyjobbo/vbox_disks/stx-lab-controller-0_disk_1 of size 240000 on VM stx-lab-controller-0 on device 0 port 0 2020-07-22 22:48:44,584: Error stdout: b'0%...\nProgress state: VBOX_E_IPRT_ERROR\nVBoxManage: error: Failed to create medium\nVBoxManage: error: Could not create the directory \'/home/sharkyjobbo/vbox_disks\' (VERR_NOT_SUPPORTED)\nVBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component VirtualBoxWrap, interface IVirtualBox\nVBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg *)" at line 510 of file VBoxManageDisk.cpp\n' stderr: None 2020-07-22 22:48:44,585: INSTALL FAILED, ABORTING! 2020-07-22 22:48:44,585: ===================== Metrics ==================== 2020-07-22 22:48:44,585: Time in stage 'create-lab': 0.68s 2020-07-22 22:48:44,585: Total time: 0.70s 2020-07-22 22:48:44,585: ================================================== 2020-07-22 22:48:44,585: Exception details: Command '['vboxmanage', 'createmedium', 'disk', '--size', '240000', '--filename', '/home/sharkyjobbo/vbox_disks/stx-lab-controller-0_disk_1', '--format', 'vdi', '--variant', 'standard']' returned non-zero exit status 1. Traceback (most recent call last): File "./install_vbox.py", line 1584, in <module> STAGE_CALLBACKS[stage][CALLBACK]() File "./install_vbox.py", line 715, in stage_create_lab create_lab(vboxoptions) File "./install_vbox.py", line 307, in create_lab vbox_home_dir=vboxoptions.vbox_home_dir) File "/Users/sharkyjobbo/Workspace/StarlingX/tools/deployment/virtualbox/pybox/helper/vboxmanage.py", line 403, in vboxmanage_createmedium stderr=subprocess.STDOUT) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/subprocess.py", line 395, in check_output **kwargs).stdout File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/subprocess.py", line 487, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['vboxmanage', 'createmedium', 'disk', '--size', '240000', '--filename', '/home/sharkyjobbo/vbox_disks/stx-lab-controller-0_disk_1', '--format', 'vdi', '--variant', 'standard']' returned non-zero exit status 1. (base) AGC-FVFY80CTHV2H:pybox sharkyjobbo$ Best Regards, Sharkrit Impat (Job)
participants (1)
-
Sharkrit Impat