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 2020/02/05 09:58:31 UTC

[GitHub] [cloudstack] hextht opened a new issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

hextht opened a new issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866
 
 
   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master 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 -->
    * Other
   
   ##### COMPONENT NAME
   <!--
   
   -->
   ~~~
   svm deployment
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   ~~~
   4.11
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   Basic networking. I am configuring cloudstack with the configuration wizard.
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Centos 7
   I am using mysql-connector-java-5.1.25-3.el7  instead of the last version, because the installation fails with mysql-java-connector v.8.0.19-1.
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   I am following the instructions for quick installation of v 4.13 on Centos 7 (http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html) 
   
   The installation completes successfully, the configuration wizard also completes with no error, but then both svms - console and secondary storage seems to be incomplete. 
   Here are the symptoms that i noticed:
   
   - They do not have IP addresses assigned, altough the in the control panel there are IPs listed. 
   
   -  Inside the VMs i looked for the check-health script, but the /usr/local/cloud directory is empty.
   
   - The cloud agent inside the svms is not running and when i try to start it, it fails.
   
   - In the /var/log/cloud.log there are such entries:
       No suitable VirtIO port was found in /dev/virtio-ports
   
   - The templates listed in the UI are actually not present - they do not appear when i try to create a VM, but considering that the svms are not accessible i guess it is to be expected
   
   - After  manually restarting the VMs, they do restart, but the control panel sees tham in "starting" 
      state and remains like that forever.
      alert: Console proxy creation failure. zone: B5, error details: We cannot stop VM[ConsoleProxy\|v- 
        1-VM] when it is in state Starting
   --
   
   - There are alerts related to both svms : 
        - Console proxy creation failure. zone: B5, error details: null
        - Secondary Storage Vm creation failure. zone: B5, error details: null
   --
   
   I have repeated the installation several times on different server, and every time the installations 
   
   ##### 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 -->
   ~~~
   Install Centos 7.5 minimal with one NIC and follow the instructions for quick installation:
   http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   After the initial configuration wizard completes successfully, the svms should be in a healthy state.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   The configuration wizard completes with no error, but the svms are not complete or not in a healthy state - resulting in an overall non-functional Cloudstack installation
   ~~~
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-610297267
 
 
   My pleasure @tobin-landricombe . You should be able to create instances as soon as the default template is done downloading. Templates -> CentOS 5.5(64-bit) no GUI (KVM) -> Zones. 
   
   I was able to use mysql-connector-python-8.0.19-1.el7  after running:
   
   ```
   yum -y install epel-release
   yum -y install python-dns
   ```
   
   @hextht I think we can close this issue as soon as the documentation is updated for the quick install guide.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-609843723
 
 
   Seems like the system template is also old, should be 
   `http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.3-kvm.qcow2.bz2`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] tobin-landricombe commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
tobin-landricombe commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-610079741
 
 
   With these two fixes plus hacking the correct mysql connectors in, my latest attempt is showing System VMs Agent State as "Up".
   
   Still no templates listed so I haven't actually started a VM yet but that can wait until tomorrow.
   
   Thanks, @Spaceman1984 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] Spaceman1984 commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-609843723
 
 
   Seems like the System template is also old, should be 
   `http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.3-kvm.qcow2.bz2`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-609831719
 
 
   @hextht the guide is pointing to the 4.11 repo, did you change it to 4.13 when following?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] coreymr commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
coreymr commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-612064878
 
 
   @tobin-landricombe do you mind detailing your fully functioning build and how you got to it?  
   OS=
   MySQL =
   Java Connector = 
   etc...
   I'm a newb to CS and trying to get a fresh installation of CS 4.13 going, but have failed numerous attempts.  I see all these references to using an old version of MySQL, old version of Java Connector, tweak this, change that...I wish the installation and documentation and caveats were all clearly available for us non-developers to follow.
   
   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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] Spaceman1984 commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-609831719
 
 
   @hextht the guide is for 4.11, did you change 4.11 to 4.13 when following?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-609831719
 
 
   @hextht the guide is pointing to the 4.11 repo, did you change it to 4.13 when following? I think this may be an error in the guide.
   ```
   [cloudstack]
   name=cloudstack
   baseurl=http://download.cloudstack.org/centos/7/4.11/
   enabled=1
   gpgcheck=0
   ```
   I'm thinking it should be
   
   ```
   [cloudstack]
   name=cloudstack
   baseurl=http://download.cloudstack.org/centos/7/4.13/
   enabled=1
   gpgcheck=0
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] tobin-landricombe commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
tobin-landricombe commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-609053055
 
 
   Same problem. Not a great introduction to the project.
   
   @hextht Did you get past 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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-609831719
 
 
   @hextht the guide is pointing to the 4.11 repo, did you change it to 4.13 when following? I think this may be an error in the guide.
   ```
   name=cloudstack
   baseurl=http://download.cloudstack.org/centos/7/4.11/
   enabled=1
   gpgcheck=0
   ```
   I'm thinking it should be
   
   ```
   name=cloudstack
   baseurl=http://download.cloudstack.org/centos/7/4.13/
   enabled=1
   gpgcheck=0
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] Spaceman1984 commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-610297267
 
 
   My pleasure @tobin-landricombe . You should be able to start instances as soon as the default template is done downloading. Templates -> CentOS 5.5(64-bit) no GUI (KVM) -> Zones. 
   
   I was able to use mysql-connector-python-8.0.19-1.el7  after running:
   
   ```
   yum -y install epel-release
   yum -y install python-dns
   ```
   
   @hextht I think we can close this issue as soon as the documentation is updated for the quick install guide.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] tobin-landricombe commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
tobin-landricombe commented on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-612164430
 
 
   CentOS7. Just the minimal.
   
   I'm using qemu/kvm so: `yum install -y qemu-kvm qemu-img libvirt libvirt-python bridge-utils`
   
   Stop firewalld and NetworkManager:
   ```
   systemctl stop firewalld
   systemctl disable firewalld
   systemctl mask firewalld
   systemctl stop NetworkManager
   systemctl disable NetworkManager
   systemctl mask NetworkManager
   ```
   
   Update the instructions with Spaceman1984's comments and follow them apart from the mysql bits:
   . Install `mysql` as the instructions said.
   . Ignore the MySQL connector Installation bit. I think I also edited `/etc/yum.repos.d/mysql-community.repo` and set `enabled=0` on the `mysql-connectors-community` repo. Instead:
   ```
   yum install epel-release
   yum install mysql-connector-python
   yum install mysql-connector-java
   ```
   
   Various bits take a long time to start. Be patient.
   
   Since then other work has got in the way, but I have the SSVM's up, I can `virsh console` them and ping the outside world from them.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #3866: New installation of v 4.13 on Centos 7 completes successfully, but the svms end up in a non-healthy state.
URL: https://github.com/apache/cloudstack/issues/3866#issuecomment-609831719
 
 
   @hextht the guide is pointing to the 4.11 repo, did you change it to 4.13 when following? I think this may be an error in the guide.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services