I'm getting an error during the "Wait for OS to finish booting" stage for a 
centos5-64bit-hvm image.  
/var/log/scalarizr_update.log shows the following - see 
that http://repo.scalr.net/rpm/stable/rhel/5/x86_64
has moved.  I see it in http://repo.scalr.net/rpm/latest/rhel/5/x86_64/ so 
how would I go about
updating the setting - or can "latest" be moved over to "stable"?

2017-03-15 23:22:11,327 - INFO - scalarizr.updclient.pkgmgr - Syncing 
repository info
2017-03-15 23:22:11,328 - DEBUG - requests.packages.urllib3.connectionpool 
- Starting new HTTP connection (1): repo.scalr.net
2017-03-15 23:22:11,466 - INFO - scalarizr.updclient.api - State 
transition: in-progress/prepare -> error
2017-03-15 23:22:11,467 - DEBUG - scalarizr.updclient.api - Saving status: 
{'candidate': None,
 'dist': 'CentOS 5.11 Final',
 'downgrades_enabled': True,
 'error': 'Cannot retrie repo metadata from 
http://repo.scalr.net/rpm/stable/rhel/5/x86_64. HTTP error code: 404',
 'executed_at': 'Thu 16 Mar 2017 06:22:10 UTC',
 'farm_role_id': '38',
 'installed': None,
 'messaging_url': 'https://scalr01.riskgridcloud.com/messaging',
 'package': 'scalarizr-ec2',
 'package_type': 'omnibus',
 'platform': 'ec2',
 'prev_state': 'in-progress/prepare',
 'ps_attempt': 0,
 'ps_script_pid': None,
 'queryenv_url': 'https://scalr01.riskgridcloud.com/query-env',
 'repo_url': u'http://repo.scalr.net/rpm/stable/rhel/$releasever/$basearch',
 'repository': u'stable',
 'scalr_id': '03480c7d',
 'scalr_version': '5.10.21',
 'server_id': '13375eb0-270b-492e-9143-8a98f81bdb63',
 'service_status': 'unknown',
 'service_version': '3.9.11',
 'state': 'error',
 'system_id': 'EC290E3C-7FFA-6EC3-C073-2300F039690D'}
2017-03-15 23:22:11,467 - ERROR - scalarizr.ops.scalarizr.update - 
Operation "scalarizr.update" (id: df272bd8-bdf4-4d46-8701-b5c849d39d9f) 
failed. Reason: Cannot retrie repo metadata from 
http://repo.scalr.net/rpm/stable/rhel/5/x86_64. HTTP error code: 404
Traceback (most recent call last):
  File 
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.9.11-py2.7.egg/scalarizr/api/operation.py",
 
line 191, in _in_progress
    self._completed(self.func(self, *self.func_args, **self.func_kwds))
  File 
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.9.11-py2.7.egg/scalarizr/updclient/api.py",
 
line 614, in do_update
    self.pkgmgr.updatedb()
  File 
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.9.11-py2.7.egg/scalarizr/updclient/pkgmgr.py",
 
line 253, in updatedb
    repo_metadata = self._get_repo_metadata()
  File 
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.9.11-py2.7.egg/scalarizr/updclient/pkgmgr.py",
 
line 370, in _get_repo_metadata
    exc_message="Cannot retrie repo metadata from 
{0}.".format(self.baseurl))
  File 
"/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.9.11-py2.7.egg/scalarizr/updclient/pkgmgr.py",
 
line 63, in requests_get
    raise exc_class("{0} HTTP error code: {1}".format(message, 
r.status_code))
RepositoryError: Cannot retrie repo metadata from 
http://repo.scalr.net/rpm/stable/rhel/5/x86_64. HTTP error code: 404

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to