分享

openstack【juno】入门 【nova 篇】十三(2):安装配置计算服务

pig2 发表于 2015-2-26 12:47:44 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 36 111924
springse 发表于 2015-4-22 11:53:03

点评

这个是提取租户id。  发表于 2015-4-22 11:57
回复

使用道具 举报

springse 发表于 2015-4-22 12:23:32
springse 发表于 2015-4-22 11:53
嗯 端口号后面那些部分是怎么得来的  
keystone是   v2.0
glance端口号后面又没跟东西

那glance为什么不需要呢?还有v2也可以写成v2.0吧

点评

并不是所有的都有这个,尽量安装教程来  发表于 2015-4-22 12:24
回复

使用道具 举报

springse 发表于 2015-4-22 12:44:22

点评

这个属于openstack的开发,具体可以研究下openstack源码,它是供程序来读取的,是由openstack开发者来定义的规则,所以没有必要在这方面深究。比如我自己随便顶一个规则,我知道它是什么含义就可以了。  发表于 2015-4-22 12:47
回复

使用道具 举报

springse 发表于 2015-4-22 12:50:45
springse 发表于 2015-4-22 12:44
嗯 那提取租户id这句话 %\(tenant_id\)s  按照什么样的写法写的就是%  \   ()  s 分别代表什么作用

...

哦 明白了 谢谢大家了
回复

使用道具 举报

jxy147258 发表于 2015-4-29 15:16:43
3.同步数据库
su -s /bin/sh -c "nova-manage db sync" nova
这个命令有没有输出,我做的有输出,对不对啊
回复

使用道具 举报

jxy147258 发表于 2015-4-29 15:58:32
2.重启计算服务

service nova-compute restart
这个命令的结果是什么?
我的是
root@compute:/etc/apt/sources.list.d# service nova-compute restart
stop: Unknown instance:
nova-compute start/running, process 6015
对不对?

点评

在重启下看看,如果还是stop: Unknown instance: nova-compute start/running, process 6015说明启动后就挂掉了  发表于 2015-4-29 16:01
回复

使用道具 举报

jxy147258 发表于 2015-4-29 19:22:23
jxy147258 发表于 2015-4-29 15:58
2.重启计算服务

service nova-compute restart

我第一遍是上面的那个结果,
第二遍是这个结果
stop/waiting
start/running, process 24951

点评

这样问题不大  发表于 2015-4-29 19:31
回复

使用道具 举报

jxy147258 发表于 2015-4-29 19:34:01
jxy147258 发表于 2015-4-29 19:22
我第一遍是上面的那个结果,
第二遍是这个结果
stop/waiting

哦,谢谢你了。
回复

使用道具 举报

青青家园 发表于 2015-6-20 14:41:08
请问我在计算节点安装apt-get install nova-compute sysfsutils时提示:
Err http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/juno/main python-eventlet all 0.13.0-1ubuntu3.2~cloud0
  404  Not Found [IP: 91.189.92.152 80]
E: Failed to fetch http://ubuntu-cloud.archive.cano ... u3.2~cloud0_all.deb  404  Not Found [IP: 91.189.92.152 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing


这次重启系统无效了,请问怎么处理呀,谢谢!!



全部信息如下:

root@comput:~# apt-get install nova-compute sysfsutils
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  acl alembic augeas-lenses bridge-utils cgroup-lite cpu-checker dnsmasq-base
  ebtables genisoimage ieee-data iproute ipxe-qemu kpartx libaio1 libasound2
  libasound2-data libasyncns0 libaugeas0 libavahi-client3 libavahi-common-data
  libavahi-common3 libbluetooth3 libboost-system1.54.0 libboost-thread1.54.0
  libbrlapi0.6 libcaca0 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfdt1
  libflac8 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgmp10
  libjpeg-turbo8 libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore
  libllvm3.4 libmnl0 libmysqlclient18 libnetcf1 libnetfilter-conntrack3
  libnl-route-3-200 libnspr4 libnss3 libnss3-nssdb libogg0 libpciaccess0
  libpixman-1-0 libpulse0 librabbitmq1 librados2 librbd1 libsdl1.2debian
  libseccomp2 libsndfile1 libspice-server1 libsysfs2 libtxc-dxtn-s2tc0
  libusbredirparser1 libvirt-bin libvirt0 libvorbis0a libvorbisenc2
  libx11-xcb1 libx86-1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
  libxcb-sync1 libxdamage1 libxen-4.4 libxenstore3.0 libxfixes3 libxml2-utils
  libxshmfence1 libxslt1.1 libxxf86vm1 libyajl2 libyaml-0-2 msr-tools
  mysql-common nova-common nova-compute-kvm nova-compute-libvirt open-iscsi
  pm-utils python-alembic python-amqp python-amqplib python-anyjson
  python-babel python-babel-localedata python-boto python-cinderclient
  python-cliff python-cliff-doc python-cmd2 python-crypto python-decorator
  python-dns python-dogpile.cache python-dogpile.core python-ecdsa
  python-eventlet python-formencode python-glanceclient python-greenlet
  python-httplib2 python-iso8601 python-jinja2 python-json-patch
  python-json-pointer python-jsonpatch python-jsonschema python-keystone
  python-keystoneclient python-keystonemiddleware python-kombu python-ldap
  python-ldappool python-librabbitmq python-libvirt python-lockfile
  python-lxml python-m2crypto python-mako python-markupsafe python-migrate
  python-mock python-mysqldb python-netaddr python-neutronclient python-nova
  python-oauthlib python-openid python-oslo.config python-oslo.db
  python-oslo.i18n python-oslo.messaging python-oslo.rootwrap
  python-oslo.serialization python-oslo.utils python-oslo.vmware
  python-paramiko python-passlib python-paste python-pastedeploy
  python-pastedeploy-tpl python-pastescript python-pbr python-posix-ipc
  python-prettytable python-pyasn1 python-pycadf python-pyparsing
  python-repoze.lru python-rfc3986 python-routes python-scgi python-setuptools
  python-simplejson python-sqlalchemy python-sqlalchemy-ext python-stevedore
  python-suds python-tempita python-tz python-warlock python-webob python-yaml
  qemu-keymaps qemu-system qemu-system-arm qemu-system-common qemu-system-mips
  qemu-system-misc qemu-system-ppc qemu-system-sparc qemu-system-x86
  qemu-utils seabios sharutils vbetool vlan
Suggested packages:
  python3-alembic augeas-doc wodim cdrkit-doc libasound2-plugins alsa-utils
  augeas-tools libglide3 javascript-common pulseaudio qemu-kvm qemu radvd lvm2
  guestmount multipath-tools sg3-utils cpufrequtils radeontool python-amqp-doc
  python-amqplib-doc python-crypto-dbg python-crypto-doc
  python-egenix-mxdatetime python-greenlet-doc python-greenlet-dev
  python-greenlet-dbg python-jinja2-doc python-memcache python-beanstalkc
  python-django python-kombu-doc python-pika python-pymongo python-ldap-doc
  python-lxml-dbg python-beaker python-mako-doc python-mock-doc
  mysql-server-5.1 mysql-server python-mysqldb-dbg ipython python-netaddr-docs
  python-pastewebkit libjs-mochikit libapache2-mod-wsgi libapache2-mod-python
  libapache2-mod-scgi python-pgsql python-flup python-cherrypy python-cheetah
  doc-base python-sqlalchemy-doc python-psycopg2 python-kinterbasdb
  python-pymssql python-webob-doc samba vde2 openbios-ppc openhackware
  qemu-slof sgabios kvm-ipxe-precise debootstrap bsd-mailx mailx
The following NEW packages will be installed:
  acl alembic augeas-lenses bridge-utils cgroup-lite cpu-checker dnsmasq-base
  ebtables genisoimage ieee-data iproute ipxe-qemu kpartx libaio1 libasound2
  libasound2-data libasyncns0 libaugeas0 libavahi-client3 libavahi-common-data
  libavahi-common3 libbluetooth3 libboost-system1.54.0 libboost-thread1.54.0
  libbrlapi0.6 libcaca0 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfdt1
  libflac8 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgmp10
  libjpeg-turbo8 libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore
  libllvm3.4 libmnl0 libmysqlclient18 libnetcf1 libnetfilter-conntrack3
  libnl-route-3-200 libnspr4 libnss3 libnss3-nssdb libogg0 libpciaccess0
  libpixman-1-0 libpulse0 librabbitmq1 librados2 librbd1 libsdl1.2debian
  libseccomp2 libsndfile1 libspice-server1 libsysfs2 libtxc-dxtn-s2tc0
  libusbredirparser1 libvirt-bin libvirt0 libvorbis0a libvorbisenc2
  libx11-xcb1 libx86-1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
  libxcb-sync1 libxdamage1 libxen-4.4 libxenstore3.0 libxfixes3 libxml2-utils
  libxshmfence1 libxslt1.1 libxxf86vm1 libyajl2 libyaml-0-2 msr-tools
  mysql-common nova-common nova-compute nova-compute-kvm nova-compute-libvirt
  open-iscsi pm-utils python-alembic python-amqp python-amqplib python-anyjson
  python-babel python-babel-localedata python-boto python-cinderclient
  python-cliff python-cliff-doc python-cmd2 python-crypto python-decorator
  python-dns python-dogpile.cache python-dogpile.core python-ecdsa
  python-eventlet python-formencode python-glanceclient python-greenlet
  python-httplib2 python-iso8601 python-jinja2 python-json-patch
  python-json-pointer python-jsonpatch python-jsonschema python-keystone
  python-keystoneclient python-keystonemiddleware python-kombu python-ldap
  python-ldappool python-librabbitmq python-libvirt python-lockfile
  python-lxml python-m2crypto python-mako python-markupsafe python-migrate
  python-mock python-mysqldb python-netaddr python-neutronclient python-nova
  python-oauthlib python-openid python-oslo.config python-oslo.db
  python-oslo.i18n python-oslo.messaging python-oslo.rootwrap
  python-oslo.serialization python-oslo.utils python-oslo.vmware
  python-paramiko python-passlib python-paste python-pastedeploy
  python-pastedeploy-tpl python-pastescript python-pbr python-posix-ipc
  python-prettytable python-pyasn1 python-pycadf python-pyparsing
  python-repoze.lru python-rfc3986 python-routes python-scgi python-setuptools
  python-simplejson python-sqlalchemy python-sqlalchemy-ext python-stevedore
  python-suds python-tempita python-tz python-warlock python-webob python-yaml
  qemu-keymaps qemu-system qemu-system-arm qemu-system-common qemu-system-mips
  qemu-system-misc qemu-system-ppc qemu-system-sparc qemu-system-x86
  qemu-utils seabios sharutils sysfsutils vbetool vlan
0 upgraded, 191 newly installed, 0 to remove and 0 not upgraded.
Need to get 202 kB/52.6 MB of archives.
After this operation, 327 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/juno/main python-eventlet all 0.13.0-1ubuntu3.2~cloud0
  404  Not Found [IP: 91.189.92.152 80]
E: Failed to fetch http://ubuntu-cloud.archive.cano ... u3.2~cloud0_all.deb  404  Not Found [IP: 91.189.92.152 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing
回复

使用道具 举报

青青家园 发表于 2015-6-20 14:49:10
嘿嘿,这次是更新了一下,就OK了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条