Ask Your Question

xuelinlin88's profile - activity

2015-01-22 01:12:47 -0500 received badge  Famous Question (source)
2014-12-24 15:19:28 -0500 received badge  Nice Question (source)
2014-11-25 16:40:54 -0500 received badge  Notable Question (source)
2014-11-25 16:05:10 -0500 received badge  Popular Question (source)
2014-11-18 15:54:36 -0500 asked a question Openstack authorization fails (Unauthorized HTTP 401)

Hi, When I typed 'openstack-status', I got error as follows:

== Glance images ==
Request returned failure status.
Invalid OpenStack Identity credentials.
== Nova instance flavors ==
ERROR: Unauthorized (HTTP 401)
== Nova instances ==
ERROR: Unauthorized (HTTP 401)

User can get get valid token at command line (keystone token-get) but authorization fails.

Actually, I didn't modify or delete anything, and it suddenly out of work.

Could anyone please tell me what's going wrong

2014-10-13 05:19:22 -0500 received badge  Notable Question (source)
2014-10-13 05:19:22 -0500 received badge  Famous Question (source)
2014-08-21 02:33:53 -0500 received badge  Famous Question (source)
2014-08-21 02:33:53 -0500 received badge  Notable Question (source)
2014-03-02 16:26:57 -0500 received badge  Popular Question (source)
2014-02-26 09:23:47 -0500 commented answer Auto assign floating ip

Appreciated your reply. Actually, I don't need truly know the assigned floating ip of my newly-created instance. Because I define a variable (e.g. flotip), and embed it in the second part of my script. So I need to get floating ip and pass it to that variable. As for this ip, I don't really care Thanks

2014-02-25 11:37:39 -0500 asked a question Auto assign floating ip

Hi,

I've modified my nova.conf, so that it can auto assign floating ip with my openstack instance.

Due to requirement, I wrote a small script which contains mainly two parts: first, boot instance and auto assign floating ip second, embedded floating ip as a variable and run several commands.

In this situation, I'm curious how can I obtain floating ip of my instance via commands?

is there any openstack command like nova show floating ip?

Thanks

2014-02-20 12:09:41 -0500 received badge  Famous Question (source)
2013-12-20 09:44:20 -0500 received badge  Enthusiast
2013-12-13 10:45:28 -0500 commented answer web server on openstack instance

thanks Cristi, my apache now is working. I added port in my security group, then turn off iptables of my instance. Then I'm able to start web server from outside host.

2013-12-12 14:47:01 -0500 received badge  Notable Question (source)
2013-12-12 14:29:57 -0500 commented answer web server on openstack instance

do i need to modify iptables of both instance and openstack host? For instance, add NAT roles to translate fixed-ip to float-ip, or sth like it. Could you please tell me sth? I checked already, but still have no clue.

2013-12-12 13:41:27 -0500 commented answer web server on openstack instance

hi, thx for your comments. I changed to be Listen 80. Now when I typed "wget http://myinstancefloatingip" from openstack host, I can see the downloaded index.html. But I cannot see Apache page on browser, meaning if I type "http://myinstancefloatingip" on my browsers (e.g. IE, firefox), I didn't see anything. There's no errors in log as well.

2013-12-12 09:38:25 -0500 received badge  Popular Question (source)
2013-12-11 14:27:32 -0500 asked a question web server on openstack instance

I installed a web server on a running openstack instance, then assign a port to it. When I try to access this web server using floating ip from both host and outside machines, I failed.

I'm wondering whether sth block access. I even add that port in security group and iptables, but failed as well.

Does anyone install web server on instance and start successfully? Even Apache failed to start using floating ip plus port.

Lynn

2013-12-10 11:51:20 -0500 received badge  Popular Question (source)
2013-12-10 08:44:41 -0500 commented answer install apache on openstack instance

hi, I only added tcp 22 and icmp -1 to my security rule. So whenever I want to use any port in openstacn instance, I need to add it to security rule first? it should be tcp, icmp or udp? I'm thinking sth needs to be setting, so that outside can visit instance web service. But no idea what and how to do it. Thanks Lynn

2013-12-09 20:28:12 -0500 received badge  Student (source)
2013-12-09 18:23:06 -0500 asked a question install apache on openstack instance

Hi,

I installed apache (set listen to be 3972) on openstack instance and modified httpd.conf accordingly. I also installed apache on my openstack host, with port 3973 However, it failed if I tried to type "http://instancename:3972/". If I typed "http://instancename:3973/", it is working. But, actually, it is working not because of instance apache. Instead, it is still pointing to the host apache. Therefore, that apache welcome page still came up even if I type another instance name with port 3973.

I'm wondering how can i make my instance apache work. Because I'm planning to install other app on the instance, I need to make sure I can visit that service via instance floating ip, instead of hosting ip.

Do i need to specify a port on host to that instance apache port?

Lynn