Network template download returns null

Bug #1617492 reported by Sam Stoelinga
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
MOS Maintenance

Bug Description

Version found: MOS 9.0

Description: Network template returns null when downloading a clean environment.

Steps to reproduce:
1. Create a new environment (env id=4)
2. Assign 1 node as controller and 2 nodes as compute
3. Use fuel CLI to download network template for environment with
fuel network-template --env 4 --download

Current result:
Downloaded network template contains a single line with content null

Expected result:
The default network template that is used for env 4 should get downloaded. This way the user has an easy to use reference to tweak the template and get a full list of network roles available that can be tweaked on this environment. This should include both default network roles and also network roles that are added because of plugins.

It's really hard for users to know which network roles are available. The only way I found out to check network roles is by the default network_template provided in the documentation, but the problem is that plugins may add additional network roles unknown to the user that is using network templates.

Tags: area-python
Changed in fuel:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: none → 10.0
tags: added: area-python
Revision history for this message
Max Stepanov (t-max-z) wrote :

It's been some time...
Any actual plans fixing this?
MOS 7.0 -> null
MOS 9.2 -> null

Network templates are unusable..
Any workaround?

Changed in fuel:
importance: Medium → High
milestone: 10.0 → 9.x-updates
assignee: Fuel Sustaining (fuel-sustaining-team) → MOS Maintenance (mos-maintenance)
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

@Max, this is only assumption that it should be "not null". But it's not, some mythical initial network template does not exist and that's why it has "null" contents. Although this fact does make network template's usage not very straight forward it doesn't make them unusable, one can create and use a template by looking up the docs or the nailgun fixtures (e.g. https://github.com/openstack/fuel-web/blob/master/nailgun/nailgun/fixtures/network_template_90.json).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.