Hi Rohit,

Sorry for lack of details.
This happens while upgrading from 4.4.1 CentOS6/libvirt/KVM, Adv+SG.

I have followed the usual upgrade path, register 4.5 systemvm, stop management, 
stop agents, yum upgrade, start management, start agents.

What I notice is there is a difference in "dataCenter" ids between the two 
hosts: http://fpaste.org/192589/25371736/raw/

Indeed, doing a select on cloud db only the id 5 seems to be enabled.

mysql> select id,allocation_state from data_center;
+----+------------------+
| id | allocation_state |
+----+------------------+
|  1 | Disabled         |
|  2 | Disabled         |
|  3 | Disabled         |
|  4 | Disabled         |
|  5 | Enabled          |
+----+------------------+

However:

mysql> select id,name,data_center_id from host;
+----+-----------------+----------------+
| id | name            | data_center_id |
+----+-----------------+----------------+
|  1 | 1707.cloud.priv |              3 |
|  2 | 1707.cloud.priv |              5 |
|  3 | v-2-VM          |              5 |
|  4 | s-1-VM          |              5 |
|  5 | s-3-VM          |              5 |
|  6 | 1709.cloud.priv |              5 |
+----+-----------------+----------------+

I am confused, host 1707 (the one with problems) has data_center_id 3 AND 5, 
while the logs complain about id 1.

Any pointers?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Rohit Yadav" <rohit.ya...@shapeblue.com>
> To: dev@cloudstack.apache.org
> Sent: Tuesday, 3 March, 2015 06:49:07
> Subject: Re: [VOTE] Apache CloudStack 4.5.0 RC4

> Hi Lucian,
> 
> Can you share more detail and the log (somewhere), was it Xen/KVM/VMWare etc? 
> I
> checked nothing (major) changed in the core and agent modules since last RC,
> looking at logs may help. Also, how did you install/upgrade, did you upgrade
> from previous RC or did a fresh install?
> 
>> On 03-Mar-2015, at 12:25 am, Nux! <n...@li.nux.ro> wrote:
>>
>> Ok, didn't go so well. Frustrating, the previous RC worked.
>>
>> Not sure whether to -1 or not.
>>
>> One of my hosts is in Disconnected mode and the logs show:
>>
>> 2015-03-02 18:48:08,336 DEBUG [cloud.agent.Agent] 
>> (agentRequest-Handler-1:null)
>> Processing command: com.cloud.agent.api.ReadyCommand
>> 2015-03-02 18:48:08,337 DEBUG [cloud.agent.Agent] (Agent-Handler-2:null) 
>> Startup
>> task cancelled
>> 2015-03-02 18:48:08,337 DEBUG [cloud.agent.Agent] 
>> (agentRequest-Handler-1:null)
>> Not ready to connect to mgt server: java.lang.IllegalArgumentException: Host
>> 192.168.203.66 sent incorrect data center: 1
>> 2015-03-02 18:48:08,337 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
>> Proccess agent startup answer, agent id = 0
>> 2015-03-02 18:48:08,337 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) Set
>> agent id 0
>> 2015-03-02 18:48:08,338 INFO  [cloud.agent.Agent] (AgentShutdownThread:null)
>> Stopping the agent: Reason = sig.kill
>> 2015-03-02 18:48:08,339 DEBUG [cloud.agent.Agent] (AgentShutdownThread:null)
>> Sending shutdown to management server
>>
>> My other host seems to run just fine; though it has no running VMs.
>>
>> Thoughts?
>>
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> ----- Original Message -----
>>> From: "Nux!" <n...@li.nux.ro>
>>> To: dev@cloudstack.apache.org
>>> Sent: Monday, 2 March, 2015 17:41:39
>>> Subject: Re: [VOTE] Apache CloudStack 4.5.0 RC4
>>
>>> Hi,
>>>
>>> Testing time!
>>>
>>> EL6 OSS rpms here:
>>> http://tmp.nux.ro/acs450/
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> ----- Original Message -----
>>>> From: "David Nalley" <da...@gnsa.us>
>>>> To: dev@cloudstack.apache.org
>>>> Sent: Monday, 2 March, 2015 16:49:20
>>>> Subject: [VOTE] Apache CloudStack 4.5.0 RC4
>>>
>>>> Hi All,
>>>>
>>>> I've created yet another 4.5.0 release candidate, with the following
>>>> artifacts up for a vote:
>>>>
>>>> Git Branch and Commit SH:
>>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.5-RC20150302T1625
>>>> Commit: c066f0455fa126a2b41cccefa25b56421a445d99
>>>>
>>>> Source release (checksums and signatures are available at the same
>>>> location):
>>>> https://dist.apache.org/repos/dist/dev/cloudstack/4.5.0-rc4/
>>>>
>>>> PGP release keys (signed using 0x6fe50f1c):
>>>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>>>
>>>> Vote will be open for at least 72 hours.
>>>>
>>>> For sanity in tallying the vote, can PMC members please be sure to
>>>> indicate "(binding)" with their vote?
>>>>
>>>> [ ] +1  approve
>>>> [ ] +0  no opinion
>>>> [ ] -1  disapprove (and reason why)
> 
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> 
> 
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software
> Engineering<http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure
> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training 
> Courses<http://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 Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> ShapeBlue is a registered trademark.

Reply via email to