Skip to contentSkip to conversation

Strange behavior after upgrading to 0.48

DISCUSSION Xiaopong Tran 3 participants 10 messages Jul 5, 2012 – Jul 6, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

I put up a small cluster with 3 osds, 2 mds, 3 mons, on 3 machines. They were running 0.47.2, and this is a test to do rolling upgrade to 0.48.

I shutdown, upgraded the software, then restarted. One node at a time.
The first two seemed to be ok. The third one gave me some weird thing.
While it was doing the conversion and recovering, the command ceph -s gives things like this:

root@china:/tmp# ceph -s
2012-07-05 14:28:41.069470 7fa3c8443780  2 auth: KeyRing::load: loaded key file /etc/ceph/client.admin.keyring
2012-07-05 14:28:41.594229 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.596313 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.598949 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.601158 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.603069 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.605020 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.607436 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.609304 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.611047 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.667980 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.670283 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.672274 7fa3c030e700  0 monclient: hunting for new mon
....

And it never stopped. I was thinking, maybe it just behaved like that during recovery. But after the recovery is done, it still get the same thing:

root@china:/tmp# ceph health
2012-07-05 14:28:55.077364 7f8306a0d780  2 auth: KeyRing::load: loaded key file /etc/ceph/client.admin.keyring
HEALTH_OK
root@china:/tmp# ceph -s
2012-07-05 14:30:49.688017 7feb6338e780  2 auth: KeyRing::load: loaded key file /etc/ceph/client.admin.keyring
2012-07-05 14:30:49.691690 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.694295 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.696487 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.698953 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.700833 7feb5b259700  0 monclient: hunting for new mon
....

Upgrading the first two nodes have no such problem. This first two nodes all run osd, mds, and mon. The third only runs osd and mon.

The mon log on the 3rd node shows this, not sure if this is helpful:

....
925291 lease_expire=2012-07-05 02:38:14.149966 has v44 lc 44

2012-07-05 02:38:12.572107 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap active c 29531..30031) is_readable now=2012-07-05 02:38:12.572114 lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031
2012-07-05 02:38:12.572128 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap active c 29531..30031) is_readable now=2012-07-05 02:38:12.572129 lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031
2012-07-05 02:38:15.120439 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap active c 1..44) is_readable now=2012-07-05 02:38:15.120446 lease_expire=2012-07-05 02:38:17.149967 has v44 lc 44
2012-07-05 02:38:15.925349 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap active c 1..44) is_readable now=2012-07-05 02:38:15.925356 lease_expire=2012-07-05 02:38:20.149971 has v44 lc 44
2012-07-05 02:38:17.572181 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap active c 29531..30031) is_readable now=2012-07-05 02:38:17.572189 lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031
2012-07-05 02:38:17.572204 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap active c 29531..30031) is_readable now=2012-07-05 02:38:17.572205 lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031
2012-07-05 02:38:19.120463 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap active c 1..44) is_readable now=2012-07-05 02:38:19.120470 lease_expire=2012-07-05 02:38:23.149973 has v44 lc 44
2012-07-05 02:38:19.925323 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap active c 1..44) is_readable now=2012-07-05 02:38:19.925330 lease_expire=2012-07-05 02:38:23.149973 has v44 lc 44

Could someone give a hint on this?

Thanks

Xiaopong

#1 lore raw

When I run the command ceph -s, I see the following information on the mon log:

