Closed ravening closed 2 years ago
this is the payload
2021-11-10 14:30:57,112 - DEBUG - Payload: {'vlan': u'-', 'response': 'json', 'state': 'Enabled', 'command': 'updatePhysicalNetwork', 'id': u'f887cc00-8d6f-49db-bad2-08f651a2e6bb'}
2021-11-10 14:30:57,112 - DEBUG - ========Sending GET Cmd : updatePhysicalNetwork=======
That appears to be a CloudStack issue than mbx issue. @ravening how was the env deployed, can you share your deploy command parameters and if you changed the marvin cfg file before launching?
@rhtyd I just followed the commands mentioned in the readme file.. nothing else
First I rant mbx init
and after that
mbx deploy 415-kenv mbxt-kvm-centos7 mbxt-kvm-centos7
Then I got this error
so i changed the content in marvin.cfg
under /export/monkeybox/boxes/qa1-415-kenv-437435d9-kvm
for vlan to 500-600
and it worked fine.
Now other issue I am facing is, the setup in running in a vm which doesnt have UI. So how can I access the nested cloudstack setup? The vm has ip range in 10. but the setup has 172.
Can you share your host details too @ravening, probably the logic that calculated and determines the vlan/ip range has failed. Also the output of: virsh net-list --all
mbx being a new tool is only tested on Ubuntu 20.04lts and recently CentOS7
The VLAN ip range of 10.* suggests some network/config issue
@rhtyd
# virsh net-list --all
Name State Autostart Persistent
----------------------------------------------
default active yes yes
monkeynet active yes yes
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
# mbx list
MonkeyBox šµ v0.2
Name: qa1-415-kenv-437435d9-kvm
qa1-415-kenv-437435d9-kvm-mgmt1 172.20.0.253 http://172.20.0.253:8080/client
qa1-415-kenv-437435d9-kvm-host1 172.20.0.190
qa1-415-kenv-437435d9-kvm-host2 172.20.0.100
Following mbx templates are available:
mbxt-kvm-centos7
mbxt-vmware67u3
mbxt-xcpng76
mbxt-xcpng82
mbxt-xenserver71
Any other details?
Thanks @ravening, let me get back to you soon. In the meanwhile, can you share full logs of both mbx deploy, launch cmd outputs as well as the generated marvin cfg file.
Since we're in CCC21 conference, let's grab sometime tomorrow or on Friday to test/debug it, happy to setup separate call next week too.
Oh wait, maybe I should document this: do you have bc
installed?
Oh wait, maybe I should document this: do you have
bc
installed?
@rhtyd yeah that was another issue... bc
was not installed and I installed it after the mbx deploy
. The docs need to be updated to install bc
also
Do you think that is causing the issue?
I can try deleting the current setup and start from scratch again.
Yes I think the docs need to be updated about various utilities such as ssh, scp, bc, sed, awk etc that mbx uses. If bc is installed, pl try deploying again.
@rhtyd yes that was the issue. bc
should be installed before deploying setup.
Have other issues related to setup like template not ready.. probably will create more issues later. closing this one
Ran the command
this failed with following errors