incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sang-Min Park <sang-min.p...@eucalyptus.com>
Subject Re: Eucalyptus_driver help
Date Thu, 19 May 2011 01:13:24 GMT
It looks like your deltacloud daemon doesn't have API_PROVIDER set to
Eucalyptus.
You should start the daemon in the same shell that you've set the
API_PROVIDER.
In other words,

1. export API_PROVIDER="ec2=192.168.1.1;s3=192.168.1.1"
2. run 'deltacloudd -i eucalypus'
3. launch your brower and use the EC2_ACCESS_KEY and EC2_SECRET_KEY as
username and password

Let me know if this doesn't work for you.

Sang-min

On Wed, May 18, 2011 at 7:47 PM, seb delta <neg.sebastian@gmail.com> wrote:

> Hi,
> I use a browser as a client so i set the environment variable as:
> export API_PROVIDER="ec2=192.168.1.1:8773;s3=192.168.1.1:8773<
> http://192.168.1.2:8773/>
> "
> when i access the interface, it asks to enter a username/password
> (EC2_ACCESS_KEY, EC2_ACCESS_KEY)
> i download the credentials from Eucalyptus and uses them but i encountred
> this error:
>
> AuthFailure: AWS was not able to validate the provided access credentials
> REQUEST=
>
> ec2.amazonaws.com:443/?AWSAccessKeyId=cN1bUn8thZJxXgXdFmU4p8ayMM12pWqqfeS5w&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-05-18T10%3A39%3A51.000Z&Version=2010-08-31&Signature=kn9Cv3MQwJBCwBZLeuk2jH4qyFd%2Fy5ZV7zxUYReQFZs%3D
>  REQUEST ID=14d7e379-ba96-40d8-b700-73818be48be1
>
> any idea??
>
> On Tue, May 17, 2011 at 4:24 PM, marios@redhat.com <mandreou@redhat.com
> >wrote:
>
> > Hi
> >
> >
> > On 17/05/11 17:58, seb delta wrote:
> >
> >> Thanks Marios for responding.
> >> The problem is that I can not connect  to my Eucalyptus installation via
> >> Deltacloud, according to the web site, I understand that the driver
> should
> >> pointed to the installation of Eucalyptus by passing the request
> headers:
> >>
> >> X-Deltacloud-Driver: eucalyptus
> >> X-Deltacloud-Provider: ec2=192.168.1.1:8773;s3=192.168.1.2:8773
> >>
> >
> >
> > ok, I *think* you're asking about how to set the header - it depends on
> > your client. If you are using a client like curl you can set the header
> > specifically (e.g. curl -H 'X-Deltacloud-Provider:ec2=192.168.1.1:8773
> ;s3=
> > 192.168.1.2:8773' http://localhost:3001/api?format=xml).
> >
> > If you are using the browser as a client then you can avoid having to use
> > the X-Deltacloud headers in your request by setting an environment
> variable.
> > So: export API_PROVIDER="ec2=192.168.1.1:8773;s3=192.168.1.2:8773". This
> > is checked in the eucalyptus driver
> > (/.../server/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb line
> > 150).
> >
> >
> > please let me know if that works/any of the above doesn't make any sense
> >
> > marios
> >
> >
> >
> >>
> >> but I do not find a way how to get there??
> >>
> >> On Tue, May 17, 2011 at 12:48 PM, marios@redhat.com<mandreou@redhat.com
> >> >wrote:
> >>
> >>  On 17/05/11 14:14, delta op wrote:
> >>>
> >>>  hello everyone
> >>>> II installed Eucalyptus and I would list the pictures, forums, ..
> >>>> through
> >>>> Deltacloud.
> >>>> So i installed Deltacloud and I tested it with
> >>>> "i-deltacloudd eucalyptus-p 3001" it works, now i can access the GUI.
> >>>> Now I am working to follow the link "#
> >>>> http://incubator.apache.org/deltacloud/drivers.html h4_2" but I still
> >>>> can
> >>>> not know how I should spend queries.
> >>>> I'm new to this kind of project I really need help to continue.
> >>>> thank you
> >>>>
> >>>>
> >>>>  Hi Sebastian, thanks for trying out deltacloud - I'm not sure exactly
> >>> where
> >>> you are having problems - can you provide more information please?
> >>>
> >>>  From your email I understand you have installed deltacloud and started
> >>> the
> >>> server successfully, specifying the eucalyptus driver (something like
> >>> "deltacloudd -i eucalyptus"), and you are using a browser to try it out
> >>> (e.g. at 'http://localhost:3001/api'). But I need more information
> about
> >>> what problem you are having/what you want to do and can't so we can
> help,
> >>>
> >>> all the best, marios
> >>>
> >>>
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message