Skip to content

Network segments do not show up in Horizon #241

@samiemostafavi

Description

@samiemostafavi

Hi,

I add network segments as reservable items in Blazar by running the following commands:

$ openstack reservation network create --network-type "vlan" --physical-network "physnet1" --segment "252"
$ openstack reservation network list
+------------------+--------------------------------------+------------+--------------+
| physical_network | id                                   | segment_id | network_type |
+------------------+--------------------------------------+------------+--------------+
| physnet1         | 1b876a9e-4b39-4e66-aa91-a32807100943 |        252 | vlan         |
+-------------------------------------------------------------------------------------+

Now if I go to Horizon and open project/leases/calendar/network/ it does not show any network. Can you help me what is exactly wrong here?

I can make a lease on the network without any problem through CLI:

openstack reservation lease create --reservation resource_type=network,network_name=network-name,resource_properties='["==","$segment_id","252"]' --start-date "2022-10-25 18:43" --end-date "2022-10-26 18:43" my-new-lease

And it will show up in project/leases/ of Horizon.

Update:
I realized that the browser even receives the correct json:

{"resources": [{"network_type": "vlan", "physical_network": "physnet1", "segment_id": 252}], "reservations": [], "project_id": "ae84b9a3c7be419da3eb42ff5abde165"}

It seems that it is Horizon that is not showing the data.

Best,
Samie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions