← Back to team overview

openstack team mailing list archive

Re: openstack installation of swift

 

"Connection to 10.3.1.25 failed."

Do you know what this ip is?


On Wed, Mar 20, 2013 at 1:06 PM, Arun Fera <fera26@xxxxxxxxx> wrote:

> The stack.sh file runs without errors and only when it reaches the lines
>
> create_keystone_accounts
> ++ keystone tenant-create --name admin
>
>  the error starts like:
>
>
>  create_keystone_accounts
> ++ keystone tenant-create --name admin
> ++ grep ' id '
> ++ get_field 2
> ++ read data
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/tenants";>http://10.3.1.25:35357/v2.0/tenants</a></p>
> <blockquote id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p>
> </blockquote>  <p id="sysmsg">The system returned: <i>(110) Connection
> timed out</i></p>  <p>The remote host or network may be down. Please try
> the request again.</p>  <p>Your cache administrator is <a href="mailto:
> webmaster%W">webmaster</a>.</p>  <br> </div>  <hr> <div id="footer">
> <p>Generated Wed, 20 Mar 2013 04:35:08 GMT by nkn-proxy.local
> (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL --> </div> </body></html> .
> (HTTP 504)
> + ADMIN_TENANT=
> ++ keystone user-create --name admin --pass tce --email admin@xxxxxxxxxxx
> ++ grep ' id '
> ++ get_field 2
> ++ read data
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/users";>http://10.3.1.25:35357/v2.0/users</a></p>
> <blockquote id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p>
> </blockquote>  <p id="sysmsg">The system returned: <i>(110) Connection
> timed out</i></p>  <p>The remote host or network may be down. Please try
> the request again.</p>  <p>Your cache administrator is <a href="mailto:
> webmaster%W">webmaster</a>.</p>  <br> </div>  <hr> <div id="footer">
> <p>Generated Wed, 20 Mar 2013 04:36:11 GMT by nkn-proxy.local
> (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL --> </div> </body></html> .
> (HTTP 504)
> + ADMIN_USER=
> ++ get_field 2
> ++ grep ' id '
> ++ read data
> ++ keystone role-create --name admin
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/OS-KSADM/roles";>
> http://10.3.1.25:35357/v2.0/OS-KSADM/roles</a></p>  <blockquote
> id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p> </blockquote>  <p
> id="sysmsg">The system returned: <i>(110) Connection timed out</i></p>
> <p>The remote host or network may be down. Please try the request
> again.</p>  <p>Your cache administrator is <a href="mailto:webmaster%W";>webmaster</a>.</p>
> <br> </div>  <hr> <div id="footer"> <p>Generated Wed, 20 Mar 2013 04:37:15
> GMT by nkn-proxy.local (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL -->
> </div> </body></html> . (HTTP 504)
> + ADMIN_ROLE=
> + keystone user-role-add --user_id --role_id --tenant_id
> usage: keystone user-role-add --user <user> --role <role> [--tenant
> <tenant>]
> keystone user-role-add: error: argument --user/--user-id/--user_id:
> expected one argument
> ++ keystone tenant-create --name service
> ++ grep ' id '
> ++ get_field 2
> ++ read data
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/tenants";>http://10.3.1.25:35357/v2.0/tenants</a></p>
> <blockquote id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p>
> </blockquote>  <p id="sysmsg">The system returned: <i>(110) Connection
> timed out</i></p>  <p>The remote host or network may be down. Please try
> the request again.</p>  <p>Your cache administrator is <a href="mailto:
> webmaster%W">webmaster</a>.</p>  <br> </div>  <hr> <div id="footer">
> <p>Generated Wed, 20 Mar 2013 04:38:19 GMT by nkn-proxy.local
> (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL --> </div> </body></html> .
> (HTTP 504)
> + SERVICE_TENANT=
> ++ keystone role-create --name=Member
> ++ get_field 2
> ++ read data
> ++ grep ' id '
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/OS-KSADM/roles";>
> http://10.3.1.25:35357/v2.0/OS-KSADM/roles</a></p>  <blockquote
> id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p> </blockquote>  <p
> id="sysmsg">The system returned: <i>(110) Connection timed out</i></p>
> <p>The remote host or network may be down. Please try the request
> again.</p>  <p>Your cache administrator is <a href="mailto:webmaster%W";>webmaster</a>.</p>
> <br> </div>  <hr> <div id="footer"> <p>Generated Wed, 20 Mar 2013 04:39:22
> GMT by nkn-proxy.local (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL -->
> </div> </body></html> . (HTTP 504)
> + MEMBER_ROLE=
> ++ grep ' id '
> ++ keystone role-create --name=anotherrole
> ++ get_field 2
> ++ read data
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/OS-KSADM/roles";>
> http://10.3.1.25:35357/v2.0/OS-KSADM/roles</a></p>  <blockquote
> id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p> </blockquote>  <p
> id="sysmsg">The system returned: <i>(110) Connection timed out</i></p>
> <p>The remote host or network may be down. Please try the request
> again.</p>  <p>Your cache administrator is <a href="mailto:webmaster%W";>webmaster</a>.</p>
> <br> </div>  <hr> <div id="footer"> <p>Generated Wed, 20 Mar 2013 04:40:26
> GMT by nkn-proxy.local (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL -->
> </div> </body></html> . (HTTP 504)
> + ANOTHER_ROLE=
> ++ get_field 2
> ++ grep ' id '
> ++ read data
> ++ keystone tenant-create --name=invisible_to_admin
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/tenants";>http://10.3.1.25:35357/v2.0/tenants</a></p>
> <blockquote id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p>
> </blockquote>  <p id="sysmsg">The system returned: <i>(110) Connection
> timed out</i></p>  <p>The remote host or network may be down. Please try
> the request again.</p>  <p>Your cache administrator is <a href="mailto:
> webmaster%W">webmaster</a>.</p>  <br> </div>  <hr> <div id="footer">
> <p>Generated Wed, 20 Mar 2013 04:41:29 GMT by nkn-proxy.local
> (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL --> </div> </body></html> .
> (HTTP 504)
> + INVIS_TENANT=
> ++ keystone tenant-create --name=demo
> ++ grep ' id '
> ++ get_field 2
> ++ read data
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/tenants";>http://10.3.1.25:35357/v2.0/tenants</a></p>
> <blockquote id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p>
> </blockquote>  <p id="sysmsg">The system returned: <i>(110) Connection
> timed out</i></p>  <p>The remote host or network may be down. Please try
> the request again.</p>  <p>Your cache administrator is <a href="mailto:
> webmaster%W">webmaster</a>.</p>  <br> </div>  <hr> <div id="footer">
> <p>Generated Wed, 20 Mar 2013 04:42:33 GMT by nkn-proxy.local
> (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL --> </div> </body></html> .
> (HTTP 504)
> + DEMO_TENANT=
> ++ get_field 2
> ++ keystone user-create --name demo --pass tce --email demo@xxxxxxxxxxx
> ++ read data
> ++ grep ' id '
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/users";>http://10.3.1.25:35357/v2.0/users</a></p>
> <blockquote id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p>
> </blockquote>  <p id="sysmsg">The system returned: <i>(110) Connection
> timed out</i></p>  <p>The remote host or network may be down. Please try
> the request again.</p>  <p>Your cache administrator is <a href="mailto:
> webmaster%W">webmaster</a>.</p>  <br> </div>  <hr> <div id="footer">
> <p>Generated Wed, 20 Mar 2013 04:43:36 GMT by nkn-proxy.local
> (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL --> </div> </body></html> .
> (HTTP 504)
> + DEMO_USER=
> + keystone user-role-add --user_id --role_id --tenant_id
> usage: keystone user-role-add --user <user> --role <role> [--tenant
> <tenant>]
> keystone user-role-add: error: argument --user/--user-id/--user_id:
> expected one argument
> + keystone user-role-add --user_id --role_id --tenant_id
> usage: keystone user-role-add --user <user> --role <role> [--tenant
> <tenant>]
> keystone user-role-add: error: argument --user/--user-id/--user_id:
> expected one argument
> + keystone user-role-add --user_id --role_id --tenant_id
> usage: keystone user-role-add --user <user> --role <role> [--tenant
> <tenant>]
> keystone user-role-add: error: argument --user/--user-id/--user_id:
> expected one argument
> + keystone user-role-add --user_id --role_id --tenant_id
> usage: keystone user-role-add --user <user> --role <role> [--tenant
> <tenant>]
> keystone user-role-add: error: argument --user/--user-id/--user_id:
> expected one argument
> + [[ sql = \s\q\l ]]
> ++ keystone service-create --name keystone --type identity --description
> 'Keystone Identity Service'
> ++ grep ' id '
> ++ get_field 2
> ++ read data
> Unable to communicate with identity service: <!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html;
> charset=utf-8"> <title>ERROR: The requested URL could not be
> retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) {
> direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif;
> float: right; } :lang(he) { direction: rtl; float: right; }  --></style>
> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could
> not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following
> error was encountered while trying to retrieve the URL: <a href="
> http://10.3.1.25:35357/v2.0/OS-KSADM/services";>
> http://10.3.1.25:35357/v2.0/OS-KSADM/services</a></p>  <blockquote
> id="error"> <p><b>Connection to 10.3.1.25 failed.</b></p> </blockquote>  <p
> id="sysmsg">The system returned: <i>(110) Connection timed out</i></p>
> <p>The remote host or network may be down. Please try the request
> again.</p>  <p>Your cache administrator is <a href="mailto:webmaster%W";>webmaster</a>.</p>
> <br> </div>  <hr> <div id="footer"> <p>Generated Wed, 20 Mar 2013 04:44:41
> GMT by nkn-proxy.local (squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL -->
> </div> </body></html> . (HTTP 504)
> + KEYSTONE_SERVICE=
> + keystone endpoint-create --region RegionOne --service_id --publicurl
> http://10.3.1.25:5000/v2.0 --adminurl http://10.3.1.25:35357/v2.0--internalurl
> http://10.3.1.25:5000/v2.0
> usage: keystone endpoint-create [--region <endpoint-region>] --service-id
>                                 <service-id> [--publicurl <public-url>]
>                                 [--adminurl <admin-url>]
>                                 [--internalurl <internal-url>]
>
> keystone endpoint-create: error: argument --service-id/--service_id:
> expected one argument
> ++ failed
> ++ local r=2
> +++ jobs -p
> ++ kill
> ++ set +o xtrace
> stack@tce:~/devstack$ ~
>
>
>
>
>
>
>
> On Wed, Mar 20, 2013 at 10:09 AM, Gareth <academicgareth@xxxxxxxxx> wrote:
>
>> stack.sh is a complicated script
>> If some devstack developer cloud help you, it's ok. If not, your could
>> run stack.sh again (install ubuntu again first). It maybe have good chance
>> to build successfully.
>>
>>
>> On Wed, Mar 20, 2013 at 11:52 AM, Arun Fera <fera26@xxxxxxxxx> wrote:
>>
>>> I have followed the instructions in
>>> http://devstack.org/guides/single-machine.html
>>> But I get the following message while doing ./stack.sh
>>>
>>> keystone endpoint-create: error: argument --service-id/--service_id:
>>> expected one argument
>>>
>>> ++ failed
>>>
>>> ++ local r=2
>>>
>>> +++ jobs -p
>>>
>>> ++ kill
>>>
>>> ++ set +o xtrace
>>>
>>> How to overcome this problem? Can anyone plz help me in this issue.
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Mar 7, 2013 at 1:17 PM, Gareth <academicgareth@xxxxxxxxx> wrote:
>>>
>>>> In addition,
>>>>
>>>> install swift in one machine:
>>>> http://docs.openstack.org/developer/swift/development_saio.html
>>>> install swift cluster:
>>>> http://docs.openstack.org/developer/swift/howto_installmultinode.html
>>>>
>>>>
>>>>
>>>> On Thu, Mar 7, 2013 at 3:33 PM, Chmouel Boudjnah <chmouel@xxxxxxxxxxx>wrote:
>>>>
>>>>> You can install Swift as standalone and you can even use its builtin
>>>>> auth server like swauth if you really don't want deps on other things
>>>>> than swift. (auth v1 only).
>>>>>
>>>>> Chmouel.
>>>>>
>>>>> On Thu, Mar 7, 2013 at 8:28 AM, Arun Fera <fera26@xxxxxxxxx> wrote:
>>>>> > Is it necessary to install all the components for using swift alone.
>>>>> I need
>>>>> > to store some data in cloud. that is my only need. Can anyone help
>>>>> me.
>>>>> >
>>>>> > --
>>>>> > Arun Fera M
>>>>> > Assistant Professor,
>>>>> > Department of Information Technology,
>>>>> > Thiagarajar College of Engineering,
>>>>> > Madurai-15.
>>>>> > Mob:9790292924
>>>>> > E-mail:fera@xxxxxxx
>>>>> >
>>>>> > _______________________________________________
>>>>> > Mailing list: https://launchpad.net/~openstack
>>>>> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>>>> > Unsubscribe : https://launchpad.net/~openstack
>>>>> > More help   : https://help.launchpad.net/ListHelp
>>>>> >
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~openstack
>>>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~openstack
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Gareth
>>>> *Cloud Computing, Openstack, Fitness, Basketball
>>>> *
>>>> *Novice Openstack contributer*
>>>> *My promise: if you find any spelling or grammar mistake in my email
>>>> from Mar 1 2013, notice me *
>>>> *and I'll donate 1$ or 1¥ to open organization specified by you.*
>>>>
>>>
>>>
>>>
>>> --
>>> Arun Fera M
>>> Assistant Professor,
>>> Department of Information Technology,
>>> Thiagarajar College of Engineering,
>>> Madurai-15.
>>> Mob:9790292924
>>> E-mail:fera@xxxxxxx
>>>
>>
>>
>>
>> --
>> Gareth
>> *Cloud Computing, Openstack, Fitness, Basketball
>> *
>> *Novice Openstack contributer*
>> *My promise: if you find any spelling or grammar mistake in my email
>> from Mar 1 2013, notice me *
>> *and I'll donate 1$ or 1¥ to open organization specified by you.*
>>
>
>
>
> --
> Arun Fera M
> Assistant Professor,
> Department of Information Technology,
> Thiagarajar College of Engineering,
> Madurai-15.
> Mob:9790292924
> E-mail:fera@xxxxxxx
>



-- 
Gareth
*Cloud Computing, Openstack, Fitness, Basketball
*
*Novice Openstack contributer*
*My promise: if you find any spelling or grammar mistake in my email from
Mar 1 2013, notice me *
*and I'll donate 1$ or 1¥ to open organization specified by you.*

Follow ups

References