OpenStack: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 14:
Horizon
 
= Installation using PackStack =
Source: [https://www.tecmint.com/openstack-installation-guide-rhel-centos/ tecmint.com]
 
Line 111:
Credentials can be found (if you haven’t set it in the answers.txt file) in below file:
cat keystonerc_admin
 
= Installation using DevStack =
 
Source: [https://www.techrepublic.com/article/how-to-install-openstack-on-a-single-ubuntu-server-virtual-machine techrepublic.com]
{{UC}}
 
= Verification =
Line 313 ⟶ 318:
 
> openstack endpoint list | grep -i placement
<pre style="width: 1500px; overflow-x: scroll;">
| 07802b28b40f4cfd8308b4351a5092ee | RegionOne | placement | placement | True | public | http://10.10.30.8:8778/placement |
| 2fa60fbbb5214f45953540a071efaffe | RegionOne | placement | placement | True | internal | http://10.10.30.8:8778/placement |
| b76395b1badb4a2bb462f35e35b71522 | RegionOne | placement | placement | True | admin | http://10.10.30.8:8778/placement |
</pre>
 
 
> netstat -an | grep -i 8778
Line 324 ⟶ 330:
tcp 0 0 10.10.30.8:8778 10.10.30.8:59868 FIN_WAIT2
 
> neutron agent-list
<pre style="width: 1500px; overflow-x: scroll;">
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+--------------------+------------------+-------------------+-------+----------------+---------------------------+
| id | agent_type | host | availability_zone | alive | admin_state_up | binary |
Line 335 ⟶ 341:
| f8f85b4e-73f0-4636-9bef-a7cb68394c63 | Metering agent | cloud.centos.lan | | :-) | True | neutron-metering-agent |
+--------------------------------------+--------------------+------------------+-------------------+-------+----------------+---------------------------+
</pre>
 
> nano /etc/nova/nova.conf
virt_type = qemu
 
 
> ip netns
qdhcp-4d8df480-f1ec-413a-8500-a2e05caba55d (id: 4)
qdhcp-208f9e3c-5e66-47a1-95d3-02c9860d122a (id: 3)
qdhcp-98e9a9df-2698-44cd-95b1-905fbbbe1165 (id: 1)
qdhcp-bd58da20-f41b-483f-bee0-55f5e51b7d9a (id: 2)
qrouter-73240828-df62-4c02-b214-be6ee9572bda (id: 0)
 
> ip netns exec qrouter-73240828-df62-4c02-b214-be6ee9572bda bash
 
> ping 10.0.3.5
PING 10.0.3.5 (10.0.3.5) 56(84) bytes of data.
64 bytes from 10.0.3.5: icmp_seq=1 ttl=64 time=4.44 ms
64 bytes from 10.0.3.5: icmp_seq=2 ttl=64 time=0.879 ms
^C
--- 10.0.3.5 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.879/2.661/4.444/1.783 ms
 
== Aodh Exception ==