You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/07/21 20:33:45 UTC
[GitHub] [cloudstack] tampler opened a new issue #5230: Can't remove a failed ISO
tampler opened a new issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
UI, API
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main branch.
-->
~~~
4.15.1
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise
-->
Basic network, one bridge, one zone
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
Ubuntu 20.04.2
cmk 6.1.0
##### SUMMARY
<!-- Explain the problem/feature briefly -->
1. After failing to upload an ISO from the local webserver, CS shows it in the list of ISOs with the status "Ready : false". But I can't remove it from both GUI and cmk

2. cmk output:
```
Apache CloudStack 🐵 CloudMonkey 6.1.0
Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
(localcloud) 🐱 > list isos
(localcloud) 🐱 > delete iso id=d4fb61a3-f5e1-4026-a59e-cfb8279ee453
{
"accountid": "6c1b9fb9-ea09-11eb-837e-0015179e5d77",
"cmd": "org.apache.cloudstack.api.command.user.iso.DeleteIsoCmd",
"completed": "2021-07-21T23:29:24+0300",
"created": "2021-07-21T23:29:22+0300",
"jobid": "a710ccf4-10fb-4465-ae3f-aa4a30162c23",
"jobinstanceid": "d4fb61a3-f5e1-4026-a59e-cfb8279ee453",
"jobinstancetype": "Iso",
"jobprocstatus": 0,
"jobresult": {
"errorcode": 530,
"errortext": "Failed to delete ISO"
},
"jobresultcode": 530,
"jobresulttype": "object",
"jobstatus": 2,
"userid": "6c1f585f-ea09-11eb-837e-0015179e5d77"
}
🙈 Error: async API failed for job a710ccf4-10fb-4465-ae3f-aa4a30162c23
```
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
Expect to be able to add/remove ISOs
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
Failed to add an ISO. Failed to remove a bogus ISO
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] weizhouapache commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-884753488
@tampler ssl is required in SSVM when upload template/iso form local, see @Pearl1594 's comment above
you may find information on https://www.shapeblue.com/securing-cloudstack-4-11-with-https-tls/
the issue with remove failed ISO should has been fixed by #4626 in cloudstack 4.15.1.0
if you faced the issue in 4.15.1.0 testing (not 4.15.0.0), please share more logs .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] tampler commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-884888247
> > I see the same issue for Management Servers. I got only one management server, but see three with different IDs in the GUI and can't remove any of them as well
>
> @tampler it is not a bug I think.
> could you share table 'mshost' in database ?
>
> ```
> mysql> select * from mshost;
> ```
Sure thing, here's the screen:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] tampler commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-884892135
> @tampler could you please check if SSVM (secondary storage vm) is running and its Agent state is Up ?
> Infrastructure -> System VMs -> s-X-VM
No, they are NOT. I can't launch any VM and haven't seen SystemVMs working due to #5235
However, I still see those ISOs in GUI and can't remove them. I also tried official Ubuntu [image](https://releases.ubuntu.com/20.04/ubuntu-20.04.2-live-server-amd64.iso). Its still won't get to the `Ready: true` state and can't be removed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] tampler closed issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
tampler closed issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] Pearl1594 commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-884740655
@tampler Is your setup/env SSL enabled, if not, uploading an iso from local will fail. With respect to failure in deleting an ISO, I wasn't able to reproduce the issue. Can you check on updating the following global setting configs:` storage.cleanup.delay `and `storage.cleanup.interval` to a low value, does the iso get cleaned up automatically after the configured time has elapsed. That worked for me. You can also check the log file at `/var/log/cloudstack/management/management-server.log` for hints as to why the failure occurred during cleanup. Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] tampler commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-884843423
I see the same issue for Management Servers. I got only one management server, but see three with different IDs in the GUI and can't remove any of them as well

Should I open a new bug report for this ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] nvazquez commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-894439497
@tampler to fix this you will need your SSVM deployed, looks like an issue in your setup is causing the system VMs to fail
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] tampler commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-884849373
@ustcweizhou I'm not sure which logs do you want. Here's an exert from the `/var/logs/cloudstack/management/management-server.log`. See the file attached.
Let me know if you need an output from some specific `cmk` command.
[out.log](https://github.com/apache/cloudstack/files/6861939/out.log)
Thank you for your help
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] weizhouapache commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-884886467
> I see the same issue for Management Servers. I got only one management server, but see three with different IDs in the GUI and can't remove any of them as well
@tampler it is not a bug I think.
could you share table 'mshost' in database ?
```
mysql> select * from mshost;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] tampler commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-894795783
Seems like a Zone setup issue. Can't reproduce, closing for now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] weizhouapache commented on issue #5230: Can't remove a failed ISO
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5230:
URL: https://github.com/apache/cloudstack/issues/5230#issuecomment-884887684
> @ustcweizhou I'm not sure which logs do you want. Here's an exert from the `/var/logs/cloudstack/management/management-server.log`. See the file attached.
>
> Let me know if you need an output from some specific `cmk` command.
> [out.log](https://github.com/apache/cloudstack/files/6861939/out.log)
>
> Thank you for your help
@tampler could you please check if SSVM (secondary storage vm) is running and its Agent state is Up ?
Infrastructure -> System VMs -> s-X-VM
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org