2012-07-05 02:44:13.298942 7f7d92b14700  0 can't decode unknown message type 54 MSG_AUTH=17
2012-07-05 02:44:13.301588 7f7d9401b700  1 mon.a@0(leader).paxos(auth active c 412..432) is_readable now=2012-07-05 02:44:13.301590 lease_expire=2012-07-05 02:44:17.566529 has v0 lc 432
2012-07-05 02:44:13.302113 7f7d9401b700  1 mon.a@0(leader).paxos(auth active c 412..432) is_readable now=2012-07-05 02:44:13.302114 lease_expire=2012-07-05 02:44:17.566529 has v0 lc 432
2012-07-05 02:44:13.303072 7f7d92b14700  0 can't decode unknown message type 54 MSG_AUTH=17
2012-07-05 02:44:13.309450 7f7d9401b700  1 mon.a@0(leader).paxos(auth active c 412..432) is_readable now=2012-07-05 02:44:13.309452 lease_expire=2012-07-05 02:44:17.566529 has v0 lc 432
2012-07-05 02:44:13.309845 7f7d9401b700  1 mon.a@0(leader).paxos(auth active c 412..432) is_readable now=2012-07-05 02:44:13.309847 lease_expire=2012-07-05 02:44:17.566529 has v0 lc 432

....

Couldn't find any helpful information regarding "can't decode" error message, unless digging into the codes.

Thanks for any hint.

Xiaopong

Quoted 84 lines · Xiaopong Tran

Hi,

I put up a small cluster with 3 osds, 2 mds, 3 mons, on 3 machines. They were running 0.47.2, and this is a test to do rolling upgrade to 0.48.

I shutdown, upgraded the software, then restarted. One node at a time. The first two seemed to be ok. The third one gave me some weird thing. While it was doing the conversion and recovering, the command ceph -s gives things like this:

root@china:/tmp# ceph -s
2012-07-05 14:28:41.069470 7fa3c8443780  2 auth: KeyRing::load: loaded
key file /etc/ceph/client.admin.keyring
2012-07-05 14:28:41.594229 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.596313 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.598949 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.601158 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.603069 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.605020 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.607436 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.609304 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.611047 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.667980 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.670283 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.672274 7fa3c030e700  0 monclient: hunting for new mon
....

And it never stopped. I was thinking, maybe it just behaved like that during recovery. But after the recovery is done, it still get the same thing:

root@china:/tmp# ceph health
2012-07-05 14:28:55.077364 7f8306a0d780  2 auth: KeyRing::load: loaded
key file /etc/ceph/client.admin.keyring
HEALTH_OK
root@china:/tmp# ceph -s
2012-07-05 14:30:49.688017 7feb6338e780  2 auth: KeyRing::load: loaded
key file /etc/ceph/client.admin.keyring
2012-07-05 14:30:49.691690 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.694295 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.696487 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.698953 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.700833 7feb5b259700  0 monclient: hunting for new mon
....

Upgrading the first two nodes have no such problem. This first two nodes all run osd, mds, and mon. The third only runs osd and mon.

The mon log on the 3rd node shows this, not sure if this is helpful:

....
925291 lease_expire=2012-07-05 02:38:14.149966 has v44 lc 44

2012-07-05 02:38:12.572107 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap
active c 29531..30031) is_readable now=2012-07-05 02:38:12.572114
lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031
2012-07-05 02:38:12.572128 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap
active c 29531..30031) is_readable now=2012-07-05 02:38:12.572129
lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031
2012-07-05 02:38:15.120439 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap
active c 1..44) is_readable now=2012-07-05 02:38:15.120446
lease_expire=2012-07-05 02:38:17.149967 has v44 lc 44
2012-07-05 02:38:15.925349 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap
active c 1..44) is_readable now=2012-07-05 02:38:15.925356
lease_expire=2012-07-05 02:38:20.149971 has v44 lc 44
2012-07-05 02:38:17.572181 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap
active c 29531..30031) is_readable now=2012-07-05 02:38:17.572189
lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031
2012-07-05 02:38:17.572204 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap
active c 29531..30031) is_readable now=2012-07-05 02:38:17.572205
lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031
2012-07-05 02:38:19.120463 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap
active c 1..44) is_readable now=2012-07-05 02:38:19.120470
lease_expire=2012-07-05 02:38:23.149973 has v44 lc 44
2012-07-05 02:38:19.925323 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap

