Re: [Openstack] Swift Error in the Openstack queens

2018-06-23 Thread Kevin Kwon
Dear Bernd!

I found that i was wrong when i create the container ring .

Thank you so much!
Kevin


2018-06-24 8:55 GMT+09:00 Bernd Bausch :

> The message "ERROR with Container server 10.0.0.51:6201/sdc re: Trying to
> PUT /AUTH_1d375b70db694866914c25140278c35b/container1: ConnectionTimeout
> (0.5s" indicates that either 10.0.0.51 is not listening on port 6201, or it
> is so busy that it doesn't respond in time.
> On 6/24/2018 4:09 AM, Kevin Kwon wrote:
>
> Dear All!
>
> Hi..
> I have configured the one Controller node and one Compute(included
> Storage) node.
>
> after installed the swift in the Compute Node, I have checked the status
> and tried to create a container in Controller Node like below.
> but, it occurred below errors.
> Would you please let me know how can i fixed it.
>
>
> ==
> Controller Node
> ==
>
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~# . demo-openrc
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~# swift stat
> Account: AUTH_1d375b70db694866914c25140278c35b
>  Containers: 0
> Objects: 0
>   Bytes: 0
> X-Account-Project-Domain-Id: default
>  X-Openstack-Request-Id: txeaaa635cf1994d8aae148-005b2e9851
> X-Timestamp: 1529779320.82412
>  X-Trans-Id: txeaaa635cf1994d8aae148-005b2e9851
>Content-Type: application/json; charset=utf-8
>   Accept-Ranges: bytes
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~# openstack container list
>
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~# openstack container create container1
> Service Unavailable (HTTP 503) (Request-ID: tx0841624d3b47476398113-
> 005b2e98a6)
> root@OpenStack-Controller:~#
>
>
> ===
> Storage Node
> 
>
> Jun 24 03:48:04 OpenStack-Controller proxy-server: - -
> 23/Jun/2018/18/48/04 HEAD 
> /v1/AUTH_1d375b70db694866914c25140278c35b%3Fformat%3Djson
> HTTP/1.0 204 - Swift - - - - tx3fb4ae2d2c1948b3846e7-005b2e95e4 - 0.0081
> RL - 1529779684.666325092 1529779684.674436092 -
> Jun 24 03:48:05 OpenStack-Controller proxy-server: ERROR with Container
> server 10.0.0.51:6201/sdc re: Trying to PUT /AUTH_
> 1d375b70db694866914c25140278c35b/container1: ConnectionTimeout (0.5s)
> (txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4) (client_ip: 192.168.100.101)
> Jun 24 03:48:05 OpenStack-Controller proxy-server: ERROR with Container
> server 10.0.0.51:6201/sdd re: Trying to PUT /AUTH_
> 1d375b70db694866914c25140278c35b/container1: ConnectionTimeout (0.5s)
> (txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4) (client_ip: 192.168.100.101)
> Jun 24 03:48:05 OpenStack-Controller proxy-server: ERROR with Container
> server 10.0.0.51:6201/sde re: Trying to PUT /AUTH_
> 1d375b70db694866914c25140278c35b/container1: ConnectionTimeout (0.5s)
> (txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4) (client_ip: 192.168.100.101)
> Jun 24 03:48:05 OpenStack-Controller proxy-server: Container PUT returning
> 503 for (503, 503, 503) (txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4)
> (client_ip: 192.168.100.101)
> Jun 24 03:48:05 OpenStack-Controller proxy-server: 192.168.100.101
> 192.168.100.101 23/Jun/2018/18/48/05 PUT /v1/AUTH_
> 1d375b70db694866914c25140278c35b/container1 HTTP/1.0 503 -
> osc-lib/1.9.0%20keystoneauth1/3.4.0%20python-requests/2.18.4%20CPython/2.7.12
> gABbLpXkaKj1... - 118 - tx3fb4ae2d2c1948b3846e7-005b2e95e4 - 0.8265 -
> - 1529779684.665580988 1529779685.492069960 -
>
>
>
> Thank you!
> Kevin
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] To create Network after install manually

