help
by yangj
thanks for someone answer my question,but i set the pool like you did
,but it doesn't work ,when i test this case
/root/lnst/recipes/regression_tests/phase1/3_vlans.xml
slave1.html
<slavemachine>
<params>
<param name="hostname" value="192.168.102.49"/>
</params>
<interfaces>
<eth label="A" id="1">
<params>
<param name="hwaddr" value="52:54:00:7e:88:d6"/>
</params>
</eth>
</interfaces>
</slavemachine>
slave2.html
<slavemachine>
<params>
<param name="hostname" value="192.168.102.50"/>
</params>
<interfaces>
<eth label="A" id="1">
<params>
<param name="hwaddr" value="52:54:00:45:c6:ea"/>
</params>
</eth>
</interfaces>
</slavemachine>
it will get following error:
2019-01-17 03:45:14 (localhost) - INFO: Matching
machines, without virtuals.
2019-01-17 03:45:14 (localhost) - INFO: Trying match
with pool: pool
2019-01-17 03:45:14 (localhost) - INFO: Match with pool
pool not found.
2019-01-17 03:45:14 (localhost) - INFO: Trying match
with pool: poola
2019-01-17 03:45:14 (localhost) - INFO: Match with pool
poola not found.
2019-01-17 03:45:14 (localhost) - INFO: Trying match
with pool: poolb
2019-01-17 03:45:14 (localhost) - DEBUG:
Traceback (most recent call last):
File "/usr/bin/lnst-ctl", line 180, in get_recipe_result
nettestctl.provision_machines()
File
"/usr/lib/python2.7/site-packages/lnst/Controller/NetTestController.py",
line 238, in provision_machines
raise NoMatchError(msg)
NoMatchError: This setup cannot be provisioned with the current pool.
2019-01-17 03:45:14 (localhost) - ERROR: This setup
cannot be provisioned with the current pool.
2019-01-17 03:45:14 (localhost) - INFO:
===================================== SUMMARY
=====================================
2019-01-17 03:45:14 (localhost) - INFO: 3_vlans.xml
match: 1 FAIL
2019-01-17 03:45:14 (localhost) - INFO: error
message: This setup cannot be provisioned with the current pool.
2019-01-17 03:45:14 (localhost) - INFO:
===================================================================================
2019-01-17 03:45:14 (localhost) - INFO: Total test time:
0 days, 0 hours, 0 minutes, 0 seconds
2019-01-17 03:45:14 (localhost) - INFO: Logs are stored
in '/root/.lnst/logs/2019-01-17_03:45:14'
4 years, 8 months
开发票找我13602510796
by gfgs@cfhi.com
代开本地各行业正规发票,价钱便宜,可验证后付款
有需要联系:13602510796 李乐翠 (加微信同号)
4 years, 8 months
开发票找我13602510796
by gfgs@cfhi.com
代开本地各行业正规发票,价钱便宜,可验证后付款
有需要联系:13602510796 李乐翠 (加微信同号)
4 years, 8 months
代开真发票13602535490
by gfgs@cfhi.com
你好
我公司有本地各行业正规发票可开,价格优惠,可用后付钱.
有需要可以联系:13602535490 彭桃云(加微信同号)
4 years, 8 months