home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.14k stars 29.82k forks source link

Unable to create Vlan interface with ha network command #120001

Open itplace opened 2 months ago

itplace commented 2 months ago

The problem

Hello, I am trying to create a second vlan interface using the ha network command as shown below. the first vlan interface was created.

ha network vlan end0 152 --ipv4-method static --ipv4-address 10.1.1.249/24 --ipv4-gateway 10.1.1.250 --ipv4-nameserver 10.1.1.250

The command output shows completed successfully. If I navigate to Settings->System->Network section the interface is shown in the UI but if I refresh the page the interface tab disappears. If i try to edit the interface before refreshing the page error message comes up that interface does not exist.

What version of Home Assistant Core has the issue?

core-2024.6.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:135
integration: Home Assistant Supervisor (documentation, issues)
First occurred: 7:17:20 AM (2 occurrences)
Last logged: 7:17:36 AM

Failed to to call /network/interface/end0.152/update - Interface end0.152 does not exist

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @home-assistant/supervisor, mind taking a look at this issue as it has been labeled with an integration (hassio) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `hassio` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign hassio` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


hassio documentation hassio source (message by IssueLinks)