2018-06-23 Thread Bernd Bausch
If you built your cloud with a provider network only, you can't create
tenant networks. You need to configure "network option 2, self-service
networks", for example at
https://docs.openstack.org/neutron/latest/install/controller-install-option2-ubuntu.html.

On 6/24/2018 6:01 AM, Kevin Kwon wrote:
>
> Dear All!
>
> HI..
> I have installed the Openstack  with Controller-Compute Node by
> manually with Provider Network.
>
> when i tried to create the network on Openstack GUI, I couldn't create
> it because below error messages.
>
> would you please let me know how can i create network and check status?




signature.asc
Description: OpenPGP digital signature
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Swift Error in the Openstack queens

2018-06-23 Thread Bernd Bausch
The message "ERROR with Container server 10.0.0.51:6201/sdc
 re: Trying to PUT
/AUTH_1d375b70db694866914c25140278c35b/container1: ConnectionTimeout
(0.5s" indicates that either 10.0.0.51 is not listening on port 6201, or
it is so busy that it doesn't respond in time.

On 6/24/2018 4:09 AM, Kevin Kwon wrote:
> Dear All!
>
> Hi..
> I have configured the one Controller node and one Compute(included
> Storage) node.
>
> after installed the swift in the Compute Node, I have checked the
> status and tried to create a container in Controller Node like below.
> but, it occurred below errors.
> Would you please let me know how can i fixed it.
>
>
> ==
> Controller Node
> ==
>
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~# . demo-openrc
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~# swift stat
>                     Account: AUTH_1d375b70db694866914c25140278c35b
>                  Containers: 0
>                     Objects: 0
>                       Bytes: 0
> X-Account-Project-Domain-Id: default
>      X-Openstack-Request-Id: txeaaa635cf1994d8aae148-005b2e9851
>                 X-Timestamp: 1529779320.82412
>                  X-Trans-Id: txeaaa635cf1994d8aae148-005b2e9851
>                Content-Type: application/json; charset=utf-8
>               Accept-Ranges: bytes
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~# openstack container list
>
> root@OpenStack-Controller:~#
> root@OpenStack-Controller:~# openstack container create container1
> Service Unavailable (HTTP 503) (Request-ID:
> tx0841624d3b47476398113-005b2e98a6)
> root@OpenStack-Controller:~#
>
>
> ===
> Storage Node
> 
>
> Jun 24 03:48:04 OpenStack-Controller proxy-server: - -
> 23/Jun/2018/18/48/04 HEAD
> /v1/AUTH_1d375b70db694866914c25140278c35b%3Fformat%3Djson HTTP/1.0 204
> - Swift - - - - tx3fb4ae2d2c1948b3846e7-005b2e95e4 - 0.0081 RL -
> 1529779684.666325092 1529779684.674436092 -
> Jun 24 03:48:05 OpenStack-Controller proxy-server: ERROR with
> Container server 10.0.0.51:6201/sdc  re:
> Trying to PUT /AUTH_1d375b70db694866914c25140278c35b/container1:
> ConnectionTimeout (0.5s) (txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4)
> (client_ip: 192.168.100.101)
> Jun 24 03:48:05 OpenStack-Controller proxy-server: ERROR with
> Container server 10.0.0.51:6201/sdd  re:
> Trying to PUT /AUTH_1d375b70db694866914c25140278c35b/container1:
> ConnectionTimeout (0.5s) (txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4)
> (client_ip: 192.168.100.101)
> Jun 24 03:48:05 OpenStack-Controller proxy-server: ERROR with
> Container server 10.0.0.51:6201/sde  re:
> Trying to PUT /AUTH_1d375b70db694866914c25140278c35b/container1:
> ConnectionTimeout (0.5s) (txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4)
> (client_ip: 192.168.100.101)
> Jun 24 03:48:05 OpenStack-Controller proxy-server: Container PUT
> returning 503 for (503, 503, 503) (txn:
> tx3fb4ae2d2c1948b3846e7-005b2e95e4) (client_ip: 192.168.100.101)
> Jun 24 03:48:05 OpenStack-Controller proxy-server: 192.168.100.101
> 192.168.100.101 23/Jun/2018/18/48/05 PUT
> /v1/AUTH_1d375b70db694866914c25140278c35b/container1 HTTP/1.0 503 -
> osc-lib/1.9.0%20keystoneauth1/3.4.0%20python-requests/2.18.4%20CPython/2.7.12
> gABbLpXkaKj1... - 118 - tx3fb4ae2d2c1948b3846e7-005b2e95e4 -
> 0.8265 - - 1529779684.665580988 1529779685.492069960 -
>
>
>
> Thank you!
> Kevin
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



signature.asc
Description: OpenPGP digital signature
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] To create Network after install manually

