div8cn opened a new issue #5166:
URL: https://github.com/apache/cloudstack/issues/5166
<!--
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
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
4.15.0.0
4.15.1.0 (RC2,RC3)
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
##### SUMMARY
<!-- Explain the problem/feature briefly -->
When adding ZONE and using KVM+RBD primary storage, after executing the
addHost interface, the following error (UI) will appear
Creating primary storage
Something went wrong; please correct the following:
TypeError: Cannot read property'value' of undefined
<img width="663" alt="a1"
src="https://user-images.githubusercontent.com/35140268/123906590-0d400f80-d9a7-11eb-81e8-42d3b812d259.png">
At this time, the host has been added successfully, and the main storage
should be added;
<img width="776" alt="a2"
src="https://user-images.githubusercontent.com/35140268/123906688-33fe4600-d9a7-11eb-8b95-1def5f8d1e5e.png">
Using the same parameters, everything is normal when the Add Primary Storage
interface is executed.
##### 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 -->
~~~
According to the add zone guide, complete the ZONE setting of the kvm+rbd
main storage step by step, and then launch the zone
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
zone add complete
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
launch zone failed
zone added successfully
pod added successfully
cluster added successfully
host added successfully
Failed to add primary storage
Creating primary storage
Something went wrong; please correct the following:
TypeError: Cannot read property'value' of undefined
~~~
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]