Lucid AMIs have no ramdisk and break landscape-client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Thomas Herve | ||
landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
For some reason, the lucid AMIs have no ramdisk:
andreas@nsn2:~$ ec2-describe-images --region eu-west-1 ami-cf4d67bb
IMAGE ami-cf4d67bb 099720109477/
Compare with the karmic AMI, for example:
andreas@nsn2:~$ ec2-describe-images --region eu-west-1 ami-9a2a01ee
IMAGE ami-9a2a01ee ubuntu-
This breaks the client, because it gets a 404 when trying to get the ramdisk id:
root@ip-
<?xml version="1.0" encoding=
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://
<html xmlns="http://
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
</body>
</html>
root@ip-
Here is a list of what is available at that url:
root@ip-
ami-id
ami-launch-index
ami-manifest-path
block-device-
hostname
instance-action
instance-id
instance-type
kernel-id
local-hostname
local-ipv4
placement/
public-hostname
public-ipv4
public-keys/
reservation-id
security-groups
root@ip-
This is the backtrace the client gets:
2010-05-03 22:00:47,157 INFO [MainThread] Broker started with config /etc/landscape/
2010-05-03 22:00:47,225 ERROR [MainThread] Got error while fetching meta-data: <HTTPCodeError http_code=404>
Traceback (most recent call last):
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
raise HTTPCodeError(
HTTPCodeError: Server returned HTTP code 404
Related branches
- Sidnei da Silva (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 274 lines (+64/-30)3 files modifiedlandscape/broker/registration.py (+8/-2)
landscape/broker/tests/test_registration.py (+55/-27)
landscape/message_schemas.py (+1/-1)
Changed in landscape-client: | |
assignee: | nobody → Thomas Herve (therve) |
Changed in landscape-client: | |
status: | New → In Progress |
Changed in landscape-client: | |
milestone: | 1.5.1 → 1.5.2 |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
tags: | added: needs-testing |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
Changed in landscape-client: | |
status: | Fix Released → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
Scott, I think you're probably the right person to assign this to.
If not, please unassign.