2018-06-23 Thread Kevin Kwon
Dear All!

HI..
I have installed the Openstack  with Controller-Compute Node by manually
with Provider Network.

when i tried to create the network on Openstack GUI, I couldn't create it
because below error messages.

would you please let me know how can i create network and check status?




2018-06-24 05:55:43.627 2763 INFO neutron.wsgi
[req-ebd9f116-16c8-4c6e-9b7e-1c30cda4c240 ea238a134257452b95e3f096d21034e1
53a4a1dd44334dd29fcdbf1d514928f1 - default default] 192.168.100.101 "GET
/v2.0/availability_zones HTTP/1.1" status: 200  len: 285 time: 0.0281010
2018-06-24 05:55:43.657 2761 INFO neutron.wsgi
[req-30b4b825-1e4f-48b9-a720-e31e0da62688 ea238a134257452b95e3f096d21034e1
53a4a1dd44334dd29fcdbf1d514928f1 - default default] 192.168.100.101 "GET
/v2.0/availability_zones HTTP/1.1" status: 200  len: 285 time: 0.0219860
2018-06-24 05:55:43.697 2761 INFO neutron.wsgi
[req-20a1c897-a416-446e-9138-d1381e416e9f ea238a134257452b95e3f096d21034e1
53a4a1dd44334dd29fcdbf1d514928f1 - default default] 192.168.100.101 "GET
/v2.0/subnetpools HTTP/1.1" status: 200  len: 216 time: 0.0319090
2018-06-24 05:55:43.836 2761 INFO neutron.pecan_wsgi.hooks.translation
[req-93c05a57-c5da-45c2-9fbc-aa586c6317c3 ea238a134257452b95e3f096d21034e1
53a4a1dd44334dd29fcdbf1d514928f1 - default default] POST failed (client
error): The server could not comply with the request since it is either
malformed or otherwise incorrect.
2018-06-24 05:55:44.081 2761 INFO neutron.wsgi
[req-93c05a57-c5da-45c2-9fbc-aa586c6317c3 ea238a134257452b95e3f096d21034e1
53a4a1dd44334dd29fcdbf1d514928f1 - default default] 192.168.100.101 "POST
/v2.0/networks HTTP/1.1" status: 400  len: 349 time: 0.3781040
*2018-06-24 05:55:44.126 2762 INFO neutron.wsgi
[req-23595cd9-5746-43b5-94f9-506fcc4fcb47 ea238a134257452b95e3f096d21034e1
53a4a1dd44334dd29fcdbf1d514928f1 - default default] 192.168.100.101 "GET
/v2.0/extensions HTTP/1.1" status: 200  len: 6914 time: 0.0106690*
*2018-06-24 05:55:44.215 2761 INFO neutron.wsgi
[req-7b9896d5-694f-4e7e-b4e4-5b7cbdd7b665 ea238a134257452b95e3f096d21034e1
53a4a1dd44334dd29fcdbf1d514928f1 - default default] 192.168.100.101 "GET
/v2.0/networks HTTP/1.1" status: 200  len: 213 time: 0.0829711*
2018-06-24 05:55:44.267 2763 INFO neutron.wsgi
[req-e56f827c-8e14-4573-91e4-6d1b7c7abb69 ea238a134257452b95e3f096d21034e1
53a4a1dd44334dd29fcdbf1d514928f1 - default default] 192.168.100.101 "GET
/v2.0/subnets HTTP/1.1" status: 200  len: 212 time: 0.0480430

