[jira] [Commented] (CLOUDSTACK-7789) I was updated from version 4.4.0 of Apache CloudStack to 4.4.1. It does not work correctly. (404 error of WebGUI)

2014-11-25 Thread satoru nakaya (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14225559#comment-14225559
 ] 

satoru nakaya commented on CLOUDSTACK-7789:
---

hi. 

It worked!
in this workarounds.

[root@acs ~]# service cloudstack-management stop
Stopping cloudstack-management:[  OK  ]
[root@acs ~]# mysql -u root -p cloud
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 19
Server version: 5.1.73-log Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>
mysql> describe snapshot_policy;
+---+-+--+-+-++
| Field | Type| Null | Key | Default | Extra  |
+---+-+--+-+-++
| id| bigint(20) unsigned | NO   | PRI | NULL| auto_increment |
| uuid  | varchar(40) | YES  | UNI | NULL||
| volume_id | bigint(20) unsigned | NO   | MUL | NULL||
| schedule  | varchar(100)| NO   | | NULL||
| timezone  | varchar(100)| NO   | | NULL||
| interval  | int(4)  | NO   | | 4   ||
| max_snaps | int(8)  | NO   | | 0   ||
| active| tinyint(1) unsigned | NO   | | NULL||
+---+-+--+-+-++
8 rows in set (0.01 sec)

mysql>
mysql> ALTER TABLE snapshot_policy ADD display TINYINT(1) NOT NULL DEFAULT '1';
Query OK, 0 rows affected (0.02 sec)
Records: 0  Duplicates: 0  Warnings: 0
mysql>
mysql> describe snapshot_policy;
+---+-+--+-+-++
| Field | Type| Null | Key | Default | Extra  |
+---+-+--+-+-++
| id| bigint(20) unsigned | NO   | PRI | NULL| auto_increment |
| uuid  | varchar(40) | YES  | UNI | NULL||
| volume_id | bigint(20) unsigned | NO   | MUL | NULL||
| schedule  | varchar(100)| NO   | | NULL||
| timezone  | varchar(100)| NO   | | NULL||
| interval  | int(4)  | NO   | | 4   ||
| max_snaps | int(8)  | NO   | | 0   ||
| active| tinyint(1) unsigned | NO   | | NULL||
| display   | tinyint(1)  | NO   | | 1   ||
+---+-+--+-+-++
9 rows in set (0.00 sec)

mysql> quit
Bye
[root@acs ~]#
[root@acs ~]# service cloudstack-management start
Starting cloudstack-management:[  OK  ]
[root@acs ~]# 

> I was updated from version 4.4.0 of Apache CloudStack to 4.4.1. It does not 
> work correctly. (404 error of WebGUI)
> -
>
> Key: CLOUDSTACK-7789
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7789
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.4.1
> Environment: CentOS6.4
>Reporter: satoru nakaya
>
> I was updated from version 4.4.0 of Apache CloudStack to 4.4.1.
> It does not work correctly. (404 error of WebGUI)
> From
> # rpm -qa | grep cloudstack
> cloudstack-awsapi-4.4.0-NONOSS_3.el6.x86_64
> cloudstack-common-4.4.0-NONOSS_3.el6.x86_64
> cloudstack-management-4.4.0-NONOSS_3.el6.x86_64
> #
> To
> # rpm -qa | grep cloudstack
> cloudstack-common-4.4.1-NONOSS_3.el6.x86_64
> cloudstack-awsapi-4.4.1-NONOSS_3.el6.x86_64
> cloudstack-management-4.4.1-NONOSS_3.el6.x86_64
> #
> #  tail -f /var/log/cloudstack/management/management-server.log
>   :
> 014-10-26 11:40:55,432 INFO  [c.c.u.c.ComponentContext] (main:null) Starting 
> com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudStack_8e883789
> 2014-10-26 11:40:55,433 INFO  [c.c.u.c.ComponentContext] (main:null) Starting 
> com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_3055f1c1
> 2014-10-26 11:40:55,433 INFO  [c.c.u.c.ComponentContext] (main:null) Star

[jira] [Commented] (CLOUDSTACK-7789) I was updated from version 4.4.0 of Apache CloudStack to 4.4.1. It does not work correctly. (404 error of WebGUI)

2014-12-01 Thread Morten Blixter (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231115#comment-14231115
 ] 

Morten Blixter commented on CLOUDSTACK-7789:


I had the exact same problem and adding the extra row to the database as 
described by Satoru solved the error. Thank you.

> I was updated from version 4.4.0 of Apache CloudStack to 4.4.1. It does not 
> work correctly. (404 error of WebGUI)
> -
>
> Key: CLOUDSTACK-7789
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7789
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.4.1
> Environment: CentOS6.4
>Reporter: satoru nakaya
>
> I was updated from version 4.4.0 of Apache CloudStack to 4.4.1.
> It does not work correctly. (404 error of WebGUI)
> From
> # rpm -qa | grep cloudstack
> cloudstack-awsapi-4.4.0-NONOSS_3.el6.x86_64
> cloudstack-common-4.4.0-NONOSS_3.el6.x86_64
> cloudstack-management-4.4.0-NONOSS_3.el6.x86_64
> #
> To
> # rpm -qa | grep cloudstack
> cloudstack-common-4.4.1-NONOSS_3.el6.x86_64
> cloudstack-awsapi-4.4.1-NONOSS_3.el6.x86_64
> cloudstack-management-4.4.1-NONOSS_3.el6.x86_64
> #
> #  tail -f /var/log/cloudstack/management/management-server.log
>   :
> 014-10-26 11:40:55,432 INFO  [c.c.u.c.ComponentContext] (main:null) Starting 
> com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudStack_8e883789
> 2014-10-26 11:40:55,433 INFO  [c.c.u.c.ComponentContext] (main:null) Starting 
> com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_3055f1c1
> 2014-10-26 11:40:55,433 INFO  [c.c.u.c.ComponentContext] (main:null) Starting 
> com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_173061b2
> 2014-10-26 11:40:55,434 INFO  [c.c.u.c.ComponentContext] (main:null) Starting 
> com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_127ee70c
> 2014-10-26 11:40:55,434 INFO  [c.c.u.c.ComponentContext] (main:null) Starting 
> com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_69bd4662
> 2014-10-26 11:40:55,434 INFO  [c.c.u.c.ComponentContext] (main:null) Starting 
> com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_94ede0d7
> This subsequent log is not output.
> # cat /var/log/cloudstack/management/catalina.out
>   :
> Exception in thread "CapacityChecker" java.lang.NullPointerException
> at org.slf4j.impl.Log4jLoggerAdapter.info(Log4jLoggerAdapter.java:304)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.getContext(ManagedContextRunnable.java:66)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at 
> org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> Exception in thread "Timer-1" java.lang.NullPointerException
> at org.slf4j.impl.Log4jLoggerAdapter.info(Log4jLoggerAdapter.java:304)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.getContext(ManagedContextRunnable.java:66)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at 
> org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> Exception in thread "HA-Worker-1" java.lang.NullPointerException
> at 
> org.slf4j.impl.Log4jLoggerAdapter.error(Log4jLoggerAdapter.java:538)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:117)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at 
> com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread.run(HighAvailabilityManagerImpl.java:857)
> Exception in thread "HA-Worker-4" java.lang.NullPointerException
> at 
> org.slf4j.impl.Log4jLoggerAdapter.error(Log4jLoggerAdapter.java:538)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:117)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at 
> com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread.run(HighAvailabilityManagerImpl.java:857)
> Exception in thread "HA-Worker-3" java.lang.NullPointerException
>