You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by France <ma...@isg.si> on 2013/10/14 16:06:16 UTC

Failed to delete network

I'm on CS 4.1.1 with XS 6.0.2+most hotfixes.

I have problems deleting a specific network. Not even Admin can delete 
it. I tried destroying virtual router by hand, but network still can not 
be deleted. Restarting (with cleanup) didn't help either. Removing all 
firewall igress/egress rules didn't help either. It was created while we 
were still on CS 3.*. There is also no destroyed or live VM associated 
with the user account for this network. Catalina.out doesn't log 
anything, not even an attempt to delete it, while management-server.log 
has lots of entries, but none related to my Deleting action.

I've run out of ideas what else to try, to be able to delete the 
network. Please help me.
If additional info is required, i'm willing to provide it, just ask.

Thx for help.
F.

Re: Failed to delete network

Posted by Daan Hoogland <da...@gmail.com>.
It doesn't state for what version it is but sound like it is viable.
Check first what would be updated so you can repair. Also (if this is
production) double check that there are indeed no vm's plugged into
this network.
The fact that it was created in 3.x might suggest an upgrade problem,
so it is possible that the there is no nic indeed.

good luck,

On Wed, Apr 23, 2014 at 10:07 AM, France <ma...@isg.si> wrote:
> Finally have had some time and found this in management.log:
>
> -04-23 09:56:17,590 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-117:job-1430) Schedule queued job-1430
> 2014-04-23 09:56:17,593 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-118:job-1430) Executing
> org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for job-1430
> 2014-04-23 09:56:17,594 DEBUG [cloud.async.SyncQueueManagerImpl]
> (Job-Executor-117:job-1430) There is a pending process in sync queue(id: 53)
> *2014-04-23 09:56:17,623 DEBUG [cloud.network.NetworkManagerImpl]
> (Job-Executor-118:job-1430) Unable to remove the network id=211 as it has
> active Nics.*
> 2014-04-23 09:56:17,629 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-118:job-1430) Complete async job-1430, jobStatus: 2,
> resultCode: 530, result: Error Code: 530 Error text: Failed to delete
> network
> 2014-04-23 09:56:17,639 DEBUG [cloud.async.SyncQueueManagerImpl]
> (Job-Executor-118:job-1430) Sync queue (53) is currently empty
>
> I have found this online:
> http://support.citrix.com/article/CTX138230
>>
> UPDATE op_networks
> SET nics_count=0
> WHERE id=(SELECT id from networks WHERE uuid='#');
> Note: Replace # with the ID of the network from CloudPlatform.
>
> Should i do it like suggested by Citrix? Will it hurt my 4.1.1 install?
>
> Tnx.
>
>
>
> On 25/10/13 11:02 AM, Daan Hoogland wrote:
>>
>> Not sure if I can help but I wonder, is the attempt in the api log?
>>
>> Daan
>>
>> On Mon, Oct 14, 2013 at 4:06 PM, France <ma...@isg.si> wrote:
>>>
>>> I'm on CS 4.1.1 with XS 6.0.2+most hotfixes.
>>>
>>> I have problems deleting a specific network. Not even Admin can delete
>>> it. I
>>> tried destroying virtual router by hand, but network still can not be
>>> deleted. Restarting (with cleanup) didn't help either. Removing all
>>> firewall
>>> igress/egress rules didn't help either. It was created while we were
>>> still
>>> on CS 3.*. There is also no destroyed or live VM associated with the user
>>> account for this network. Catalina.out doesn't log anything, not even an
>>> attempt to delete it, while management-server.log has lots of entries,
>>> but
>>> none related to my Deleting action.
>>>
>>> I've run out of ideas what else to try, to be able to delete the network.
>>> Please help me.
>>> If additional info is required, i'm willing to provide it, just ask.
>>>
>>> Thx for help.
>>> F.
>
>



-- 
Daan

Re: Failed to delete network

Posted by Daan Hoogland <da...@gmail.com>.
It doesn't state for what version it is but sound like it is viable.
Check first what would be updated so you can repair. Also (if this is
production) double check that there are indeed no vm's plugged into
this network.
The fact that it was created in 3.x might suggest an upgrade problem,
so it is possible that the there is no nic indeed.

good luck,

On Wed, Apr 23, 2014 at 10:07 AM, France <ma...@isg.si> wrote:
> Finally have had some time and found this in management.log:
>
> -04-23 09:56:17,590 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-117:job-1430) Schedule queued job-1430
> 2014-04-23 09:56:17,593 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-118:job-1430) Executing
> org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for job-1430
> 2014-04-23 09:56:17,594 DEBUG [cloud.async.SyncQueueManagerImpl]
> (Job-Executor-117:job-1430) There is a pending process in sync queue(id: 53)
> *2014-04-23 09:56:17,623 DEBUG [cloud.network.NetworkManagerImpl]
> (Job-Executor-118:job-1430) Unable to remove the network id=211 as it has
> active Nics.*
> 2014-04-23 09:56:17,629 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-118:job-1430) Complete async job-1430, jobStatus: 2,
> resultCode: 530, result: Error Code: 530 Error text: Failed to delete
> network
> 2014-04-23 09:56:17,639 DEBUG [cloud.async.SyncQueueManagerImpl]
> (Job-Executor-118:job-1430) Sync queue (53) is currently empty
>
> I have found this online:
> http://support.citrix.com/article/CTX138230
>>
> UPDATE op_networks
> SET nics_count=0
> WHERE id=(SELECT id from networks WHERE uuid='#');
> Note: Replace # with the ID of the network from CloudPlatform.
>
> Should i do it like suggested by Citrix? Will it hurt my 4.1.1 install?
>
> Tnx.
>
>
>
> On 25/10/13 11:02 AM, Daan Hoogland wrote:
>>
>> Not sure if I can help but I wonder, is the attempt in the api log?
>>
>> Daan
>>
>> On Mon, Oct 14, 2013 at 4:06 PM, France <ma...@isg.si> wrote:
>>>
>>> I'm on CS 4.1.1 with XS 6.0.2+most hotfixes.
>>>
>>> I have problems deleting a specific network. Not even Admin can delete
>>> it. I
>>> tried destroying virtual router by hand, but network still can not be
>>> deleted. Restarting (with cleanup) didn't help either. Removing all
>>> firewall
>>> igress/egress rules didn't help either. It was created while we were
>>> still
>>> on CS 3.*. There is also no destroyed or live VM associated with the user
>>> account for this network. Catalina.out doesn't log anything, not even an
>>> attempt to delete it, while management-server.log has lots of entries,
>>> but
>>> none related to my Deleting action.
>>>
>>> I've run out of ideas what else to try, to be able to delete the network.
>>> Please help me.
>>> If additional info is required, i'm willing to provide it, just ask.
>>>
>>> Thx for help.
>>> F.
>
>



-- 
Daan

Re: Failed to delete network

Posted by France <ma...@isg.si>.
Finally have had some time and found this in management.log:

-04-23 09:56:17,590 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-117:job-1430) Schedule queued job-1430
2014-04-23 09:56:17,593 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-118:job-1430) Executing 
org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for job-1430
2014-04-23 09:56:17,594 DEBUG [cloud.async.SyncQueueManagerImpl] 
(Job-Executor-117:job-1430) There is a pending process in sync queue(id: 53)
*2014-04-23 09:56:17,623 DEBUG [cloud.network.NetworkManagerImpl] 
(Job-Executor-118:job-1430) Unable to remove the network id=211 as it 
has active Nics.*
2014-04-23 09:56:17,629 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-118:job-1430) Complete async job-1430, jobStatus: 2, 
resultCode: 530, result: Error Code: 530 Error text: Failed to delete 
network
2014-04-23 09:56:17,639 DEBUG [cloud.async.SyncQueueManagerImpl] 
(Job-Executor-118:job-1430) Sync queue (53) is currently empty

I have found this online:
http://support.citrix.com/article/CTX138230
 >
UPDATE op_networks
SET nics_count=0
WHERE id=(SELECT id from networks WHERE uuid='#');
Note: Replace # with the ID of the network from CloudPlatform.

Should i do it like suggested by Citrix? Will it hurt my 4.1.1 install?

Tnx.


