These are chat archives for allegro/ralph

13th
Oct 2017
godet71
@godet71
Oct 13 2017 02:49
@tretos53 @vi4m Thank you, so much.
Gregory Shulov
@GR360RY
Oct 13 2017 10:00
/@all Quick question on the API subject: Is it possible to limit number of fields outputted by API ?
I have an Ansible dynamic inventory script that lists all data-center-assets. It takes considerable amount of time to run for a 400 assets. I was hoping to reduce execution time by somehow reducing database queries, as most of the information in the query is irrelevant ( I need only 3 fields )
Probably something like this can help: https://github.com/wimglenn/djangorestframework-queryfields
Adam
@tretos53
Oct 13 2017 11:07
Feature request: Add Location/address field to Data Centre
Feature Discussion? Add a way to add interconnections between Racks. For example rack A to rack B, 12 ports cat 5. This could be visualised on a DC Visualisation map. Could also add a purpose for each connection.
ostrochovsky
@ostrochovsky
Oct 13 2017 11:15
@vi4m , thanks for tip, I am just trying to fulfill precondition:
git clone https://github.com/allegro/ralph; cd ralph/vagrant; vagrant up

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/xenial64'...
Progress: 90%There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "/home/jan.ostrochovsky/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-xenial64/20171011.0.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "ubuntu-xenial-16.04-cloudimg-20171011_1507893060862_30929", "--vsys", "0", "--unit", "10", "--disk", "/home/jan.ostrochovsky/VirtualBox VMs/ubuntu-xenial-16.04-cloudimg-20171011_1507893060862_30929/ubuntu-xenial-16.04-cloudimg.vmdk", "--vsys", "0", "--unit", "11", "--disk", "/home/jan.ostrochovsky/VirtualBox VMs/ubuntu-xenial-16.04-cloudimg-20171011_1507893060862_30929/ubuntu-xenial-16.04-cloudimg-configdrive.vmdk"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/jan.ostrochovsky/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-xenial64/20171011.0.0/virtualbox/box.ovf...
OK.
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Appliance import failed
VBoxManage: error: Could not create the imported medium '/home/jan.ostrochovsky/VirtualBox VMs/ubuntu-xenial-16.04-cloudimg-20171011_1507893060862_30929/ubuntu-xenial-16.04-cloudimg.vmdk'.
VBoxManage: error: VMDK: cannot write allocated data block in '/home/jan.ostrochovsky/VirtualBox VMs/ubuntu-xenial-16.04-cloudimg-20171011_1507893060862_30929/ubuntu-xenial-16.04-cloudimg.vmdk' (VERR_DISK_FULL)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 886 of file VBoxManageAppliance.cpp

underlying platform is CentOS 7 VM in VMware ESXi... do you have some more ideas? (this was under unprivileged user, I tried also under root, but there were another problems then)
✪ vi4m Marcin Kliks
@vi4m
Oct 13 2017 11:47
VERR_DISK_FULL
@ostrochovsky disk full?