[Rdo-list] config_tempest.py failure (Liberty, Neutron, no networks configured )

David Kranz dkranz at redhat.com
Wed Aug 19 20:24:39 UTC 2015


On 08/16/2015 10:14 AM, Kaul, Yaniv wrote:
>
> Liberty, Neutron, no networks configured (not sure why), 
> tempest_config fails:
>
> 2015-08-16 17:11:22.557 86196 INFO __main__ [-] No network supplied, 
> trying auto discover for network
>
> 2015-08-16 17:11:22.648 86196 INFO tempest_lib.common.rest_client 
> [req-377d6922-c260-4252-ae86-edd1f8595b82 ] Request (main): 200 GET 
> http://10.102.42.90:9696/v2.0/networks 0.090s
>
> 2015-08-16 17:11:22.649 86196 ERROR __main__ [-] No external networks 
> found. Please note that any test that relies on external connectivity 
> would most likely fail.
>
> 2015-08-16 17:11:22.649 86196 CRITICAL tempest [-] TypeError: option 
> values must be strings
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest Traceback (most recent 
> call last):
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest   File 
> "tools/config_tempest.py", line 729, in <module>
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest     main()
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest   File 
> "tools/config_tempest.py", line 150, in main
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest     
> create_tempest_networks(clients, conf, has_neutron, args.network_id)
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest   File 
> "tools/config_tempest.py", line 596, in create_tempest_networks
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest     conf.set('network', 
> 'public_network_id', public_network_id)
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest   File 
> "tools/config_tempest.py", line 361, in set
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest     
> ConfigParser.SafeConfigParser.set(self, section, key, value)
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest   File 
> "/usr/lib64/python2.7/ConfigParser.py", line 743, in set
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest     raise 
> TypeError("option values must be strings")
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest TypeError: option values 
> must be strings
>
> 2015-08-16 17:11:22.649 86196 ERROR tempest
>
> Based on 7cbe2414f07c0d5fbf29d7914c430700f2f1f154 .
>
> As I'm testing Cinder, I can really run quite well without networks 
> whatsoever.
>
> As to why I don't have any network defined, that's another question. 
> Working on it.
>
> Y.
>
>
The design of the config script did not consider a case where some of 
the core services (compute,network,volume,identity,image) were not 
deployed in a realistic way.

  -David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150819/6aaaa04b/attachment.html>


More information about the dev mailing list