Ask Your Question
0

Cannot change default port for nova-api (8773)

asked 2011-06-27 17:51:59 -0500

huy-pham-sc gravatar image

Hey. I tried to change the port of nova-api, which is 8773, to a new one in nova.conf file, but it does not make any affect. It still runs on 8773, even after I restarted all services and computer. nay suggestions?

edit retag flag offensive close merge delete

14 answers

Sort by ยป oldest newest most voted
0

answered 2011-06-27 17:57:41 -0500

Can you provide the contents of your nova.conf here?

edit flag offensive delete link more
0

answered 2011-06-27 18:41:17 -0500

blamar gravatar image

The flags you need to set to change the port is: ec2_listen_port

edit flag offensive delete link more
0

answered 2011-06-28 19:30:14 -0500

huy-pham-sc gravatar image

Vish, More details, please. What does it look like? add-apt-repository ppa:nova-core/cactus???? add-apt-repository ppa:nova-core/milestone????

edit flag offensive delete link more
0

answered 2011-06-28 19:35:49 -0500

vishvananda gravatar image

Cheat sheet here:

http://wiki.openstack.org/PPAs

On Jun 28, 2011, at 12:31 PM, HP wrote:

Question #162944 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

Status: Answered => Open

HP is still having a problem: Vish, More details, please. What does it look like? add-apt-repository ppa:nova-core/cactus???? add-apt-repository ppa:nova-core/milestone????


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-06-28 18:18:20 -0500

huy-pham-sc gravatar image

Hey Brian, So how do I make sure that I install the cactus version? By not adding the repository nova-core/trunk maybe? Trying to avoid the unstable ones.

edit flag offensive delete link more
0

answered 2011-06-27 20:30:43 -0500

blamar gravatar image

Tarmac is our build system. This version line isn't as helpful as I thought :) I'll check and see if this can't be improved. Also, a nova-api --version from the command line might be nice.

edit flag offensive delete link more
0

answered 2011-06-27 19:00:01 -0500

blamar gravatar image

Hey HP, looks like we have a bit of duplication! Ack! ec2_port/ec2_listen_port need to be rectified in the code...also osapi_port/osapi_listen port.

I'll submit a ticket for this to be fixed in the code as well as in the documentation.

Great catch.

edit flag offensive delete link more
0

answered 2011-06-27 18:50:35 -0500

huy-pham-sc gravatar image

Hey. Thanks. Fixed. By the way, I did not find "--ec2_listen_port", found only "--ec2_port" in the manual, and "--ec2_port" did not work; your suggestion worked. Why is "--ec2_listen_port" not in the manual?

link to manual: http://docs.openstack.org/cactus/openstack-compute/admin/content/reference-for-flags-in-nova-conf.html (http://docs.openstack.org/cactus/open...)

edit flag offensive delete link more
0

answered 2011-06-27 18:25:35 -0500

huy-pham-sc gravatar image

Hey. yes, it's here:

--dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --verbose=1 --s3_host=10.20.129.172 --rabbit_host=10.20.129.172 --cc_host=10.20.129.172 --ec2_url=http://10.20.129.172:8779/services/Cloud --fixed_range=192.168.0.0/16 --network_size=8 --FAKE_subdomain=ec2 --routing_source_ip=10.20.129.172 --sql_connection=mysql://root:nova@10.20.129.172/nova --iscsi_ip_prefix=192.168.

edit flag offensive delete link more
0

answered 2011-06-27 19:18:52 -0500

huy-pham-sc gravatar image

Thanks, Brain. I have one quick question: How do I know what version of openstack I am using now? During the installation, all I did was install nova-api, nova-network... packages and it did not say anything like bexar or cactus anywhere at all. I believe I am using cactus, but still did not find a convincing way to make sure that it is cactus. Really curious.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-06-27 17:51:59 -0500

Seen: 180 times

Last updated: Jun 28 '11