def get_rackspace_info(server_id,<EOL>region,<EOL>access_key_id,<EOL>secret_access_key,<EOL>username):
nova = connect_to_rackspace(region, access_key_id, secret_access_key)<EOL>server = nova.servers.get(server_id)<EOL>data = {}<EOL>data['<STR_LIT:id>'] = server.id<EOL>data['<STR_LIT>'] = server.accessIPv4<EOL>data['<STR_LIT:state>'] = server.status<EOL>data['<STR_LIT>'] = region<EOL>data['<STR_LIT>'] = '<STR_LIT>'<EOL>data['<STR_LIT:username>'] = username<EOL>if username is not None:<EOL><INDENT>wait_for_ssh(data['<STR_LIT>'])<EOL>with settings(host_string=username + '<STR_LIT:@>' + data['<STR_LIT>']):<EOL><INDENT>data['<STR_LIT>'] = linux_distribution(username,<EOL>data['<STR_LIT>'])<EOL>data['<STR_LIT>'] = os_release(username,<EOL>data['<STR_LIT>'])<EOL><DEDENT><DEDENT>data['<STR_LIT>'] = '<STR_LIT>'<EOL>return data<EOL>
queries Rackspace for details about a particular server id