You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Chandan Purushothama (JIRA)" <ji...@apache.org> on 2012/10/10 20:33:03 UTC
[jira] [Created] (CLOUDSTACK-311) CloudBridge database is missing
on the non-oss setup
Chandan Purushothama created CLOUDSTACK-311:
-----------------------------------------------
Summary: CloudBridge database is missing on the non-oss setup
Key: CLOUDSTACK-311
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-311
Project: CloudStack
Issue Type: Bug
Components: Management Server
Affects Versions: pre-4.0.0
Reporter: Chandan Purushothama
Priority: Blocker
Fix For: pre-4.0.0
The following bug has been reported by Sailaja. I am filing it on her behalf as there is no record of this bug in JIRA.
Bug Information:
> I have installed Ubuntu MS with non-oss build
> CloudStack-non-OSS-4.0.0- 12.tar. There is no cloudbridge db available.
>
> mysql> show databases;
> +--------------------+
> | Database |
> +--------------------+
> | information_schema |
> | cloud |
> | cloud_usage |
> | mysql |
> | performance_schema |
> | test |
> +--------------------+
> 6 rows in set (0.00 sec)
>
>
> Setup: 10.102.125.220 sailaja/freebsd admin/password.
>
> I have not configured zone yet :
>
> sailaja@UB12ASF:/$ sudo cloud-setup-databases cloud:password@localhost
> --deploy-as=root:password Mysql user name:cloud [ OK ] Mysql user
> password:password [ OK ] Mysql server ip:localhost [ OK ] Mysql server
> port:3306 [ OK ] Mysql root user name:root [ OK ] Mysql root user
> password:password [ OK ] Checking Cloud database files ...
> [ OK ]
> Checking local machine hostname ...
> [ OK ]
> Checking SELinux setup ...
> [ OK ]
> Detected local IP address as 10.102.125.220, will use as cluster
> management server node IP[ OK ] Preparing
> /etc/cloud/management/db.properties
> [ OK ]
> Applying /usr/share/cloud/setup/create-database.sql
> [ OK ]
> Applying /usr/share/cloud/setup/create-schema.sql
> [ OK ]
> Applying /usr/share/cloud/setup/create-database-premium.sql
> [ OK ]
> Applying /usr/share/cloud/setup/create-schema-premium.sql
> [ OK ]
> Applying /usr/share/cloud/setup/server-setup.sql
> [ OK ]
> Applying /usr/share/cloud/setup/templates.sql
> [ OK ]
> Applying /usr/share/cloud/setup/create-index-fk.sql
> [ OK ]
> Processing encryption ...
> [ OK ]
> Finalizing setup ...
> [ OK ]
>
> CloudStack has successfully initialized database, you can check your
> database configuration in /etc/cloud/management/db.properties
>
>
> Thanks and Regards,
> Sailaja.M
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CLOUDSTACK-311) CloudBridge database is missing on
the non-oss setup
Posted by "Chip Childers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chip Childers closed CLOUDSTACK-311.
------------------------------------
> CloudBridge database is missing on the non-oss setup
> ----------------------------------------------------
>
> Key: CLOUDSTACK-311
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-311
> Project: CloudStack
> Issue Type: Bug
> Components: Management Server
> Affects Versions: pre-4.0.0
> Reporter: Chandan Purushothama
> Assignee: Rohit Yadav
> Priority: Blocker
> Fix For: pre-4.0.0
>
>
> The following bug has been reported by Sailaja. I am filing it on her behalf as there is no record of this bug in JIRA.
> Bug Information:
> > I have installed Ubuntu MS with non-oss build
> > CloudStack-non-OSS-4.0.0- 12.tar. There is no cloudbridge db available.
> >
> > mysql> show databases;
> > +--------------------+
> > | Database |
> > +--------------------+
> > | information_schema |
> > | cloud |
> > | cloud_usage |
> > | mysql |
> > | performance_schema |
> > | test |
> > +--------------------+
> > 6 rows in set (0.00 sec)
> >
> >
> > Setup: 10.102.125.220 sailaja/freebsd admin/password.
> >
> > I have not configured zone yet :
> >
> > sailaja@UB12ASF:/$ sudo cloud-setup-databases cloud:password@localhost
> > --deploy-as=root:password Mysql user name:cloud [ OK ] Mysql user
> > password:password [ OK ] Mysql server ip:localhost [ OK ] Mysql server
> > port:3306 [ OK ] Mysql root user name:root [ OK ] Mysql root user
> > password:password [ OK ] Checking Cloud database files ...
> > [ OK ]
> > Checking local machine hostname ...
> > [ OK ]
> > Checking SELinux setup ...
> > [ OK ]
> > Detected local IP address as 10.102.125.220, will use as cluster
> > management server node IP[ OK ] Preparing
> > /etc/cloud/management/db.properties
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-database.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-schema.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-database-premium.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-schema-premium.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/server-setup.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/templates.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-index-fk.sql
> > [ OK ]
> > Processing encryption ...
> > [ OK ]
> > Finalizing setup ...
> > [ OK ]
> >
> > CloudStack has successfully initialized database, you can check your
> > database configuration in /etc/cloud/management/db.properties
> >
> >
> > Thanks and Regards,
> > Sailaja.M
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CLOUDSTACK-311) CloudBridge database is missing
on the non-oss setup
Posted by "Rohit Yadav (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473491#comment-13473491 ]
Rohit Yadav commented on CLOUDSTACK-311:
----------------------------------------
The issue is that while packaging, dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
This is used while installing cloud* and fails.
We just need to fix this, no code or packaging, just repo creation.
Workaround: manually install awsapi package after mgmt server installation.
> CloudBridge database is missing on the non-oss setup
> ----------------------------------------------------
>
> Key: CLOUDSTACK-311
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-311
> Project: CloudStack
> Issue Type: Bug
> Components: Management Server
> Affects Versions: pre-4.0.0
> Reporter: Chandan Purushothama
> Assignee: Rohit Yadav
> Priority: Blocker
> Fix For: pre-4.0.0
>
>
> The following bug has been reported by Sailaja. I am filing it on her behalf as there is no record of this bug in JIRA.
> Bug Information:
> > I have installed Ubuntu MS with non-oss build
> > CloudStack-non-OSS-4.0.0- 12.tar. There is no cloudbridge db available.
> >
> > mysql> show databases;
> > +--------------------+
> > | Database |
> > +--------------------+
> > | information_schema |
> > | cloud |
> > | cloud_usage |
> > | mysql |
> > | performance_schema |
> > | test |
> > +--------------------+
> > 6 rows in set (0.00 sec)
> >
> >
> > Setup: 10.102.125.220 sailaja/freebsd admin/password.
> >
> > I have not configured zone yet :
> >
> > sailaja@UB12ASF:/$ sudo cloud-setup-databases cloud:password@localhost
> > --deploy-as=root:password Mysql user name:cloud [ OK ] Mysql user
> > password:password [ OK ] Mysql server ip:localhost [ OK ] Mysql server
> > port:3306 [ OK ] Mysql root user name:root [ OK ] Mysql root user
> > password:password [ OK ] Checking Cloud database files ...
> > [ OK ]
> > Checking local machine hostname ...
> > [ OK ]
> > Checking SELinux setup ...
> > [ OK ]
> > Detected local IP address as 10.102.125.220, will use as cluster
> > management server node IP[ OK ] Preparing
> > /etc/cloud/management/db.properties
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-database.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-schema.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-database-premium.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-schema-premium.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/server-setup.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/templates.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-index-fk.sql
> > [ OK ]
> > Processing encryption ...
> > [ OK ]
> > Finalizing setup ...
> > [ OK ]
> >
> > CloudStack has successfully initialized database, you can check your
> > database configuration in /etc/cloud/management/db.properties
> >
> >
> > Thanks and Regards,
> > Sailaja.M
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CLOUDSTACK-311) CloudBridge database is missing
on the non-oss setup
Posted by "Chip Childers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chip Childers updated CLOUDSTACK-311:
-------------------------------------
Assignee: Rohit Yadav
> CloudBridge database is missing on the non-oss setup
> ----------------------------------------------------
>
> Key: CLOUDSTACK-311
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-311
> Project: CloudStack
> Issue Type: Bug
> Components: Management Server
> Affects Versions: pre-4.0.0
> Reporter: Chandan Purushothama
> Assignee: Rohit Yadav
> Priority: Blocker
> Fix For: pre-4.0.0
>
>
> The following bug has been reported by Sailaja. I am filing it on her behalf as there is no record of this bug in JIRA.
> Bug Information:
> > I have installed Ubuntu MS with non-oss build
> > CloudStack-non-OSS-4.0.0- 12.tar. There is no cloudbridge db available.
> >
> > mysql> show databases;
> > +--------------------+
> > | Database |
> > +--------------------+
> > | information_schema |
> > | cloud |
> > | cloud_usage |
> > | mysql |
> > | performance_schema |
> > | test |
> > +--------------------+
> > 6 rows in set (0.00 sec)
> >
> >
> > Setup: 10.102.125.220 sailaja/freebsd admin/password.
> >
> > I have not configured zone yet :
> >
> > sailaja@UB12ASF:/$ sudo cloud-setup-databases cloud:password@localhost
> > --deploy-as=root:password Mysql user name:cloud [ OK ] Mysql user
> > password:password [ OK ] Mysql server ip:localhost [ OK ] Mysql server
> > port:3306 [ OK ] Mysql root user name:root [ OK ] Mysql root user
> > password:password [ OK ] Checking Cloud database files ...
> > [ OK ]
> > Checking local machine hostname ...
> > [ OK ]
> > Checking SELinux setup ...
> > [ OK ]
> > Detected local IP address as 10.102.125.220, will use as cluster
> > management server node IP[ OK ] Preparing
> > /etc/cloud/management/db.properties
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-database.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-schema.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-database-premium.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-schema-premium.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/server-setup.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/templates.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-index-fk.sql
> > [ OK ]
> > Processing encryption ...
> > [ OK ]
> > Finalizing setup ...
> > [ OK ]
> >
> > CloudStack has successfully initialized database, you can check your
> > database configuration in /etc/cloud/management/db.properties
> >
> >
> > Thanks and Regards,
> > Sailaja.M
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CLOUDSTACK-311) CloudBridge database is missing
on the non-oss setup
Posted by "Rohit Yadav (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohit Yadav resolved CLOUDSTACK-311.
------------------------------------
Resolution: Invalid
This is a silly issue. The user should clear her own apt cache.
Just like in case of rhel...
rm -fr /var/cache/apt/*
Workarounds:
1. Install cloud-awsapi manually
2. It does not get installed as while installing mgmt server, it installs only cloud-client and cloud-client does not depend on awsapi. So, there are two ways to fix this, add dependency in debian/control or fix that in install.sh.
Applied:
commit de179b3a3a237aab7189d0b8bcf38b8f1c661ace
Author: Rohit Yadav <bh...@baagi.org>
Date: Thu Oct 11 01:16:50 2012 +0530
CLOUDSTACK-311: install.sh should install cloud-awsapi
Unlike rpms, cloud-client does not depend on cloud-awsapi. Hence, in
case of the ubuntu build it failed to get installed. Patch simply adds
rule that awsapi pkg be installed when mgmt server is installed. Upgrade
and remove scenarios also tested.
Note: user should remove her old apt-get cache from /var/cache/apt/*
> CloudBridge database is missing on the non-oss setup
> ----------------------------------------------------
>
> Key: CLOUDSTACK-311
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-311
> Project: CloudStack
> Issue Type: Bug
> Components: Management Server
> Affects Versions: pre-4.0.0
> Reporter: Chandan Purushothama
> Assignee: Rohit Yadav
> Priority: Blocker
> Fix For: pre-4.0.0
>
>
> The following bug has been reported by Sailaja. I am filing it on her behalf as there is no record of this bug in JIRA.
> Bug Information:
> > I have installed Ubuntu MS with non-oss build
> > CloudStack-non-OSS-4.0.0- 12.tar. There is no cloudbridge db available.
> >
> > mysql> show databases;
> > +--------------------+
> > | Database |
> > +--------------------+
> > | information_schema |
> > | cloud |
> > | cloud_usage |
> > | mysql |
> > | performance_schema |
> > | test |
> > +--------------------+
> > 6 rows in set (0.00 sec)
> >
> >
> > Setup: 10.102.125.220 sailaja/freebsd admin/password.
> >
> > I have not configured zone yet :
> >
> > sailaja@UB12ASF:/$ sudo cloud-setup-databases cloud:password@localhost
> > --deploy-as=root:password Mysql user name:cloud [ OK ] Mysql user
> > password:password [ OK ] Mysql server ip:localhost [ OK ] Mysql server
> > port:3306 [ OK ] Mysql root user name:root [ OK ] Mysql root user
> > password:password [ OK ] Checking Cloud database files ...
> > [ OK ]
> > Checking local machine hostname ...
> > [ OK ]
> > Checking SELinux setup ...
> > [ OK ]
> > Detected local IP address as 10.102.125.220, will use as cluster
> > management server node IP[ OK ] Preparing
> > /etc/cloud/management/db.properties
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-database.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-schema.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-database-premium.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-schema-premium.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/server-setup.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/templates.sql
> > [ OK ]
> > Applying /usr/share/cloud/setup/create-index-fk.sql
> > [ OK ]
> > Processing encryption ...
> > [ OK ]
> > Finalizing setup ...
> > [ OK ]
> >
> > CloudStack has successfully initialized database, you can check your
> > database configuration in /etc/cloud/management/db.properties
> >
> >
> > Thanks and Regards,
> > Sailaja.M
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira