Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了
/etc/cloudstack/management/db.properties 改过吗? 2014-02-18 8:30 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: hi, 我是通过yum 通过网络在线安装的cloudstac 4.2.1发现安装之后无法通过admin/password登录,也没有任何报错 附件为相关log,麻烦哪位大虾给看看,谢谢 我初始化了数据库 [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname Mysql user name:user [ OK ] Mysql user password:password [ OK ] Mysql server ip:hostname [ OK ] Mysql server port:3306 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as 192.168.1.30, will use as cluster management server node IP[ OK ] Preparing /etc/cloudstack/management/db.properties [ OK ] No mysql root user specified, will not create Cloud DB schema Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties [root@cloudstack ~]# cloudstack-setup-databases cloud:123456@hostname Mysql user name:cloud [ OK ] Mysql user password:123456 [ OK ] Mysql server ip:hostname [ OK ] Mysql server port:3306 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as 192.168.1.30, will use as cluster management server node IP[ OK ] Preparing /etc/cloudstack/management/db.properties [ OK ] No mysql root user specified, will not create Cloud DB schema Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties 发现现在无法通过web访问了,不知道什么原因 -- 祝: 身体健康, 工作顺利!
回复: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了
改过 第一次: [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname 第二次:root@cloudstack ~]# cloudstack-setup-databases cloud:123456@hostname 第三次:[root@cloudstack ~]# cloudstack-setup-databases cloud:123456@localhost --deploy-as=root:cloudstack -e file -m 123456 -k 123456 下面是现在的db.properties [root@cloudstack ~]# cat /etc/cloudstack/management/db.properties # Licensed to the Apache Software Foundation (ASF) under one db.cloud.minEvictableIdleTimeMillis=24 db.cloud.validationQuery=SELECT 1 db.usage.maxActive=100 # distributed with this work for additional information # Encryption Settings # with the License. You may obtain a copy of the License at db.awsapi.username=cloud db.simulator.password=cloud db.simulator.maxWait=1 # http://www.apache.org/licenses/LICENSE-2.0 db.cloud.name=cloud # software distributed under the License is distributed on an # to you under the Apache License, Version 2.0 (the # License); you may not use this file except in compliance # usage database settings db.cloud.password=ENC(iAjgEqbX11fgTBjdQtlkDg==) cluster.servlet.port=9090 db.cloud.host=localhost # specific language governing permissions and limitations # CloudStack database SSL settings # or more contributor license agreements. See the NOTICE file db.usage.maxIdle=30 db.cloud.timeBetweenEvictionRunsMillis=4 # Unless required by applicable law or agreed to in writing, db.cloud.maxWait=1 db.usage.host=localhost # CloudStack database settings db.simulator.maxIdle=30 db.cloud.keyStorePassword= db.simulator.maxActive=250 # management server clustering parameters, change cluster.node.IP to the machine IP address db.usage.port=3306 db.usage.maxWait=1 # in which the management server(Tomcat) is running db.cloud.trustStore= db.usage.name=cloud_usage db.cloud.poolPreparedStatements=false db.simulator.autoReconnect=true # KIND, either express or implied. See the License for the region.id=1 db.cloud.keyStore= db.cloud.port=3306 # regarding copyright ownership. The ASF licenses this file db.cloud.maxActive=250 # under the License. db.cloud.username=cloud # Simulator database settings db.simulator.port=3306 db.usage.autoReconnect=true db.cloud.testOnBorrow=true db.cloud.maxIdle=30 db.usage.username=cloud db.awsapi.host=localhost # cluster.node.IP=192.168.1.30 db.cloud.encryption.type=file db.cloud.testWhileIdle=true # awsapi database settings db.cloud.useSSL=false db.cloud.trustStorePassword= # AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY db.cloud.encrypt.secret=ENC(9OOTyDNnIXLZy7Xk39jwNg==) db.cloud.url.params=prepStmtCacheSize=517cachePrepStmts=true # CloudStack database tuning parameters db.cloud.autoReconnect=true # usage database tuning parameters db.usage.password=ENC(cqnXvxLQK7tF80Bd1dcQtw==) db.awsapi.port=3306 db.awsapi.name=cloudbridge db.simulator.name=simulator db.simulator.host=localhost db.awsapi.password=cloud db.usage.url.params= 祝: 身体健康, 工作顺利! 发件人: Wei ZHOU 发送时间: 2014-02-18 16:07 收件人: users-cn 主题: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了 /etc/cloudstack/management/db.properties 改过吗? 2014-02-18 8:30 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: hi, 我是通过yum 通过网络在线安装的cloudstac 4.2.1发现安装之后无法通过admin/password登录,也没有任何报错 附件为相关log,麻烦哪位大虾给看看,谢谢 我初始化了数据库 [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname Mysql user name:user [ OK ] Mysql user password:password [ OK ] Mysql server ip:hostname [ OK ] Mysql server port:3306 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as 192.168.1.30, will use as cluster management server node IP[ OK ] Preparing /etc/cloudstack/management/db.properties [ OK ] No mysql root user specified, will not create Cloud DB schema Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties [root@cloudstack ~]# cloudstack-setup-databases cloud:123456@hostname Mysql user name:cloud [ OK ] Mysql user password:123456 [ OK ] Mysql server ip:hostname [ OK ] Mysql server port:3306 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as 192.168.1.30, will use as cluster management server node IP[ OK ] Preparing /etc/cloudstack/management/db.properties [ OK ] No mysql root user specified, will not create Cloud DB schema Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties 发现现在无法通过web访问了,不知道什么原因 祝: 身体健康, 工作顺利!
Re: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了
重新填 2014-02-18 9:24 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: 改过 第一次: [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname 第二次:root@cloudstack ~]# cloudstack-setup-databases cloud:123456@hostname 第三次:[root@cloudstack ~]# cloudstack-setup-databases cloud:123456@localhost--deploy-as=root:cloudstack -e file -m 123456 -k 123456 下面是现在的db.properties [root@cloudstack ~]# cat /etc/cloudstack/management/db.properties # Licensed to the Apache Software Foundation (ASF) under one db.cloud.minEvictableIdleTimeMillis=24 db.cloud.validationQuery=SELECT 1 db.usage.maxActive=100 # distributed with this work for additional information # Encryption Settings # with the License. You may obtain a copy of the License at db.awsapi.username=cloud db.simulator.password=cloud db.simulator.maxWait=1 # http://www.apache.org/licenses/LICENSE-2.0 db.cloud.name=cloud # software distributed under the License is distributed on an # to you under the Apache License, Version 2.0 (the # License); you may not use this file except in compliance # usage database settings db.cloud.password=ENC(iAjgEqbX11fgTBjdQtlkDg==) cluster.servlet.port=9090 db.cloud.host=localhost # specific language governing permissions and limitations # CloudStack database SSL settings # or more contributor license agreements. See the NOTICE file db.usage.maxIdle=30 db.cloud.timeBetweenEvictionRunsMillis=4 # Unless required by applicable law or agreed to in writing, db.cloud.maxWait=1 db.usage.host=localhost # CloudStack database settings db.simulator.maxIdle=30 db.cloud.keyStorePassword= db.simulator.maxActive=250 # management server clustering parameters, change cluster.node.IP to the machine IP address db.usage.port=3306 db.usage.maxWait=1 # in which the management server(Tomcat) is running db.cloud.trustStore= db.usage.name=cloud_usage db.cloud.poolPreparedStatements=false db.simulator.autoReconnect=true # KIND, either express or implied. See the License for the region.id=1 db.cloud.keyStore= db.cloud.port=3306 # regarding copyright ownership. The ASF licenses this file db.cloud.maxActive=250 # under the License. db.cloud.username=cloud # Simulator database settings db.simulator.port=3306 db.usage.autoReconnect=true db.cloud.testOnBorrow=true db.cloud.maxIdle=30 db.usage.username=cloud db.awsapi.host=localhost # cluster.node.IP=192.168.1.30 db.cloud.encryption.type=file db.cloud.testWhileIdle=true # awsapi database settings db.cloud.useSSL=false db.cloud.trustStorePassword= # AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY db.cloud.encrypt.secret=ENC(9OOTyDNnIXLZy7Xk39jwNg==) db.cloud.url.params=prepStmtCacheSize=517cachePrepStmts=true # CloudStack database tuning parameters db.cloud.autoReconnect=true # usage database tuning parameters db.usage.password=ENC(cqnXvxLQK7tF80Bd1dcQtw==) db.awsapi.port=3306 db.awsapi.name=cloudbridge db.simulator.name=simulator db.simulator.host=localhost db.awsapi.password=cloud db.usage.url.params= -- 祝: 身体健康, 工作顺利! *发件人:* Wei ZHOU ustcweiz...@gmail.com *发送时间:* 2014-02-18 16:07 *收件人:* users-cn users-cn@cloudstack.apache.org *主题:* Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了 /etc/cloudstack/management/db.properties 改过吗? 2014-02-18 8:30 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: hi, 我是通过yum 通过网络在线安装的cloudstac 4.2.1发现安装之后无法通过admin/password登录,也没有任何报错 附件为相关log,麻烦哪位大虾给看看,谢谢 我初始化了数据库 [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname Mysql user name:user [ OK ] Mysql user password:password [ OK ] Mysql server ip:hostname [ OK ] Mysql server port:3306 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as 192.168.1.30, will use as cluster management server node IP[ OK ] Preparing /etc/cloudstack/management/db.properties [ OK ] No mysql root user specified, will not create Cloud DB schema Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties [root@cloudstack ~]# cloudstack-setup-databases cloud:123456@hostname Mysql user name:cloud [ OK ] Mysql user password:123456 [ OK ] Mysql server ip:hostname [ OK ] Mysql server port:3306 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as 192.168.1.30, will use as cluster management server node IP[ OK ] Preparing /etc/cloudstack/management/db.properties [ OK ] No mysql root user specified, will not create Cloud DB schema Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check
回复: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了
第三次:[root@cloudstack ~]# cloudstack-setup-databases cloud:123456@localhost--deploy-as=root:cloudstack -e file -m 123456 -k 123456 现在这个就是我第一次,配置时候使用的,现在已经是原来的,现在还不能通过web访问 祝: 身体健康, 工作顺利! 发件人: Wei ZHOU 发送时间: 2014-02-18 16:29 收件人: users-cn 主题: Re: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了 重新填 2014-02-18 9:24 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: 改过 第一次: [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname 第二次:root@cloudstack ~]# cloudstack-setup-databases cloud:123456@hostname 第三次:[root@cloudstack ~]# cloudstack-setup-databases cloud:123456@localhost--deploy-as=root:cloudstack -e file -m 123456 -k 123456 下面是现在的db.properties [root@cloudstack ~]# cat /etc/cloudstack/management/db.properties # Licensed to the Apache Software Foundation (ASF) under one db.cloud.minEvictableIdleTimeMillis=24 db.cloud.validationQuery=SELECT 1 db.usage.maxActive=100 # distributed with this work for additional information # Encryption Settings # with the License. You may obtain a copy of the License at db.awsapi.username=cloud db.simulator.password=cloud db.simulator.maxWait=1 # http://www.apache.org/licenses/LICENSE-2.0 db.cloud.name=cloud # software distributed under the License is distributed on an # to you under the Apache License, Version 2.0 (the # License); you may not use this file except in compliance # usage database settings db.cloud.password=ENC(iAjgEqbX11fgTBjdQtlkDg==) cluster.servlet.port=9090 db.cloud.host=localhost # specific language governing permissions and limitations # CloudStack database SSL settings # or more contributor license agreements. See the NOTICE file db.usage.maxIdle=30 db.cloud.timeBetweenEvictionRunsMillis=4 # Unless required by applicable law or agreed to in writing, db.cloud.maxWait=1 db.usage.host=localhost # CloudStack database settings db.simulator.maxIdle=30 db.cloud.keyStorePassword= db.simulator.maxActive=250 # management server clustering parameters, change cluster.node.IP to the machine IP address db.usage.port=3306 db.usage.maxWait=1 # in which the management server(Tomcat) is running db.cloud.trustStore= db.usage.name=cloud_usage db.cloud.poolPreparedStatements=false db.simulator.autoReconnect=true # KIND, either express or implied. See the License for the region.id=1 db.cloud.keyStore= db.cloud.port=3306 # regarding copyright ownership. The ASF licenses this file db.cloud.maxActive=250 # under the License. db.cloud.username=cloud # Simulator database settings db.simulator.port=3306 db.usage.autoReconnect=true db.cloud.testOnBorrow=true db.cloud.maxIdle=30 db.usage.username=cloud db.awsapi.host=localhost # cluster.node.IP=192.168.1.30 db.cloud.encryption.type=file db.cloud.testWhileIdle=true # awsapi database settings db.cloud.useSSL=false db.cloud.trustStorePassword= # AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY db.cloud.encrypt.secret=ENC(9OOTyDNnIXLZy7Xk39jwNg==) db.cloud.url.params=prepStmtCacheSize=517cachePrepStmts=true # CloudStack database tuning parameters db.cloud.autoReconnect=true # usage database tuning parameters db.usage.password=ENC(cqnXvxLQK7tF80Bd1dcQtw==) db.awsapi.port=3306 db.awsapi.name=cloudbridge db.simulator.name=simulator db.simulator.host=localhost db.awsapi.password=cloud db.usage.url.params= -- 祝: 身体健康, 工作顺利! *发件人:* Wei ZHOU ustcweiz...@gmail.com *发送时间:* 2014-02-18 16:07 *收件人:* users-cn users-cn@cloudstack.apache.org *主题:* Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了 /etc/cloudstack/management/db.properties 改过吗? 2014-02-18 8:30 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: hi, 我是通过yum 通过网络在线安装的cloudstac 4.2.1发现安装之后无法通过admin/password登录,也没有任何报错 附件为相关log,麻烦哪位大虾给看看,谢谢 我初始化了数据库 [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname Mysql user name:user [ OK ] Mysql user password:password [ OK ] Mysql server ip:hostname [ OK ] Mysql server port:3306 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as 192.168.1.30, will use as cluster management server node IP[ OK ] Preparing /etc/cloudstack/management/db.properties [ OK ] No mysql root user specified, will not create Cloud DB schema Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties [root@cloudstack ~]# cloudstack-setup-databases cloud:123456@hostname Mysql user name:cloud [ OK ] Mysql user password:123456 [ OK ] Mysql server ip:hostname [ OK ] Mysql server port:3306 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as
Re: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了
你的数据库表都没有建成功吧,怎么web访问 2014-02-18 9:36 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: 第三次:[root@cloudstack ~]# cloudstack-setup-databases cloud:123456@localhost--deploy-as=root:cloudstack -e file -m 123456 -k 123456 现在这个就是我第一次,配置时候使用的,现在已经是原来的,现在还不能通过web访问 -- 祝: 身体健康, 工作顺利! *发件人:* Wei ZHOU ustcweiz...@gmail.com *发送时间:* 2014-02-18 16:29 *收件人:* users-cn users-cn@cloudstack.apache.org *主题:* Re: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了 重新填 2014-02-18 9:24 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: 改过 第一次: [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname 第二次:root@cloudstack ~]# cloudstack-setup-databases cloud:123456@hostname 第三次:[root@cloudstack ~]# cloudstack-setup-databases cloud:123456@localhost--deploy-as=root:cloudstack -e file -m 123456 -k 123456 下面是现在的db.properties [root@cloudstack ~]# cat /etc/cloudstack/management/db.properties # Licensed to the Apache Software Foundation (ASF) under one db.cloud.minEvictableIdleTimeMillis=24 db.cloud.validationQuery=SELECT 1 db.usage.maxActive=100 # distributed with this work for additional information # Encryption Settings # with the License. You may obtain a copy of the License at db.awsapi.username=cloud db.simulator.password=cloud db.simulator.maxWait=1 # http://www.apache.org/licenses/LICENSE-2.0 db.cloud.name=cloud # software distributed under the License is distributed on an # to you under the Apache License, Version 2.0 (the # License); you may not use this file except in compliance # usage database settings db.cloud.password=ENC(iAjgEqbX11fgTBjdQtlkDg==) cluster.servlet.port=9090 db.cloud.host=localhost # specific language governing permissions and limitations # CloudStack database SSL settings # or more contributor license agreements. See the NOTICE file db.usage.maxIdle=30 db.cloud.timeBetweenEvictionRunsMillis=4 # Unless required by applicable law or agreed to in writing, db.cloud.maxWait=1 db.usage.host=localhost # CloudStack database settings db.simulator.maxIdle=30 db.cloud.keyStorePassword= db.simulator.maxActive=250 # management server clustering parameters, change cluster.node.IP to the machine IP address db.usage.port=3306 db.usage.maxWait=1 # in which the management server(Tomcat) is running db.cloud.trustStore= db.usage.name=cloud_usage db.cloud.poolPreparedStatements=false db.simulator.autoReconnect=true # KIND, either express or implied. See the License for the region.id=1 db.cloud.keyStore= db.cloud.port=3306 # regarding copyright ownership. The ASF licenses this file db.cloud.maxActive=250 # under the License. db.cloud.username=cloud # Simulator database settings db.simulator.port=3306 db.usage.autoReconnect=true db.cloud.testOnBorrow=true db.cloud.maxIdle=30 db.usage.username=cloud db.awsapi.host=localhost # cluster.node.IP=192.168.1.30 db.cloud.encryption.type=file db.cloud.testWhileIdle=true # awsapi database settings db.cloud.useSSL=false db.cloud.trustStorePassword= # AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY db.cloud.encrypt.secret=ENC(9OOTyDNnIXLZy7Xk39jwNg==) db.cloud.url.params=prepStmtCacheSize=517cachePrepStmts=true # CloudStack database tuning parameters db.cloud.autoReconnect=true # usage database tuning parameters db.usage.password=ENC(cqnXvxLQK7tF80Bd1dcQtw==) db.awsapi.port=3306 db.awsapi.name=cloudbridge db.simulator.name=simulator db.simulator.host=localhost db.awsapi.password=cloud db.usage.url.params= -- 祝: 身体健康, 工作顺利! *发件人:* Wei ZHOU ustcweiz...@gmail.com *发送时间:* 2014-02-18 16:07 *收件人:* users-cn users-cn@cloudstack.apache.org *主题:* Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了 /etc/cloudstack/management/db.properties 改过吗? 2014-02-18 8:30 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: hi, 我是通过yum 通过网络在线安装的cloudstac 4.2.1发现安装之后无法通过admin/password登录,也没有任何报错 附件为相关log,麻烦哪位大虾给看看,谢谢 我初始化了数据库 [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname Mysql user name:user [ OK ] Mysql user password:password [ OK ] Mysql server ip:hostname [ OK ] Mysql server port:3306 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as 192.168.1.30, will use as cluster management server node IP[ OK ] Preparing /etc/cloudstack/management/db.properties [ OK ] No mysql root user specified, will not create Cloud DB schema Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties [root@cloudstack ~]#
回复: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了--解决了
cloud:123456@localhost--deploy-as=root:cloudstack -e file -m 123456 -k 123456 我重新更新了数据库,发现还是不行 发现日志有权限问题 /etc/cloudstack/management/db.properties (Permission denied) 由于我更改的原因,导致权限发生了变化 [root@cloudstack management]# ll -all -rw-r- 1 root root 2581 2月 18 16:45 db.properties [root@cloudstack management]# chmod 777 db.properties [root@cloudstack management]# ll -all -rwxrwxrwx 1 root root 2581 2月 18 16:45 db.properties [root@cloudstack management]# service cloudstack-management restart Stopping cloudstack-management: [确定] Starting cloudstack-management: [确定] 可以访问并能够通过admin/password登录了,但是为啥第一次不知道为啥不行。 祝: 身体健康, 工作顺利! 发件人: Wei ZHOU 发送时间: 2014-02-18 16:40 收件人: users-cn 主题: Re: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了 你的数据库表都没有建成功吧,怎么web访问 2014-02-18 9:36 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: 第三次:[root@cloudstack ~]# cloudstack-setup-databases cloud:123456@localhost--deploy-as=root:cloudstack -e file -m 123456 -k 123456 现在这个就是我第一次,配置时候使用的,现在已经是原来的,现在还不能通过web访问 -- 祝: 身体健康, 工作顺利! *发件人:* Wei ZHOU ustcweiz...@gmail.com *发送时间:* 2014-02-18 16:29 *收件人:* users-cn users-cn@cloudstack.apache.org *主题:* Re: Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了 重新填 2014-02-18 9:24 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: 改过 第一次: [root@cloudstack ~]# cloudstack-setup-databases user:password@hostname 第二次:root@cloudstack ~]# cloudstack-setup-databases cloud:123456@hostname 第三次:[root@cloudstack ~]# cloudstack-setup-databases cloud:123456@localhost--deploy-as=root:cloudstack -e file -m 123456 -k 123456 下面是现在的db.properties [root@cloudstack ~]# cat /etc/cloudstack/management/db.properties # Licensed to the Apache Software Foundation (ASF) under one db.cloud.minEvictableIdleTimeMillis=24 db.cloud.validationQuery=SELECT 1 db.usage.maxActive=100 # distributed with this work for additional information # Encryption Settings # with the License. You may obtain a copy of the License at db.awsapi.username=cloud db.simulator.password=cloud db.simulator.maxWait=1 # http://www.apache.org/licenses/LICENSE-2.0 db.cloud.name=cloud # software distributed under the License is distributed on an # to you under the Apache License, Version 2.0 (the # License); you may not use this file except in compliance # usage database settings db.cloud.password=ENC(iAjgEqbX11fgTBjdQtlkDg==) cluster.servlet.port=9090 db.cloud.host=localhost # specific language governing permissions and limitations # CloudStack database SSL settings # or more contributor license agreements. See the NOTICE file db.usage.maxIdle=30 db.cloud.timeBetweenEvictionRunsMillis=4 # Unless required by applicable law or agreed to in writing, db.cloud.maxWait=1 db.usage.host=localhost # CloudStack database settings db.simulator.maxIdle=30 db.cloud.keyStorePassword= db.simulator.maxActive=250 # management server clustering parameters, change cluster.node.IP to the machine IP address db.usage.port=3306 db.usage.maxWait=1 # in which the management server(Tomcat) is running db.cloud.trustStore= db.usage.name=cloud_usage db.cloud.poolPreparedStatements=false db.simulator.autoReconnect=true # KIND, either express or implied. See the License for the region.id=1 db.cloud.keyStore= db.cloud.port=3306 # regarding copyright ownership. The ASF licenses this file db.cloud.maxActive=250 # under the License. db.cloud.username=cloud # Simulator database settings db.simulator.port=3306 db.usage.autoReconnect=true db.cloud.testOnBorrow=true db.cloud.maxIdle=30 db.usage.username=cloud db.awsapi.host=localhost # cluster.node.IP=192.168.1.30 db.cloud.encryption.type=file db.cloud.testWhileIdle=true # awsapi database settings db.cloud.useSSL=false db.cloud.trustStorePassword= # AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY db.cloud.encrypt.secret=ENC(9OOTyDNnIXLZy7Xk39jwNg==) db.cloud.url.params=prepStmtCacheSize=517cachePrepStmts=true # CloudStack database tuning parameters db.cloud.autoReconnect=true # usage database tuning parameters db.usage.password=ENC(cqnXvxLQK7tF80Bd1dcQtw==) db.awsapi.port=3306 db.awsapi.name=cloudbridge db.simulator.name=simulator db.simulator.host=localhost db.awsapi.password=cloud db.usage.url.params= -- 祝: 身体健康, 工作顺利! *发件人:* Wei ZHOU ustcweiz...@gmail.com *发送时间:* 2014-02-18 16:07 *收件人:* users-cn users-cn@cloudstack.apache.org *主题:* Re: cloudstack 使用admin/password无法登录初始化数据之后发现无法通过web登录了 /etc/cloudstack/management/db.properties 改过吗? 2014-02-18 8:30 GMT+01:00 zhiyuanliyafei zhiyuanliya...@126.com: hi, 我是通过yum 通过网络在线安装的cloudstac 4.2.1发现安装之后无法通过admin/password登录,也没有任何报错 附件为相关log,麻烦哪位大虾给看看,谢谢 我初始化了数据库 [root@cloudstack ~]# cloudstack-setup-databases
Re: Where is Remote Access vpn settings.
On 17.02.2014 20:35, Jason Villalta wrote: It is almost like my UI is behind even though I upgraded to 4.1.1 a few months ago so I would except this UI to be there. I do not know when the VPN feature was introduced, but you certainly are behind, the current version is 4.2.1 and 4.3 is not very far. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
RE: Where is Remote Access vpn settings.
AFAIK, one of the features introduced in 4.3 is remote access VPNs for VPCs. The VR in a VPC is slightly different to the VR for non-VPC usage so you may need to upgrade to 4.3. Official release seems fairly imminent (http://markmail.org/thread/3nnroif5fqr3c2q6) but could still be blocked if a major bug is discovered. -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: 18 February 2014 08:41 To: users@cloudstack.apache.org Subject: Re: Where is Remote Access vpn settings. On 17.02.2014 20:35, Jason Villalta wrote: It is almost like my UI is behind even though I upgraded to 4.1.1 a few months ago so I would except this UI to be there. I do not know when the VPN feature was introduced, but you certainly are behind, the current version is 4.2.1 and 4.3 is not very far. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
RE: how to modify network configuration on a zone
Hi Geoff, Just changing the traffic label worked as a charm, thanks a million!! Regards, Joaquín Angel Alonso Alvarez Administrador de Sistemas Infraestructura y Sistemas Tel: +34 902 932 400 jalo...@izertis.com mailto:jalo...@izertis.com De: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] Enviado el: lunes, 17 de febrero de 2014 15:51 Para: users@cloudstack.apache.org Asunto: RE: how to modify network configuration on a zone Joaquin, You could simply change the 'traffic labels' to match the settings on your Hypervisor (you did not say which one you are using) However if you want to add a new Physical Network and map the traffic to it you will need to use the API, and the following commands createPhysicalNetwork http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/createPhysicalNetwork.html To create the new Physical Network deleteTrafficType http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/deleteTrafficType.html To remove the storage traffic from the existing Physical Network addTrafficType http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/addTrafficType.html To add the Storage Traffic to the new Physical Network Regards Geoff Higginbottom D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540 | M: +447968161581tel:+447968161581 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com From: Joaquin Angel Alonso Alvarez [mailto:jalo...@izertis.com] Sent: 17 February 2014 14:41 To: users@cloudstack.apache.org Subject: how to modify network configuration on a zone Hi there, Is there any way to modify the physical NIC assignments for the traffic networks? I need to change the NIC the storage traffic is using at the moment to another one due to a reconfiguration on the hosts. Actual conf: NIC0 - Management NIC1 - Storage NIC2 - Primary Storage to the hosts NIC3 - CS Public/Guests Desired conf: NIC0 - Management NIC1 / NIC2 - Storage /Primary Storage to the hosts NIC3 - CS Public/Guest Kind regards, Joaquín Angel Alonso Alvarez Administrador de Sistemas Infraestructuras y Sistemas Tel: +34 902932900 jalo...@izertis.com mailto:jalo...@izertis.com [Descripción: Izertis] Parque Científico - Tecnológico, Zona Intra Avda. del Jardín Botánico 1345 - 33203 Gijón (Asturias) Tel: +34 902 932 400 | Fax: +34 902 932 401 www.izertis.com http://www.izertis.com/ [Descripción: rss] [Descripción: facebook] [Descripción: twitter] [Descripción: linkedin] [Descripción: youtube] [Descripción: arbol]Antes de imprimir este email piense si es necesario hacerlo. Proteger el medio ambiente está también en su mano. AVISO LEGAL Le informamos, como destinatario de este mensaje que el mismo va dirigido, de manera exclusiva, a su destinatario y contiene información confidencial y sujeta al secreto profesional, cuya divulgación no está permitida por la ley. Si Vd. no es el destinatario indicado, se le informa de que cualquier forma de distribución, reproducción o uso de esta comunicación y/o de la información contenida en la misma están estrictamente prohibidos y podría ser ilegal. Si Vd. ha recibido esta comunicación por error, por favor, notifíquelo inmediatamente al remitente contestando a este mensaje y proceda a continuación a destruirlo. Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/ 18th-19th February 2014, Brazil. Classroomhttp://shapeblue.com/cloudstack-training/ 17th-23rd March 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 24th-28th March 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-linehttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from
Re: Where is Remote Access vpn settings.
OK thanks but here is the next problem with that I am getting a SQL script error when trying to upgrade to 4.2.1. The problem is with the schema410to420.SQL script. Have you seen issues with that before? I will get the exact table later. On Feb 18, 2014 3:41 AM, Nux! n...@li.nux.ro wrote: On 17.02.2014 20:35, Jason Villalta wrote: It is almost like my UI is behind even though I upgraded to 4.1.1 a few months ago so I would except this UI to be there. I do not know when the VPN feature was introduced, but you certainly are behind, the current version is 4.2.1 and 4.3 is not very far. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Can 2 Cloudstacks manage the same XenServer cluster?
Could you provide more details in what you want? On Mon, Feb 17, 2014 at 10:29 PM, Song Gao gao.s...@neusoft.com wrote: Hi there, Is it possible that 2 Cloudstack management servers manage the same XenServer Pool. And how please? Thanks. Best wishes! Dean Song Gao --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- -- Rafael Weingärtner
CS 4.2.1 advance networking - Victual Router route traffic another LAN
Hello all, I created a network 10.75.0.1 with virtual router on CS, vlan 108. I want to route traffic to another network 10.122.0.0/24. I have another router with two interfaces one facing vlan 108 with IP 10.75.0.5 and another interface 10.122.0.1. My question is how to create a route in CS virtual router to route traffic to 10.122.0.0/24 Thanks in advance.
Build Failure SNMP Alerts
All, I have been experiencing a build failure, trying to build nonoss RPMS for ver 4.2.1. The error I get is on the SNMP alerts plugin. The exact error message is failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloud-plugin-snmp-alerts: There are test failures. I searched this on the mailing lists and found one other user who was having the exact same problem and it looks like he fixed it by deleting the repo at the following location ~/.m2/repository/. When I delete the ~/.m2/repository/ directory, I then get an error when building, when it gets to the VMware Base plugin. My guess is that by deleting the repo, I am deleting Vmware files it needs to build successfully. Users also suggested making sure I am using the correct version of maven. I have tried using version 3.1.0 and 3.0.4 both end with the same error. Any suggestions?
Re: Build Failure SNMP Alerts
Deleting repos to fix test failures is certainly a longshot. It appears that Maven built your code and was trying to test it. Did you look in the test logs to see which test failed and why. Could be a configuration/initialization issue rather than code (points to an IP that makes no sense, uses a database that does not exist or is empty, etc) If you feel brave or you think that the test can not suceed in your environment , you can ask maven to skip the tests and just test it in your setup. If you delete your repo, you will have to rebuild any modules that you built before. You have deleted whatever libraries and utilities that you built in previous steps. Ron On 18/02/2014 3:33 PM, Michael Phillips wrote: All, I have been experiencing a build failure, trying to build nonoss RPMS for ver 4.2.1. The error I get is on the SNMP alerts plugin. The exact error message is failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloud-plugin-snmp-alerts: There are test failures. I searched this on the mailing lists and found one other user who was having the exact same problem and it looks like he fixed it by deleting the repo at the following location ~/.m2/repository/. When I delete the ~/.m2/repository/ directory, I then get an error when building, when it gets to the VMware Base plugin. My guess is that by deleting the repo, I am deleting Vmware files it needs to build successfully. Users also suggested making sure I am using the correct version of maven. I have tried using version 3.1.0 and 3.0.4 both end with the same error. Any suggestions? -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102
LDAP Authentication with CloudStack 4.2
Hi folks, I am trying to use LDAP Authentication with CloudStack 4.2.1 and the documents are a bit confusing. I am able to enter LDAP settings in the WebGUI successfully. I'm stuck at how to authenticate a user now. From what I have read, there is some talk that I need to create a regular cloudstack user and it will auto-magically auth to LDAP. I have tried this and doesn't seem to work as I can only login with the password set when the user is created in the cloudstack webgui. Any help is appreciated. Thanks! -- Brent S. Clark NOC Engineer 2580 55th St. | Boulder, Colorado 80301 www.tendrilinc.com | blog http://www.tendrilinc.com/news-room/blog/ http://www.tendrilinc.com/ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
RE: Build Failure SNMP Alerts
Yes, the test that is failing is the Apache Cloudstack Plugin - SNMP Alerts Surely someone has run into this problem before... Date: Tue, 18 Feb 2014 15:48:19 -0500 From: rwhee...@artifact-software.com To: users@cloudstack.apache.org Subject: Re: Build Failure SNMP Alerts Deleting repos to fix test failures is certainly a longshot. It appears that Maven built your code and was trying to test it. Did you look in the test logs to see which test failed and why. Could be a configuration/initialization issue rather than code (points to an IP that makes no sense, uses a database that does not exist or is empty, etc) If you feel brave or you think that the test can not suceed in your environment , you can ask maven to skip the tests and just test it in your setup. If you delete your repo, you will have to rebuild any modules that you built before. You have deleted whatever libraries and utilities that you built in previous steps. Ron On 18/02/2014 3:33 PM, Michael Phillips wrote: All, I have been experiencing a build failure, trying to build nonoss RPMS for ver 4.2.1. The error I get is on the SNMP alerts plugin. The exact error message is failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloud-plugin-snmp-alerts: There are test failures. I searched this on the mailing lists and found one other user who was having the exact same problem and it looks like he fixed it by deleting the repo at the following location ~/.m2/repository/. When I delete the ~/.m2/repository/ directory, I then get an error when building, when it gets to the VMware Base plugin. My guess is that by deleting the repo, I am deleting Vmware files it needs to build successfully. Users also suggested making sure I am using the correct version of maven. I have tried using version 3.1.0 and 3.0.4 both end with the same error. Any suggestions? -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102
RE: Build Failure SNMP Alerts
I did some more digging in the logs and I see the following: Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec FAILURE!appendTest(org.apache.cloudstack.alert.snmp.SnmpTrapAppenderTest) Time elapsed: 0.054 sec FAILURE!junit.framework.AssertionFailedError: error snmpHelper list size not as expected expected:0 but was:2 From: mphilli7...@hotmail.com To: users@cloudstack.apache.org Subject: RE: Build Failure SNMP Alerts Date: Tue, 18 Feb 2014 18:04:30 -0600 Yes, the test that is failing is the Apache Cloudstack Plugin - SNMP Alerts Surely someone has run into this problem before... Date: Tue, 18 Feb 2014 15:48:19 -0500 From: rwhee...@artifact-software.com To: users@cloudstack.apache.org Subject: Re: Build Failure SNMP Alerts Deleting repos to fix test failures is certainly a longshot. It appears that Maven built your code and was trying to test it. Did you look in the test logs to see which test failed and why. Could be a configuration/initialization issue rather than code (points to an IP that makes no sense, uses a database that does not exist or is empty, etc) If you feel brave or you think that the test can not suceed in your environment , you can ask maven to skip the tests and just test it in your setup. If you delete your repo, you will have to rebuild any modules that you built before. You have deleted whatever libraries and utilities that you built in previous steps. Ron On 18/02/2014 3:33 PM, Michael Phillips wrote: All, I have been experiencing a build failure, trying to build nonoss RPMS for ver 4.2.1. The error I get is on the SNMP alerts plugin. The exact error message is failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloud-plugin-snmp-alerts: There are test failures. I searched this on the mailing lists and found one other user who was having the exact same problem and it looks like he fixed it by deleting the repo at the following location ~/.m2/repository/. When I delete the ~/.m2/repository/ directory, I then get an error when building, when it gets to the VMware Base plugin. My guess is that by deleting the repo, I am deleting Vmware files it needs to build successfully. Users also suggested making sure I am using the correct version of maven. I have tried using version 3.1.0 and 3.0.4 both end with the same error. Any suggestions? -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102
RE: Build Failure SNMP Alerts
I came across this article by googling. Looks like the issue may be related to Centos 6. Trying this now.. http://engtmk.wordpress.com/tag/error-snmphelper-centos-cloudstack/ From: mphilli7...@hotmail.com To: users@cloudstack.apache.org Subject: RE: Build Failure SNMP Alerts Date: Tue, 18 Feb 2014 18:12:00 -0600 I did some more digging in the logs and I see the following: Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec FAILURE!appendTest(org.apache.cloudstack.alert.snmp.SnmpTrapAppenderTest) Time elapsed: 0.054 sec FAILURE!junit.framework.AssertionFailedError: error snmpHelper list size not as expected expected:0 but was:2 From: mphilli7...@hotmail.com To: users@cloudstack.apache.org Subject: RE: Build Failure SNMP Alerts Date: Tue, 18 Feb 2014 18:04:30 -0600 Yes, the test that is failing is the Apache Cloudstack Plugin - SNMP Alerts Surely someone has run into this problem before... Date: Tue, 18 Feb 2014 15:48:19 -0500 From: rwhee...@artifact-software.com To: users@cloudstack.apache.org Subject: Re: Build Failure SNMP Alerts Deleting repos to fix test failures is certainly a longshot. It appears that Maven built your code and was trying to test it. Did you look in the test logs to see which test failed and why. Could be a configuration/initialization issue rather than code (points to an IP that makes no sense, uses a database that does not exist or is empty, etc) If you feel brave or you think that the test can not suceed in your environment , you can ask maven to skip the tests and just test it in your setup. If you delete your repo, you will have to rebuild any modules that you built before. You have deleted whatever libraries and utilities that you built in previous steps. Ron On 18/02/2014 3:33 PM, Michael Phillips wrote: All, I have been experiencing a build failure, trying to build nonoss RPMS for ver 4.2.1. The error I get is on the SNMP alerts plugin. The exact error message is failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloud-plugin-snmp-alerts: There are test failures. I searched this on the mailing lists and found one other user who was having the exact same problem and it looks like he fixed it by deleting the repo at the following location ~/.m2/repository/. When I delete the ~/.m2/repository/ directory, I then get an error when building, when it gets to the VMware Base plugin. My guess is that by deleting the repo, I am deleting Vmware files it needs to build successfully. Users also suggested making sure I am using the correct version of maven. I have tried using version 3.1.0 and 3.0.4 both end with the same error. Any suggestions? -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102
RE: Build Failure SNMP Alerts
Successafter following the advise from the article posted below, I was able to build with nonoss From: mphilli7...@hotmail.com To: users@cloudstack.apache.org Subject: RE: Build Failure SNMP Alerts Date: Tue, 18 Feb 2014 18:16:49 -0600 I came across this article by googling. Looks like the issue may be related to Centos 6. Trying this now.. http://engtmk.wordpress.com/tag/error-snmphelper-centos-cloudstack/ From: mphilli7...@hotmail.com To: users@cloudstack.apache.org Subject: RE: Build Failure SNMP Alerts Date: Tue, 18 Feb 2014 18:12:00 -0600 I did some more digging in the logs and I see the following: Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec FAILURE!appendTest(org.apache.cloudstack.alert.snmp.SnmpTrapAppenderTest) Time elapsed: 0.054 sec FAILURE!junit.framework.AssertionFailedError: error snmpHelper list size not as expected expected:0 but was:2 From: mphilli7...@hotmail.com To: users@cloudstack.apache.org Subject: RE: Build Failure SNMP Alerts Date: Tue, 18 Feb 2014 18:04:30 -0600 Yes, the test that is failing is the Apache Cloudstack Plugin - SNMP Alerts Surely someone has run into this problem before... Date: Tue, 18 Feb 2014 15:48:19 -0500 From: rwhee...@artifact-software.com To: users@cloudstack.apache.org Subject: Re: Build Failure SNMP Alerts Deleting repos to fix test failures is certainly a longshot. It appears that Maven built your code and was trying to test it. Did you look in the test logs to see which test failed and why. Could be a configuration/initialization issue rather than code (points to an IP that makes no sense, uses a database that does not exist or is empty, etc) If you feel brave or you think that the test can not suceed in your environment , you can ask maven to skip the tests and just test it in your setup. If you delete your repo, you will have to rebuild any modules that you built before. You have deleted whatever libraries and utilities that you built in previous steps. Ron On 18/02/2014 3:33 PM, Michael Phillips wrote: All, I have been experiencing a build failure, trying to build nonoss RPMS for ver 4.2.1. The error I get is on the SNMP alerts plugin. The exact error message is failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloud-plugin-snmp-alerts: There are test failures. I searched this on the mailing lists and found one other user who was having the exact same problem and it looks like he fixed it by deleting the repo at the following location ~/.m2/repository/. When I delete the ~/.m2/repository/ directory, I then get an error when building, when it gets to the VMware Base plugin. My guess is that by deleting the repo, I am deleting Vmware files it needs to build successfully. Users also suggested making sure I am using the correct version of maven. I have tried using version 3.1.0 and 3.0.4 both end with the same error. Any suggestions? -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102
Re: LDAP Authentication with CloudStack 4.2
Hi Brent, Just to confirm, are you going against a windows activedirectory or something more along the lines of openldap? Have you adjusted the queryfilter accordingly? Never found the UI great for doing this, so will explain the process with cloudmonkey. ldap config hostname=dc.domain.tld searchbase=CN=Users,DC=domain,DC=tld queryfilter=(sAMAccountName=%u) binddn=CN=Administrator,CN=Users,DC=domain,DC=tld bindpass=password port=389 You should get a response back of your settings to confirm they've been set successfully. After this it is just a case of creating a new Cloudstack User with a matching username. It should automatically look them up on login and authenticate with their LDAP password. On 18 February 2014 21:55, Brent Clark bcl...@tendrilinc.com wrote: Hi folks, I am trying to use LDAP Authentication with CloudStack 4.2.1 and the documents are a bit confusing. I am able to enter LDAP settings in the WebGUI successfully. I'm stuck at how to authenticate a user now. From what I have read, there is some talk that I need to create a regular cloudstack user and it will auto-magically auth to LDAP. I have tried this and doesn't seem to work as I can only login with the password set when the user is created in the cloudstack webgui. Any help is appreciated. Thanks! -- Brent S. Clark NOC Engineer 2580 55th St. | Boulder, Colorado 80301 www.tendrilinc.com | blog http://www.tendrilinc.com/news-room/blog/ http://www.tendrilinc.com/ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Some problems when installing cloudstack.
Hi, I've installed cloudstack system as your tutorial but I have some problems and cannot access web IU, it have blank page when I access link: http://serverip:8080/client. Here log of /var/log/cloud/management/management-server.log grep -i -E 'exception|unable|fail|invalid|leak|warn|error' /var/log/cloud/management/management-server.log 2014-02-18 17:59:50 http://www.youtube.com/watch?v=Fxn195V3Sm4t=17h59m50s,167 INFO [xen.resource.XenServerConnectionPool] (main:null) XenServer Connection Pool Configs: manage.xenserver.pool.master=true; sleep.interval.on.error=1 2014-02-18 17:59:51 http://www.youtube.com/watch?v=Fxn195V3Sm4t=17h59m51s,345 WARN [cloud.configuration.ConfigurationManagerImpl] (main:null) Management network CIDR is not configured originally. Set it default to 192.168.1.0/24 2014-02-18 http://192.168.1.0/242014-02-18 17:59:52http://www.youtube.com/watch?v=Fxn195V3Sm4t=17h59m52s,729 ERROR [cloud.cluster.ClusterServiceServletContainer] (Thread-12:null) Unexpected exception java.net.SocketException: Socket closed 2014-02-18 17:59:53 http://www.youtube.com/watch?v=Fxn195V3Sm4t=17h59m53s,317 WARN [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Notifying management server join event took 10 ms 2014-02-18 18:06:04 http://www.youtube.com/watch?v=Fxn195V3Sm4t=18h06m04s,987 INFO [xen.resource.XenServerConnectionPool] (main:null) XenServer Connection Pool Configs: manage.xenserver.pool.master=true; sleep.interval.on.error=1 2014-02-18 18:06:06 http://www.youtube.com/watch?v=Fxn195V3Sm4t=18h06m06s,096 ERROR [cloud.cluster.ClusterServiceServletContainer] (Thread-12:null) Unexpected exception java.net.SocketException: Socket closed 2014-02-18 18:07:53 http://www.youtube.com/watch?v=Fxn195V3Sm4t=18h07m53s,397 ERROR [cloud.cluster.ClusterManagerImpl] (main:null) Unable to ping management server at 192.168.1.211:9090 due to ConnectException java.net.ConnectException: Connection refused 2014-02-18 18:07:54 http://www.youtube.com/watch?v=Fxn195V3Sm4t=18h07m54s,047 INFO [xen.resource.XenServerConnectionPool] (main:null) XenServer Connection Pool Configs: manage.xenserver.pool.master=true; sleep.interval.on.error=1 2014-02-18 18:07:54 http://www.youtube.com/watch?v=Fxn195V3Sm4t=18h07m54s,812 ERROR [cloud.cluster.ClusterServiceServletContainer] (Thread-12:null) Unexpected exception java.net.SocketException: Socket closed Pls help to fix or any advice. My email: denisphu...@gmail.com Many thank!
Can't login to webui
I have a new install on 4.2.1 on Centos, however I can not login to the UI using the default username\password combo of admin\password. I have checked my 'cloud' database and its has tables etc. I even checked the user table and it looks like there is an admin user... What am I missing??
RE: Can't login to webui
hah...nice the logs are telling me the admin account is locked\disabled. So how does it become locked on a fresh install? From: mphilli7...@hotmail.com To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: RE: Can't login to webui Date: Tue, 18 Feb 2014 22:56:39 -0600 Looks like the admin account in the database has a hashed password of 0.180873463098773 From: mphilli7...@hotmail.com To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: Can't login to webui Date: Tue, 18 Feb 2014 22:50:46 -0600 I have a new install on 4.2.1 on Centos, however I can not login to the UI using the default username\password combo of admin\password. I have checked my 'cloud' database and its has tables etc. I even checked the user table and it looks like there is an admin user... What am I missing??
RE: Can't login to webui
So I enabled the account via mysql through the command linehowever the logs still say the password does not match when trying to login... err dev guys what could the pw be if not password? From: mphilli7...@hotmail.com To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: RE: Can't login to webui Date: Tue, 18 Feb 2014 23:05:21 -0600 hah...nice the logs are telling me the admin account is locked\disabled. So how does it become locked on a fresh install? From: mphilli7...@hotmail.com To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: RE: Can't login to webui Date: Tue, 18 Feb 2014 22:56:39 -0600 Looks like the admin account in the database has a hashed password of 0.180873463098773 From: mphilli7...@hotmail.com To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: Can't login to webui Date: Tue, 18 Feb 2014 22:50:46 -0600 I have a new install on 4.2.1 on Centos, however I can not login to the UI using the default username\password combo of admin\password. I have checked my 'cloud' database and its has tables etc. I even checked the user table and it looks like there is an admin user... What am I missing??
RE: Can't login to webui
something obviously went horribly wrong so I am starting over From: mphilli7...@hotmail.com To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: RE: Can't login to webui Date: Tue, 18 Feb 2014 23:23:46 -0600 So I enabled the account via mysql through the command linehowever the logs still say the password does not match when trying to login... err dev guys what could the pw be if not password? From: mphilli7...@hotmail.com To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: RE: Can't login to webui Date: Tue, 18 Feb 2014 23:05:21 -0600 hah...nice the logs are telling me the admin account is locked\disabled. So how does it become locked on a fresh install? From: mphilli7...@hotmail.com To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: RE: Can't login to webui Date: Tue, 18 Feb 2014 22:56:39 -0600 Looks like the admin account in the database has a hashed password of 0.180873463098773 From: mphilli7...@hotmail.com To: users@cloudstack.apache.org; d...@cloudstack.apache.org Subject: Can't login to webui Date: Tue, 18 Feb 2014 22:50:46 -0600 I have a new install on 4.2.1 on Centos, however I can not login to the UI using the default username\password combo of admin\password. I have checked my 'cloud' database and its has tables etc. I even checked the user table and it looks like there is an admin user... What am I missing??