[
https://issues.apache.org/jira/browse/CLOUDSTACK-8993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978253#comment-14978253
]
ASF GitHub Bot commented on CLOUDSTACK-8993:
--------------------------------------------
Github user serbaut commented on the pull request:
https://github.com/apache/cloudstack/pull/981#issuecomment-151805357
Thanks. I still haven't given up on writing a test for this. Just found one
issue with running
python2.7 marvin/marvin/deployDataCenter.py -i
devcloud-kvm/devcloud-kvm-advanced.cfg
That config uses a logger config that doesn't work with marvin.
Now I can't get nose to use python2.7, even when running nosetest2.7:
[root@devcloud-kvm cloudstack]# nosetests-2.7 --with-marvin
--marvin-config=tools/devcloud-kvm/devcloud-kvm-advanced.cfg -a tags='devcloud'
==== Marvin Init Started ====
=== Marvin Parse Config Successful ===
=== Marvin Setting TestData Successful===
==== Log Folder Path: /tmp//MarvinLogs//Oct_28_2015_05_10_35_QWNYQ4.
All logs will be available here ====
=== Marvin Init Logging Successful===
==== Marvin Init Successful ====
Traceback (most recent call last):
File
"/root/cloudstack/test/integration/component/find_hosts_for_migration.py", line
21, in <module>
from nose.plugins.attrib import attr
ImportError: cannot import name attr
Traceback (most recent call last):
File
"/root/cloudstack/test/integration/component/maint/test_bugs.py", line 19, in
<module>
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
ImportError: No module named marvin.cloudstackTestCase
^C File
"/root/cloudstack/test/integration/component/maint/test_dedicate_guest_vlan_ranges.py",
line 26, in <module>
from nose.plugins.attrib import attr
Is there a better/simpler way to run the tests? Should i not use
devcloud-kvm? Should I not use advanced networking? Just trying to follow
https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm
A "make test" that just worked would have been nice :)
> DHCP fails with "no address available" when an IP is reused
> -----------------------------------------------------------
>
> Key: CLOUDSTACK-8993
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8993
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: SystemVM
> Affects Versions: 4.6.0
> Reporter: Joakim Sernbrant
>
> CsDhcp.process() appends new entries to /etc/dhcphosts.txt causing duplicates
> like:
> {code}
> 06:49:14:00:00:4d,10.7.32.107,node1,infinite
> 06:42:b0:00:00:3a,10.7.32.107,node2,infinite
> {code}
> This makes dnsmasq fail with "no address available".
> CsDhcp.process() should repopulate the file to remove old entries with the
> same IP address.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)