Ask Your Question
0

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

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

Spoorthi Vaidya gravatar image

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

2 answers

Sort by ยป oldest newest most voted
0

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

Spoorthi Vaidya gravatar image

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

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 -0500

Seen: 12 times

Last updated: May 14