Servers are caught in a Pending state

62 views
Skip to first unread message

Dale-Kurt Murray

unread,
May 30, 2012, 9:23:42 AM5/30/12
to scalr-...@googlegroups.com
Hi All!

I'm having the following problem, all the servers launched in my farm are in a pending state, eventually they are terminated and re-launched. However this cycles over and over.

I logged into one of the servers to view the log file and saw this

tail -n200 /var/log/scalarizr.log
2012-05-28 12:30:40,860 - INFO - scalarizr - [pid: 12158] Starting scalarizr 0.7.224
2012-05-28 12:30:41,515 - INFO - scalarizr - [pid: 12168] Starting scalarizr 0.7.224
2012-05-28 12:30:41,518 - INFO - scalarizr.config - State: importing
2012-05-28 12:30:42,212 - INFO - scalarizr.messaging.p2p.consumer - Building message consumer server on 0.0.0.0:8013
2012-05-28 12:30:42,215 - INFO - scalarizr.handlers.lifecycle - Server will be imported into Scalr
2012-05-28 12:30:42,265 - INFO - scalarizr.snmp.agent - [pid: 12211] Starting SNMP server on 0.0.0.0:8014
2012-05-28 12:31:59,155 - INFO - scalarizr.config - State: rebundling
2012-05-28 12:32:02,756 - INFO - scalarizr.handlers.rebundle - Lookup server 108.171.174.68 on CloudServers
2012-05-28 12:32:03,210 - INFO - scalarizr.handlers.rebundle - Creating server image. server id: 20877688, image name: 'rs-app-apache64-ubuntu-11-04-20120528123159'
2012-05-28 12:32:05,794 - INFO - scalarizr.handlers.rebundle - Checking that image 22508430 is completed
2012-05-30 13:04:17,598 - INFO - scalarizr - [pid: 754] Starting scalarizr 0.7.224
2012-05-30 13:04:47,890 - INFO - scalarizr - Server was started after rebundle. Performing some cleanups
2012-05-30 13:04:47,918 - INFO - scalarizr.config - State: bootstrapping
2012-05-30 13:04:47,986 - ERROR - scalarizr - disk I/O error
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/scalarizr/__init__.py", line 697, in main
    _init_db()
  File "/usr/lib/pymodules/python2.7/scalarizr/__init__.py", line 225, in _init_db
    _create_db(file)
  File "/usr/lib/pymodules/python2.7/scalarizr/__init__.py", line 232, in _create_db
    conn.executescript(open(script_file or os.path.join(bus.share_path, DB_SCRIPT)).read())
  File "/usr/lib/pymodules/python2.7/scalarizr/util/sqlite_server.py", line 92, in executescript
    return self._call('conn_executescript', [sql])
  File "/usr/lib/pymodules/python2.7/scalarizr/util/sqlite_server.py", line 42, in _call
    raise self.error[0], self.error[1]
OperationalError: disk I/O error

The server instance is on Rackspace Cloud running Ubuntu 11.04. How can I fix this issue.

Nick Toursky

unread,
May 30, 2012, 9:40:54 AM5/30/12
to scalr-...@googlegroups.com
Hi Dale-Kurt,

This bug was fixed in Scalarizr 0.7.225. Update to the latest version and try to re-init.

Regards,
Nick


--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/1LOyBmuDf9EJ.
To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en.

Srinivasan S

unread,
May 30, 2012, 9:43:53 AM5/30/12
to scalr-...@googlegroups.com
Wouldn't thuis auto update whem instance boots?
Sent on my BlackBerry® from Vodafone

From: Nick Toursky <hin...@gmail.com>
Date: Wed, 30 May 2012 16:40:54 +0300
Subject: Re: Servers are caught in a Pending state

Dale-Kurt Murray

unread,
May 31, 2012, 1:10:41 PM5/31/12
to scalr-...@googlegroups.com, srinivasan....@gmail.com
I'm not sure, I was instructed to re-build the role. However, I got a new update which was 0.7.228 (http://cl.ly/431L2Z3c1X0R121e1Q0b) but I'm told there is a newer release 0.7.30. I have not gotten than, my role stop at installing software state

Igor Savchenko

unread,
May 31, 2012, 1:19:41 PM5/31/12
to scalr-...@googlegroups.com
This is Ubuntu or CentOS?

Thanks,
Igor
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalr-discuss/-/4IYFMJob54IJ.

Dale-Kurt Murray

unread,
Jun 1, 2012, 8:49:52 AM6/1/12
to scalr-...@googlegroups.com
Ubuntu 10.04 and 11.04
Reply all
Reply to author
Forward
0 new messages