Re: [openstack-dev] [devstack] stack.sh keeps failing with RTNETLINK answers: Network is unreachable

2016-03-01 Thread Paul Carlton

Failing with different error now

see attached

On 29/02/16 18:42, Brian Haley wrote:

On 02/26/2016 03:48 AM, Paul Carlton wrote:

Sean

Don't think unstack failed, when I manually create the device ( sudo 
ovs-vsctl

--no-wait -- --may-exist add-br br-ex) unstack.sh removes it.

sudo ip route show
default via 172.18.20.1 dev eth0
169.254.169.254 via 172.18.20.2 dev eth0
172.18.20.0/24 dev eth0  proto kernel  scope link  src 172.18.20.23
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1


Matt

config attached


So getting back to your original error:

$ sudo ip route replace 10.1.0.0/20 via 192.168.100.200
RTNETLINK answers: Network is unreachable

Looking at your local.conf:

FIXED_RANGE=10.1.0.0/20
FLOATING_RANGE=192.168.100.0/24
Q_FLOATING_ALLOCATION_POOL=start=192.168.100.200,end=192.168.100.254
PUBLIC_NETWORK_GATEWAY=192.168.100.1
PUBLIC_BRIDGE=br-ex

The 'ip route replace...' above is adding a route for the fixed IP 
range you've specified for your private subnet via what should be the 
neutron router for the network.  That router was allocated .200 when 
it attached to the external subnet, which is fine.


In order for this to work, the IP $PUBLIC_NETWORK_GATEWAY 
(192.168.100.1) needs to have been configured on br-ex 
($PUBLIC_BRIDGE) beforehand, since otherwise the network will be 
unreachable.  Does 'ip a s dev br-ex' show that IP?


It could be that some setting in your local.conf is causing some 
mis-configuration, pasting 'neutron port-list' and 'neutron 
subnet-list' might help track down what is wrong.


-Brian


__ 


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: 
openstack-dev-requ...@lists.openstack.org?subject:unsubscribe

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


--
Paul Carlton
Software Engineer
Cloud Services
Hewlett Packard
BUK03:T242
Longdown Avenue
Stoke Gifford
Bristol BS34 8QZ

Mobile:+44 (0)7768 994283
Email:mailto:paul.carlt...@hpe.com
Hewlett-Packard Limited registered Office: Cain Road, Bracknell, Berks RG12 1HN 
Registered No: 690597 England.
The contents of this message and any attachments to it are confidential and may be 
legally privileged. If you have received this message in error, you should delete it from 
your system immediately and advise the sender. To any recipient of this message within 
HP, unless otherwise stated you should consider this message and attachments as "HP 
CONFIDENTIAL".

2016-03-01 14:03:15.449 | + sudo ip route replace 10.1.0.0/20 via 
192.168.100.200
2016-03-01 14:03:15.460 | + _neutron_set_router_id
2016-03-01 14:03:15.460 | + [[ True == \F\a\l\s\e ]]
2016-03-01 14:03:15.460 | + [[ 4+6 =~ .*6 ]]
2016-03-01 14:03:15.460 | + _neutron_configure_router_v6
2016-03-01 14:03:15.460 | + neutron router-interface-add 
13dca06b-958a-4990-b715-2efa9e794b07 b59083bf-70b8-4f3a-9946-79c249c392a7
2016-03-01 14:03:17.631 | Added interface 70654525-e6e1-4d66-ba0b-e626f1794d79 
to router 13dca06b-958a-4990-b715-2efa9e794b07.
2016-03-01 14:03:17.671 | ++ _neutron_create_public_subnet_v6 
2ae743d8-400a-4833-b556-acdee0678ce8
2016-03-01 14:03:17.672 | ++ local 'subnet_params=--ip_version 6 '
2016-03-01 14:03:17.672 | ++ subnet_params+='--gateway 2001:db8::2 '
2016-03-01 14:03:17.672 | ++ subnet_params+='--name ipv6-public-subnet '
2016-03-01 14:03:17.672 | ++ 
subnet_params+='2ae743d8-400a-4833-b556-acdee0678ce8 2001:db8::/64 '
2016-03-01 14:03:17.672 | ++ subnet_params+='-- --enable_dhcp=False'
2016-03-01 14:03:17.673 | +++ neutron subnet-create --ip_version 6 --gateway 
2001:db8::2 --name ipv6-public-subnet 2ae743d8-400a-4833-b556-acdee0678ce8 
2001:db8::/64 -- --enable_dhcp=False
2016-03-01 14:03:17.674 | +++ grep -e gateway_ip -e ' id '
2016-03-01 14:03:20.366 | ++ local 'ipv6_id_and_ext_gw_ip=| gateway_ip| 
2001:db8::2  |
2016-03-01 14:03:20.366 | | id| 
6dd3abe8-d296-4fe7-861b-5bd277615f0b |'
2016-03-01 14:03:20.367 | ++ die_if_not_set 1288 ipv6_id_and_ext_gw_ip 'Failure 
creating an IPv6 public subnet'
2016-03-01 14:03:20.367 | ++ local exitcode=0
2016-03-01 14:03:20.371 | ++ echo '|' gateway_ip '|' 2001:db8::2 '|' '|' id '|' 
6dd3abe8-d296-4fe7-861b-5bd277615f0b '|'
2016-03-01 14:03:20.371 | + local 'ipv6_id_and_ext_gw_ip=| gateway_ip | 
2001:db8::2 | | id | 6dd3abe8-d296-4fe7-861b-5bd277615f0b |'
2016-03-01 14:03:20.372 | ++ echo '|' gateway_ip '|' 2001:db8::2 '|' '|' id '|' 
6dd3abe8-d296-4fe7-861b-5bd277615f0b '|'
2016-03-01 14:03:20.373 | ++ get_field 2
2016-03-01 14:03:20.373 | ++ local data field
2016-03-01 14:03:20.373 | ++ read data
2016-03-01 14:03:20.374 | ++ '[' 2 -lt 0 ']'
2016-03-01 14:03:20.374 | ++ field='$3'
2016-03-01 14:03:20.374 | ++ echo '| gateway_ip | 2001:db8::2 | | id | 
6dd3abe8-d296-4fe7-861b-5bd277615f0b |'
2016-03-01 14:03:20.374 | ++ awk '-F[ \t]*\\|[ \t]*' '{print 

