Showing posts with label problems. Show all posts
Showing posts with label problems. Show all posts

Wednesday, June 01, 2016

Ceph - Crush Map has Legacy Tunables

I upgraded Ceph from the old Dumpling version to the latest Jewel version. In addition to the OSDs not able to start up due to some permission settings on /var/lib/ceph (we need to change the permission settings recursively to ceph:ceph), I am also having this HEALTH_WARN messages:

indra@sc-test-nfs-01:~$ ceph status
    cluster d3dc01a3-c38d-4a85-b040-3015455246e6
     health HEALTH_WARN
            too many PGs per OSD (512 > max 300)
            crush map has legacy tunables (require bobtail, min is firefly)
            crush map has straw_calc_version=0

     monmap e3: 3 mons at {sc-test-ceph-01=192.168.3.3:6789/0,sc-test-ceph-02=192.168.3.4:6789/0,sc-test-nfs-01=192.168.3.2:6789/0}
            election epoch 50, quorum 0,1,2 sc-test-nfs-01,sc-test-ceph-01,sc-test-ceph-02
     osdmap e100: 3 osds: 3 up, 3 in
      pgmap v965721: 704 pgs, 6 pools, 188 MB data, 59 objects
            61475 MB used, 1221 GB / 1350 GB avail
                 704 active+clean

To resolve the problem is very simple, use below command:

ceph osd crush tunables optimal

indra@sc-test-nfs-01:~$ ceph osd crush tunables optimal
adjusted tunables profile to optimal

Ceph status after the adjustment:

indra@sc-test-nfs-01:~$ ceph status
    cluster d3dc01a3-c38d-4a85-b040-3015455246e6
     health HEALTH_WARN
            too many PGs per OSD (512 > max 300)
     monmap e3: 3 mons at {sc-test-ceph-01=192.168.3.3:6789/0,sc-test-ceph-02=192.168.3.4:6789/0,sc-test-nfs-01=192.168.3.2:6789/0}
            election epoch 50, quorum 0,1,2 sc-test-nfs-01,sc-test-ceph-01,sc-test-ceph-02
     osdmap e101: 3 osds: 3 up, 3 in
      pgmap v965764: 704 pgs, 6 pools, 188 MB data, 59 objects
            61481 MB used, 1221 GB / 1350 GB avail
                 704 active+clean

The warning messages related to the crush map are gone. Yay!

PS. Ignore the "too many PGs per OSD" warning, due to I have limited number of OSDs and too many pools and PGs on my test environment.

Source: https://www.mail-archive.com/ceph-users@lists.ceph.com/msg10225.html
Reference: http://docs.ceph.com/docs/master/rados/operations/crush-map/

Sunday, July 29, 2012

Can’t Get WordPress for Android to Work on My Self-Hosted WordPress Blog

I installed WordPress for Android on my Samsung Galaxy S III phone, however I am not able to get the application to work with my self-hosted WordPress blog, Minda Indra. I got this error message when I put http://ip.sg.or.id/ as the Blog URL:

Sorry, no WordPress site was found at the URL provided.

And this is the error message when I put http://ip.sg.or.id/xmlrpc.php as the Blog URL:

XMLRPC Fault: server error. requested method wp.getUsersBlogs does not exist. [code –32601]

I have tried to search the Internet for more information, without any luck. Anyone knows what could be the problem?

Saturday, June 26, 2010

“Older” Hyperlink on Koprol Mobile

If I’m accessing Koprol via its mobile interface and go to Home, when I click the “Older” hyperlink to see the earlier timeline for the first time (to go to page 2 of the timeline), it’s working properly. But when I click the “older” hyperlink for the second time (to go to page 3 of the timeline), I see very old updates (around 7 days ago) instead of the earlier timeline.

The problem only happens if I use my mobile phone to access the mobile interface. If I use my laptop, I don’t encounter the same problem.

Not too sure why. Is it my mobile phone’s browser issue? I’m using Opera Mobile on my HTC HD2.

Update on 27 June 2010, 10:30hrs SGT: I have performed further troubleshooting last night, upon getting some advice from Daniel Armanto, one of Koprol's bosses. It seems that the problem only happened if I'm using SingTel's 3.5G connection. When I switched to my wi-fi connection at home, I didn't encounter the problem, despite it's connected to the same ISP, SingNet in this case.

Thus, I'm convinced now that the problem is not on Koprol's server nor on my mobile phone's browser, but it's most probably my 3.5G Internet service provider issue. Looks like it's SingTel 3.5G's proxy issue?

Wednesday, March 11, 2009

Annoying Sony Ericsson Xperia X1’s Keyboard Problem

After several months using my Sony Ericsson Xperia X1 mobile phone, I have started to encounter some issues with its slide-out keyboard. This problem is specifically annoying since I’m a heavy user of the keyboard (for Internet, e-mail, SMS etc).

Some of the keys especially on the lower part of the keyboard, such as the Fn (blue) key, C key, V key, N key, the spacebar and the . (dot) key are not responsive, and do not register the keys when pressed even though we get the tactile (click) feedback from the keys. And sometimes, if we press harder, it will register double, or sometimes triple, of the keys. Really annoying and irritating

The problem started last month with the spacebar, and then spreads to other keys. This means that the problem seems to get worse over time, since more and more keys are affected eventually. This also means that the problem might be due to a design flaw rather than just a simple mechanical problem. Very disappointing.

I reported this problem last month on the XDA-Developers forum, and at first, there was no reply to the first post I made. However, eventually I found out that many other Xperia X1 users started to experience this problem. I’m not too sure whether the problem will be resolved if I bring the phone to the Sony Ericsson service centre, since it seems to be a design flaw instead of a mechanical malfunction. Any suggestions?

As an alternative, I have temporarily installed FingerKeyboard2, originally developed for HTC Touch HD (Blackstone), for my on-screen keyboard. Quite nice and easy to use. But I still prefer the sliding keyboard, though.

Monday, October 27, 2008

Planet Indra is Temporarily Down

I have temporarily shut down my Planet Indra site. For some unknown reasons, the WordPress-based aggregation blog site refuses to show the contents of the blog and instead it's giving this error message to everyone who tried to access the site:

It doesn't look like you've installed WP yet. Try running install.php

I have Googled around and mostly people would encounter the above message when they tried to upgrade their WordPress installation. This is not the case in my situation. I was not doing anything on the WordPress installation and suddenly the error message appeared. I have other WordPress installations for Minda Indra and Planet Singapura on the same server, running under the same user-id and connecting to the same MySQL database, and they do not encounter the same problem.

Anyone has a clue on what could have happened? Could it be that the database used is corrupted?

I haven't got the time to investigate this issue further. Will look into this problem later when I have the time. Apologise for the inconvenience caused.

Tuesday, February 06, 2007

Inka and Irza's New Look

My blogger friend Tata, who is currently in Switzerland but is having a plan to migrate to Singapore soon with his family, informed me that his computer always hung after viewing the main page of The Journey of Inka and Irza. I tried to replicate the problem, and yes, I also encountered the same problem. My Mozilla Firefox hung after trying to load the page for some time, not too sure why. Many thanks Tata for the feedback. :)

To be frank, firstly I didn't really much bother since the blog itself is already in hiatus mode for quite some time. In the past couple of months, I prefer to write stories about Inka and Irza in the photo section of my Multiply site, together with all the photos, while the Indonesian versions of the stories are usually posted in Rumah Indra. So, I didn't update that blog too often. However, writing articles (with all the hyperlinks etc) on a photo blog is quite inconvenient, especially since you would need to add the hyperlink tags manually. So, I've decided that I would want to use back The Journey of Inka and Irza for me to write stories about my kids and family, in English. Furthermore, I have configured my Multiply site to import all my articles from all my blogs under my Blogger account, including The Journey of Inka and Irza and Rumah Indra.

Before I start using it, I need to fix the problem first. Since I suspect that the problem might be due to the template, a quick and clean way to resolve the problem might be using a new template altogether. So, I backed up my previous template, and then I picked up a new template and at the same time, upgraded the template so I can use Blogger's new template layout tools, since I've already upgraded the blog to the new Blogger.

So, the problem is now fixed. You should not have any issues accessing The Journey of Inka and Irza blog site again, and I'm ready to post future articles about stories of Inka and Irza there again. Stay tuned! :)

Saturday, January 27, 2007

Syndication Problem after Upgrading to New Blogger

For some reason, my syndication sites such as Planet Singapura or Planet Indra are now only showing the titles of all my posts on my Blogger-based weblogs, such as Rumah Indra and Info, instead of the full articles. Not too sure why. The problem started immediately after I upgraded my Blogger-based to new Blogger.

I have checked my Blogger settings and it's confirmed that the blogs are being configured with full RSS feeds. I even tried to browse the RSS feed manually to ensure that full feed is shown. I also have checked the syndication options on the FeedWordPress-based syndication sites, and confirmed that it should extract the full article from the feeds. Why only the titles are being shown on the syndication sites?

Anyone has a clue? :)