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/28 21:04:47 UTC

[GitHub] [cloudstack] tampler opened a new issue #5251: Can't add a host in Advanced Zone - Unable to add the host

tampler opened a new issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251


   <!--
   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.
   -->
   ~~~
   Zone, management
   ~~~
   
   ##### 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
   -->
   KVM
   Advanced Zone
   Single server installation (mgmt, host, db, storage)
   LocalStorage enabled
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Ubuntu 20.04.2
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   I'm able to add a host X to the Basic Zone
   However, I'm getting an error when I try to add the second (Advanced) Zone and add the same host X to it.
   
   I've also tried removing the host X from the Basic Zone first, expunging all VMs and SystemVMs and restarting cloudstack-management and cloudstack-agent services. Still getting the same exception 
   
   [log](https://github.com/apache/cloudstack/files/6896394/out.log)
   
   ##### 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 -->
   ~~~
   1. Setup CloudStack on a single server (mgmt, host, db, storage)
   2. Add a Basic Zone
   3. Add the host X to the Basic Zone
   4. Add Advanced Zone
   5. Add  host X to the Advanced Zone
   6. Notice the exception - Unable to add the host
   7. Shut down the Basic Zone
   8. Remove host X from the Basic Zone
   9. Add host X to the Advanced Zone
   10. Notice the exception - Unable to add the host
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   1. Add a host to the Advanced Zone
   2. Add the same host X to both Basic and Advanced zones
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   1. Can add a host to the Basic Zone
   2. Fail to add a host to the Advanced Zone
   ~~~
   


-- 
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] slavkap commented on issue #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
slavkap commented on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-888932246


   @tampler, it is failing because of this
   `sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper` and I guess you have to allow `sudo` to be used without a password


-- 
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 #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-888829446


   @tampler 
   by the way, could you subscribe to cloudstack users mailing list and ask question in mailing list ?
   https://cloudstack.apache.org/mailing-lists.html


-- 
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 removed a comment on issue #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
weizhouapache removed a comment on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-888821447


   @tampler was the username 'root' when you added the host ?


-- 
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 closed issue #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
weizhouapache closed issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251


   


-- 
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 edited a comment on issue #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
tampler edited a comment on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-889014567


   @slavkap Wow thanks a lot for your hint. You are my CloudStack Fairy now :grinning: :grinning: :grinning: :innocent: 
   Sure, adding my non-root user to sudoers, who don't need the password to authenticate, did the trick
   
   Thanks a lot for your patience and a wise help. I really appreciate
   Closing the issue


-- 
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 #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-889014567


   @slavkap Wow thanks a lot for your hint. You are my CloudStack Failry now :grinning: :grinning: :grinning: :innocent: 
   Sure, adding my non-root user to sudoers, who don't need password made the trick
   
   Thanks a lot for your patience and a wise help. I really appreciate
   Closing the issue


-- 
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 #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-888919751


   @weizhouapache 
   Hello, that's not a question, that's a BUG report. Have you looked into a log attached? There's an exception adding a host in Ubuntu for an Advanced Zone, please re-open my issue


-- 
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 edited a comment on issue #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
tampler edited a comment on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-889014567


   @slavkap Wow thanks a lot for your hint. You are my CloudStack Fairy now :grinning: :grinning: :grinning: :innocent: 
   Sure, adding my non-root user to sudoers, who don't need password made the trick
   
   Thanks a lot for your patience and a wise help. I really appreciate
   Closing the issue


-- 
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 #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-888821447


   @tampler was the username 'root' when you added the host ?


-- 
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 #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-888821798


   @tampler you can not add same host to multiple zones. it is not an issue.


-- 
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 #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-888919972


   > @tampler
   > by the way, could you subscribe to cloudstack users mailing list and ask question in mailing list ?
   > https://cloudstack.apache.org/mailing-lists.html
   No, sorry, I can't. Not using mailing lists
   


-- 
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 edited a comment on issue #5251: Can't add a host in Advanced Zone - Unable to add the host

Posted by GitBox <gi...@apache.org>.
tampler edited a comment on issue #5251:
URL: https://github.com/apache/cloudstack/issues/5251#issuecomment-888919972


   > @tampler
   > by the way, could you subscribe to cloudstack users mailing list and ask question in mailing list ?
   > https://cloudstack.apache.org/mailing-lists.html
   
   No, sorry, I can't. Not using mailing lists
   


-- 
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