Re: [openstack-dev] [devstack] stack.sh keeps failing with RTNETLINK answers: Network is unreachable

2016-02-29 Thread Brian Haley

On 02/26/2016 03:48 AM, Paul Carlton wrote:

Sean

Don't think unstack failed, when I manually create the device ( sudo ovs-vsctl
--no-wait -- --may-exist add-br br-ex) unstack.sh removes it.

sudo ip route show
default via 172.18.20.1 dev eth0
169.254.169.254 via 172.18.20.2 dev eth0
172.18.20.0/24 dev eth0  proto kernel  scope link  src 172.18.20.23
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1


Matt

config attached


So getting back to your original error:

$ sudo ip route replace 10.1.0.0/20 via 192.168.100.200
RTNETLINK answers: Network is unreachable

Looking at your local.conf:

FIXED_RANGE=10.1.0.0/20
FLOATING_RANGE=192.168.100.0/24
Q_FLOATING_ALLOCATION_POOL=start=192.168.100.200,end=192.168.100.254
PUBLIC_NETWORK_GATEWAY=192.168.100.1
PUBLIC_BRIDGE=br-ex

The 'ip route replace...' above is adding a route for the fixed IP range you've 
specified for your private subnet via what should be the neutron router for the 
network.  That router was allocated .200 when it attached to the external 
subnet, which is fine.


In order for this to work, the IP $PUBLIC_NETWORK_GATEWAY (192.168.100.1) needs 
to have been configured on br-ex ($PUBLIC_BRIDGE) beforehand, since otherwise 
the network will be unreachable.  Does 'ip a s dev br-ex' show that IP?


It could be that some setting in your local.conf is causing some 
mis-configuration, pasting 'neutron port-list' and 'neutron subnet-list' might 
help track down what is wrong.


-Brian


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [devstack] stack.sh keeps failing with RTNETLINK answers: Network is unreachable

2016-02-29 Thread Paul Carlton

Sean

I do stack.sh, it aborts with this error then I do unstack.sh and that 
runs fine and try stack.sh again, it seems to fail every time!


Paul Carlton
Software Engineer
Cloud Services
Hewlett Packard Enterprise
BUK03:T242
Longdown Avenue
Stoke Gifford
Bristol BS34 8QZ

Mobile:+44 (0)7768 994283
Office:+44 (0)117 316 2189
Email:mailto:paul.carlt...@hpe.com
irc:  paul-carlton2

Hewlett-Packard Enterprise Limited registered Office: Cain Road, Bracknell, 
Berks RG12 1HN Registered No: 690597 England.
The contents of this message and any attachments to it are confidential and may be 
legally privileged. If you have received this message in error, you should delete it from 
your system immediately and advise the sender. To any recipient of this message within 
HP, unless otherwise stated you should consider this message and attachments as "HP 
CONFIDENTIAL".

On 26/02/16 21:02, Sean M. Collins wrote:

Paul Carlton wrote:

Sean

