Troubleshooting
If you've encountered issues, use this page to identify and solve them.
My service instance failed
Your service displays a failed
status when attempting a create
, update
, or delete
action.
Service instances are intentionally moved to a failed
state to prevent broken services from continuing to run. This allows you time to review the failure, decide whether repairs are needed, or determine if the service can be safely reactivated.
Failure during update
or delete
actions
If this error occurs and the service can be safely reactivated.
Fix:
Note: You need an ops role to perform the following actions.
-
Make a PATCH request to update the service:
np service patch \
--id :id \
--body '{
"status": "active"
// Update or re-declare any other values, if needed
}' -
Retry updating or deleting your service instance from the dashboard.
Failure during create
action
This usually happens when the initial service configuration is incorrect.
Fix:
Note: You need an ops role to perform the following actions.
- Check the logs for any misconfigurations.
- Delete the failed service instance from the dashboard.
- Create a new service instance with corrected values.
I can't delete an application because it owns a service or link
You won’t be able to delete an application if it still owns any services or links. You’ll need to transfer ownership first.
1. Identify what services or links the application owns
There are a few ways to check what services or links the application owns:
-
From the UI:
Go to Development > Services and select the Owned by this application tab. -
From the CLI:
Use the service list or link list commands, providing the application'sentity_nrn
as a query parameter.Tip: For services, make sure the
nrn
(source) matches theentity_nrn
.- Service
- Link
np service list
--nrn organization=1:account=1:namespace=1:application=1
--entity_nrn organization=1:account=1:namespace=1:application=1np link list
--nrn organization=1:account=1:namespace=1:application=1These commands will show you what the application currently owns and is blocking its deletion.
-
From the API:
You can also make a service list or link list request directly to the API, using the application'sentity_nrn
as a query parameter. The same logic used in the CLI examples applies here as well.
2. Change the owner
Once you’ve identified the service or link, you’ll need to update its owner by changing the entity_nrn
to a different
application. Use a PATCH request to services or links for that,
like this:
- Service
- Link
np service patch \
--id <SERVICE_ID> \
--body '{
"entity_nrn": "organization=1:account=1:namespace=1:application=2"
}'
np link list
--id <LINK_ID> \
--body '{
"entity_nrn": "organization=1:account=1:namespace=1:application=2"
}'
Just swap in the right IDs and target NRNs for your case.
3. Update the linkable_to
property
After you transfer ownership, you might also want to update the service’s linkable_to
property, so it reflects the new relationships between applications.
Check out the services docs.
If none of the solutions resolve the issue, reach out to us for support.