active c 1..44) is_readable now=2012-07-05 02:38:19.925330 lease_expire=2012-07-05 02:38:23.149973 has v44 lc 44

Could someone give a hint on this?

Thanks

Xiaopong

#2 lore raw
In reply to Xiaopong Tran

Hi,

Quoted 12 lines · Xiaopong Tran

Hi,

I put up a small cluster with 3 osds, 2 mds, 3 mons, on 3 machines. They were running 0.47.2, and this is a test to do rolling upgrade to 0.48.

I shutdown, upgraded the software, then restarted. One node at a time. The first two seemed to be ok. The third one gave me some weird thing. While it was doing the conversion and recovering, the command ceph -s gives things like this:

Quoted 16 lines
root@china:/tmp# ceph -s
2012-07-05 14:28:41.069470 7fa3c8443780  2 auth: KeyRing::load: loaded key
file /etc/ceph/client.admin.keyring
2012-07-05 14:28:41.594229 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.596313 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.598949 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.601158 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.603069 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.605020 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.607436 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.609304 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.611047 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.667980 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.670283 7fa3c030e700  0 monclient: hunting for new mon
2012-07-05 14:28:41.672274 7fa3c030e700  0 monclient: hunting for new mon
....

The problem is that the ceph utility itself is pre-0.48, but the monitors are running 0.48. You need to upgrade the utility as well. (There was a note about this in the release announcement.)

This only affects the -s and -w commands.

sage

Quoted 62 lines

And it never stopped. I was thinking, maybe it just behaved like that during recovery. But after the recovery is done, it still get the same thing:

root@china:/tmp# ceph health
2012-07-05 14:28:55.077364 7f8306a0d780  2 auth: KeyRing::load: loaded key
file /etc/ceph/client.admin.keyring
HEALTH_OK
root@china:/tmp# ceph -s
2012-07-05 14:30:49.688017 7feb6338e780  2 auth: KeyRing::load: loaded key
file /etc/ceph/client.admin.keyring
2012-07-05 14:30:49.691690 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.694295 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.696487 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.698953 7feb5b259700  0 monclient: hunting for new mon
2012-07-05 14:30:49.700833 7feb5b259700  0 monclient: hunting for new mon
....

Upgrading the first two nodes have no such problem. This first two nodes all run osd, mds, and mon. The third only runs osd and mon.

The mon log on the 3rd node shows this, not sure if this is helpful:

....
925291 lease_expire=2012-07-05 02:38:14.149966 has v44 lc 44

2012-07-05 02:38:12.572107 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap active
c 29531..30031) is_readable now=2012-07-05 02:38:12.572114
lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031
2012-07-05 02:38:12.572128 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap active
c 29531..30031) is_readable now=2012-07-05 02:38:12.572129
lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031
2012-07-05 02:38:15.120439 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap active
c 1..44) is_readable now=2012-07-05 02:38:15.120446 lease_expire=2012-07-05
02:38:17.149967 has v44 lc 44
2012-07-05 02:38:15.925349 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap active
c 1..44) is_readable now=2012-07-05 02:38:15.925356 lease_expire=2012-07-05
02:38:20.149971 has v44 lc 44
2012-07-05 02:38:17.572181 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap active
c 29531..30031) is_readable now=2012-07-05 02:38:17.572189
lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031
2012-07-05 02:38:17.572204 7f7d9381a700  1 mon.a@0(leader).paxos(pgmap active
c 29531..30031) is_readable now=2012-07-05 02:38:17.572205
lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031
2012-07-05 02:38:19.120463 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap active
c 1..44) is_readable now=2012-07-05 02:38:19.120470 lease_expire=2012-07-05
02:38:23.149973 has v44 lc 44
2012-07-05 02:38:19.925323 7f7d9401b700  1 mon.a@0(leader).paxos(mdsmap active

c 1..44) is_readable now=2012-07-05 02:38:19.925330 lease_expire=2012-07-05 02:38:23.149973 has v44 lc 44