Don't think unstack failed, when I manually create the device ( sudo
ovs-vsctl --no-wait -- --may-exist add-br br-ex) unstack.sh removes it.

sudo ip route show
default via 172.18.20.1 dev eth0
169.254.169.254 via 172.18.20.2 dev eth0
172.18.20.0/24 dev eth0  proto kernel  scope link  src 172.18.20.23
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1

Was this after you did an unstack? Or right after stack.sh fails?




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [devstack] stack.sh keeps failing with RTNETLINK answers: Network is unreachable

2016-02-26 Thread Sean M. Collins
Paul Carlton wrote:
> Sean
> 
> Don't think unstack failed, when I manually create the device ( sudo
> ovs-vsctl --no-wait -- --may-exist add-br br-ex) unstack.sh removes it.
> 
> sudo ip route show
> default via 172.18.20.1 dev eth0
> 169.254.169.254 via 172.18.20.2 dev eth0
> 172.18.20.0/24 dev eth0  proto kernel  scope link  src 172.18.20.23
> 192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1

Was this after you did an unstack? Or right after stack.sh fails?

-- 
Sean M. Collins

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [devstack] stack.sh keeps failing with RTNETLINK answers: Network is unreachable

2016-02-26 Thread Paul Carlton

Sean

Don't think unstack failed, when I manually create the device ( sudo 
ovs-vsctl --no-wait -- --may-exist add-br br-ex) unstack.sh removes it.


sudo ip route show
default via 172.18.20.1 dev eth0
169.254.169.254 via 172.18.20.2 dev eth0
172.18.20.0/24 dev eth0  proto kernel  scope link  src 172.18.20.23
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1


Matt

config attached

Thanks

Paul Carlton
Software Engineer
Cloud Services
Hewlett Packard Enterprise
BUK03:T242
Longdown Avenue
Stoke Gifford
Bristol BS34 8QZ

Mobile:+44 (0)7768 994283
Office:+44 (0)117 316 2189
Email:mailto:paul.carlt...@hpe.com
irc:  paul-carlton2

Hewlett-Packard Enterprise Limited registered Office: Cain Road, Bracknell, 
Berks RG12 1HN Registered No: 690597 England.
The contents of this message and any attachments to it are confidential and may be 
legally privileged. If you have received this message in error, you should delete it from 
your system immediately and advise the sender. To any recipient of this message within 
HP, unless otherwise stated you should consider this message and attachments as "HP 
CONFIDENTIAL".

On 26/02/16 04:15, Matt Kassawara wrote:

Seems like a config error. What's in local.conf?

On Thu, Feb 25, 2016 at 1:11 PM, Sean M. Collins > wrote:


Can you provide the output of

"ip route show"

Was this after a unstack.sh that failed?

It could be https://bugs.launchpad.net/devstack/+bug/1423020
popping up
again
--
Sean M. Collins

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe:
openstack-dev-requ...@lists.openstack.org?subject:unsubscribe

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[[local|localrc]]
#RECLONE=yes
GIT_BASE=https://git.openstack.org
NETWORK_GATEWAY=10.1.0.1
NETWORK_API_EXTENSIONS=agent,allowed-address-pairs,binding,dhcp_agent_scheduler,dvr,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,l3-ha,l3_agent_scheduler,metering,multi-provider,provider,quotas,router,security-group,service-type
USE_SCREEN=True

DEST=/home/pcarlton/openstack
ADMIN_PASSWORD=Olivia17
MYSQL_PASSWORD=Olivia17
RABBIT_PASSWORD=Olivia17
SERVICE_PASSWORD=Olivia17
SERVICE_TOKEN=tokentoken
SWIFT_HASH=12go358snjw24501

LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=True
SCREEN_LOGDIR=$DEST/logs/screen

HOST_IP=16.27.45.50
SERVICE_HOST=16.27.45.50
GLANCE_HOSTPORT=$SERVICE_HOST:9292
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
Q_HOST=$SERVICE_HOST

DATA_DIR=$DEST/stuff
ACTIVE_TIMEOUT=90
BOOT_TIMEOUT=90
ASSOCIATE_TIMEOUT=60
TERMINATE_TIMEOUT=60
DATABASE_PASSWORD=secretdatabase
ROOTSLEEP=0
ENABLED_SERVICES=c-api,c-bak,c-sch,c-vol,ceilometer-acentral,ceilometer-acompute,ceilometer-alarm-evaluator,ceilometer-alarm-notifier,ceilometer-anotification,ceilometer-api,ceilometer-collector,cinder,dstat,g-api,g-reg,h-api,h-api-cfn,h-api-cw,h-eng,heat,horizon,key,mysql,n-api,n-cond,n-crt,n-obj,n-sch,n-cauth,n-novnc,n-sproxy,q-dhcp,q-l3,q-meta,q-metering,q-svc,quantum,rabbit,s-account,s-container,s-object,s-proxy,tempest,tr-api,tr-cond,tr-tmgr,trove

