发起问题

nutmix 的档案 - activity

2020-01-18 20:12:17 -0500 获得奖牌  受欢迎的问题 (source)
2019-10-27 16:35:57 -0500 获得奖牌  著名问题 (source)
2019-08-12 02:37:02 -0500 获得奖牌  热门的问题 (source)
2019-08-07 06:43:26 -0500 获得奖牌  受欢迎的问题 (source)
2019-08-06 15:15:50 -0500 获得奖牌  学生 (source)
2019-08-02 17:09:24 -0500 评论问题 devstack not working with ubuntu 18.4 LTS

Ideally, if it cant run in 4GB, it should check and abort at the start of the script. Interestingly, I just created an 8GB ubuntu 19 instance. It complained that the OS was not supported (had to use the force option), but it seems to have worked. Now I need to figure out how to use the UI.

2019-08-02 06:58:43 -0500 评论回答 new to openstack. If swift uses http and object store, how can you run mysql?

Swfit and mysql are not alternatives, but I understand that openstack does all its storage through swift, which uses http as the transport, not iSCSI or equivalent. I just cant imagine that mysql will perform well if the underlying OS is using http as a storage access protocol.

2019-08-02 06:58:26 -0500 评论问题 devstack not working with ubuntu 18.4 LTS

@Berd thanks for the reply. All the articles I found said 4GB would work. I would assume I see memory errors or crash during install process if not enough memory?

2019-08-02 05:47:48 -0500 问了问题 register with google not working

Note, to post here, there is no option to "register" a new account. You have to use an existing google, yahoo or openid.

I dont have yahoo or openid, so I used my gmail account.

However, it never sends the validation email. It is broken.

As google is not working, I could not find how to create an openId - the openid website doesnt have a registraiton.

So I created a yahoo account so that I could use this site. The problem is now I have to have a complete new email just to use this system. It would be much better if there was a way to use an existing email account instead of having to create new ones. I.e. support people who dont have, use or want google, ipendid or yahoo.

At least fix the google option, so uses with existing google account can use openstack forums.

2019-08-02 05:47:48 -0500 问了问题 devstack not working with ubuntu 18.4 LTS

I just followed the instructions here: https://docs.openstack.org/devstack/latest/ (https://docs.openstack.org/devstack/l...)

on a brand new linode Ubuntu 18.04 LTS (The recommended distro) with 4GB ram, 2 core, 60GB SSD etc.

I first did a sudo apt-get update/upgrade of course.

The article says to do the following, which I did exactly:

sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack git clone https://opendev.org/openstack/devstack cd devstack cp samples/local.conf . (Note, I also tried the min one with just the passwords, same issue) ./stack.sh

This runs for a long time, then ends with the error output at the end. After the install, there is no dashboard on http://myip/dashboard.

Dumping cells_v2 mapping
+lib/nova:start_nova:1007                  /usr/local/bin/nova-manage cell_v2 list_cells --verbose
+-------+--------------------------------------+------------------------------------------------------------+--------------------------------------------------------------+----------+
|  Name |                 UUID                 |                       Transport URL                        |                     Database Connection                      | Disabled |
+-------+--------------------------------------+------------------------------------------------------------+--------------------------------------------------------------+----------+
| cell0 | 00000000-0000-0000-0000-000000000000 |                          none:///                          | mysql+pymysql://root:pants@127.0.0.1/nova_cell0?charset=utf8 |  False   |
| cell1 | 4e90bd1d-964d-4f3f-90a1-e42030baf1ff | rabbit://stackrabbit:pants@139.162.244.175:5672/nova_cell1 | mysql+pymysql://root:pants@127.0.0.1/nova_cell1?charset=utf8 |  False   |
+-------+--------------------------------------+------------------------------------------------------------+--------------------------------------------------------------+----------+
+./stack.sh:main:1361                      create_flavors
+lib/nova:create_flavors:1071              is_service_enabled n-api
+functions-common:is_service_enabled:1988  return 0
+lib/nova:create_flavors:1072              openstack --os-region-name=RegionOne flavor list
+lib/nova:create_flavors:1072              grep -q ds512M
+lib/nova:create_flavors:1074              openstack --os-region-name=RegionOne flavor create --id c1 --ram 256 --disk 1 --vcpus 1 cirros256
Internal Server Error (HTTP 500)
+lib/nova:create_flavors:1                 exit_trap
+./stack.sh:exit_trap:531                  local r=1
++./stack.sh:exit_trap:532                  jobs -p
+./stack.sh:exit_trap:532                  jobs=
+./stack.sh:exit_trap:535                  [[ -n '' ]]
+./stack.sh:exit_trap:541                  '[' -f /tmp/tmp.0jqhUBUVJq ']'
+./stack.sh:exit_trap:542                  rm /tmp/tmp.0jqhUBUVJq
+./stack.sh:exit_trap:546                  kill_spinner
+./stack.sh:kill_spinner:441               '[' '!' -z '' ']'
+./stack.sh:exit_trap:548                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:549                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:551                  type -p generate-subunit
+./stack.sh:exit_trap:552                  generate-subunit 1564687245 1372 fail
+./stack.sh:exit_trap:554                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:557                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
nova-compute: no process found
neutron-dhcp-agent: no process found
neutron-l3-agent: no process found
neutron-metadata-agent: no process found
neutron-openvswitch-agent: no process found
+./stack.sh:exit_trap:566                  exit 1

I just wiped the machine, rebuilt it, but this time did a dist-upgrade and reboot before doing the instl using the min conf file as per the documentation. Got more or less the same error:

-----------------------------------------------+----------+
| cell0 | 00000000-0000-0000-0000-000000000000 |                                none:///                                | mysql+pymysql://root:StrongAdminSecret@127.0.0.1/nova_cell0?charset=utf8 |  False   |
| cell1 | 6e754c24-4c2c-4262-b2c3-ad07abf19b3c | rabbit://stackrabbit:StrongAdminSecret@139.162.244.175:5672/nova_cell1 | mysql+pymysql://root:StrongAdminSecret@127.0.0.1/nova_cell1?charset=utf8 |  False   |
+-------+--------------------------------------+------------------------------------------------------------------------+--------------------------------------------------------------------------+----------+
+./stack.sh:main:1361                      create_flavors
+lib/nova:create_flavors:1071              is_service_enabled n-api
+functions-common:is_service_enabled:1959  local xtrace
++functions-common:is_service_enabled:1960  set +o
++functions-common:is_service_enabled:1960  grep xtrace
+functions-common:is_service_enabled:1960  xtrace='set -o xtrace'
+functions-common:is_service_enabled:1961  set +o xtrace
+functions-common ...
(more)
2019-08-02 05:47:47 -0500 问了问题 new to openstack. If swift uses http and object store, how can you run mysql?

Ok, this is a really dumb question. With vmware, you get access to a "drive" which the os sees as if it was a local HD. It has reasonably fast random access to this drive. The actual drive could be local or on a SAN.

We are trying to see if openstack is suitable for our applications. We have been told that openstack is for new generation of scalability aware apps, not typical 3 tier arcitectured apps.

We have seen that swift uses http to communicate with an object store. http would seem to be the last choice in a protocol for an OS and its applications to access the storage.

Given the http limitation, is it feasible to run mysql, or galera cluster, on openstack?