Have a nice day!
Kevin
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Swift Error in the Openstack queens

2018-06-23 Thread Kevin Kwon
Dear All!

Hi..
I have configured the one Controller node and one Compute(included Storage)
node.

after installed the swift in the Compute Node, I have checked the status
and tried to create a container in Controller Node like below.
but, it occurred below errors.
Would you please let me know how can i fixed it.


==
Controller Node
==

root@OpenStack-Controller:~#
root@OpenStack-Controller:~# . demo-openrc
root@OpenStack-Controller:~#
root@OpenStack-Controller:~# swift stat
Account: AUTH_1d375b70db694866914c25140278c35b
 Containers: 0
Objects: 0
  Bytes: 0
X-Account-Project-Domain-Id: default
 X-Openstack-Request-Id: txeaaa635cf1994d8aae148-005b2e9851
X-Timestamp: 1529779320.82412
 X-Trans-Id: txeaaa635cf1994d8aae148-005b2e9851
   Content-Type: application/json; charset=utf-8
  Accept-Ranges: bytes
root@OpenStack-Controller:~#
root@OpenStack-Controller:~#
root@OpenStack-Controller:~#
root@OpenStack-Controller:~#
root@OpenStack-Controller:~# openstack container list

root@OpenStack-Controller:~#
root@OpenStack-Controller:~# openstack container create container1
Service Unavailable (HTTP 503) (Request-ID:
tx0841624d3b47476398113-005b2e98a6)
root@OpenStack-Controller:~#


===
Storage Node


Jun 24 03:48:04 OpenStack-Controller proxy-server: - - 23/Jun/2018/18/48/04
HEAD /v1/AUTH_1d375b70db694866914c25140278c35b%3Fformat%3Djson HTTP/1.0 204
- Swift - - - - tx3fb4ae2d2c1948b3846e7-005b2e95e4 - 0.0081 RL -
1529779684.666325092 1529779684.674436092 -
Jun 24 03:48:05 OpenStack-Controller proxy-server: ERROR with Container
server 10.0.0.51:6201/sdc re: Trying to PUT
/AUTH_1d375b70db694866914c25140278c35b/container1: ConnectionTimeout (0.5s)
(txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4) (client_ip: 192.168.100.101)
Jun 24 03:48:05 OpenStack-Controller proxy-server: ERROR with Container
server 10.0.0.51:6201/sdd re: Trying to PUT
/AUTH_1d375b70db694866914c25140278c35b/container1: ConnectionTimeout (0.5s)
(txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4) (client_ip: 192.168.100.101)
Jun 24 03:48:05 OpenStack-Controller proxy-server: ERROR with Container
server 10.0.0.51:6201/sde re: Trying to PUT
/AUTH_1d375b70db694866914c25140278c35b/container1: ConnectionTimeout (0.5s)
(txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4) (client_ip: 192.168.100.101)
Jun 24 03:48:05 OpenStack-Controller proxy-server: Container PUT returning
503 for (503, 503, 503) (txn: tx3fb4ae2d2c1948b3846e7-005b2e95e4)
(client_ip: 192.168.100.101)
Jun 24 03:48:05 OpenStack-Controller proxy-server: 192.168.100.101
192.168.100.101 23/Jun/2018/18/48/05 PUT
/v1/AUTH_1d375b70db694866914c25140278c35b/container1 HTTP/1.0 503 -
osc-lib/1.9.0%20keystoneauth1/3.4.0%20python-requests/2.18.4%20CPython/2.7.12
gABbLpXkaKj1... - 118 - tx3fb4ae2d2c1948b3846e7-005b2e95e4 - 0.8265 - -
1529779684.665580988 1529779685.492069960 -



