Ask Your Question
0

Stein: Expecting value: line 1 column 1 (char 0): OSCPLACEMENT

asked 2019-05-14 00:18:08 -0600

According to the guide:- https://docs.openstack.org/placement/stein/install/verify.html (https://docs.openstack.org/placement/...)

when i run the command openstack --os-placement-api-version 1.2 resource class list --sort-column name

I'm getting following output: Expecting value: line 1 column 1 (char 0)

But expected output according to the guide is:

+----------------------------+
| name                       |
+----------------------------+
| DISK_GB                    |
| IPV4_ADDRESS               |
| ...                        |

Please help me out. Will this output be problem in future. What might be the reason to get that output?

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
0

answered 2020-01-17 10:45:50 -0600

Pat gravatar image

Train documentation also lacking this step

edit flag offensive delete link more
0

answered 2019-05-17 00:41:51 -0600

I have found solution, in /etc/httpd/conf.d/00-placement-api.conf:

<Directory /usr/bin>
   <IfVersion >= 2.4>
      Require all granted
   </IfVersion>
   <IfVersion < 2.4>
      Order allow,deny
      Allow from all
   </IfVersion>
</Directory>

was missing. The stein documentation for placement service has missed to inform about adding above lines.

The problem is solved.

edit flag offensive delete link more

Comments

i had the same issue. your answer worked for me. thanks for helping me!

jamesopst gravatar imagejamesopst ( 2019-08-21 14:43:39 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-05-14 00:18:08 -0600

Seen: 540 times

Last updated: Jan 17