# Screen console logs will capture service logs.
SYSLOG=False
VERBOSE=True
VIRT_DRIVER=libvirt
SWIFT_REPLICAS=1
LOG_COLOR=False
REQUIREMENTS_MODE=strict
CINDER_PERIODIC_INTERVAL=10
export OS_NO_CACHE=True
CEILOMETER_BACKEND=mysql
LIBS_FROM_GIT=
# set this until all testing platforms have libvirt >= 1.2.11
# see bug #1501558
EBTABLES_RACE_FIX=True

ZAQAR_BACKEND=mongodb
CINDER_SECURE_DELETE=False
API_RATE_LIMIT=False
VOLUME_BACKING_FILE_SIZE=24G
#FORCE_CONFIG_DRIVE=False

TEMPEST_HTTP_IMAGE=http://git.openstack.org/static/openstack.png
TEMPEST_RUN_VALIDATION=True

## Neutron options
FIXED_RANGE=10.1.0.0/20
FLOATING_RANGE=192.168.100.0/24
Q_FLOATING_ALLOCATION_POOL=start=192.168.100.200,end=192.168.100.254
FIXED_NETWORK_SIZE=4096

Q_L3_ENABLED=True
Q_USE_PROVIDERNET_FOR_PUBLIC=True
Q_USE_SECGROUP=True
Q_USE_DEBUG_COMMAND=True

#FLAT_INTERFACE=eth10
PUBLIC_BRIDGE=br-ex
PUBLIC_INTERFACE=eth10
PUBLIC_NETWORK_GATEWAY=192.168.100.1
OVS_PHYSICAL_BRIDGE=br-ex

ENABLE_TENANT_VLANS=True
TENANT_VLAN_RANGE=1000:1999
PHYSICAL_NETWORK=public
PUBLIC_PHYSICAL_NETWORK=public
OVS_BRIDGE_MAPPINGS=public:br-ex

PROVIDER_SUBNET_NAME="provider_net"
PROVIDER_NETWORK_TYPE="vlan"
SEGMENTATION_ID=2010

EBTABLES_RACE_FIX=True
LIBVIRT_TYPE=qemu


[[post-config|$NOVA_CONF]]
[DEFAULT]
novncproxy_host = 0.0.0.0
novncproxy_port = 6080

[vnc]
enabled=True


[libvirt]
inject_partition = 1
block_migration_flag = 

Re: [openstack-dev] [devstack] stack.sh keeps failing with RTNETLINK answers: Network is unreachable

2016-02-25 Thread Matt Kassawara
Seems like a config error. What's in local.conf?

On Thu, Feb 25, 2016 at 1:11 PM, Sean M. Collins  wrote:

> Can you provide the output of
>
> "ip route show"
>
> Was this after a unstack.sh that failed?
>
> It could be https://bugs.launchpad.net/devstack/+bug/1423020 popping up
> again
> --
> Sean M. Collins
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [devstack] stack.sh keeps failing with RTNETLINK answers: Network is unreachable

2016-02-25 Thread Sean M. Collins
Can you provide the output of 

"ip route show"

Was this after a unstack.sh that failed?

It could be https://bugs.launchpad.net/devstack/+bug/1423020 popping up
again
-- 
Sean M. Collins

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [devstack] stack.sh keeps failing with RTNETLINK answers: Network is unreachable

2016-02-25 Thread Paul Carlton

Trying to setup devstack but stack.sh fails

2016-02-25 15:45:03.930 | + sudo ip route replace 10.1.0.0/20 via 
192.168.100.200

2016-02-25 15:45:03.939 | RTNETLINK answers: Network is unreachable

Tried master and stable/liberty without success

any idea how to debug this?

Thanks

--
Paul Carlton
Software Engineer
Cloud Services
Hewlett Packard
BUK03:T242
Longdown Avenue
Stoke Gifford
Bristol BS34 8QZ

Mobile:+44 (0)7768 994283
Email:mailto:paul.carlt...@hpe.com
Hewlett-Packard Limited registered Office: Cain Road, Bracknell, Berks RG12 1HN 
Registered No: 690597 England.
The contents of this message and any attachments to it are confidential and may be 
legally privileged. If you have received this message in error, you should delete it from 
your system immediately and advise the sender. To any recipient of this message within 
HP, unless otherwise stated you should consider this message and attachments as "HP 
CONFIDENTIAL".




smime.p7s
Description: S/MIME Cryptographic Signature
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev