Ask Your Question
0

Is there a way to Refresh Openstack Files to their default settings and Values ?

asked 2015-03-17 11:06:56 -0500

HK gravatar image

updated 2015-03-18 14:04:38 -0500

dbaxps gravatar image

I have deployed openstack having one controller node and 2 compute node on centos 7. My deployment seems to have gone bad. The instances are no longer visible but the overview shows that instances are present and "quota exceeded". Also migration isn't working.

I am afraid that i have deleted some files and have messed up with some ssh commands in an attempt to migrate Vm's from one host to another.

Is there a way to restore it back ?

Below is the ifconfig report for the

Controller Node:

[ccoew@controller ~]$ ifconfig
br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::4877:d6ff:fecf:443  prefixlen 64  scopeid 0x20<link>
        ether 4a:77:d6:cf:04:43  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 10  bytes 868 (868.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.32.101  netmask 255.255.254.0  broadcast 172.16.33.255
        inet6 fe80::7254:d2ff:fe8f:69e2  prefixlen 64  scopeid 0x20<link>
        ether 70:54:d2:8f:69:e2  txqueuelen 1000  (Ethernet)
        RX packets 502938  bytes 81171225 (77.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 491094  bytes 119126122 (113.6 MiB)
        TX errors 619  dropped 0 overruns 0  carrier 619  collisions 1298
        device interrupt 20  memory 0xf7c00000-f7c20000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 4128700  bytes 611480369 (583.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4128700  bytes 611480369 (583.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

**COMPUTE1**

[root@compute1 ~]# ifconfig
br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::a0a7:89ff:fe97:9b4d  prefixlen 64  scopeid 0x20<link>
        ether a2:a7:89:97:9b:4d  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9  bytes 798 (798.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.32.102  netmask 255.255.255.254  broadcast 172.16.32.103
        inet6 fe80::7254:d2ff:fe7c:2a6  prefixlen 64  scopeid 0x20<link>
        ether 70:54:d2:7c:02:a6  txqueuelen 1000  (Ethernet)
        RX packets 225069  bytes 43603637 (41.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 199029  bytes 26145745 (24.9 MiB)
        TX errors 3124  dropped 0 overruns 0  carrier 3124  collisions 3622
        device interrupt 20  memory 0xf7c00000-f7c20000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 38317 ...
(more)
edit retag flag offensive close merge delete

Comments

1

I've commented my answer regarding install openstack-nova-objectstore and tested it right now.

# rpm -iv  openstack-nova-2014.2.1-1.el7.src.rpm
dbaxps gravatar imagedbaxps ( 2015-03-17 12:24:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-03-17 12:32:42 -0500

dbaxps gravatar image

I would probably disappoint you. It would be much better run packstack install from scratch on fresh reinstalled CentOS 7 (yum updated ) nodes. You may pick up answer-file here http://bderzhavets.blogspot.com/2014/... and update it for two compute nodes set up.
Regarding migration, view comments to my answer : -
https://ask.openstack.org/en/question...

edit flag offensive delete link more

Comments

When installing openstack using your answer-file, do i still need to run these commands:

$ yum install https://repos.fedorapeople.org/repos/... $ yum install -y openstack-packstack $ packstack --allinone

HK gravatar imageHK ( 2015-03-17 13:52:57 -0500 )edit
1

First and second - yes. Third one is supposed to run on Controller , just once. It will build all 3 nodes at a time :

# packstack --answer-file=./prepared-answer-file.txt

been taken and updated ( two compute nodes) from provided link.

dbaxps gravatar imagedbaxps ( 2015-03-17 14:18:10 -0500 )edit
1

For instance

    CONFIG_CONTROLLER_HOST=192.168.1.127
    CONFIG_COMPUTE_HOSTS=192.168.1.137,192.168.1.147
    CONFIG_NETWORK_HOSTS=192.168.1.127

No more changes.

dbaxps gravatar imagedbaxps ( 2015-03-17 14:20:11 -0500 )edit

I followed all the steps suggested by you. But post successful installation when I open the dashboard, I get the following errors: Unauthorized: Unable to retrieve network quota information. Unauthorized: Unable to retrieve list of security groups Error: Unauthorized: Unable to retrieve networks

HK gravatar imageHK ( 2015-03-18 10:27:18 -0500 )edit

How do i resolve these now ?

HK gravatar imageHK ( 2015-03-18 10:27:41 -0500 )edit

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: 2015-03-17 11:06:56 -0500

Seen: 476 times

Last updated: Mar 18 '15