NotAuthorized: You are not authorized to complete this action

彭勇 ppyy at pubyun.com
Sun Mar 18 16:32:19 UTC 2012


https://bugs.launchpad.net/glance/+bug/958568

i install openstack in fedora 17 testing:

# rpm -qa|grep openstack
openstack-nova-2012.1-0.8.e4.fc17.noarch
openstack-dashboard-2012.1-0.1.rc1.fc17.noarch
openstack-keystone-2012.1-0.10.e4.fc17.noarch
openstack-glance-2012.1-0.5.e4.fc17.noarch

it works in FlatDHCPManager, the instance get a IP address.
when i enable multi_host mode, it failed to get the DHCP address:

Mar 18 22:59:43 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100)
02:16:3e:2a:f0:d0 no address available
Mar 18 22:59:46 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100)
02:16:3e:2a:f0:d0 no address available
Mar 18 22:59:49 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100)
02:16:3e:2a:f0:d0 no address available
Mar 18 23:00:12 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100)
02:16:3e:2a:f0:d0 no address available
Mar 18 23:00:15 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100)
02:16:3e:2a:f0:d0 no address available
Mar 18 23:00:18 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100)
02:16:3e:2a:f0:d0 no address available

the command i used to create network:

 nova-manage network create private --multi_host=T --fixed_range_v4=
10.8.0.0/24 --num_networks=1 --network_size=256 --bridge=br100
--bridge_interface=em2

here is nova.conf:

[DEFAULT]
multi_host=True
#send_arp_for_ha=True
verbose=True

logdir = /var/log/nova
state_path = /var/lib/nova
lock_path = /var/lib/nova/tmp
dhcpbridge = /usr/bin/nova-dhcpbridge
dhcpbridge_flagfile = /etc/nova/nova.conf
force_dhcp_release = True
injected_network_template = /usr/share/nova/interfaces.template
libvirt_xml_template = /usr/share/nova/libvirt.xml.template
vpn_client_template = /usr/share/nova/client.ovpn.template
credentials_template = /usr/share/nova/novarc.template
iscsi_ip_prefix = 192.168.28.6
iscsi_helper = tgtadm
sql_connection = mysql://nova:nova@192.168.28.6/nova
connection_type = libvirt
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
root_helper = sudo nova-rootwrap
libvirt_type = kvm

rabbit_host=192.168.28.6
rabbit_password=nova

network_manager=nova.network.manager.FlatDHCPManager
flat_network_bridge=br100
flat_injected=False
public_interface=em1
flat_interface=em2

auth_strategy=keystone
allow_resize_to_same_host=True
s3_host=192.168.28.6
volume_group=nova-volumes
volume_name_template=volume-%08x
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
my_ip=192.168.28.6

novncproxy_base_url=http://192.168.28.6:6080/vnc_auto.html
xvpvncproxy_base_url=http://192.168.28.6:6081/console
vncserver_listen=127.0.0.1
vncserver_proxyclient_address=127.0.0.1
api_paste_config=/etc/nova/api-paste.ini
image_service=nova.image.glance.GlanceImageService

ec2_dmz_host=192.168.28.6

glance_api_servers=192.168.28.6:9292

-- 
Peng Yong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/cloud/attachments/20120319/bfac0519/attachment.html>


More information about the cloud mailing list