[PKG-Openstack-devel] first install notes - debconf inconsistencies in neutron-metadata-agent etc
Turbo Fredriksson
turbo at bayour.com
Sun Jun 5 23:03:48 UTC 2016
On Jun 5, 2016, at 11:41 PM, Thomas Goirand wrote:
> On 06/05/2016 04:47 PM, Turbo Fredriksson wrote:
>> I'm getting a lot of failed installs/configure. See http://bayour.com/misc/screenlog-openstack_install.txt
>
> Well, you've been selecting SQLite, which is known to fail with some of
> the services (in your case, Barbican, Neutron, and Ironic failed because
> of that. There's no packaging error in this case. You *must* use MySQL
> for them.
I managed to figure that out a couple of hours ago :). I've read about MySQL,
and wanted to use that (so that I could cluster it, just because).
So I installed mysql-server (a recommends/depends somewhere?), purged all
packages and then reinstall them.
It (dpkg) now completed successfully.
>> The command line I used (see attachment bladeA01-install_openstack_packages.sh)
>
> This command line is wrong. You're installing things which aren't
> related to an OpenStack deployment, like ironic-fa-deploy and such.
> You're also installing absolutely all Neutron agent, which isn't what
> you ant to do, really…
Ok, that might explain why I can't get networking to work..
So which ones should I keep?
Btw, I need "Ironic" to be able to install my other blades (still don't have
a compute - need to get ironic to work first).
>> on a freshly installed Jessie, with Testing added to the sources.list.d dir:
>
> WHAT?!? You *cannot* mix Jessie and Testing this way. This will lead to
> *many* breakage. If you want to use Jessie, then you can add the
> repositories described here:
Well.. I removed jessie-backports and then it worked just fine. As far
as I can tell. Unless you mean that it will install fine, but stuff won't
work.. ?
Which might be another reason why some things don't work:
bladeA01:~# . admin-openrc
bladeA01:~# ironic chassis-list
Internal Server Error (HTTP 500)
> Also, I wonder what documentation you've been reading. No documentation
> suggest to blindly install all of the packages you attempted to install
> in this way.
Can't find any documentation that will tell me exactly what to do!
The http://docs.openstack.org/draft/install-guide-debian isn't complete (and
from the little tests I've done, wrong in some places).
>> , I'm installing _EVERYTHING_
>
> *BAD* idea to do it this way. You should learn what you need.
To be fair, I need almost everything! :(
> apt-get install openstack-proxy-node
What's a proxy node?
> There's also a magic "openstack-deploy" package which contains a helper
> to install everything at once.
How does that differ from what I've done now?
> Well, if things don't work, that's what you get. FYI, for an all-in-one
> OpenStack deployment, with no activity in the cloud, you normally get a
> load average of 1, not 16, and on my deployment, this is mostly because
> of swift replicating itself regularly.
Hmm, that's strange.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16558 heat 20 0 206540 49536 14828 R 78.4 0.3 0:04.01 heat-api-cfn
16616 zaqar 20 0 95364 39572 8472 R 76.5 0.2 0:03.69 zaqar-server
16430 mistral 20 0 141772 64152 9324 R 74.8 0.4 0:05.13 mistral-server
16689 senlin 20 0 178588 85408 10472 R 73.2 0.5 0:03.02 senlin-engine
16582 manila 20 0 154896 45820 10704 R 72.9 0.3 0:04.10 manila-api
16487 glance 20 0 185896 97432 9284 R 72.3 0.6 0:04.71 glance-api
16475 heat 20 0 245280 67008 15596 R 70.6 0.4 0:04.77 heat-api-cloudw
16535 cinder 20 0 225228 66616 15212 R 67.7 0.4 0:04.02 cinder-api
16741 neutron 20 0 153188 56176 10384 R 64.8 0.3 0:02.01 neutron-linuxbr
16585 senlin 20 0 181044 88044 10500 R 62.6 0.5 0:03.70 senlin-api
16726 murano 20 0 186320 87224 10656 R 62.6 0.5 0:01.99 murano-cfapi
16657 glance 20 0 141528 87960 8048 R 61.0 0.5 0:02.98 glance-registry
16761 cinder 20 0 215620 60648 14976 R 60.0 0.4 0:01.86 cinder-backup
16631 cinder 20 0 224944 66044 15116 R 59.7 0.4 0:03.22 cinder-schedule
16779 barbican 20 0 146660 53624 10364 R 57.1 0.3 0:01.77 barbican-keysto
16793 aodh 20 0 86396 33228 8268 R 48.7 0.2 0:01.51 aodh-notifier
16834 murano 20 0 129124 40012 10244 R 36.5 0.2 0:01.13 murano-api
16818 barbican 20 0 123820 33056 10472 R 36.1 0.2 0:01.12 barbican-worker
16871 manila 20 0 101948 25440 9796 R 18.7 0.2 0:00.58 manila-share
16887 neutron 20 0 41096 16404 6756 R 14.8 0.1 0:00.46 neutron-openvsw
340 root 20 0 113656 56236 53528 S 11.0 0.3 18:05.65 systemd-journal
16912 heat 20 0 97788 20952 9752 R 7.1 0.1 0:00.22 heat-api
16760 murano 20 0 0 0 0 Z 4.2 0.0 0:00.13 murano-engine
2354 designa+ 20 0 220944 98372 11656 S 3.9 0.6 4:38.16 designate-centr
16838 murano 20 0 0 0 0 Z 3.9 0.0 0:00.12 murano-engine
16890 murano 20 0 0 0 0 Z 3.9 0.0 0:00.12 murano-engine
1 root 20 0 37928 5964 3956 S 3.5 0.0 5:15.60 systemd
23613 neutron 20 0 211044 92792 11680 S 3.5 0.6 0:11.62 neutron-dhcp-ag
2464 designa+ 20 0 214216 95844 11688 S 3.2 0.6 4:39.25 designate-zone-
29442 neutron 20 0 259524 109428 5252 S 3.2 0.7 0:06.56 neutron-server
I finally got keystone installed (and from what I can tell) and working.
However, the first piece I need working is Ironic. Because without that,
I can't get my compute(s) installed. There's 14 (plus the other end of the
control) of them, and I'm not doing that manually!!
Btw, a previous question I asked here was how to get real VMs and Containers
working on the same host. Then I didn't know about Magnum.
Can Magnum and Nova work on the same [physical] host?
--
System administrators motto:
You're either invisible or in trouble.
- Unknown
More information about the Openstack-devel
mailing list