Thank you!
Kevin
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] can't resize server

2018-06-23 Thread Volodymyr Litovka

Hi Eugen,

actually, I did some tests with making volume available without stopping 
it. I'm using CEPH and these steps produce the following results:


1) openstack volume set --state available [UUID]
- nothing changed inside both VM (volume is still connected) and CEPH
2) openstack volume set --size [new size] --state in-use [UUID]
- nothing changed inside VM (volume is still connected and has an old size)
- size of CEPH volume changed to the new value
3) during these operations I was copying a lot of data from external 
source and all md5 sums are the same on both VM and source
4) changes on VM happens upon any kind of power-cycle (e.g. reboot 
(either soft or hard): openstack server reboot [--hard] [VM uuid] )

- note: NOT after 'reboot' from inside VM

I think, all these manipilations with cinder/ceph just update internal 
parameters of these subsystems, without immediate effect for VMs. In 
order to apply for the changes, you need to power-cycle it.


From practical point of view, it's useful when you, for example, update 
project in batch mode, and will then manually reboot every VM, affected 
by the update, with minimized downtime (it's just reboot, not manual 
stop/update/start).


On 6/15/18 10:34 AM, Eugen Block wrote:

Hi,

did you find a solution yet?

If not, I tried to rebuild your situation with a test instance. 
Although the environment and the storage backend are different, I 
believe it still applies to your issue, at least in a general way.


I have an instance booted from volume (size 1 GB). Trying to resize 
the instance via Horizon dashboard works (at least you would think 
that), it shows a new flavor with a disk size 8 GB. But the volume has 
not been resized, so the instance won't notice any changes.
To accomplish that, I had to shutdown the vm, set the volume state to 
available (you can't detach a root disk volume), then resize the 
volume to the size of the flavor, and then boot the vm again, now its 
disk has the desired size.


control:~ # openstack server stop test1
control:~ # openstack volume set --state available 
b832f798-e0de-4338-836a-07375f3ae3a0
control:~ # openstack volume set --size 8 
b832f798-e0de-4338-836a-07375f3ae3a0
control:~ # openstack volume set --state in-use 
b832f798-e0de-4338-836a-07375f3ae3a0

control:~ # openstack server start test1

I should mention that I use live-migration, so during resize of an 
instance it migrates to another compute node.

Hope this helps!

Regards
Eugen


Zitat von Manuel Sopena Ballesteros :


Dear openstack community,

I have a packstack all-in-one environment and I would like to resize 
one of the vms. It seems like the resize process fails due to an 
issue with cinder


NOTE: the vm boots from volume and not from image

This is the vm I am trying to resize

[root@openstack ~(keystone_admin)]# openstack server show 
7292a929-54d9-4ce6-a595-aaf93a2be320
+--++ 

| Field    | Value 
 |
+--++ 

| OS-DCF:diskConfig    | MANUAL 
 |
| OS-EXT-AZ:availability_zone  | nova 
 |
| OS-EXT-SRV-ATTR:host | openstack.localdomain 
 |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | openstack.localdomain 
 |
| OS-EXT-SRV-ATTR:instance_name    | instance-005f 
 |
| OS-EXT-STS:power_state   | Shutdown 
 |
| OS-EXT-STS:task_state    | None 
 |
| OS-EXT-STS:vm_state  | error 
 |
| OS-SRV-USG:launched_at   | 2018-05-14T07:24:00.00 
 |
| OS-SRV-USG:terminated_at | None 
 |

| accessIPv4 |  |
| accessIPv6 |  |
| addresses    | 
privatenetwork=192.168.1.106, 129.94.14.238 |

| config_drive |  |
| created  | 2018-05-14T07:23:52Z 
 |
| fault    | {u'message': u'The server 
has either erred or is incapabl