Thank you for your replay.
As I explained in my previous mail, I managed to overcome that problem
fixing the advanced.cfg file.
Now I'm facing a problem with the secondary storage not working that
prevents me to upload my own images. After (a lot of) digging, I
discovered that the Storage System VM is version 4.2.0, while I'm
installing Cloudstack 4.5.1. I don't know why I have this version under
my hood.
I executed the ssvm-check.sh script, this is what I get:
================================================
First DNS server is 8.8.4.4
PING 8.8.4.4 (8.8.4.4): 56 data bytes
64 bytes from 8.8.4.4: icmp_seq=0 ttl=56 time=6.479 ms
64 bytes from 8.8.4.4: icmp_seq=1 ttl=56 time=5.190 ms
--- 8.8.4.4 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 5.190/5.835/6.479/0.645 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
ERROR: NFS is not currently mounted
Try manually mounting from inside the VM
NFS server is 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes
64 bytes from 192.168.100.1: icmp_seq=0 ttl=64 time=0.475 ms
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=0.819 ms
--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.475/0.647/0.819/0.172 ms
Good: Can ping nfs server
================================================
Management server is 192.168.100.10. Checking connectivity.
Good: Can connect to management server port 8250
================================================
ERROR: Java process not running. Try restarting the SSVM.
So it's reporting two errors: NFS not mounted and java not running.
Maybe I could solve updating the whole SSVM to 4.5.1? To achieve this I
executed the command (on the management server):
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
-m /nfs/secondary -u
http://cloudstack.apt-get.eu/systemvm/4.5/systemvm64template-4.5-kvm.qcow2.bz2
-h kvm -F
but nothing happened. I destroyed the SSVM, it got rebuilded but from
the same old template (it's still 4.3).
What should I do?
Thanks,
Fabio
Il 02/07/2015 17:52, Marcus ha scritto:
I'm not a Marvin guru, but if all else fails you can set up a zone manually
via the UI, using the parameters outlined in the advanced cfg.
On Thu, Jul 2, 2015 at 2:55 AM, Sebastien Goasguen <[email protected]> wrote:
Marcus in cc wrote devcloud-kvm a while back,
he might be able to help.
On Jul 2, 2015, at 11:40 AM, Fabio Da Soghe
<[email protected]> wrote:
Hello everybody.
I'm experimenting with devcloud-kvm following instruction in
https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm on
Ubuntu 14.04.
I get stuck on the very last step, the command: "python
marvin/marvin/deployDataCenter.py -i
devcloud-kvm/devcloud-kvm-advanced.cfg" (the wiki page here is a little
messy, there are some typos that could be corrected).
I got this error:
Exception Occurred Under createLogs :['Traceback (most recent call
last):', ' File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/marvinLog.py",
line 157, in createLogs (\'LogFolderPath\' in log_cfg.__dict__.keys())
and', "AttributeError: 'list' object has no attribute '__dict__'\n"]
I found an old discussion on this mailing list about this same error
(here: http://markmail.org/thread/n673ecf2eztn3nqo ). Riassuming: there
was an error in tools/devcloud/devcloud-advanced.cfg about defining the
logger element (it should be an object and not a list). This was corrected
in the codebase (commit here:
https://github.com/apache/cloudstack/commit/7cf33f96aa113a389d8e75f64dca810f9f032065)
BUT not for the devcloud-kvm, where the logger is still defined as a list.
I corrected the file tools/devcloud-kvm/devcloud-kvm-advanced.cfg as in
tools/devcloud/devcloud-advanced.cfg, gave again the last python command,
and now I get:
==== Log Folder Path:
/tmp//MarvinLogs//DeployDataCenter__Jul_02_2015_03_25_08_FQ3N8R. All logs
will be available here ====
=== TestClient Creation Failed===
Now I'm really stuck. Does anybody have any hint for me, please?
Thank you in advance,
Fabio Da Soghe
--
Fabio Da Soghe
Amministratore Delegato, Cognitio s.r.l.
c/o Toolbox, via Padre Agostino da Montefeltro 2, 10134 Torino
Phone: 011.31.57.436 Mobile: 338.91.85.280
Email: [email protected] Web: http://www.cognitio.it