Could someone give a hint on this?

Thanks

Xiaopong
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 54 lines · Sage Weil

Hi,

Quoted 7 lines · Xiaopong Tran

Hi,

I put up a small cluster with 3 osds, 2 mds, 3 mons, on 3 machines. They were running 0.47.2, and this is a test to do rolling upgrade to 0.48.

I shutdown, upgraded the software, then restarted. One node at a

time.

Quoted 1 line

The first two seemed to be ok. The third one gave me some weird

thing.

Quoted 1 line

While it was doing the conversion and recovering, the command ceph -s

gives

Quoted 5 lines

things like this:

root@china:/tmp# ceph -s
2012-07-05 14:28:41.069470 7fa3c8443780  2 auth: KeyRing::load:

loaded key

Quoted 2 lines

file /etc/ceph/client.admin.keyring

2012-07-05 14:28:41.594229 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.596313 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.598949 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.601158 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.603069 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.605020 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.607436 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.609304 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.611047 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.667980 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.670283 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.672274 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line

....

The problem is that the ceph utility itself is pre-0.48, but the monitors
are running 0.48. You need to upgrade the utility as well. (There was a
note about this in the release announcement.)

Quoted 3 lines

This only affects the -s and -w commands.

sage

I have read the notes, andupgraded the utility first. There was no problem when the first two were upgraded and recovering. This only happened when the third node is upgraded.

The nodes are running debian wheezy, while the client admin node is running ubuntu 12.04.

thanks

Xiaopong

Quoted 83 lines
Quoted 8 lines

And it never stopped. I was thinking, maybe it just behaved like that during recovery. But after the recovery is done, it still get the same thing:

root@china:/tmp# ceph health
2012-07-05 14:28:55.077364 7f8306a0d780  2 auth: KeyRing::load:

loaded key

Quoted 4 lines

file /etc/ceph/client.admin.keyring
HEALTH_OK

root@china:/tmp# ceph -s
2012-07-05 14:30:49.688017 7feb6338e780  2 auth: KeyRing::load:

loaded key

Quoted 2 lines

file /etc/ceph/client.admin.keyring

2012-07-05 14:30:49.691690 7feb5b259700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:30:49.694295 7feb5b259700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:30:49.696487 7feb5b259700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:30:49.698953 7feb5b259700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:30:49.700833 7feb5b259700  0 monclient: hunting for new

mon

Quoted 10 lines

....

Upgrading the first two nodes have no such problem. This first two nodes all run osd, mds, and mon. The third only runs osd and mon.

The mon log on the 3rd node shows this, not sure if this is helpful:

....
925291 lease_expire=2012-07-05 02:38:14.149966 has v44 lc 44

2012-07-05 02:38:12.572107 7f7d9381a700  1

mon.a@0(leader).paxos(pgmap active

Quoted 3 lines

c 29531..30031) is_readable now=2012-07-05 02:38:12.572114 lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031

2012-07-05 02:38:12.572128 7f7d9381a700  1

mon.a@0(leader).paxos(pgmap active

Quoted 3 lines

c 29531..30031) is_readable now=2012-07-05 02:38:12.572129 lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031

2012-07-05 02:38:15.120439 7f7d9401b700  1

mon.a@0(leader).paxos(mdsmap active

Quoted 1 line

c 1..44) is_readable now=2012-07-05 02:38:15.120446

lease_expire=2012-07-05

Quoted 2 lines

02:38:17.149967 has v44 lc 44

2012-07-05 02:38:15.925349 7f7d9401b700  1

mon.a@0(leader).paxos(mdsmap active

Quoted 1 line

c 1..44) is_readable now=2012-07-05 02:38:15.925356

lease_expire=2012-07-05

Quoted 2 lines

02:38:20.149971 has v44 lc 44

