Ask Your Question

alexgs27's profile - activity

2018-04-02 16:01:05 -0500 received badge  Famous Question (source)
2018-03-16 03:12:31 -0500 received badge  Famous Question (source)
2018-03-08 01:03:17 -0500 received badge  Notable Question (source)
2018-03-02 05:06:02 -0500 received badge  Enthusiast
2018-03-02 01:04:18 -0500 received badge  Popular Question (source)
2018-03-01 08:25:46 -0500 asked a question Problem with Devstack installation

Hello, I am trying to install devstack and I get the next error message. I don't know how I can repair it.

The error message happens when it is trying create the image of cirros:

openstack --os-cloud=devstack-admin --os-region-name=RegionOne image create cirros-0.3.5-x86_64-disk --public --container-format=bare --disk-format qcow2

502 Bad Gateway: Bad Gateway: The proxy server received an invalid: response from an upstream server.: Apache/2.4.18 (Ubuntu) Server at 192.168.1.210 Port 80 (HTTP 502) +functions:upload_image:1 exit_trap +devstack/stack.sh:exit_trap:515 local r=1 ++devstack/stack.sh:exit_trap:516 jobs -p +devstack/stack.sh:exit_trap:516 jobs= +devstack/stack.sh:exit_trap:519 [[ -n '' ]] +devstack/stack.sh:exit_trap:525 '[' -f /tmp/tmp.6yzdNzcVDh ']' +devstack/stack.sh:exit_trap:526 rm /tmp/tmp.6yzdNzcVDh +devstack/stack.sh:exit_trap:530 kill_spinner +devstack/stack.sh:kill_spinner:425 '[' '!' -z '' ']' +devstack/stack.sh:exit_trap:532 [[ 1 -ne 0 ]] +devstack/stack.sh:exit_trap:533 echo 'Error on exit' Error on exit +devstack/stack.sh:exit_trap:535 type -p generate-subunit +devstack/stack.sh:exit_trap:536 generate-subunit 1519910429 1875 fail +devstack/stack.sh:exit_trap:538 [[ -z /opt/stack/logs ]] +devstack/stack.sh:exit_trap:541 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs +devstack/stack.sh:exit_trap:550 exit 1

Any idea about this?

2017-06-11 21:20:08 -0500 received badge  Notable Question (source)
2017-05-25 06:18:15 -0500 answered a question VMs can't ping servers by their domain name

All files have the correct dns entry.

My VM's /etc/resolve.conf file has this entry:

$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN    
nameserver 8.8.4.4
nameserver 8.8.8.8
search openstacklocal

The local tenant network configuration is the next:

Name                    subnet0
ID                      7d8f026d-fa45-4c20-9af4-b1bb38d4825b 
Network Name            net0
Network ID              56ebd398-d910-4c22-b844-87406ea4f40a
Subnet Pool             None
IP Version              IPv4
CIDR                    10.10.0.0/24
IP Allocation Pools     Start 10.10.0.2 - End 10.10.0.254
Gateway IP              10.10.0.1
DHCP Enabled            Yes
Additional Routes       None 
DNS Name Servers        8.8.4.4 8.8.8.8

I think that my problem is neutron service devstack@q-dhcp.service, which starts 'dnsmasq' with these options:

dnsmasq --no-hosts --no-resolv --strict-order --except-interface=lo --pid-file=/opt/stack/data/neutron/dhcp/56ebd398-d910-4c22-b844-87406ea4f40a/pid --dhcp-hostsfile=...

And I don't know how to modify it.

Thanks for your answer, Vinoth

2017-05-25 03:11:36 -0500 received badge  Popular Question (source)
2017-05-24 01:39:16 -0500 received badge  Student (source)
2017-05-23 10:13:27 -0500 asked a question VMs can't ping servers by their domain name

I have Openstack installed using Devstack on Ubuntu 16.04. After, I launched an Instance and I'm unable to ping 'openstack.org', but I'm able to the IP address '162.242.140.107.

I can connect to the external network from the host:

$ ping -c 4 openstack.org
PING openstack.org (162.242.140.107) 56(84) bytes of data.
64 bytes from 162.242.140.107: icmp_seq=1 ttl=128 time=175 ms
64 bytes from 162.242.140.107: icmp_seq=2 ttl=128 time=192 ms
64 bytes from 162.242.140.107: icmp_seq=3 ttl=128 time=168 ms
64 bytes from 162.242.140.107: icmp_seq=4 ttl=128 time=172 ms

--- openstack.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 168.909/177.280/192.221/8.908 ms

On the other hand, if I ping from the instance I get this result:

I'm able to connect to the external network.

$ ping -c 4 162.242.140.107
PING 162.242.140.107 (162.242.140.107) 56(84) bytes of data.
64 bytes from 162.242.140.107: icmp_seq=1 ttl=125 time=172 ms
64 bytes from 162.242.140.107: icmp_seq=2 ttl=125 time=169 ms
64 bytes from 162.242.140.107: icmp_seq=3 ttl=125 time=167 ms
64 bytes from 162.242.140.107: icmp_seq=4 ttl=125 time=179 ms

--- 162.242.140.107 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 167.175/172.092/179.160/4.566 ms

But I use the domain name:

$ ping -c 4 openstack.org
ping: unknown host openstack.org

The file dhcp_agent.ini has this configuration:

[DEFAULT]
interface_driver = openvswitch
ovs_use_veth = False
dnsmasq_local_resolv = False
dnsmasq_dns_servers = 8.8.8.8, 8.8.4.4
debug = True