[Rdo-list] Failing overcloud deployment, missin /var/lib/os-collect-config/local-data

Ignacio Bravo ibravo at ltgfederal.com
Fri Oct 23 11:46:17 UTC 2015


Alessandro,

I had a lot of problems when using an IP range other than the defaults. We realized that the default IP ranges were hardcoded in a couple of the configuration files and thus customizing the ranges would fail.

If you already deployed an undercloud with the default ranges in the same hardware and it worked, then it would certainly prove this issue.

One of the places I recall top of my head was a firewall port being able for the 192.0.2.0 network. Check your iptables to see this.

IB

__
Ignacio Bravo
LTG Federal, Inc
www.ltgfederal.com <http://www.ltgfederal.com/>


> On Oct 23, 2015, at 4:30 AM, Alessandro Vozza <alessandro at namecheap.com> wrote:
> 
> RDO Liberty GA, in KVM (VM’s prepared by me, not instack):
> 
> undercloud: 2 nics (10.128.1.5 - NAT’ed network for access; 10.128.0.5 - isolated network for pxe/provisioning. On the latter 10.128.0.1 is the default gw)
> overcloud-nodeX: (10.128.0.x - pxe; 192.168.178.x - DHCP, my home router, for external access)
> 
> deployed undercloud successfully with:
> 
> [DEFAULT]
> image_path = .
> local_ip = 10.128.0.5/24
> local_interface = eth1
> dhcp_start = 10.128.0.30
> dhcp_end = 10.128.0.200
> network_cidr = 10.128.0.0/24
> network_gateway = 10.128.0.1
> inspection_interface = br-ctlplane
> inspection_iprange = 10.128.0.20,10.128.0.29
> inspection_runbench = false
> undercloud_debug = true
> enable_tuskar = false
> enable_tempest = false
> [auth]
> 
> built liberty images, loaded, added two nodes, deploying with:
> 
> # openstack overcloud deploy --templates --control-scale 1 --compute-scale 1 --neutron-tunnel-types vxlan --neutron-network-type vxlan
> 
> nodes gets deployed, but os-collect-config fails with:
> 
> Oct 23 08:20:08 overcloud-controller-0 os-collect-config[16422]: 2015-10-23 08:20:08.194 16422 WARNING os_collect_config.ec2 [-] ('Connection aborted.', error(110, 'Connection timed out'))
> Oct 23 08:20:08 overcloud-controller-0 os-collect-config[16422]: 2015-10-23 08:20:08.194 16422 WARNING os-collect-config [-] Source [ec2] Unavailable.
> Oct 23 08:20:09 overcloud-controller-0 os-collect-config[16422]: 2015-10-23 08:20:09.449 16422 WARNING os_collect_config.heat [-] No auth_url configured.
> Oct 23 08:20:09 overcloud-controller-0 os-collect-config[16422]: 2015-10-23 08:20:09.450 16422 WARNING os_collect_config.request [-] No metadata_url configured.
> Oct 23 08:20:09 overcloud-controller-0 os-collect-config[16422]: 2015-10-23 08:20:09.450 16422 WARNING os-collect-config [-] Source [request] Unavailable.
> Oct 23 08:20:09 overcloud-controller-0 os-collect-config[16422]: 2015-10-23 08:20:09.451 16422 WARNING os_collect_config.local [-] /var/lib/os-collect-config/local-data not found. Skipping
> Oct 23 08:20:09 overcloud-controller-0 os-collect-config[16422]: 2015-10-23 08:20:09.451 16422 WARNING os_collect_config.local [-] No local metadata found (['/var/lib/os-collect-config/local-data’])
> 
> on that node (controller)
> 
> [root at overcloud-controller-0 /]# ip a ; ip r ; more /etc/resolv.conf
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
>        valid_lft forever preferred_lft forever
>     inet6 ::1/128 scope host
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
>     link/ether 52:54:00:63:69:d5 brd ff:ff:ff:ff:ff:ff
>     inet 10.128.0.42/24 brd 10.128.0.255 scope global dynamic eth0
>        valid_lft 79203sec preferred_lft 79203sec
>     inet6 fe80::5054:ff:fe63:69d5/64 scope link
>        valid_lft forever preferred_lft forever
> 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
>     link/ether 52:54:00:82:a9:a0 brd ff:ff:ff:ff:ff:ff
>     inet 192.168.178.128/24 brd 192.168.178.255 scope global dynamic eth1
>        valid_lft 856804sec preferred_lft 856804sec
>     inet6 4006:8241:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1722sec preferred_lft 0sec
>     inet6 4006:15:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1722sec preferred_lft 0sec
>     inet6 4006:2e9b:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1722sec preferred_lft 0sec
>     inet6 4006:3afc:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1720sec preferred_lft 0sec
>     inet6 4006:aa7a:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1720sec preferred_lft 0sec
>     inet6 4006:973b:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1720sec preferred_lft 0sec
>     inet6 4006:4d9d:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1565sec preferred_lft 0sec
>     inet6 4006:fa40:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1563sec preferred_lft 0sec
>     inet6 4006:3c22:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1563sec preferred_lft 0sec
>     inet6 4006:59ed:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1562sec preferred_lft 0sec
>     inet6 4001:ba0e:c0a8:b29b:5054:ff:fe82:a9a0/64 scope global deprecated dynamic
>        valid_lft 1522sec preferred_lft 0sec
>     inet6 fd00::1:5054:ff:fe82:a9a0/64 scope global dynamic
>        valid_lft 7040sec preferred_lft 7040sec
>     inet6 2001:984:30d0:1:5054:ff:fe82:a9a0/64 scope global dynamic
>        valid_lft 4628sec preferred_lft 1028sec
>     inet6 fe80::5054:ff:fe82:a9a0/64 scope link
>        valid_lft forever preferred_lft forever
> default via 192.168.178.1 dev eth1
> 10.128.0.0/24 dev eth0  proto kernel  scope link  src 10.128.0.42
> 169.254.169.254 via 10.128.0.5 dev eth0  proto static
> 192.168.178.0/24 dev eth1  proto kernel  scope link  src 192.168.178.128
> ; generated by /usr/sbin/dhclient-script
> search fritz.box
> nameserver 192.168.178.1
> 
> What am I doing wrong here? Why the file /var/lib/os-collect-config/local-data is not there? there’s a bunch of other files there
> 
> [root at overcloud-controller-0 /]# ls /var/lib/os-collect-config/
> cfn.json              heat_local.json.orig
> cfn.json.last         os_config_files.json
> cfn.json.orig         overcloud-Controller-yg67rrm4rj6i-0-uos36gscbtmp-NetworkConfig-ackqkwly5ijg-OsNetConfigImpl-hlpyldxrk4d4.json
> heat_local.json       overcloud-Controller-yg67rrm4rj6i-0-uos36gscbtmp-NetworkConfig-ackqkwly5ijg-OsNetConfigImpl-hlpyldxrk4d4.json.last
> heat_local.json.last  overcloud-Controller-yg67rrm4rj6i-0-uos36gscbtmp-NetworkConfig-ackqkwly5ijg-OsNetConfigImpl-hlpyldxrk4d4.json.orig
> 
> 
> Thanks, help appreciated!
> 
> P.S. Keep up the awesome work!
> 
> 
> 
> Alessandro Vozza
> alessandro at namecheap.com <mailto:alessandro at namecheap.com>
> +31643197789
> 
> 
> 
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
> 
> To unsubscribe: rdo-list-unsubscribe at redhat.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20151023/15775bac/attachment.html>


More information about the dev mailing list