2012-07-05 02:38:17.572181 7f7d9381a700  1

mon.a@0(leader).paxos(pgmap active

Quoted 3 lines

c 29531..30031) is_readable now=2012-07-05 02:38:17.572189 lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031

2012-07-05 02:38:17.572204 7f7d9381a700  1

mon.a@0(leader).paxos(pgmap active

Quoted 3 lines

c 29531..30031) is_readable now=2012-07-05 02:38:17.572205 lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031

2012-07-05 02:38:19.120463 7f7d9401b700  1

mon.a@0(leader).paxos(mdsmap active

Quoted 1 line

c 1..44) is_readable now=2012-07-05 02:38:19.120470

lease_expire=2012-07-05

Quoted 2 lines

02:38:23.149973 has v44 lc 44

2012-07-05 02:38:19.925323 7f7d9401b700  1

mon.a@0(leader).paxos(mdsmap active

Quoted 1 line

c 1..44) is_readable now=2012-07-05 02:38:19.925330

lease_expire=2012-07-05

Quoted 9 lines

02:38:23.149973 has v44 lc 44

Could someone give a hint on this?

Thanks

Xiaopong
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel"

in

Quoted 4 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 58 lines · Xiaopong Tran
Quoted 56 lines · Sage Weil

Hi,

Quoted 7 lines · Xiaopong Tran

Hi,

I put up a small cluster with 3 osds, 2 mds, 3 mons, on 3 machines. They were running 0.47.2, and this is a test to do rolling upgrade to 0.48.

I shutdown, upgraded the software, then restarted. One node at a

time.

Quoted 1 line

The first two seemed to be ok. The third one gave me some weird

thing.

Quoted 1 line

While it was doing the conversion and recovering, the command ceph -s

gives

Quoted 5 lines

things like this:

root@china:/tmp# ceph -s
2012-07-05 14:28:41.069470 7fa3c8443780  2 auth: KeyRing::load:

loaded key

Quoted 2 lines

file /etc/ceph/client.admin.keyring

2012-07-05 14:28:41.594229 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.596313 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.598949 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.601158 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.603069 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.605020 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.607436 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.609304 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.611047 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.667980 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.670283 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:28:41.672274 7fa3c030e700  0 monclient: hunting for new

mon

Quoted 1 line

....

The problem is that the ceph utility itself is pre-0.48, but the monitors
are running 0.48. You need to upgrade the utility as well. (There was a
note about this in the release announcement.)

This only affects the -s and -w commands.

Quoted 8 lines
Quoted 1 line

sage

I have read the notes, andupgraded the utility first. There was no problem when the first two were upgraded and recovering. This only happened when the third node is upgraded.

The nodes are running debian wheezy, while the client admin node is running ubuntu 12.04.

Oooh, maybe the package for wheezy in the repo is wrong. Can you confirm which version the ceph utility is with 'ceph -v'?

Thanks!
sage

Quoted 90 lines

thanks

Xiaopong

Quoted 83 lines
Quoted 8 lines

And it never stopped. I was thinking, maybe it just behaved like that during recovery. But after the recovery is done, it still get the same thing:

root@china:/tmp# ceph health
2012-07-05 14:28:55.077364 7f8306a0d780  2 auth: KeyRing::load:

loaded key

Quoted 4 lines

file /etc/ceph/client.admin.keyring
HEALTH_OK

root@china:/tmp# ceph -s
2012-07-05 14:30:49.688017 7feb6338e780  2 auth: KeyRing::load:

loaded key

Quoted 2 lines

file /etc/ceph/client.admin.keyring

2012-07-05 14:30:49.691690 7feb5b259700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:30:49.694295 7feb5b259700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:30:49.696487 7feb5b259700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:30:49.698953 7feb5b259700  0 monclient: hunting for new

mon

Quoted 1 line
2012-07-05 14:30:49.700833 7feb5b259700  0 monclient: hunting for new

mon