On 25/10/13 11:02 AM, Daan Hoogland wrote:
> Not sure if I can help but I wonder, is the attempt in the api log?
>
> Daan
>
> On Mon, Oct 14, 2013 at 4:06 PM, France <ma...@isg.si> wrote:
>> I'm on CS 4.1.1 with XS 6.0.2+most hotfixes.
>>
>> I have problems deleting a specific network. Not even Admin can delete it. I
>> tried destroying virtual router by hand, but network still can not be
>> deleted. Restarting (with cleanup) didn't help either. Removing all firewall
>> igress/egress rules didn't help either. It was created while we were still
>> on CS 3.*. There is also no destroyed or live VM associated with the user
>> account for this network. Catalina.out doesn't log anything, not even an
>> attempt to delete it, while management-server.log has lots of entries, but
>> none related to my Deleting action.
>>
>> I've run out of ideas what else to try, to be able to delete the network.
>> Please help me.
>> If additional info is required, i'm willing to provide it, just ask.
>>
>> Thx for help.
>> F.


Re: Failed to delete network

Posted by France <ma...@isg.si>.
Finally have had some time and found this in management.log:

-04-23 09:56:17,590 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-117:job-1430) Schedule queued job-1430
2014-04-23 09:56:17,593 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-118:job-1430) Executing 
org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for job-1430
2014-04-23 09:56:17,594 DEBUG [cloud.async.SyncQueueManagerImpl] 
(Job-Executor-117:job-1430) There is a pending process in sync queue(id: 53)
*2014-04-23 09:56:17,623 DEBUG [cloud.network.NetworkManagerImpl] 
(Job-Executor-118:job-1430) Unable to remove the network id=211 as it 
has active Nics.*
2014-04-23 09:56:17,629 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-118:job-1430) Complete async job-1430, jobStatus: 2, 
resultCode: 530, result: Error Code: 530 Error text: Failed to delete 
network
2014-04-23 09:56:17,639 DEBUG [cloud.async.SyncQueueManagerImpl] 
(Job-Executor-118:job-1430) Sync queue (53) is currently empty

I have found this online:
http://support.citrix.com/article/CTX138230
 >
UPDATE op_networks
SET nics_count=0
WHERE id=(SELECT id from networks WHERE uuid='#');
Note: Replace # with the ID of the network from CloudPlatform.

Should i do it like suggested by Citrix? Will it hurt my 4.1.1 install?

Tnx.


On 25/10/13 11:02 AM, Daan Hoogland wrote:
> Not sure if I can help but I wonder, is the attempt in the api log?
>
> Daan
>
> On Mon, Oct 14, 2013 at 4:06 PM, France <ma...@isg.si> wrote:
>> I'm on CS 4.1.1 with XS 6.0.2+most hotfixes.
>>
>> I have problems deleting a specific network. Not even Admin can delete it. I
>> tried destroying virtual router by hand, but network still can not be
>> deleted. Restarting (with cleanup) didn't help either. Removing all firewall
>> igress/egress rules didn't help either. It was created while we were still
>> on CS 3.*. There is also no destroyed or live VM associated with the user
>> account for this network. Catalina.out doesn't log anything, not even an
>> attempt to delete it, while management-server.log has lots of entries, but
>> none related to my Deleting action.
>>
>> I've run out of ideas what else to try, to be able to delete the network.
>> Please help me.
>> If additional info is required, i'm willing to provide it, just ask.
>>
>> Thx for help.
>> F.


Re: Failed to delete network

Posted by Daan Hoogland <da...@gmail.com>.
Not sure if I can help but I wonder, is the attempt in the api log?

Daan

On Mon, Oct 14, 2013 at 4:06 PM, France <ma...@isg.si> wrote:
> I'm on CS 4.1.1 with XS 6.0.2+most hotfixes.
>
> I have problems deleting a specific network. Not even Admin can delete it. I
> tried destroying virtual router by hand, but network still can not be
> deleted. Restarting (with cleanup) didn't help either. Removing all firewall
> igress/egress rules didn't help either. It was created while we were still
> on CS 3.*. There is also no destroyed or live VM associated with the user
> account for this network. Catalina.out doesn't log anything, not even an
> attempt to delete it, while management-server.log has lots of entries, but
> none related to my Deleting action.
>
> I've run out of ideas what else to try, to be able to delete the network.
> Please help me.
> If additional info is required, i'm willing to provide it, just ask.
>
> Thx for help.
> F.