Determine if provider networks are configured correctly

Bug #1846136 reported by Xav Paice
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Lint
Incomplete
Medium
Unassigned

Bug Description

Need to confirm if for neutron-openvswitch enable-local-dhcp-and-metadata=true, then for neutron-gateway enable-isolated-metadata=true and enable-metadata-network=true. If not, then the dhcp delivered from neutron-gateway hosts will not have metadata.

Revision history for this message
James Hebden (ec0) wrote :

I'm having trouble grokking this, but I think I get the gist of it.
I think we'd need a way in juju-lint to be able to check the values of configuration items on one charm, dependent on the value of another charm.

With the example provided, if neutron-openvswitch enable-local-dhcp-and-metadata=true, then we would want to ensure neutron-gateway enable-isolated-metadata=true and enable-metadata-network=true were both set?

The pattern which could work for this, in my opinion, is nested rules like -

  neutron-gateway:
   enable-isolated-metadata:
     if: true
       neutron-gateway:
         enable-metadata-network:
           eq: true
         enable-isolated-metadata:
           eq: true

Does that sound like it would address the use case?

Changed in juju-lint:
status: New → Incomplete
importance: Undecided → Medium
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.