Quoted 10 lines

....

Upgrading the first two nodes have no such problem. This first two nodes all run osd, mds, and mon. The third only runs osd and mon.

The mon log on the 3rd node shows this, not sure if this is helpful:

....
925291 lease_expire=2012-07-05 02:38:14.149966 has v44 lc 44

2012-07-05 02:38:12.572107 7f7d9381a700  1

mon.a@0(leader).paxos(pgmap active

Quoted 3 lines

c 29531..30031) is_readable now=2012-07-05 02:38:12.572114 lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031

2012-07-05 02:38:12.572128 7f7d9381a700  1

mon.a@0(leader).paxos(pgmap active

Quoted 3 lines

c 29531..30031) is_readable now=2012-07-05 02:38:12.572129 lease_expire=2012-07-05 02:38:15.889056 has v0 lc 30031

2012-07-05 02:38:15.120439 7f7d9401b700  1

mon.a@0(leader).paxos(mdsmap active

Quoted 1 line

c 1..44) is_readable now=2012-07-05 02:38:15.120446

lease_expire=2012-07-05

Quoted 2 lines

02:38:17.149967 has v44 lc 44

2012-07-05 02:38:15.925349 7f7d9401b700  1

mon.a@0(leader).paxos(mdsmap active

Quoted 1 line

c 1..44) is_readable now=2012-07-05 02:38:15.925356

lease_expire=2012-07-05

Quoted 2 lines

02:38:20.149971 has v44 lc 44

2012-07-05 02:38:17.572181 7f7d9381a700  1

mon.a@0(leader).paxos(pgmap active

Quoted 3 lines

c 29531..30031) is_readable now=2012-07-05 02:38:17.572189 lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031

2012-07-05 02:38:17.572204 7f7d9381a700  1

mon.a@0(leader).paxos(pgmap active

Quoted 3 lines

c 29531..30031) is_readable now=2012-07-05 02:38:17.572205 lease_expire=2012-07-05 02:38:21.889065 has v0 lc 30031

2012-07-05 02:38:19.120463 7f7d9401b700  1

mon.a@0(leader).paxos(mdsmap active

Quoted 1 line

c 1..44) is_readable now=2012-07-05 02:38:19.120470

lease_expire=2012-07-05

Quoted 2 lines

02:38:23.149973 has v44 lc 44

2012-07-05 02:38:19.925323 7f7d9401b700  1

mon.a@0(leader).paxos(mdsmap active

Quoted 1 line

c 1..44) is_readable now=2012-07-05 02:38:19.925330

lease_expire=2012-07-05

Quoted 9 lines

02:38:23.149973 has v44 lc 44

Could someone give a hint on this?

Thanks

Xiaopong
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel"

in

Quoted 4 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
Quoted 15 lines · Sage Weil
Quoted 14 lines · Xiaopong Tran
Quoted 9 lines

The problem is that the ceph utility itself is pre-0.48, but the monitors
are running 0.48. You need to upgrade the utility as well. (There was a
note about this in the release announcement.)

This only affects the -s and -w commands.

sage

I have read the notes, andupgraded the utility first. There was no problem when the first two were upgraded and recovering. This only happened when the third node is upgraded.

Quoted 10 lines
Quoted 2 lines

The nodes are running debian wheezy, while the client admin node is running ubuntu 12.04.

Oooh, maybe the package for wheezy in the repo is wrong. Can you confirm which version the ceph utility is with 'ceph -v'?

Thanks!
sage

Thanks for the quick reply, I didn't have the computer with me last night. But you were right. I checked the version of ceph on ubuntu, and it's still stuck with 0.47.3, despite upgrading. I redid the upgrade, and it's still stuck with that version. That's something I didn't pay attention to.

I had to purge the ceph, ceph-common and other related packages, and re-install it, then I got 0.48. And now ceph -s works just as it should.

So, somehow, the upgrade on ubuntu does not work properly.

