GitHub user chunkyen added a comment to the discussion: How to enable network 
service provider like BaremetalPxeProvider after it has been shutdown

In the end, I resort to mysql and managed to bring the service provider back by 
setting the removed field to NULL. BTW, the state is still enabled and frankly, 
there should be a more conventional way to bring it back via gui or api, 
editing the datbase feels really dangerous.
The update statement i use
`UPDATE physical_network_service_providers 
SET removed = NULL 
WHERE id = <network service provider id in mysql>;`

<img width="580" height="290" alt="image" 
src="https://github.com/user-attachments/assets/23421fc2-11d3-4ea4-8e2e-3f6319b5b21d";
 />


GitHub link: 
https://github.com/apache/cloudstack/discussions/12076#discussioncomment-14965942

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to