Thinking about this issue just right now, I think ceph -s still worked right because there was still an older version of mon when the first two nodes were being upgraded. When the last one was upgraded, there's no mon of the same version anymore.

Sorry, should have checked if apt upgrade was done properly first :)

Thanks

Xiaopong

#6 lore raw
Quoted 13 lines · Xiaopong Tran

Thanks for the quick reply, I didn't have the computer with me last night. But you were right. I checked the version of ceph on ubuntu, and it's still stuck with 0.47.3, despite upgrading. I redid the upgrade, and it's still stuck with that version. That's something I didn't pay attention to.

I had to purge the ceph, ceph-common and other related packages, and re-install it, then I got 0.48. And now ceph -s works just as it should.

So, somehow, the upgrade on ubuntu does not work properly.

Quoted 10 lines

Thinking about this issue just right now, I think ceph -s still worked right because there was still an older version of mon when the first two nodes were being upgraded. When the last one was upgraded, there's no mon of the same version anymore.

Sorry, should have checked if apt upgrade was done properly first :)

FYI: I ran into this too - you need to do:

apt-get dist-upgrade

for the 0.47-2 packages to be replaced by 0.48 (of course purging 'em and reinstalling works too...just a bit more drastic)!

regards

Mark

#7 lore raw
Quoted 25 lines · Mark Kirkwood
Quoted 13 lines · Xiaopong Tran

Thanks for the quick reply, I didn't have the computer with me last night. But you were right. I checked the version of ceph on ubuntu, and it's still stuck with 0.47.3, despite upgrading. I redid the upgrade, and it's still stuck with that version. That's something I didn't pay attention to.

I had to purge the ceph, ceph-common and other related packages, and re-install it, then I got 0.48. And now ceph -s works just as it should.

So, somehow, the upgrade on ubuntu does not work properly.

Quoted 10 lines

Thinking about this issue just right now, I think ceph -s still worked right because there was still an older version of mon when the first two nodes were being upgraded. When the last one was upgraded, there's no mon of the same version anymore.

Sorry, should have checked if apt upgrade was done properly first :)

Quoted 6 lines

FYI: I ran into this too - you need to do:

apt-get dist-upgrade

for the 0.47-2 packages to be replaced by 0.48 (of course purging 'em and reinstalling works too...just a bit more drastic)!

That's strange... anyone know why?

sage

#8 lore raw
Quoted 8 lines · Sage Weil
Quoted 7 lines · Mark Kirkwood

FYI: I ran into this too - you need to do:

apt-get dist-upgrade

for the 0.47-2 packages to be replaced by 0.48 (of course purging 'em and reinstalling works too...just a bit more drastic)!

Quoted 7 lines

That's strange... anyone know why?

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

From the apt-get manual:

upgrade
upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or
packages
not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages are available.

dist-upgrade
dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new
versions
of packages; apt-get has a "smart" conflict resolution
system, and
it will attempt to upgrade the most important packages at the expense of less important ones if necessary. So, dist-upgrade command may remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired
package
files. See also apt_preferences(5) for a mechanism for
overriding
the general settings for individual packages.

Does 0.48 have new dependancies perhaps?

#9 lore raw
Quoted 42 lines · Mark Kirkwood
Quoted 8 lines · Sage Weil
Quoted 7 lines · Mark Kirkwood

FYI: I ran into this too - you need to do:

apt-get dist-upgrade

for the 0.47-2 packages to be replaced by 0.48 (of course purging 'em and reinstalling works too...just a bit more drastic)!

Quoted 7 lines

That's strange... anyone know why?

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

From the apt-get manual:

upgrade
upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages are available.

dist-upgrade
dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. So, dist-upgrade command may remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.

Quoted 1 line

Does 0.48 have new dependancies perhaps?

Oh, yeah. We switched to libnss from libcrypto++ by default, among other things; that would explain it!

Thanks-
sage